/* ==============================================================================
   Caduceus Landing Page Stylesheet - Premium Dark/Neon Glassmorphism Theme
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #04040a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary: #00e5ff;
    --primary-glow: rgba(0, 229, 255, 0.35);
    --primary-hover: #80f0ff;
    --purple: #d500f9;
    --purple-glow: rgba(213, 0, 249, 0.25);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 229, 255, 0.3);
    --bg-glass: rgba(15, 15, 30, 0.45);
    --bg-glass-hover: rgba(25, 25, 45, 0.65);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* General Reset & Layout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glowing Background Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.orb-1 {
    top: -100px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.orb-2 {
    top: 500px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-glass);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-box {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #ffffff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-link:hover {
    color: var(--primary);
}

/* Premium Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border-color: var(--border-glass);
    font-size: 0.95rem;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
}

.btn-lang {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 0.75rem;
    font-family: var(--font-body);
    transition: all 0.25s ease;
}

.btn-lang:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00b0ff);
    color: #000000;
    font-weight: 600;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border-color: var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Glassmorphism Container */
.glass-container {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 6rem 0 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(0, 229, 255, 0.07);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    display: inline-block;
    border: 1px solid rgba(0, 229, 255, 0.15);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-ctas { flex-direction: column; gap: 0.75rem; }
}

/* Chat Mockup Window */
.mockup-section {
    margin-top: 2rem;
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
}

.mockup-window {
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    border-color: rgba(255,255,255,0.05);
}

.window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1.2rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.window-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

.chat-area {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-message {
    display: flex;
    gap: 1rem;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.user-avatar {
    background-color: #3b82f6;
    color: #ffffff;
}

.bot-avatar {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: #ffffff;
}

.message-content {
    flex: 1;
}

.author {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.author .time {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.message-content p.text {
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.bot-badge {
    background: rgba(0, 229, 255, 0.15);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 0.25rem;
}

.tool-execution {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--primary);
    padding: 0.5rem 0.85rem;
    margin: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--primary);
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}

.file-link {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.file-link:hover {
    border-color: var(--border-hover);
    background: rgba(0, 229, 255, 0.04);
}

/* Features Grid */
.features-section {
    padding: 4rem 0;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2.2rem;
    text-align: left;
}

.feature-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px 0 rgba(0, 229, 255, 0.03);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Enquiry Form Section */
.enquiry-section {
    padding: 6rem 0;
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .enquiry-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.enquiry-text-side h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.enquiry-text-side p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.05rem;
}

.check-mark {
    color: var(--primary);
    font-weight: 700;
}

.enquiry-form-side {
    padding: 2.5rem;
}

.enquiry-form-side h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 229, 255, 0.02);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
    position: relative;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-status.success { color: var(--primary); }
.form-status.error { color: #ff1744; }

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-glass);
    margin-top: 4rem;
}

@media (max-width: 600px) {
    footer { flex-direction: column; gap: 1rem; text-align: center; }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1.55rem;
    align-items: center;
}

@media (max-width: 600px) {
    .footer-links {
        margin: 1rem 0;
    }
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
