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

:root {
    --orange: #F26522;
    --orange-light: #FF8C42;
    --dark: #1a1a2e;
    --text-dark: #1a1a2e;
    --text-muted: #6b7280;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #fff;
    transition: background 0.8s ease;
}

body.night-mode {
    background: #0f172a;
}

/* ===== NAVBAR ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: transparent;
    transition: all 0.5s ease;
    max-width: 1440px;
    margin: 0 auto;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
}

body.night-mode .navbar.scrolled {
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.5s ease;
    flex-shrink: 0;
}

.navbar.scrolled .logo {
    color: var(--text-dark);
    text-shadow: none;
}

.navbar.scrolled .logo-white {
    display: none !important;
}

.navbar.scrolled .logo-dark {
    display: block !important;
}

body.night-mode .logo {
    color: #e2e8f0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0 auto;
    white-space: nowrap;
}

.nav-links li {
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    letter-spacing: 0.01em;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
    text-shadow: none;
}

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

/* Coming Soon Tooltip */
.coming-soon {
    position: relative;
    cursor: default;
}
.coming-soon::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: #111;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
}
.coming-soon:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
}
body.night-mode .coming-soon::after {
    background: #f1f5f9;
    color: #0f172a;
}

body.night-mode .nav-links a {
    color: #94a3b8;
}

body.night-mode .nav-links a:hover {
    color: var(--orange);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}
.menu-toggle svg { width: 24px; height: 24px; }
.navbar:not(.scrolled) .menu-toggle { color: #ffffff; }
body.night-mode .menu-toggle { color: #f1f5f9; }

.login-btn {
    text-decoration: none;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.5s ease;
}

.navbar.scrolled .login-btn {
    color: var(--text-dark);
    text-shadow: none;
}

body.night-mode .login-btn {
    color: #94a3b8;
}

.btn-primary {
    background: var(--dark);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

body.night-mode .btn-primary {
    background: #e2e8f0;
    color: var(--dark);
}

body.night-mode .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.btn-orange {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.3);
    transition: transform 0.3s ease;
}

.btn-orange:hover {
    transform: scale(1.08);
}

.btn-orange svg {
    width: 14px;
    height: 14px;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    margin-left: 8px;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .menu-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-dark);
}

body.night-mode .menu-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #f1f5f9;
}

.mobile-only-link {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 0;
    overflow: hidden;
}

/* Seamless gradient - no hard line, fades to white naturally */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('day-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e8f4f8;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 35%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 35%, rgba(0,0,0,0) 100%);
    z-index: -2;
    transition: background 1.2s ease;
}

/* Night mode - dark tones */
body.night-mode .hero-bg {
    background: linear-gradient(180deg,
            #0f172a 0%,
            #1e293b 25%,
            #334155 50%,
            #1e293b 75%,
            #0f172a 100%);
}

/* Clouds */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: white;
    border-radius: 200px;
    opacity: 0.65;
    filter: blur(2px);
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 200px;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide clouds completely in day mode */
body.sunset-mode .cloud {
    display: none !important;
}

/* Night clouds - dark tinted */
body.night-mode .cloud,
body.night-mode .cloud::before,
body.night-mode .cloud::after {
    background: #334155;
    opacity: 0.25;
}

.cloud1 {
    width: 280px;
    height: 80px;
    top: 8%;
    left: 5%;
    animation: drift1 25s infinite ease-in-out;
}

.cloud1::before {
    width: 140px;
    height: 110px;
    top: -45px;
    left: 30px;
}

.cloud1::after {
    width: 160px;
    height: 80px;
    top: -30px;
    left: 80px;
}

.cloud2 {
    width: 220px;
    height: 65px;
    top: 18%;
    right: 8%;
    animation: drift2 30s infinite ease-in-out;
}

.cloud2::before {
    width: 110px;
    height: 90px;
    top: -35px;
    left: 40px;
}

.cloud2::after {
    width: 130px;
    height: 65px;
    top: -22px;
    left: 70px;
}

.cloud3 {
    width: 180px;
    height: 55px;
    top: 5%;
    right: 35%;
    animation: drift1 22s infinite ease-in-out reverse;
}

.cloud3::before {
    width: 90px;
    height: 75px;
    top: -30px;
    left: 30px;
}

.cloud3::after {
    width: 110px;
    height: 55px;
    top: -18px;
    left: 55px;
}

.cloud4 {
    width: 320px;
    height: 90px;
    top: 2%;
    left: 20%;
    animation: drift2 35s infinite ease-in-out;
}

.cloud4::before {
    width: 160px;
    height: 120px;
    top: -50px;
    left: 40px;
}

.cloud4::after {
    width: 180px;
    height: 90px;
    top: -35px;
    left: 100px;
}

.cloud5 {
    width: 200px;
    height: 60px;
    top: 28%;
    left: 55%;
    animation: drift1 28s infinite ease-in-out reverse;
    opacity: 0.4;
}

.cloud5::before {
    width: 100px;
    height: 80px;
    top: -35px;
    left: 25px;
}

.cloud5::after {
    width: 120px;
    height: 60px;
    top: -20px;
    left: 55px;
}

@keyframes drift1 {
    0%,
    100% {
        transform: translateX(0) translateY(0);
    }
    33% {
        transform: translateX(30px) translateY(-8px);
    }
    66% {
        transform: translateX(-15px) translateY(5px);
    }
}

@keyframes drift2 {
    0%,
    100% {
        transform: translateX(0) translateY(0);
    }
    33% {
        transform: translateX(-25px) translateY(10px);
    }
    66% {
        transform: translateX(20px) translateY(-5px);
    }
}

/* Stars for night mode */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease;
}

body.night-mode .stars {
    opacity: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* ===== BLUR-TO-SHARP ANIMATIONS ===== */
@keyframes blurIn {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(30px) scale(0.98);
    }
    60% {
        opacity: 0.7;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Elements */
.toggle-wrap {
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.3s;
}

.toggle-switch {
    width: 52px;
    height: 28px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 2px 12px rgba(242, 101, 34, 0.3);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.toggle-switch.night {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.toggle-switch.night::after {
    transform: translateX(24px);
}

.toggle-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.toggle-icon.sun {
    right: 7px;
    opacity: 1;
}

.toggle-icon.moon {
    left: 7px;
    opacity: 0;
}

.toggle-switch.night .toggle-icon.sun {
    opacity: 0;
}

.toggle-switch.night .toggle-icon.moon {
    opacity: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 68px;
    font-weight: 500;
    line-height: 1.08;
    max-width: 720px;
    margin-bottom: 22px;
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 1px 4px rgba(0,0,0,0.4);
    opacity: 0;
    animation: blurIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
    transition: color 0.5s ease;
}

body.night-mode .hero h1 {
    color: #f1f5f9;
}

.hero-subtitle {
    font-size: 16px;
    color: #f8fafc;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    max-width: 500px;
    line-height: 1.65;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.9s;
    transition: color 0.5s ease;
}

body.night-mode .hero-subtitle {
    color: #94a3b8;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.1s;
    margin-bottom: 36px;
}

.hero-cta .btn-primary {
    padding: 14px 22px;
    font-size: 14px;
    border-radius: 10px;
}

.hero-cta .btn-orange {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.feature-tags {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.3s;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #f1f5f9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    font-weight: 500;
    transition: color 0.5s ease;
}

body.night-mode .feature-tag {
    color: #94a3b8;
}

.feature-tag svg {
    width: 16px;
    height: 16px;
}

.partners {
    display: flex;
    gap: 44px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.5s;
    padding-bottom: 80px;
}

.partner-logo {
    height: 22px;
    opacity: 0.55;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

body.night-mode .partner-logo {
    opacity: 0.35;
}

body.night-mode .partner-logo:hover {
    opacity: 0.8;
}

.partner-logo:hover {
    opacity: 0.9;
    filter: grayscale(0%);
    transform: translateY(-1px);
}

/* ===== CLARITY SECTION - COMPLETELY SEAMLESS ===== */
.clarity-section {
    padding: 0 24px 120px;
    text-align: center;
    background: transparent;
    position: relative;
}

.clarity-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 18px;
    padding-top: 100px;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(20px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1), color 0.5s ease;
}

body.night-mode .clarity-label {
    color: #64748b;
}

.clarity-label.visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

.clarity-heading {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.12;
    max-width: 720px;
    margin: 0 auto 20px;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(25px) scale(0.98);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1), color 0.5s ease;
}

body.night-mode .clarity-heading {
    color: #f1f5f9;
}

.clarity-heading.visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
}

.clarity-sub {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 90px;
    line-height: 1.65;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(20px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, color 0.5s ease;
}

body.night-mode .clarity-sub {
    color: #94a3b8;
}

.clarity-sub.visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

/* ===== FEATURE CARDS ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1160px;
    margin: 0 auto;
}

.feature-card {
    text-align: left;
    opacity: 0;
    transform: translateY(50px);
    filter: blur(4px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

.feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.3s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.5s;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--text-dark);
    transition: color 0.5s ease;
}

body.night-mode .feature-card h3 {
    color: #f1f5f9;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 320px;
    transition: color 0.5s ease;
}

body.night-mode .feature-card p {
    color: #94a3b8;
}

.card-visual {
    order: -1;
    margin-bottom: 24px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 24px;
    height: 320px;
    box-sizing: border-box;
    box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

body.night-mode .card-visual {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.3);
}

.card-visual:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

body.night-mode .card-visual:hover {
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Card 1 - Client Profile */
.client-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.client-info h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1px;
    transition: color 0.5s ease;
}

body.night-mode .client-info h4 {
    color: #e2e8f0;
}

.client-info span {
    font-size: 11px;
    color: var(--text-muted);
    transition: color 0.5s ease;
}

body.night-mode .client-info span {
    color: #64748b;
}

.balance-box {
    text-align: right;
}

.balance-box span {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1px;
    transition: color 0.5s ease;
}

body.night-mode .balance-box span {
    color: #64748b;
}

.balance-box strong {
    font-size: 17px;
    font-weight: 700;
    transition: color 0.5s ease;
}

body.night-mode .balance-box strong {
    color: #e2e8f0;
}

.profile-list {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.profile-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: border-color 0.5s ease;
}

body.night-mode .profile-list li {
    border-color: #334155;
}

.profile-list li:last-child {
    border-bottom: none;
}

.list-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #fff7ed;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.5s ease;
}

body.night-mode .list-icon {
    background: #2d1f1a;
}

.list-icon svg {
    width: 15px;
    height: 15px;
    color: var(--orange);
}

.list-text {
    font-size: 12px;
    font-weight: 500;
    transition: color 0.5s ease;
}

body.night-mode .list-text {
    color: #cbd5e1;
}

.list-badge {
    background: var(--dark);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* Card 2 - Messages */
.msg-list {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.msg-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: border-color 0.5s ease;
}

body.night-mode .msg-item {
    border-color: #334155;
}

.msg-item:last-child {
    border-bottom: none;
}

.msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #4f46e5;
    flex-shrink: 0;
}

.msg-content {
    flex: 1;
}

.msg-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
    transition: color 0.5s ease;
}

body.night-mode .msg-title {
    color: #e2e8f0;
}

.msg-desc {
    font-size: 11px;
    color: var(--text-muted);
    transition: color 0.5s ease;
}

body.night-mode .msg-desc {
    color: #64748b;
}

.msg-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    transition: border-color 0.5s ease;
}

body.night-mode .msg-action {
    border-color: #334155;
}

.confirm-btn {
    background: var(--dark);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

body.night-mode .confirm-btn {
    background: #e2e8f0;
    color: var(--dark);
}

.confirm-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.confirm-btn .btn-orange {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

/* Card 3 - Chat */
.chat-bubbles {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-evenly;
}

.chat-bubble {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.55;
    transition: background 0.5s ease, color 0.5s ease;
}

.chat-bubble.sent {
    background: #f3f4f6;
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 3px;
}

body.night-mode .chat-bubble.sent {
    background: #334155;
    color: #e2e8f0;
}

.chat-bubble.received {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 3px;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.2);
}

.chat-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.5s ease;
}

body.night-mode .chat-input {
    background: #334155;
    border-color: #475569;
}

.chat-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 12px;
    outline: none;
    color: var(--text-dark);
    transition: color 0.5s ease;
}

body.night-mode .chat-input input {
    color: #e2e8f0;
}

.chat-input input::placeholder {
    color: #9ca3af;
}

.chat-send {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--dark);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

body.night-mode .chat-send {
    background: #e2e8f0;
    color: var(--dark);
}

.chat-send:hover {
    transform: scale(1.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .clarity-heading {
        font-size: 36px;
    }

    .navbar {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
    }
}

/* ===== SCROLL REVEAL SECTION ===== */
.scroll-reveal-wrapper {
    position: relative;
    padding: 20px 0 120px 0;
    background: #fff;
    transition: background 0.8s ease;
}

body.night-mode .scroll-reveal-wrapper {
    background: #0f172a;
}

.scroll-reveal-sticky {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
}

.sr-intro {
    text-align: center;
    margin-bottom: 60px;
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sr-intro.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

.sr-eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    display: block;
    margin-bottom: 16px;
}

.sr-heading {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
    transition: color 0.5s ease;
}

body.night-mode .sr-heading {
    color: #f1f5f9;
}

.sr-sub {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
    transition: color 0.5s ease;
}

body.night-mode .sr-sub {
    color: #94a3b8;
}

.sr-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    width: 100%;
    align-items: center;
}

.sr-mockup-col {
    position: relative;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.sr-mockup-col.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

.sr-mockup {
    background: #1c1c1e;
    width: 100%;
    border-radius: 24px;
    padding: 32px 32px 32px 32px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

body.night-mode .sr-mockup {
    background: #0f172a;
    border: 1px solid #334155;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.sr-mockup-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 40px;
    font-size: 12px;
    color: #888;
}

.sr-mh-item {
    padding: 0 16px;
    border-right: 1px solid #333;
}
.sr-mh-item:first-child {
    padding-left: 0;
}
.sr-mh-item:last-child {
    border-right: none;
}

.sr-mh-item span {
    display: block;
    margin-bottom: 6px;
}

.sr-mh-item strong {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.sr-mockup-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.sr-ml-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.sr-ml-item.active {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(242, 101, 34, 0.2);
    z-index: 2;
}

.sr-ml-item.item-white {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 20px;
}

body.night-mode .sr-ml-item.item-white {
    background: #1e293b;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.sr-ml-item h3 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.5px;
    color: white;
    transition: color 0.3s ease;
}

.sr-ml-item.item-white h3 {
    color: #111;
}

body.night-mode .sr-ml-item.item-white h3 {
    color: white;
}

.sr-ml-item.active h3 {
    color: white;
}

.sr-ml-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.4s ease;
}

.sr-ml-item.active .sr-ml-btn {
    background: white;
    color: var(--orange);
    transform: translateX(4px);
}

.sr-ml-item.item-white .sr-ml-btn {
    color: white;
}

.sr-ml-btn svg {
    width: 18px;
    height: 18px;
    color: currentColor;
    transition: transform 0.3s ease;
}

.sr-ml-item:hover .sr-ml-btn svg {
    transform: translateX(3px);
}

.sr-separator {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin: 32px 0 24px;
}
body.night-mode .sr-separator {
    background: #334155;
}

.sr-text-col {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.sr-text-col.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

.sr-text-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
    transition: color 0.5s ease;
}

body.night-mode .sr-text-col h2 {
    color: #f1f5f9;
}

.sr-text-col p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    transition: color 0.5s ease;
}

body.night-mode .sr-text-col p {
    color: #94a3b8;
}

.sr-stat span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: color 0.5s ease;
}

body.night-mode .sr-stat span {
    color: #cbd5e1;
}

.sr-stat strong {
    font-size: 72px;
    font-weight: 400;
    color: var(--orange);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

/* Mobile Adjustments for Scroll Reveal */
@media (max-width: 768px) {
    .sr-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .sr-heading {
        font-size: 36px;
    }
    .sr-mockup-col {
        order: 2;
    }
    .sr-text-col {
        order: 1;
    }
}

/* ===== SMART COMMUNICATION SECTION ===== */
.smart-comm-wrapper {
    position: relative;
    padding: 20px 0 120px 0;
    background: #fff;
    transition: background 0.8s ease;
    display: flex;
    justify-content: center;
    padding-left: 24px;
    padding-right: 24px;
}

body.night-mode .smart-comm-wrapper {
    background: #0f172a;
}

.sc-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    width: 100%;
    align-items: center;
}

.sc-text-col {
    /* wrapper for animations */
}

/* Base animation state for all children */
.sc-heading, .sc-sub, .sc-stat, .sc-orange-bg, .sc-card-dark, .sc-card-light, .sc-cl-item, .sc-cl-sep {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Active states */
.sc-text-col.visible .sc-heading,
.sc-text-col.visible .sc-sub,
.sc-text-col.visible .sc-stat,
.sc-mockup-col.visible .sc-orange-bg,
.sc-mockup-col.visible .sc-card-dark,
.sc-mockup-col.visible .sc-card-light,
.sc-mockup-col.visible .sc-cl-item,
.sc-mockup-col.visible .sc-cl-sep {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

/* Stagger delays */
.sc-text-col.visible .sc-heading { transition-delay: 0.1s; }
.sc-text-col.visible .sc-sub { transition-delay: 0.2s; }
.sc-text-col.visible .sc-stat { transition-delay: 0.3s; }
.sc-mockup-col.visible .sc-orange-bg { transition-delay: 0.1s; }
.sc-mockup-col.visible .sc-card-dark { transition-delay: 0.3s; }
.sc-mockup-col.visible .sc-card-light { transition-delay: 0.4s; }
.sc-mockup-col.visible .sc-cl-item:nth-child(1) { transition-delay: 0.5s; }
.sc-mockup-col.visible .sc-cl-sep { transition-delay: 0.55s; }
.sc-mockup-col.visible .sc-cl-item:nth-child(3) { transition-delay: 0.6s; }

.sc-heading {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -1px;
    transition: color 0.5s ease;
}

body.night-mode .sc-heading {
    color: #f1f5f9;
}

.sc-sub {
    font-size: 16px;
    color: #111;
    line-height: 1.6;
    margin-bottom: 60px;
    transition: color 0.5s ease;
    max-width: 400px;
}

body.night-mode .sc-sub {
    color: #cbd5e1;
}

.sc-stat strong {
    font-size: 80px;
    font-weight: 400;
    color: var(--orange);
    line-height: 1;
    font-family: 'Playfair Display', serif;
    display: block;
    margin-bottom: 12px;
}

.sc-stat span {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    transition: color 0.5s ease;
}

body.night-mode .sc-stat span {
    color: white;
}

.sc-mockup-col {
    /* wrapper for animations */
}

.sc-orange-bg {
    position: relative;
    background: #FF7B25;
    border-radius: 24px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(242, 101, 34, 0.2);
}

/* Grid lines inside the orange box */
.grid-v {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255,255,255,0.25);
}
.grid-v-1 { left: 33%; }
.grid-v-2 { left: 66%; }

.grid-h {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.25);
}
.grid-h-1 { top: 40%; }
.grid-h-2 { top: 70%; }

.sc-card-dark {
    position: relative;
    z-index: 2;
    background: #1c1c1e;
    border-radius: 16px;
    padding: 24px 32px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.sc-cd-header {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.sc-cd-count {
    color: #888;
}

.sc-cd-progress {
    display: flex;
    gap: 6px;
}

.prog-segment {
    height: 6px;
    flex: 1;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}

.prog-segment.active {
    background: var(--orange);
}

.sc-card-light {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.sc-cl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.sc-cl-header h3 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.1;
    color: #111;
    letter-spacing: -1.5px;
    margin: 0;
}

.sc-cl-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.2);
}

.sc-cl-btn svg {
    width: 20px;
    height: 20px;
}

.sc-cl-list {
    display: flex;
    flex-direction: column;
}

.sc-cl-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sc-cl-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-cl-text {
    flex: 1;
    font-size: 14px;
    color: #111;
    font-weight: 500;
}

.sc-cl-time {
    font-size: 12px;
    color: #999;
}

.sc-cl-sep {
    height: 1px;
    background: #eaeaea;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .sc-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .sc-heading {
        font-size: 42px;
    }
    .sc-sub {
        margin: 0 auto 40px;
    }
    .sc-stat {
        margin-top: 40px;
    }
}

/* ===== CASH FLOW SECTION ===== */
.cashflow-wrapper {
    position: relative;
    padding: 20px 0 120px 0;
    background: #fff;
    transition: background 0.8s ease;
    display: flex;
    justify-content: center;
    padding-left: 24px;
    padding-right: 24px;
}

body.night-mode .cashflow-wrapper {
    background: #0f172a;
}

.cf-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    width: 100%;
    align-items: center;
}

/* Animations base */
.cf-heading, .cf-sub, .cf-stat-block, .cf-separator, .cf-separator-bottom, .cf-mockup-bg, .cf-card-white, .cf-list-item {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Active animations */
.cf-text-col.visible .cf-heading,
.cf-text-col.visible .cf-sub,
.cf-text-col.visible .cf-separator,
.cf-text-col.visible .cf-stat-block,
.cf-text-col.visible .cf-separator-bottom,
.cf-mockup-col.visible .cf-mockup-bg,
.cf-mockup-col.visible .cf-card-white,
.cf-mockup-col.visible .cf-list-item {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

/* Delays */
.cf-mockup-col.visible .cf-mockup-bg { transition-delay: 0.1s; }
.cf-mockup-col.visible .cf-card-white { transition-delay: 0.3s; }
.cf-mockup-col.visible .cf-list-item:nth-child(1) { transition-delay: 0.4s; }
.cf-mockup-col.visible .cf-list-item:nth-child(2) { transition-delay: 0.5s; }
.cf-mockup-col.visible .cf-list-item:nth-child(3) { transition-delay: 0.6s; }

.cf-text-col.visible .cf-heading { transition-delay: 0.2s; }
.cf-text-col.visible .cf-sub { transition-delay: 0.3s; }
.cf-text-col.visible .cf-separator { transition-delay: 0.4s; }
.cf-text-col.visible .cf-stat-block { transition-delay: 0.5s; }
.cf-text-col.visible .cf-separator-bottom { transition-delay: 0.6s; }

.cf-mockup-bg {
    background: #1c1c1e;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.cf-card-white {
    background: white;
    border-radius: 24px;
    padding: 48px 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.cf-cw-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.cf-cw-header h3 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.05;
    color: #111;
    letter-spacing: -1.5px;
    margin: 0;
}

.cf-cw-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.cf-cw-btn:hover {
    transform: translateX(4px);
}

.cf-cw-btn svg {
    width: 24px;
    height: 24px;
}

.cf-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.cf-amount {
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

.cf-percent {
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

.cf-progress-bar {
    height: 44px;
    background: #eaeaea;
    border-radius: 24px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.cf-progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--orange), var(--orange-light));
    border-radius: 24px;
}

.cf-goal {
    text-align: right;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 40px;
}

.cf-goal span {
    color: var(--orange);
}

.cf-divider {
    height: 1px;
    background: #eaeaea;
    margin-bottom: 32px;
}

.cf-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cf-list-item {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

.cf-li-date { color: #888; font-weight: 400; }
.cf-li-val { color: #888; font-weight: 400; }

.cf-li-date.dark, .cf-li-val.dark {
    color: #111;
    font-weight: 500;
}

.cf-heading {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

body.night-mode .cf-heading { color: #f1f5f9; }

.cf-sub {
    font-size: 16px;
    color: #111;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 40px;
}

body.night-mode .cf-sub { color: #cbd5e1; }

.cf-separator {
    width: 100%;
    height: 1px;
    background: #eaeaea;
    margin: 40px 0 40px 0;
}

.cf-separator-bottom {
    width: 100%;
    height: 1px;
    background: #eaeaea;
    margin: 24px 0 0 0;
}

body.night-mode .cf-separator, body.night-mode .cf-separator-bottom { background: #334155; }

.cf-stat-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cf-stat-block strong {
    font-size: 80px;
    font-weight: 400;
    color: var(--orange);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.cf-stat-block span {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

body.night-mode .cf-stat-block span { color: white; }

@media (max-width: 768px) {
    .cf-content { grid-template-columns: 1fr; text-align: center; }
    .cf-heading { font-size: 42px; }
    .cf-sub { margin: 0 auto 40px; }
    .cf-goal { text-align: center; }
    
    /* Fix Theme Performance Card Overlap */
    .cf-mockup-bg { padding: 16px; }
    .cf-card-white { padding: 24px 20px; }
    .cf-cw-header h3 { font-size: 28px; }
    .cf-amount, .cf-percent { font-size: 18px; }
    .cf-cw-btn { width: 44px; height: 44px; }
}

/* ===== EVERYTHING SECTION ===== */
.everything-section {
    position: relative;
    background: #151515;
    color: white;
    padding: 140px 24px 120px 24px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.ev-content {
    max-width: 1250px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ev-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
}

.ev-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-weight: 500;
    color: #e5e5e5;
    margin-bottom: 32px;
}

.ev-badge svg {
    width: 16px;
    height: 16px;
    color: var(--orange);
}

.ev-heading {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -2.5px;
    margin-bottom: 32px;
}

.ev-sub {
    font-size: 18px;
    color: #a1a1aa;
    line-height: 1.6;
}

.ev-cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 5px;
    margin-bottom: 32px;
}

.ev-btn-primary {
    position: relative;
    background: #F15A24;
    color: #ffffff;
    text-decoration: none;
    padding: 0 35px;
    height: 60px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    box-shadow: 0 4px 15px rgba(241, 90, 36, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    z-index: 1;
}

.ev-btn-primary::before {
    display: none;
}

.ev-btn-primary:hover {
    transform: translateY(-2px);
    background: #d94c1c;
    box-shadow: 0 8px 25px rgba(241, 90, 36, 0.6);
}

.ev-btn-primary:hover::before {
    display: none;
}

.ev-btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e5e5;
    text-decoration: none;
    padding: 0 35px;
    height: 60px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
    font-size: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.ev-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Animations base */
.ev-badge, .ev-heading, .ev-sub, .ev-bento-left, .ev-b-card {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Active animations */
.ev-header.visible .ev-badge,
.ev-header.visible .ev-heading,
.ev-header.visible .ev-sub,
.ev-bento-left.visible,
.ev-b-card.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

/* Delays */
.ev-header.visible .ev-badge { transition-delay: 0.1s; }
.ev-header.visible .ev-heading { transition-delay: 0.2s; }
.ev-header.visible .ev-sub { transition-delay: 0.3s; }

@media (max-width: 960px) {
    .ev-heading { font-size: 52px; }
}

/* ===== EVERYTHING SECTION BENTO GRID ===== */
.ev-bento {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px; /* Space from top row */
    margin-bottom: 24px; /* Space to features grid */
}

/* Left side phone card */
.ev-bento-left {
    background: #e3dfd8;
    border-radius: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* clip the image to border radius */
}

.ev-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Right side 2x2 grid */
.ev-bento-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}

.ev-b-card {
    border-radius: 36px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.ev-b-card.white {
    background: white;
    color: #111;
}

.ev-b-card.orange {
    background: linear-gradient(135deg, var(--orange) 0%, #ff5e00 100%);
    color: white;
}

.ev-b-card.flex-center {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ev-b-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.ev-b-icon.blue { background: #007AFF; }
.ev-b-icon.red { background: #FF3B30; }

.ev-b-icon svg {
    width: 24px;
    height: 24px;
}

.ev-b-card h4 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.ev-b-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
}

.ev-b-card.orange p {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.ev-big-stat {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    line-height: 1;
    margin-bottom: 12px;
}

/* 3-Column Features Grid */
.ev-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.ev-features-grid .ev-b-card {
    padding: 24px;
}

.ev-features-grid .ev-b-icon {
    margin-bottom: 20px;
}

.ev-b-icon.green { background: #34A853; }
.ev-b-icon.orange-bg { background: #FF9500; }

@media (max-width: 960px) {
    .ev-bento {
        grid-template-columns: 1fr;
    }
    .ev-bento-right {
        grid-template-columns: 1fr 1fr;
    }
    .ev-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== DOMAIN SEARCH ===== */
.domain-search-wrapper {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 60px auto;
}

.domain-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 60px;
    padding: 6px 6px 6px 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.domain-search-bar:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.15);
}

.domain-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.domain-search-icon {
    width: 20px;
    height: 20px;
    color: #888;
    flex-shrink: 0;
}

.domain-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #fff;
    padding: 12px 0;
}

.domain-input::placeholder {
    color: #999;
}

.domain-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.domain-search-btn:hover {
    background: #e05800;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.35);
}

.domain-search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.domain-search-btn svg {
    width: 18px;
    height: 18px;
}

/* TLD Chips */
.domain-tld-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.tld-chip {
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #aaa;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tld-chip:hover {
    border-color: rgba(242, 101, 34, 0.4);
    color: #ccc;
}

.tld-chip.active {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    box-shadow: 0 2px 12px rgba(242, 101, 34, 0.25);
}

/* Results */
.domain-results {
    margin-top: 28px;
}

.domain-result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-radius: 16px;
    margin-bottom: 10px;
    animation: domainFadeUp 0.4s ease forwards;
    opacity: 0;
    transform: translateY(12px);
}

@keyframes domainFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.domain-result-card.available {
    background: rgba(52, 199, 89, 0.08);
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.domain-result-card.taken {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.domain-result-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.domain-status-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.domain-status-dot.available {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
}

.domain-status-dot.taken {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.domain-status-dot svg {
    width: 16px;
    height: 16px;
}

.domain-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.domain-result-name {
    font-weight: 600;
    font-size: 16px;
    color: #f1f5f9;
}

.domain-result-status {
    font-size: 13px;
    color: #a1a1aa;
}

.domain-result-card.available .domain-result-status {
    color: #34c759;
}

.domain-result-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.domain-result-price {
    font-weight: 700;
    font-size: 16px;
    color: #f1f5f9;
}

.domain-buy-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 30px;
    background: var(--orange);
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.domain-buy-btn:hover {
    background: #e05800;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(242, 101, 34, 0.3);
}

.domain-taken-label {
    font-size: 13px;
    color: #a1a1aa;
    font-weight: 500;
}

/* Loading */
.domain-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 0;
    color: #a1a1aa;
    font-size: 15px;
}

.domain-spinner, .domain-spinner-lg {
    border-radius: 50%;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: var(--orange);
    animation: domainSpin 0.7s linear infinite;
}

.domain-spinner {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

.domain-spinner-lg {
    width: 36px;
    height: 36px;
    border-width: 3px;
}

@keyframes domainSpin {
    to { transform: rotate(360deg); }
}

/* Error */
.domain-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    color: #ef4444;
    font-size: 15px;
}

.domain-error svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Shake Animation */
@keyframes domainShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.domain-input.shake {
    animation: domainShake 0.4s ease;
}

/* Night Mode */
body.night-mode .domain-search-bar {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
}

body.night-mode .domain-input {
    color: #f1f5f9;
}

body.night-mode .domain-input::placeholder {
    color: #64748b;
}

body.night-mode .tld-chip {
    background: rgba(30, 41, 59, 0.6);
    border-color: #334155;
    color: #94a3b8;
}

body.night-mode .tld-chip:hover {
    border-color: rgba(242, 101, 34, 0.4);
    color: #cbd5e1;
}

body.night-mode .tld-chip.active {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

body.night-mode .domain-result-card.available {
    background: rgba(52, 199, 89, 0.06);
    border-color: rgba(52, 199, 89, 0.15);
}

body.night-mode .domain-result-card.taken {
    background: rgba(30, 41, 59, 0.5);
    border-color: #334155;
}

body.night-mode .domain-result-name {
    color: #f1f5f9;
}

body.night-mode .domain-result-status {
    color: #64748b;
}

body.night-mode .domain-result-price {
    color: #f1f5f9;
}

body.night-mode .domain-taken-label {
    color: #64748b;
}

body.night-mode .domain-loading {
    color: #94a3b8;
}

body.night-mode .domain-spinner,
body.night-mode .domain-spinner-lg {
    border-color: rgba(255, 255, 255, 0.08);
    border-top-color: var(--orange);
}

/* Mobile */
@media (max-width: 768px) {
    .domain-search-wrapper {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .domain-search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 12px;
        gap: 8px;
    }

    .domain-input-wrap {
        width: 100%;
        padding: 0 8px;
    }

    .domain-search-btn {
        width: 100%;
        justify-content: center;
        border-radius: 14px;
        padding: 14px;
    }

    .domain-tld-chips {
        gap: 6px;
    }

    .tld-chip {
        padding: 5px 14px;
        font-size: 13px;
    }

    .domain-result-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .domain-result-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ===== STREAMLINED CLIENT EXPERIENCE SECTION ===== */
.streamline-section {
    background: #FFFFFF;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 24px 120px 24px;
    display: flex;
    justify-content: center;
    color: #111;
    overflow: hidden;
    max-width: 1400px;
}

.str-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.str-header {
    text-align: center;
    margin-bottom: 70px;
}

.str-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: #000;
}

.str-header p {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

.str-diagram-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.str-diagram {
    position: relative;
    width: 1000px;
    min-width: 1000px;
    height: 520px;
}

/* Hide mobile diagram on desktop */
.str-diagram-mob {
    display: none;
}

.str-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.str-hub-box {
    position: absolute;
    left: 50%;
    top: 250px;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #FF7B00 0%, #FF5100 100%);
    color: white;
    font-size: 26px;
    font-weight: 500;
    width: 160px;
    height: 160px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(255, 94, 0, 0.25);
    z-index: 10;
}

.str-hub-label {
    position: absolute;
    left: 50%;
    top: 350px;
    transform: translateX(-50%);
    font-size: 15px;
    font-weight: 500;
    color: #111;
    z-index: 10;
}

.str-pill {
    position: absolute;
    background: white;
    padding: 6px 20px 6px 6px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    z-index: 5;
    white-space: nowrap;
    transform: translateY(-50%);
}

.str-right-pill {
    position: absolute;
    background: white;
    padding: 6px 20px 6px 6px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    z-index: 5;
    white-space: nowrap;
    transform: translateY(-50%);
}

.str-right-pill span {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

.str-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.str-icon svg {
    width: 16px;
    height: 16px;
}

.str-icon.bg-orange { background: #FF9500; }
.str-icon.bg-purple { background: #AF52DE; }
.str-icon.bg-green { background: #34C759; }
.str-icon.bg-red { background: #FF3B30; }
.str-icon.bg-blue { background: #007AFF; }

/* Animations */
.str-header h2, .str-header p, .str-pill, .str-hub-box, .str-hub-label, .str-right-pill {
    opacity: 0;
    transform: translateY(20px) !important;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.str-pill { transform: translateY(calc(-50% + 20px)) !important; }
.str-right-pill { transform: translateY(calc(-50% + 20px)) !important; }
.str-hub-box { transform: translate(-50%, calc(-50% + 20px)) !important; }
.str-hub-label { transform: translate(-50%, 20px) !important; }

.str-lines {
    opacity: 0;
    transition: opacity 1.5s ease-out 0.5s;
}

.str-header.visible h2,
.str-header.visible p {
    opacity: 1;
    transform: translateY(0) !important;
}
.str-header.visible h2 { transition-delay: 0.1s; }
.str-header.visible p { transition-delay: 0.2s; }

.str-diagram-wrapper.visible .str-hub-box { opacity: 1; transform: translate(-50%, -50%) !important; transition-delay: 0.3s; }
.str-diagram-wrapper.visible .str-hub-label { opacity: 1; transform: translateX(-50%) !important; transition-delay: 0.4s; }

.str-diagram-wrapper.visible .str-pill,
.str-diagram-wrapper.visible .str-right-pill {
    opacity: 1;
    transform: translateY(-50%) !important;
}

.str-diagram-wrapper.visible .str-lines { opacity: 1; }

@media (max-width: 1024px) {
    .str-diagram-wrapper { 
        display: block !important;
        overflow: hidden !important; 
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
        height: auto;
    }
    
    /* Hide desktop diagram */
    .str-diagram { display: none !important; }
    
    /* Show mobile diagram */
    .str-diagram-mob {
        display: block !important;
        position: relative;
        width: 100%;
        max-width: 350px;
        height: 900px;
        margin: 0 auto;
    }
    
    .str-lines-mob {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .str-pill-mob, .str-right-pill-mob {
        position: absolute;
        background: white;
        padding: 6px 12px 6px 6px;
        border-radius: 40px;
        display: flex;
        align-items: center;
        gap: 8px;
        border: 1px solid #f0f0f0;
        box-shadow: 0 10px 24px rgba(0,0,0,0.06);
        z-index: 20;
        white-space: nowrap;
        transform: translateX(-50%); /* Centered on coordinates */
    }
    
    .str-pill-mob span, .str-right-pill-mob span {
        font-size: 11px;
        font-weight: 500;
        color: #222;
        line-height: 1.2;
        text-align: left;
    }
    
    /* Ensure the mobile diagram hub styles match */
    .str-hub-box-mob {
        position: absolute;
        width: 90px;
        height: 90px;
        background: linear-gradient(135deg, #ff7b00 0%, #e65c00 100%);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 16px;
        box-shadow: 0 16px 32px rgba(255, 123, 0, 0.3);
        z-index: 30;
    }
    
    .str-hub-label-mob {
        position: absolute;
        font-size: 14px;
        font-weight: 500;
        color: #111;
        z-index: 30;
    }
}

@keyframes march-lines {
    to {
        stroke-dashoffset: -12;
    }
}

.animated-path {
    animation: march-lines 0.8s linear infinite;
}

/* ===== MOBILE APP SECTION ===== */
.mobile-app-section {
    position: relative;
    z-index: 5;
    padding-top: 50px;
    padding-bottom: 120px;
    background-color: #FFFFFF;
    background-image: linear-gradient(to bottom, rgba(255, 123, 0, 0) 0%, rgba(255, 123, 0, 0.15) 30%, rgba(255, 123, 0, 0.3) 60%, rgba(255, 123, 0, 0) 100%);
    text-align: center;
}

.mob-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.mob-header {
    margin-bottom: 60px;
}

.mob-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 20px;
}

.mob-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: #000;
}

.mob-header p {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

.mob-showcase-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 500px;
    display: flex;
    justify-content: center;
}

.mob-showcase {
    position: relative;
    width: 320px;
    height: 100%;
}

.mob-phone-frame {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 550px;
    background: #000;
    border-radius: 44px;
    padding: 12px;
    box-shadow: 
        inset 0 0 2px 1px rgba(255, 255, 255, 0.2),
        0 0 0 2px #111,
        0 0 0 4px #555,
        0 0 0 5px #222,
        0 40px 80px rgba(0,0,0,0.4);
    z-index: 10;
    box-sizing: border-box;
    border: none;
}

.mob-dynamic-island {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 12;
}

.mob-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    display: block;
    background: white;
}

.mob-pill {
    position: absolute;
    background: white;
    padding: 6px 16px 6px 6px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    z-index: 20;
    white-space: nowrap;
}

.mob-pill span {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

.mob-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mob-icon svg {
    width: 16px;
    height: 16px;
}

.mob-icon.bg-purple { background: #9c6cff; }
.mob-icon.bg-blue { background: #3b82f6; }
.mob-icon.bg-green { background: #34c759; }
.mob-icon.bg-red { background: #ff3b30; }
.mob-icon.bg-pink { background: #ff2d55; }

/* Positioning the pills around the phone */
.mob-pill.pill-1 { top: 100px; left: -140px; }
.mob-pill.pill-2 { top: 350px; left: -200px; }
.mob-pill.pill-3 { top: 150px; right: -180px; }
.mob-pill.pill-4 { top: 320px; right: -150px; }
.mob-pill.pill-5 { top: 520px; right: -140px; }

/* Animation Base for observer */
.mob-header h2, .mob-header p, .mob-label, .mob-phone-frame, .mob-pill {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.mob-phone-frame { transform: translate(-50%, 60px); }

/* Animation active state */
.mobile-app-section.visible .mob-label { opacity: 1; transform: translateY(0); }
.mobile-app-section.visible h2 { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.mobile-app-section.visible p { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.mobile-app-section.visible .mob-phone-frame { opacity: 1; transform: translate(-50%, 0); transition-delay: 0.3s; }
.mobile-app-section.visible .mob-pill { opacity: 1; transform: translateY(0); }

.mobile-app-section.visible .pill-1 { transition-delay: 0.5s; }
.mobile-app-section.visible .pill-2 { transition-delay: 0.7s; }
.mobile-app-section.visible .pill-3 { transition-delay: 0.6s; }
.mobile-app-section.visible .pill-4 { transition-delay: 0.8s; }
.mobile-app-section.visible .pill-5 { transition-delay: 0.9s; }

@media (max-width: 900px) {
    .mob-pill { display: none; }
    .mobile-app-section { padding-bottom: 0; }
}

/* ===== WORKFLOW SECTION ===== */
.workflow-section {
    padding: 120px 24px;
    background: #FFFFFF;
    text-align: center;
    margin-top: -1px;
    position: relative;
    z-index: 2;
}

.wf-content {
    max-width: 1200px;
    margin: 0 auto;
}

.wf-header {
    margin-bottom: 70px;
}

.wf-label {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
}

.wf-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #000;
}

.wf-header p {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

.wf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

/* Left: UI Mockup */
.wf-mockup {
    background: linear-gradient(135deg, #fff7f0 0%, #ff7b00 100%);
    border-radius: 40px;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wf-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wf-avatar-main {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.wf-avatar-main img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wf-check {
    position: absolute;
    bottom: 0;
    right: -4px;
    width: 24px;
    height: 24px;
    background: #ff7b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
}

.wf-check svg, .wf-check-small svg {
    width: 12px;
    height: 12px;
}

.wf-card-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.wf-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.wf-check-small {
    width: 20px;
    height: 20px;
    background: #ff7b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-divider {
    width: 100%;
    height: 1px;
    background: #f0f0f0;
    margin-bottom: 24px;
}

.wf-collab-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.wf-collab-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.wf-collab-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
    object-fit: cover;
}

.wf-collab-avatar:first-child { margin-left: 0; }

.wf-collab-add {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
    background: #ff7b00;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-save-btn {
    background: #222;
    color: #fff;
    border: none;
    padding: 8px 8px 8px 24px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wf-save-btn:hover { background: #000; transform: translateY(-2px); }

.wf-btn-icon {
    width: 32px;
    height: 32px;
    background: #ff7b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-btn-icon svg { width: 18px; height: 18px; }

/* Right: Accordion */
.wf-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wf-accordion-item {
    border: 1px solid #eaeaea;
    border-radius: 20px;
    background: #fff;
    padding: 24px 32px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wf-accordion-item:hover {
    border-color: #d1d1d1;
}

.wf-accordion-item.active {
    background: #ff7b00;
    border-color: #ff7b00;
}

.wf-acc-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wf-acc-num {
    font-size: 20px;
    font-weight: 500;
    color: #ff7b00;
    font-family: 'Playfair Display', serif;
}

.wf-accordion-item.active .wf-acc-num { color: #fff; }

.wf-acc-title {
    flex: 1;
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    color: #111;
}

.wf-accordion-item.active .wf-acc-title { color: #fff; }

.wf-acc-icon {
    font-size: 24px;
    font-weight: 300;
    color: #ff7b00;
}

.wf-accordion-item.active .wf-acc-icon { color: #fff; }

.wf-acc-body {
    max-height: 0;
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin-left: 56px;
    opacity: 0;
    transition: all 0.4s ease;
}

.wf-accordion-item.active .wf-acc-body {
    max-height: 150px;
    margin-top: 16px;
    opacity: 0.9;
}

/* Observer animations for workflow section */
.wf-header h2, .wf-header p, .wf-label, .wf-left, .wf-right {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-section.visible .wf-label { opacity: 1; transform: translateY(0); }
.workflow-section.visible h2 { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.workflow-section.visible p { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.workflow-section.visible .wf-left { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.workflow-section.visible .wf-right { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

@media (max-width: 960px) {
    .wf-grid { grid-template-columns: 1fr; }
    .wf-mockup { padding: 40px 20px; }
    .wf-acc-header { gap: 12px; }
    .wf-acc-body { margin-left: 0; margin-top: 12px; }
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 0 24px 80px 24px;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
}

.cta-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    background: #151515;
    border-radius: 32px;
    padding: 100px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.cta-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 150px 150px;
    background-position: center;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}

.cta-heading {
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 500;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.cta-inline-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    padding: 8px 8px 8px 24px;
    border-radius: 60px;
    margin: 0 16px;
    vertical-align: middle;
    transition: transform 0.3s ease;
    letter-spacing: -0.5px;
}

.cta-inline-btn:hover {
    transform: translateY(-2px);
}

.cta-btn-icon {
    width: 44px;
    height: 44px;
    background: #ff7b00;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
}

.cta-btn-icon svg { width: 20px; height: 20px; }

/* ===== FOOTER SECTION ===== */
.footer-section {
    background: #FFFFFF;
    padding: 80px 24px 120px 24px;
    display: flex;
    justify-content: center;
}

.footer-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-left {
    max-width: 500px;
}

.footer-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    color: #000;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.footer-left p {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 6px 6px 20px;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.footer-btn:hover { background: #000; }

.fb-icon {
    width: 36px;
    height: 36px;
    background: #ff7b00;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
}

.fb-icon svg { width: 16px; height: 16px; }

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover { color: #ff7b00; }

.footer-col a .arr {
    color: #ff7b00;
    font-weight: 600;
    font-size: 12px;
    opacity: 0.8;
}

/* Observer animations for CTA & Footer */
.cta-container, .footer-left, .footer-col {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-section.visible .cta-container { opacity: 1; transform: translateY(0); }
.footer-section.visible .footer-left { opacity: 1; transform: translateY(0); }
.footer-section.visible .footer-col { opacity: 1; transform: translateY(0); }

/* Stagger footer cols */
.footer-section.visible .footer-col:nth-child(1) { transition-delay: 0.1s; }
.footer-section.visible .footer-col:nth-child(2) { transition-delay: 0.2s; }
.footer-section.visible .footer-col:nth-child(3) { transition-delay: 0.3s; }

@media (max-width: 960px) {
    .cta-heading { font-size: 40px; }
    .cta-inline-btn { font-size: 16px; margin: 12px 0; }
    .footer-content { flex-direction: column; gap: 40px; }
    .footer-links { flex-wrap: wrap; gap: 40px; }
}

/* ===== FINAL HERO TYPOGRAPHY SECTION ===== */
.final-hero-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #FFFFFF;
}

.fh-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('landscape-footer.png');
    background-size: cover;
    background-position: center 45%;
    z-index: 1;
}

.fh-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255,255,255,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.fh-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.fh-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
}

.fh-text {
    font-family: 'Playfair Display', serif;
    font-size: 26vw;
    font-weight: 500;
    color: #0d0d0d;
    margin: 0;
    line-height: 0.8;
    letter-spacing: -1.2vw;
    transform: translateY(2vw);
}

.fh-bottom-bar {
    position: relative;
    z-index: 4;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.fh-links a {
    color: #111;
    text-decoration: none;
    margin-right: 32px;
    transition: opacity 0.2s ease;
}

.fh-links a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .fh-gradient-top { height: 35%; }
    .fh-text { font-size: 28vw; letter-spacing: -1vw; transform: translateY(1vw); }
    .fh-bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 24px;
        text-align: center;
    }
    .fh-links a { margin: 0 12px; }
}

/* ===== COMPREHENSIVE MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    /* Global Section Spacing */
    section { 
        padding-left: 20px !important; 
        padding-right: 20px !important; 
    }
    
    /* Navigation utilities on mobile */
    .login-btn { display: none !important; }
    .navbar .btn-primary { padding: 8px 12px !important; font-size: 12px !important; gap: 4px !important; }
    .navbar .btn-primary .btn-orange { width: 22px !important; height: 22px !important; margin-left: 4px !important; }
    .navbar .btn-primary svg { width: 12px !important; height: 12px !important; }
    
    /* Hero Section */
    .hero-section { padding-top: 120px !important; padding-bottom: 60px !important; }
    .hero-pill { font-size: 12px; padding: 6px 12px; margin-bottom: 24px; }
    .hero-title { font-size: 44px !important; letter-spacing: -1px !important; line-height: 1.1 !important; }
    .hero-subtitle { font-size: 16px !important; padding: 0 10px; margin-bottom: 30px; }
    
    /* Features (Bento) */
    .features-section { padding-top: 60px !important; padding-bottom: 60px !important; }
    .feature-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    .fc-large { grid-column: auto !important; }
    .feature-card { padding: 24px !important; min-height: 200px !important; }
    .fc-content h3 { font-size: 20px; }
    .fc-content p { font-size: 14px; }
    
    /* Features Grid Manual Horizontal Scroll */
    .clarity-section { overflow: hidden; padding-bottom: 20px !important; }
    .features-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 20px !important;
        padding-bottom: 24px !important;
        padding-top: 20px !important;
        -webkit-overflow-scrolling: touch;
        margin: 0 -24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    .features-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar for clean UI */
    }
    .feature-card {
        width: 340px !important;
        flex-shrink: 0;
        scroll-snap-align: center;
    }
    
    /* Alternating Sections (Speed, Smart, Feedback) */
    .sr-grid, .sc-grid, .cf-grid { 
        grid-template-columns: 1fr !important; 
        gap: 40px !important; 
        text-align: center;
    }
    .sr-intro { display: none !important; } /* Hide the intro section on mobile */
    .sr-mockup { padding: 24px !important; margin: 20px auto; max-width: 100%; box-sizing: border-box; transform: scale(1.1); transform-origin: center; }
    .sr-mh-item { padding: 0 8px !important; font-size: 10px !important; }
    .sr-mockup-header { margin-bottom: 24px !important; }
    .sr-text-col, .sc-text-col, .cf-text-col { padding: 0 15px !important; }
    .sr-text-col h2, .sc-text-col h2, .cf-text-col h2 { font-size: 32px !important; margin-bottom: 16px; }
    .sr-text-col p, .sc-text-col p, .cf-text-col p { font-size: 16px !important; }
    /* Reorder text and image for mobile to always have text first */
    .sc-grid .sc-text-col { order: -1; } 
    
    /* Everything Section */
    .everything-section { padding-top: 80px !important; }
    .ev-header h2 { font-size: 32px !important; }
    .ev-bento { grid-template-columns: 1fr !important; gap: 16px !important; }
    .ev-bento-right { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
    .ev-b-card { padding: 16px !important; border-radius: 20px !important; }
    .ev-b-icon { width: 36px !important; height: 36px !important; margin-bottom: 16px !important; border-radius: 8px !important; }
    .ev-b-icon svg { width: 18px !important; height: 18px !important; }
    .ev-b-card h4 { font-size: 16px !important; margin-bottom: 8px !important; line-height: 1.2 !important; }
    .ev-b-card p { font-size: 13px !important; }
    .ev-big-stat { font-size: 40px !important; margin-bottom: 4px !important; }
    
    /* Streamlined Diagram - Mobile Specific Grid & SVG */
    .streamline-section { padding-top: 60px !important; padding-bottom: 60px !important; overflow: hidden; }
    .str-header h2 { font-size: 32px !important; }
    

    /* Mobile App Section */
    .mobile-app-section { padding-top: 60px !important; padding-bottom: 60px !important; }
    .mob-header h2 { font-size: 32px !important; }
    .mob-showcase-wrapper { width: 100%; height: 550px !important; }
    .mob-pill { display: none !important; } /* Hide floating pills on mobile to prevent horizontal scroll */
    
    /* Workflow Section */
    .workflow-section { padding-top: 60px !important; padding-bottom: 60px !important; }
    .wf-header h2 { font-size: 32px !important; }
    .wf-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .wf-mockup { padding: 30px 15px !important; border-radius: 24px !important; }
    .wf-card { padding: 24px !important; }
    .wf-acc-title { font-size: 18px !important; }
    .wf-accordion-item { padding: 16px 20px !important; }
    
    /* CTA Section */
    .cta-section { padding-bottom: 40px !important; }
    .cta-container { padding: 50px 20px !important; border-radius: 20px !important; }
    .cta-heading { font-size: 32px !important; letter-spacing: -0.5px !important; }
    .cta-inline-btn { 
        font-size: 14px !important; 
        padding: 6px 6px 6px 16px !important; 
        display: flex; 
        width: max-content; 
        margin: 20px auto 0 auto !important; 
    }
    
    /* Footer */
    .footer-section { padding-top: 60px !important; padding-bottom: 80px !important; }
    .footer-left h2 { font-size: 24px !important; text-align: left; }
    .footer-left p { text-align: left; }
    .footer-btn { display: inline-flex !important; }
    .footer-links { gap: 30px !important; flex-direction: column !important; }
}
/* ===== NIGHT MODE FIXES ===== */
body.night-mode .navbar.scrolled .logo-white { display: block !important; }
body.night-mode .navbar.scrolled .logo-dark { display: none !important; }

/* Everything Section */
body.night-mode .everything-section { background: #0f172a; }
body.night-mode .ev-badge { border-color: rgba(255, 255, 255, 0.1); color: #94a3b8; }
body.night-mode .ev-bento-left { background: #1e293b; }
body.night-mode .ev-b-card.white { background: #1e293b; color: #f1f5f9; }
body.night-mode .ev-b-card.white p { color: #94a3b8; }

/* Streamline Section */
body.night-mode .streamline-section { background: #0f172a; color: #f1f5f9; }
body.night-mode .str-header h2 { color: #f1f5f9; }
body.night-mode .str-header p { color: #94a3b8; }
body.night-mode .str-hub-label { color: #f1f5f9; }
body.night-mode .str-pill, body.night-mode .str-right-pill { background: #1e293b; border-color: #334155; color: #f1f5f9; }
body.night-mode .str-pill span, body.night-mode .str-right-pill span { color: #f1f5f9; }
body.night-mode .str-lines path { stroke: #334155; }

/* Mobile App Section */
body.night-mode .mobile-app-section { background: linear-gradient(to bottom, #0f172a 0%, #0f172a 40%, rgba(255, 123, 0, 0.15) 100%); }
body.night-mode .mob-header h2 { color: #f1f5f9; }
body.night-mode .mob-header p { color: #94a3b8; }
body.night-mode .mob-label { color: #94a3b8; }
body.night-mode .mob-pill { background: #1e293b; border-color: #334155; }
body.night-mode .mob-pill span { color: #f1f5f9; }
body.night-mode .mob-phone-frame { border-color: #334155; }

/* Workflow Section */
body.night-mode .workflow-section { background: #0f172a; }
body.night-mode .wf-header h2 { color: #f1f5f9; }
body.night-mode .wf-header p { color: #94a3b8; }
body.night-mode .wf-label { color: #94a3b8; }
body.night-mode .wf-card { background: #1e293b; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
body.night-mode .wf-card-label { color: #94a3b8; }
body.night-mode .wf-card-title { color: #f1f5f9; }
body.night-mode .wf-collab-label { color: #94a3b8; }
body.night-mode .wf-divider { background: #334155; }
body.night-mode .wf-accordion-item { background: #1e293b; border-color: #334155; }
body.night-mode .wf-accordion-item:hover { border-color: #475569; }
body.night-mode .wf-accordion-item.active { background: #ff7b00; border-color: #ff7b00; }
body.night-mode .wf-acc-title { color: #f1f5f9; }
body.night-mode .wf-accordion-item.active .wf-acc-title { color: #fff; }

/* CTA Section */
body.night-mode .cta-section { background: #0f172a; }
body.night-mode .cta-container { background: #1e293b; box-shadow: 0 40px 80px rgba(0,0,0,0.3); }

/* Footer Section */
body.night-mode .footer-section { background: #0f172a; }
body.night-mode .footer-left h2 { color: #f1f5f9; }
/* ===== NIGHT MODE FIXES ===== */
body.night-mode .navbar.scrolled .logo-white { display: block !important; }
body.night-mode .navbar.scrolled .logo-dark { display: none !important; }

/* Everything Section */
body.night-mode .everything-section { background: #0f172a; }
body.night-mode .ev-badge { border-color: rgba(255, 255, 255, 0.1); color: #94a3b8; }
body.night-mode .ev-bento-left { background: #1e293b; }
body.night-mode .ev-b-card.white { background: #1e293b; color: #f1f5f9; }
body.night-mode .ev-b-card.white p { color: #94a3b8; }

/* Streamline Section */
body.night-mode .streamline-section { background: #0f172a; color: #f1f5f9; }
body.night-mode .str-header h2 { color: #f1f5f9; }
body.night-mode .str-header p { color: #94a3b8; }
body.night-mode .str-hub-label { color: #f1f5f9; }
body.night-mode .str-pill, body.night-mode .str-right-pill { background: #1e293b; border-color: #334155; color: #f1f5f9; }
body.night-mode .str-pill span, body.night-mode .str-right-pill span { color: #f1f5f9; }
body.night-mode .str-lines path { stroke: #334155; }

/* Mobile App Section */
body.night-mode .mobile-app-section { background-color: #0f172a; background-image: linear-gradient(to bottom, rgba(255, 123, 0, 0) 0%, rgba(255, 123, 0, 0.15) 30%, rgba(255, 123, 0, 0.5) 60%, rgba(255, 123, 0, 0) 100%); }
body.night-mode .mob-header h2 { color: #f1f5f9; }
body.night-mode .mob-header p { color: #94a3b8; }
body.night-mode .mob-label { color: #94a3b8; }
body.night-mode .mob-pill { background: #1e293b; border-color: #334155; }
body.night-mode .mob-pill span { color: #f1f5f9; }
body.night-mode .mob-phone-frame { border-color: #334155; }

/* Workflow Section */
body.night-mode .workflow-section { background: #0f172a; }
body.night-mode .wf-header h2 { color: #f1f5f9; }
body.night-mode .wf-header p { color: #94a3b8; }
body.night-mode .wf-label { color: #94a3b8; }
body.night-mode .wf-card { background: #1e293b; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
body.night-mode .wf-card-label { color: #94a3b8; }
body.night-mode .wf-card-title { color: #f1f5f9; }
body.night-mode .wf-collab-label { color: #94a3b8; }
body.night-mode .wf-divider { background: #334155; }
body.night-mode .wf-accordion-item { background: #1e293b; border-color: #334155; }
body.night-mode .wf-accordion-item:hover { border-color: #475569; }
body.night-mode .wf-accordion-item.active { background: #ff7b00; border-color: #ff7b00; }
body.night-mode .wf-acc-title { color: #f1f5f9; }
body.night-mode .wf-accordion-item.active .wf-acc-title { color: #fff; }

/* CTA Section */
body.night-mode .cta-section { background: #0f172a; }
body.night-mode .cta-container { background: #1e293b; box-shadow: 0 40px 80px rgba(0,0,0,0.3); }

/* Footer Section */
body.night-mode .footer-section { background: #0f172a; }
body.night-mode .footer-left h2 { color: #f1f5f9; }
body.night-mode .footer-left p { color: #94a3b8; }
body.night-mode .footer-col h4 { color: #f1f5f9; }
body.night-mode .footer-col a { color: #94a3b8; }
body.night-mode .footer-col a:hover { color: #ff7b00; }

/* Final Hero Section */
body.night-mode .final-hero-section { background: #0f172a; }
body.night-mode .fh-background { filter: brightness(0.3) saturate(0.8); }
body.night-mode .fh-gradient-top { background: linear-gradient(to bottom, #0f172a 0%, rgba(15, 23, 42, 0) 100%); }
body.night-mode .fh-gradient-bottom { background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 100%); }
body.night-mode .fh-text { color: #f1f5f9; }
body.night-mode .fh-bottom-bar, body.night-mode .fh-links a { color: #f1f5f9; }

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 14px 18px !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        z-index: 1000 !important;
    }

    .navbar .logo-white { display: block !important; width: 120px !important; height: auto !important; }
    .navbar .logo-dark { display: none !important; }

    body.night-mode .navbar {
        background: transparent !important;
        box-shadow: none !important;
    }
    body.night-mode .navbar .logo-white { display: block !important; width: 120px !important; height: auto !important; }
    body.night-mode .navbar .logo-dark { display: none !important; }

    .menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        color: #ffffff !important;
        border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
        background: rgba(255, 255, 255, 0.12) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        flex-shrink: 0 !important;
        z-index: 1003 !important;
    }
    .menu-toggle:hover, .menu-toggle:active {
        background: rgba(255, 255, 255, 0.25) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
        transform: scale(1.05) !important;
    }
    .menu-toggle svg {
        width: 22px !important;
        height: 22px !important;
        stroke: #ffffff !important;
        pointer-events: none !important;
    }
    body.night-mode .menu-toggle {
        color: #f1f5f9 !important;
        border-color: rgba(255, 255, 255, 0.25) !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }

    .nav-links {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 14px !important;
        right: 14px !important;
        width: calc(100% - 28px) !important;
        margin: 0 auto !important;
        background: rgba(15, 23, 42, 0.94) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        border-radius: 16px !important;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45) !important;
        padding: 14px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        z-index: 1002 !important;
        box-sizing: border-box !important;
    }

    .nav-links.active {
        display: flex !important;
        animation: mobileNavSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

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

    body.night-mode .nav-links {
        background: rgba(15, 23, 42, 0.96) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7) !important;
    }

    .nav-links li {
        width: 100% !important;
        list-style: none !important;
        margin: 0 !important;
    }

    .nav-links li a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding: 11px 16px !important;
        border-radius: 8px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #f1f5f9 !important;
        text-shadow: none !important;
        text-decoration: none !important;
        transition: all 0.18s ease !important;
        box-sizing: border-box !important;
    }

    .nav-links li a:hover, .nav-links li a:active {
        background: rgba(241, 90, 36, 0.18) !important;
        color: #ff7b00 !important;
        transform: translateX(3px) !important;
    }

    .mobile-only-link {
        display: block !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin-top: 5px !important;
        padding-top: 5px !important;
    }
    body.night-mode .mobile-only-link {
        border-top-color: rgba(255, 255, 255, 0.12) !important;
    }

    .login-btn {
        display: none !important;
    }

    .hero { padding: 110px 20px 40px; }
    .hero h1 { font-size: 36px; }
    .hero-subtitle { font-size: 14px; }
    .feature-tags { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 15px; width: 100%; margin: 0 auto 30px auto; }
    .partners { gap: 20px; padding-bottom: 40px; }
    .features-grid, .tools-grid, .pricing-grid { grid-template-columns: 1fr; gap: 30px; }
    .pricing-card, .pricing-card-popular, .pricing-card-3 { transform: scale(1) !important; margin: 0; box-shadow: none !important; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .clarity-heading { font-size: 34px; }
}


/* Pricing Cards Night Mode Fixes */
body.night-mode .pricing-card, 
body.night-mode .pricing-card-3 {
    background: #1e293b !important;
    border-color: #334155 !important;
}
body.night-mode .pricing-card-popular {
    background: #1e293b !important;
}
body.night-mode .pricing-card h3,
body.night-mode .pricing-card-popular h3,
body.night-mode .pricing-card-3 h3 {
    color: #f1f5f9 !important;
}
body.night-mode .pricing-card p,
body.night-mode .pricing-card-popular p,
body.night-mode .pricing-card-3 p {
    color: #94a3b8 !important;
}
body.night-mode .pricing-card > div:nth-of-type(1),
body.night-mode .pricing-card-3 > div:nth-of-type(1) {
    color: #f1f5f9 !important;
}
body.night-mode .pricing-card-popular > div:nth-of-type(2) {
    color: #F15A24 !important;
}
body.night-mode .pricing-card li,
body.night-mode .pricing-card-popular li,
body.night-mode .pricing-card-3 li {
    color: #cbd5e1 !important;
}
body.night-mode .pricing-card > div:last-child,
body.night-mode .pricing-card-3 > div:last-child {
    background: #334155 !important;
    color: #cbd5e1 !important;
    border-color: #475569 !important;
}
body.night-mode .pricing-card-popular > div:last-child {
    background: rgba(241,90,36,0.15) !important;
    color: #F15A24 !important;
    border-color: #F15A24 !important;
}
