/* Textierge Landing Page - Premium Design */

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

:root {
    --primary-blue: #0442DD;
    --primary-dark: #1001DF;
    --light-blue: #EAF3FF;
    --dark-gray: #111827;
    --medium-gray: #5B6B82;
    --light-gray: #F9FAFB;
    --white: #FFFFFF;
    --accent: #0691F1;
    --ink: #0B1220;
    --surface: #FFFFFF;
    --surface-alt: #F1F6FF;
    --border: rgba(15, 23, 42, 0.08);
    --glass: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: radial-gradient(circle at 12% 18%, rgba(4, 66, 221, 0.12), transparent 55%),
        radial-gradient(circle at 90% 5%, rgba(6, 145, 241, 0.12), transparent 50%),
        linear-gradient(180deg, #F5F9FF 0%, #FFFFFF 45%, #EEF4FF 100%);
}

body.modal-open {
    overflow: hidden;
}

h1, h2, h3 {
    font-family: 'Sora', 'Inter', sans-serif;
    font-weight: 700;
}

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

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
}

/* Navigation - Premium Styling */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.nav-auth a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 15px;
}

.nav-auth a:not(.btn-nav):hover {
    color: var(--primary-blue);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 36px;
    width: auto;
    max-width: 220px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.12));
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logo-text {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background: linear-gradient(90deg, var(--primary-blue), var(--accent)) !important;
    color: white !important;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 110px;
}

.btn-nav--ghost {
    background: transparent !important;
    color: var(--primary-blue) !important;
    border: 1px solid rgba(4, 66, 221, 0.35);
    box-shadow: none;
}

.btn-nav--ghost:hover {
    background: linear-gradient(90deg, var(--primary-blue), var(--accent)) !important;
    color: white !important;
    transform: translateY(-2px);
}

.btn-nav--ghost:active {
    background: rgba(4, 66, 221, 0.16) !important;
}
.btn-nav:hover {
    background: linear-gradient(90deg, var(--primary-dark), var(--accent)) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Hero Section - Dramatic Upgrade */
.hero {
    padding: 140px 0 90px;
    background: radial-gradient(circle at 20% 20%, rgba(6, 145, 241, 0.18), transparent 55%),
        radial-gradient(circle at 90% 10%, rgba(4, 66, 221, 0.22), transparent 45%),
        linear-gradient(180deg, #ECF3FF 0%, rgba(255,255,255,0) 70%);
    position: relative;
    overflow: hidden;
}

.hero--image {
    background: linear-gradient(180deg, rgba(4, 66, 221, 0.45), rgba(4, 66, 221, 0.05)),
        url("hero-person.jpg") center/cover no-repeat;
    padding: 150px 0 110px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.1));
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(6, 145, 241, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(4, 66, 221, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text--overlay {
    color: #ffffff;
    max-width: 640px;
}

.hero-text--overlay .hero-title {
    color: #ffffff;
}

.hero-text--overlay .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.hero-text--overlay .gradient-text {
    background: linear-gradient(135deg, #C7E4FF 0%, #8FCBFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text--overlay .hero-cta {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-text--overlay .email-input {
    background: rgba(255, 255, 255, 0.95);
}

.demo-phone {
    padding-top: 60px;
}

.demo-phone-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    background: var(--surface);
    border: 1px solid rgba(4, 66, 221, 0.12);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.demo-phone-copy .section-title {
    text-align: left;
}

.demo-phone-copy .section-subtitle {
    text-align: left;
    margin-bottom: 0;
}

.hero-title {
    font-size: 66px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--ink);
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 32px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-cta {
    background: var(--glass);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.hero-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 16px 28px;
    text-decoration: none;
}

.hero-cta .waitlist-form {
    margin-bottom: 0;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.waitlist-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    max-width: 520px;
}

.email-input,
.email-input-large {
    flex: 1;
    padding: 18px 22px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: white;
}

.email-input:focus,
.email-input-large:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), var(--shadow-lg);
}

.btn-primary,
.btn-primary-large {
    padding: 18px 36px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent));
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--medium-gray);
    font-size: 14px;
    font-weight: 500;
}

.check-icon {
    color: var(--primary-blue);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.badge-pill {
    background: white;
    border: 1px solid #E5E7EB;
    color: var(--dark-gray);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Phone Mockup - Premium 3D Effect */
.phone-mockup {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 60%, var(--accent) 100%);
    border-radius: 54px;
    padding: 26px;
    box-shadow: 
        0 50px 100px -20px rgba(50, 50, 93, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    border-radius: 54px;
    pointer-events: none;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
    background: white;
    border-radius: 44px;
    padding: 40px 24px;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.phone-device .phone-screen {
    border-radius: 44px;
    padding: 40px 24px;
    min-height: 550px;
}

.message {
    display: flex;
    animation: slideInMessage 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation-fill-mode: forwards;
}

.message:nth-child(1) { animation-delay: 0.3s; }
.message:nth-child(2) { animation-delay: 0.6s; }
.message:nth-child(3) { animation-delay: 0.9s; }
.message:nth-child(4) { animation-delay: 1.2s; }

.message.received {
    justify-content: flex-start;
}

.message.sent {
    justify-content: flex-end;
}

.message .bubble {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    box-shadow: var(--shadow-sm);
}

.message.received .bubble {
    background: #F3F4F6;
    color: var(--dark-gray);
}

.message.sent .bubble {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent));
    color: white;
}

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

/* Sections - Better Typography */
section {
    padding: 72px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--ink);
    letter-spacing: -1.1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent));
    margin: 18px auto 0;
    border-radius: 999px;
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 44px;
    font-weight: 400;
}

/* Social Proof */
.social-proof {
    padding: 32px 0 20px;
    background: white;
}

.social-proof-title {
    text-align: center;
    color: var(--medium-gray);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.social-proof-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.logo-pill {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--light-gray);
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 14px;
}

/* Stats */
.stats {
    background: white;
    padding-top: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    text-align: center;
    background: var(--surface-alt);
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.stat-value {
    font-size: 34px;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 6px;
    font-family: 'Sora', sans-serif;
}

.stat-label {
    color: var(--medium-gray);
    font-size: 14px;
    font-weight: 500;
}

/* How It Works - Card Design */
.how-it-works {
    background: linear-gradient(180deg, rgba(8, 20, 44, 0.65), rgba(8, 20, 44, 0.2)),
        url("how-it-works-phone.jpg") center/cover no-repeat;
    padding-top: 24px;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 20, 44, 0.55), rgba(8, 20, 44, 0.25));
    pointer-events: none;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.how-it-works-header {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.how-it-works-header .section-title {
    color: #ffffff;
}

.how-it-works-header .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.how-it-works-header .section-title::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
}

.how-it-works-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.how-it-works-grid .steps {
    grid-template-columns: 1fr;
    gap: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-height: 640px;
}

.how-it-works-grid .step {
    text-align: left;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(8px);
}

.how-it-works-grid .step-number {
    margin: 0 0 14px 0;
    width: 52px;
    height: 52px;
    font-size: 20px;
}

.how-it-works-visual {
    display: flex;
    justify-content: center;
}

.phone-device {
    position: relative;
    width: 360px;
    max-width: 100%;
    padding: 18px;
    border-radius: 52px;
    background: linear-gradient(180deg, #1a2233 0%, #0b111d 55%, #080d17 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 60px 120px -30px rgba(15, 23, 42, 0.55),
        0 30px 70px -40px rgba(0, 0, 0, 0.75);
}

.phone-device::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 1;
}

.phone-device::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.2));
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.phone-device > * {
    position: relative;
    z-index: 2;
}

.phone-device-notch {
    position: relative;
    width: 140px;
    height: 28px;
    margin: 0 auto 14px;
    border-radius: 0 0 20px 20px;
    background: #05070d;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-device-notch::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 6px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.phone-device-notch::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #5ad6ff 0%, #1b2433 55%, #0b111d 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.phone-device-screen {
    background: white;
    border-radius: 32px;
    min-height: 560px;
    padding: 32px 20px 26px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.12);
}

.phone-button {
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, #313d52 0%, #121826 100%);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.phone-button--left-top {
    height: 32px;
    left: -3px;
    top: 120px;
}

.phone-button--left-mid {
    height: 48px;
    left: -3px;
    top: 170px;
}

.phone-button--left-bottom {
    height: 48px;
    left: -3px;
    top: 230px;
}

.phone-button--right {
    height: 64px;
    right: -3px;
    top: 180px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.step {
    text-align: center;
    padding: 42px 34px;
    border-radius: 26px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.step-number {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 28px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    font-family: 'Sora', sans-serif;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.step-description {
    color: var(--dark-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Features - Modern Cards */
.features {
    background: var(--surface-alt);
}

.features-carousel-wrap {
    position: relative;
}

.features-carousel-wrap::before,
.features-carousel-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 64px;
    pointer-events: none;
    z-index: 2;
}

.features-carousel-wrap::before {
    left: 0;
    background: linear-gradient(90deg, rgba(246, 248, 255, 0.95), rgba(246, 248, 255, 0));
}

.features-carousel-wrap::after {
    right: 0;
    background: linear-gradient(270deg, rgba(246, 248, 255, 0.95), rgba(246, 248, 255, 0));
}

.features-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding: 8px 6px 18px;
    scroll-snap-type: x mandatory;
    scroll-padding: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.features-carousel::-webkit-scrollbar {
    display: none;
}

.feature-card {
    background: white;
    padding: 20px 22px 22px;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(37, 99, 235, 0.12);
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
    min-width: 260px;
    max-width: 300px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.6), rgba(14, 116, 144, 0.5));
    opacity: 0.9;
    transform: scaleX(0.5);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
    border-color: rgba(37, 99, 235, 0.25);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--dark-gray);
}

.feature-title,
.step-title,
.use-case-title,
.pricing-name,
.faq-question {
    letter-spacing: -0.3px;
}

.feature-description {
    color: var(--medium-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* Security */
.security {
    background: var(--surface-alt);
}

.security--image {
    background: linear-gradient(180deg, rgba(8, 20, 44, 0.7), rgba(8, 20, 44, 0.25)),
        url("security-cta-city.jpg") center/cover no-repeat;
    position: relative;
}

.security--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 20, 44, 0.55), rgba(8, 20, 44, 0.2));
    pointer-events: none;
}

.security--image .container {
    position: relative;
    z-index: 1;
}

.security--image .section-title {
    color: #ffffff;
}

.security--image .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.security--image .section-title::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
}

.security--image .security-card {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(8px);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.security-card {
    background: white;
    padding: 36px;
    border-radius: 22px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.security-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.15);
}

.security-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.security-description {
    color: var(--dark-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* Use Cases - Highlighted Cards */
.use-cases {
    background: white;
}

.use-case-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.use-case-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, white 100%);
    padding: 48px 40px;
    border-radius: 24px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    transition: all 0.4s;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.use-case-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-gray);
}

.use-case-description {
    color: var(--medium-gray);
    font-size: 16px;
    line-height: 1.7;
}

/* Inline Registration */
.inline-register {
    background: linear-gradient(180deg, rgba(240, 246, 255, 0.95), rgba(226, 238, 255, 0.85));
}

.inline-register-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
}

.inline-register-header {
    margin-bottom: 28px;
}

.inline-register-form {
    display: grid;
    gap: 18px;
}

.inline-register-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inline-register-form input[type="text"],
.inline-register-form input[type="email"],
.inline-register-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.95);
    font-size: 15px;
}

.inline-register-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--medium-gray);
    line-height: 1.5;
}

.inline-register-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-blue);
}

.inline-register-consent a {
    color: var(--primary-blue);
    font-weight: 600;
}


/* Pricing - Premium Cards */
.pricing {
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-cards--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
    justify-items: center;
}

.pricing-cards--single .pricing-card {
    width: 100%;
}

.pricing-card {
    background: white;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 26px;
    padding: 48px 42px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.pricing-card.featured {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.25);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, white 45%);
}

.badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-blue), var(--accent));
    color: white;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.pricing-name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark-gray);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 40px;
}

.pricing-note {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 18px;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark-gray);
    font-family: 'Sora', sans-serif;
    letter-spacing: -2px;
}

.price-period {
    font-size: 20px;
    color: var(--medium-gray);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
    padding: 0;
}

.pricing-features li {
    padding: 16px 0;
    color: var(--dark-gray);
    font-size: 15px;
    border-bottom: 1px solid #F3F4F6;
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    column-gap: 12px;
    text-align: left;
}

.pricing-feature-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pricing-feature-text strong {
    font-size: 16px;
}

.pricing-feature-text span {
    color: var(--medium-gray);
    line-height: 1.6;
}

.pricing-feature-text .pricing-savings {
    color: #10B981;
    font-weight: 600;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-savings {
    color: #10B981;
    font-weight: 600;
}

.btn-outline {
    width: 100%;
    padding: 18px 36px;
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Waitlist Modal */
.waitlist-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.waitlist-modal.is-open {
    display: flex;
}

.waitlist-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
}

.waitlist-modal__panel {
    position: relative;
    width: min(520px, 90vw);
    background: white;
    border-radius: 24px;
    padding: 32px;
    z-index: 1;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(37, 99, 235, 0.15);
    overflow: hidden;
}

#register-success-modal .waitlist-modal__panel {
    text-align: center;
}

#register-success-modal .registration-note {
    margin: 10px 0 22px;
}

.waitlist-modal__logo {
    height: 36px;
    display: block;
    margin: 4px auto 16px;
}

/* Auth pages */
.auth-page {
    padding: 140px 0 90px;
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.12);
    text-align: center;
}

.auth-logo {
    height: 40px;
    margin: 0 auto 16px;
    display: block;
}

.auth-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--medium-gray);
    margin-bottom: 24px;
}

.auth-step {
    text-align: left;
}

.auth-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--medium-gray);
    margin-bottom: 8px;
    font-weight: 600;
}

.auth-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 15px;
    margin-bottom: 16px;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.auth-button {
    width: 100%;
    margin-top: 4px;
}

.waitlist-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--medium-gray);
}

.waitlist-modal__title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.waitlist-modal__subtitle {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.waitlist-form-modal {
    flex-direction: column;
}

.registration-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
}

.waitlist-modal__panel .email-input {
    width: 100%;
}

.registration-note {
    font-size: 12px;
    color: var(--medium-gray);
    line-height: 1.5;
}

/* FAQ */
.faq {
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.faq-item {
    background: var(--surface-alt);
    padding: 0;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
}

.faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: var(--primary-blue);
    transition: transform 0.25s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    color: var(--medium-gray);
    font-size: 15px;
    line-height: 1.7;
    transition: max-height 0.25s ease;
}

.faq-answer p {
    margin: 0 0 20px;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-item.is-open .faq-answer {
    max-height: 200px;
}

/* Legal */
.legal {
    background: white;
    padding-top: 60px;
}

.legal-hero {
    position: relative;
    padding: 150px 0 90px;
    color: #ffffff;
    overflow: hidden;
}

.legal-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 20, 44, 0.7), rgba(8, 20, 44, 0.25));
    pointer-events: none;
}

.legal-hero--privacy {
    background: url("privacy-person.jpg") center/cover no-repeat;
}

.legal-hero--terms {
    background: url("terms-person.jpg") center/cover no-repeat;
}

.legal-hero__content {
    position: relative;
    z-index: 1;
}

.legal-hero .section-title {
    color: #ffffff;
    text-align: left;
    margin-left: 0;
}

.legal-hero .section-title::after {
    margin: 18px 0 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
}

.legal-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    margin-left: 0;
}

.legal-main {
    padding: 80px 24px 80px;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
    padding: 0 8px;
}

.legal-text {
    color: var(--medium-gray);
    font-size: 16px;
    line-height: 1.7;
}

/* Final CTA - Bold Gradient */
.final-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -30px 80px rgba(37, 99, 235, 0.3);
}

.final-cta--image {
    background: linear-gradient(180deg, rgba(4, 66, 221, 0.55), rgba(4, 66, 221, 0.1)),
        url("final-cta-people.jpg") center 30%/cover no-repeat;
    padding: 45px 0;
}

.final-cta--image::before {
    display: none;
}

.final-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.15));
    pointer-events: none;
}

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

.cta-content--overlay .cta-title {
    color: #ffffff;
}

.cta-content--overlay .cta-subtitle {
    color: rgba(255, 255, 255, 0.88);
}

.cta-form {
    display: inline-block;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.final-cta .waitlist-form-large {
    margin-bottom: 0;
}

.final-cta--image .email-input-large {
    background: rgba(255, 255, 255, 0.95);
}

.cta-form .btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    text-decoration: none;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

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

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

.final-cta-title {
    font-size: 66px !important;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.final-cta-subtitle {
    font-size: 18px !important;
    margin-bottom: 48px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.waitlist-form-large {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 24px;
}

.email-input-large {
    flex: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-primary-large {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent));
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.5);
}

.cta-note {
    opacity: 0.9;
    font-size: 16px;
    font-weight: 500;
}

/* Footer - Clean & Modern */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 70px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    font-size: 26px;
    background: linear-gradient(135deg, white, rgba(255,255,255,0.8));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 14px;
    font-size: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 14px;
    font-size: 15px;
    transition: color 0.2s;
}

.footer a,
.footer a:visited {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: 46px;
    }

    .final-cta-title {
        font-size: 46px !important;
    }

    .section-title {
        font-size: 38px;
    }

    .use-case-cards,
    .security-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .features-carousel {
        padding-bottom: 12px;
    }

    .features-carousel-wrap::before,
    .features-carousel-wrap::after {
        width: 36px;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .inline-register-card {
        padding: 36px;
    }

    .inline-register-grid {
        grid-template-columns: 1fr;
    }

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


    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .nav-actions {
        display: flex;
        gap: 12px;
    }

    .nav-links {
        display: none;
    }

    .nav-auth {
        gap: 10px;
    }

    .btn-nav {
        padding: 8px 14px;
        font-size: 14px;
        height: 36px;
        min-width: 84px;
    }

    .logo-img {
        height: 32px;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .how-it-works-header .section-title,
    .how-it-works-header .section-subtitle {
        text-align: center;
    }

    .how-it-works-grid .step {
        text-align: center;
        padding: 20px;
    }

    .how-it-works-grid .step-number {
        margin: 0 auto 20px;
    }

    .how-it-works-grid .steps {
        min-height: auto;
    }

    .how-it-works-visual {
        display: none;
    }

    .demo-phone-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 38px;
    }

    .final-cta-title {
        font-size: 38px !important;
    }

    .section-title {
        font-size: 34px;
    }

    .legal-hero {
        padding: 130px 0 70px;
    }

    .legal-main {
        padding: 64px 20px 72px;
    }

    .waitlist-form,
    .waitlist-form-large {
        flex-direction: column;
    }

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

    .auth-page {
        padding: 120px 0 72px;
    }

    .auth-card {
        margin: 0 20px;
        padding: 28px;
    }

    .btn-primary,
    .btn-primary-large {
        width: 100%;
    }

    .phone-mockup {
        transform: none;
    }

    .hero--image {
        padding: 120px 0 80px;
    }

    .demo-phone {
        padding-top: 40px;
    }

    .how-it-works {
        padding: 56px 0;
    }

    .how-it-works-grid {
        gap: 24px;
    }
}


