/* ========================================
   AETHER NEXUS PREMIUM DARK AI AESTHETIC
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    /* Core Colors */
    --bg-page: #0B0F14;
    --bg-card: #111820;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --accent-cyan: #4ABFE6;
    --text-primary: #ffffff;
    --text-secondary: #8892a4;
    --text-muted: #5a6475;

    /* Shadows & Glows */
    --glow-cyan: rgba(74, 191, 230, 0.2);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   NAVIGATION
   ======================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 15, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

.logo:hover {
    color: var(--accent-cyan);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-cta {
    background: transparent;
    color: var(--accent-cyan);
    padding: 0.625rem 1.5rem;
    border: 1px solid var(--accent-cyan);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-cta:hover {
    background: var(--accent-cyan);
    color: var(--bg-page);
    box-shadow: 0 0 24px var(--glow-cyan);
}

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

section {
    padding: 8rem 0;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--bg-page);
    overflow: hidden;
    padding: 80px 4rem 4rem;
}

@media (max-width: 900px) {
    .hero {
        padding: 80px 2rem 4rem;
    }
}

/* Large dark orb with cyan glow at center-bottom */
.hero::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(
        circle at center,
        rgba(74, 191, 230, 0.15) 0%,
        rgba(74, 191, 230, 0.08) 20%,
        transparent 60%
    );
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.hero-subtitle {
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
}

.cta-button {
    background: transparent;
    color: var(--accent-cyan);
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-cyan);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-cyan);
    color: var(--bg-page);
    box-shadow: 0 0 32px var(--glow-cyan);
    transform: translateY(-2px);
}

/* ========================================
   CHAT BOXES (commented out - work on later)
   ========================================
.notifications-preview {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 260px;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Base glassmorphism for all boxes * /
.notification-bubble {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(
        180deg,
        rgba(40, 55, 70, 0.5) 0%,
        rgba(25, 35, 48, 0.65) 100%
    );
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Box 1: Missed Call - top left * /
.notification-bubble--1 {
    top: 0;
    left: 0;
    width: 200px;
    padding: 0.7rem 0.9rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 3;
}

/* Box 2: Appointment Booked - top right, overlaps Box 1, top ~1/3 down * /
.notification-bubble--2 {
    top: 22px;
    right: 0;
    width: 210px;
    padding: 0.7rem 0.9rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 2;
}

/* Box 3: Incoming chat - below Box 1, ~12px gap * /
.notification-bubble--3 {
    top: 68px;
    left: 0;
    width: 250px;
    max-width: 90%;
    padding: 0.6rem 0.9rem 0.6rem 0.65rem;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.45rem;
    z-index: 4;
}

/* Box 4: Outgoing pill - ~12px below chat * /
.notification-bubble--4 {
    top: 155px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.45rem 1rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    z-index: 5;
}

/* Box 5: Confirmation pill - ~12px below Box 4 * /
.notification-bubble--5 {
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.45rem 0.9rem 0.45rem 1rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    z-index: 6;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        0 0 24px rgba(74, 191, 230, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Notification cards (Box 1 & 2) * /
.notification-card {
    gap: 0.35rem;
}

.notification-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.notification-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 191, 230, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.notification-card-titles {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
    gap: 0.5rem;
}

.notification-time {
    font-size: 0.7rem;
    color: rgba(150, 190, 210, 0.8);
    font-weight: 500;
    flex-shrink: 0;
}

.notification-title {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, rgba(176, 241, 250, 1) 0%, rgba(77, 141, 161, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.notification-meta,
.notification-detail {
    font-size: 0.7rem;
    color: rgba(150, 190, 210, 0.9);
    font-weight: 400;
}

.notification-tag {
    font-size: 0.65rem;
    color: rgba(74, 191, 230, 0.9);
    font-weight: 500;
}

/* Chat bubble (Box 3) * /
.chat-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 50%;
    background: rgba(74, 191, 230, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.chat-message-text {
    font-size: 0.8rem;
    color: rgba(200, 230, 245, 0.95);
    line-height: 1.5;
    padding-top: 0.1rem;
}

/* Pill bubbles (Box 4 & 5) * /
.chat-pill-text {
    font-size: 0.8rem;
    font-weight: 500;
    background: linear-gradient(180deg, rgba(176, 241, 250, 1) 0%, rgba(77, 141, 161, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.chat-chevron {
    font-size: 0.5rem;
    color: rgba(176, 241, 250, 0.8);
    margin-left: 0.125rem;
}
*/

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle at center,
        rgba(74, 191, 230, 0.06) 0%,
        rgba(74, 191, 230, 0.02) 30%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-title p {
    color: rgba(74, 191, 230, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: rgba(17, 24, 32, 0.6);
    padding: 2.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(1px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    border-color: rgba(74, 191, 230, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(74, 191, 230, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.9;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ========================================
   HOW IT WORKS
   ======================================== */

.how-it-works {
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle at center,
        rgba(74, 191, 230, 0.04) 0%,
        transparent 65%
    );
    border-radius: 50%;
    pointer-events: none;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background: var(--accent-cyan);
    color: var(--bg-page);
    box-shadow: 0 0 24px var(--glow-cyan);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing {
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle at center,
        rgba(74, 191, 230, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

.pricing-simple {
    text-align: center;
    max-width: 600px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 1;
}

.pricing-starting {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.pricing-starting strong {
    color: var(--accent-cyan);
    font-size: 1.75rem;
    font-weight: 500;
}

.pricing-subtext {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.pricing-cta {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-cta:hover {
    background: var(--accent-cyan);
    color: var(--bg-page);
    box-shadow: 0 0 24px var(--glow-cyan);
}

/* ========================================
   RESULTS & ROI SECTION
   ======================================== */

.results-roi {
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.results-roi::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle at center,
        rgba(74, 191, 230, 0.06) 0%,
        transparent 60%
    );
    border-radius: 50%;
    pointer-events: none;
}

.results-headline {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 4rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(17, 24, 32, 0.6);
    padding: 3rem 2rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.stat-card:hover {
    border-color: rgba(74, 191, 230, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(74, 191, 230, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.roi-subtext {
    text-align: center;
    color: var(--accent-cyan);
    font-size: 1.125rem;
    font-weight: 600;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq {
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle at center,
        rgba(74, 191, 230, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: rgba(17, 24, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-item:hover {
    border-color: rgba(74, 191, 230, 0.3);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */

.contact-form-section {
    background: var(--bg-page);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-headline {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.contact-subtext {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-form {
    background: rgba(17, 24, 32, 0.6);
    padding: 3rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(74, 191, 230, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
}

.form-group option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.submit-btn {
    background: transparent;
    color: var(--accent-cyan);
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-cyan);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-page);
    box-shadow: 0 0 24px var(--glow-cyan);
}

.success-message {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--accent-cyan);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.form-error {
    display: none;
    color: #ff6b6b;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    background: var(--bg-page);
    text-align: center;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(
        circle at center,
        rgba(74, 191, 230, 0.12) 0%,
        rgba(74, 191, 230, 0.06) 20%,
        transparent 60%
    );
    border-radius: 50%;
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.final-cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: var(--bg-page);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.footer-location {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* ========================================
   MODAL
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-card);
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: var(--accent-cyan);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-primary);
}

.modal h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.modal p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ========================================
   CHATBOT WIDGET
   ======================================== */

#chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--glow-cyan);
    transition: all 0.3s ease;
    z-index: 9999;
    border: none;
}

#chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px var(--glow-cyan);
}

#chatbot-button svg {
    width: 30px;
    height: 30px;
    fill: var(--bg-page);
}

#chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    z-index: 9999;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

#chatbot-window.open {
    display: flex;
}

body.chatbot-open {
    overflow: hidden;
}

#chatbot-header {
    background: var(--accent-cyan);
    color: var(--bg-page);
    padding: 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-close {
    background: none;
    border: none;
    color: var(--bg-page);
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease;
}

#chatbot-close:hover {
    transform: scale(1.2);
}

#chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-page);
}

.chat-message {
    display: flex;
    margin-bottom: 0.75rem;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.aria {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 0.875rem 1.125rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.chat-message.user .message-bubble {
    background: var(--accent-cyan);
    color: var(--bg-page);
}

.chat-message.aria .message-bubble {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

#chatbot-input-container {
    padding: 1rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 0.75rem;
}

#chatbot-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
    outline: none;
}

#chatbot-input:focus {
    border-color: var(--accent-cyan);
}

#chatbot-send {
    background: var(--accent-cyan);
    color: var(--bg-page);
    border: none;
    border-radius: 6px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#chatbot-send:hover {
    box-shadow: 0 0 16px var(--glow-cyan);
}

#chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.typing-indicator {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.125rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    max-width: 75px;
}

.typing-indicator.active {
    display: flex;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    nav .container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.7rem;
    }

    .container {
        padding: 0 2rem;
    }

    section {
        padding: 5rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Chat boxes - work on later
    .notifications-preview {
        height: 240px;
        margin: 0 auto;
    }

    .notification-bubble--1 { width: 150px; padding: 0.55rem 0.65rem; }
    .notification-bubble--2 { width: 160px; top: 18px; padding: 0.55rem 0.65rem; }
    .notification-bubble--3 { width: 88%; top: 62px; padding: 0.5rem 0.7rem 0.5rem 0.5rem; }
    .notification-bubble--4 { top: 142px; padding: 0.4rem 0.9rem; }
    .notification-bubble--5 { top: 185px; padding: 0.4rem 0.7rem 0.4rem 0.9rem; }
    */

    .notification-title { font-size: 0.7rem; }
    .notification-meta, .notification-detail { font-size: 0.6rem; }
    .chat-message-text { font-size: 0.7rem; }
    .chat-pill-text { font-size: 0.7rem; }

    .section-title h2 {
        font-size: 2rem;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    #chatbot-window {
        display: none !important;
    }

    #chatbot-button {
        right: 20px;
        bottom: 20px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
