/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray-dark: #1a1a1a;
    --gray-medium: #333333;
    --gray-light: #666666;
    --gray-lighter: #999999;
    --primary: #00D9FF;
    --primary-dark: #00A8CC;
    --secondary: #FF6B9D;
    --accent-blue: #4A90E2;
    --accent-teal: #00CED1;
    --accent-orange: #FF8A5B;
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #00A8CC 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B9D 0%, #FF8A5B 100%);
    --gradient-hero: linear-gradient(135deg, #00D9FF 0%, #4A90E2 100%);
    --gradient-accent: linear-gradient(135deg, #00CED1 0%, #4A90E2 100%);
    --container-width: 1200px;
    --section-padding: 100px;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* =========================================
   ANIMATED BLACK SPARKLES BACKGROUND
   ========================================= */

/* Create a canvas-like layer for sparkles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.8) 2px, transparent 2px),
        radial-gradient(circle, rgba(0, 0, 0, 0.7) 2.5px, transparent 2.5px),
        radial-gradient(circle, rgba(0, 0, 0, 0.85) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(0, 0, 0, 0.65) 3px, transparent 3px),
        radial-gradient(circle, rgba(0, 0, 0, 0.75) 2px, transparent 2px);
    background-size: 
        400px 400px,
        300px 300px,
        250px 250px,
        350px 350px,
        280px 280px;
    background-position: 
        0 0,
        40px 60px,
        130px 270px,
        70px 100px,
        200px 150px;
    animation: sparkleMove 60s linear infinite;
}

/* Slow moving animation */
@keyframes sparkleMove {
    0% {
        background-position: 
            0 0,
            40px 60px,
            130px 270px,
            70px 100px,
            200px 150px;
    }
    100% {
        background-position: 
            400px 400px,
            440px 460px,
            530px 670px,
            470px 500px,
            600px 550px;
    }
}

/* Alternative: More sparkly version with twinkling effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(circle, rgba(0, 0, 0, 0.7) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(0, 0, 0, 0.8) 2px, transparent 2px),
        radial-gradient(circle, rgba(0, 0, 0, 0.6) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(0, 0, 0, 0.75) 2.5px, transparent 2.5px);
    background-size: 
        180px 180px,
        220px 220px,
        150px 150px,
        200px 200px;
    background-position: 
        100px 100px,
        250px 200px,
        50px 300px,
        180px 50px;
    animation: sparkleMove2 80s linear infinite, sparkleFade 4s ease-in-out infinite;
}

@keyframes sparkleMove2 {
    0% {
        background-position: 
            100px 100px,
            250px 200px,
            50px 300px,
            180px 50px;
    }
    100% {
        background-position: 
            280px 280px,
            470px 420px,
            230px 520px,
            380px 250px;
    }
}

/* Twinkling effect */
@keyframes sparkleFade {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Ensure content stays above sparkles */
.section,
.header,
.footer {
    position: relative;
    z-index: 1;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Main section padding reduction */
.section {
    min-height: auto;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(200, 200, 200, 0.3);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.header-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 6px;
    backdrop-filter: blur(10px);
}

.nav-link {
    color: var(--gray-lighter);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 24px;
    border-radius: 50px;
    white-space: nowrap;
}

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

.nav-link.active {
    color: var(--black);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-partner {
    background: var(--gradient-primary);
    color: var(--black);
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.btn-partner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

/* Push hero content down to hide tab showing at bottom */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 100px;
    background: transparent;
    position: relative;
    min-height: auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(0, 217, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    position: relative;
}

/* Title spacing - push down slightly */
.hero-title {
    font-size: 120px;
    font-weight: 900;
    margin-bottom: 10px;
    margin-top: 20px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -3px;
}

/* Subtitle and pill container - push down */
.word-picker-container {
    min-height: 120px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    margin-bottom: 85px;
    margin-top: 0px;
    padding-top: 20px;
}

.word-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Picker Subtitle */
.picker-subtitle {
    font-size: 28px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    text-align: center;
}

/* ROTATING PILL - FROSTED GLASS */
.rotating-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    padding: 12px 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.word-slot {
    width: 160px;
    height: 50px;
    overflow: hidden;
    position: relative;
}

.word-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.7s ease-out;
}

.word-track span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 50px;
    color: rgba(0, 0, 0, 0.9);
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.025em;
}

/* CTA section - push down */
.hero-cta-center {
    text-align: center;
    max-width: 600px;
    margin-top: 0px;
}

/* Waitlist title spacing */
.waitlist-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0px;
}

/* Waitlist description spacing */
.waitlist-description {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--black);
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

/* About section padding */
.about-section {
    background: transparent;
    padding-top: 80px;
    padding-bottom: 60px;
}

/* Section header margin reduction */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--black);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-tag-centered {
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
}

/* Section Titles */
.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--black);
}

/* Section Descriptions */
.section-description {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* About Card Large - FROSTED GLASS */
.about-card-large {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 60px;
    margin-bottom: 40px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

/* About Text */
.about-text {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 24px;
}

/* iMessage Showcase Card - FROSTED GLASS */
.imessage-showcase {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 80px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.imessage-showcase-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 80px;
}

.imessage-screenshots {
    position: relative;
    height: 620px;
    width: 100%;
}

.imessage-screenshots img {
    position: absolute;
    width: 260px;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.imessage-screenshots .screenshot-1 {
    top: 0;
    left: 0;
    z-index: 1;
}

.imessage-screenshots .screenshot-2 {
    top: 300px;
    right: 40px;
    z-index: 2;
}

.imessage-screenshots .screenshot-3 {
    bottom: 0;
    left: 0;
    z-index: 3;
}

.imessage-screenshots img:hover {
    transform: scale(1.03);
    z-index: 10;
}

.imessage-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* iMessage Title */
.imessage-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--black);
}

/* iMessage Description Text */
.imessage-description {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.7;
}

.imessage-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.imessage-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--black);
}

.imessage-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    flex-shrink: 0;
}

/* =========================================
   INTERACTIVE FEATURES SECTION
   ========================================= */

/* Features Section Header with Instruction */
.features-instruction {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 12px;
    font-weight: 500;
}

/* Horizontal Oval Container */
.features-oval-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding: 0 20px;
}

.features-oval {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    padding: 30px 60px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

/* Feature Icon in Oval */
.feature-oval-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.feature-oval-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.4);
}

.feature-oval-icon:active {
    transform: translateY(-2px);
}

.feature-oval-icon svg {
    width: 40px;
    height: 40px;
}

/* Feature Modal Overlay - Also update for consistency */
.feature-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.5);  /* Light gray frost */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Feature Modal Card - White background */
.feature-modal-card {
    background: #FFFFFF;  /* Pure white */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.feature-modal-overlay.active .feature-modal-card {
    transform: scale(1);
}

.feature-modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--black);
}

.feature-modal-icon svg {
    width: 40px;
    height: 40px;
}

.feature-modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--black);
}

.feature-modal-description {
    font-size: 17px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

/* Lock body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Gamified Section Card - FROSTED GLASS */
.gamified-section {
    margin-top: 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.gamified-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px;
}

.gamified-image {
    width: 100%;
    border-radius: 20px;
}

/* Gamified Title */
.gamified-title {
    font-size: 40px;
    font-weight: 800;
    margin: 20px 0;
    color: var(--black);
}

/* Gamified Description */
.gamified-description {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.gamified-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.gamified-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.gamified-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

/* Gamified Feature Title */
.gamified-feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

/* Gamified Feature Text */
.gamified-feature-text {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

/* Remove any background color/gradient from coming soon section */
.coming-soon-section {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 0;
}

/* Remove the radial gradient overlay that causes color difference */
.coming-soon-section::before {
    display: none;
}

.coming-soon-content {
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}

/* Coming Soon Text */
.coming-soon-text {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.coming-soon-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

/* Coming Soon Feature Text */
.coming-soon-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.7);
}

.checkmark {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--black);
    flex-shrink: 0;
}

/* Outreach section padding */
.outreach-section {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.outreach-content {
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}

/* Outreach Text */
.outreach-text {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--black);
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
}

/* Contact section padding */
.contact-section {
    background: transparent;
    position: relative;
    padding: 60px 0;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(48, 207, 208, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Social grid margin reduction */
.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
}

/* Social Cards - FROSTED GLASS */
.social-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    text-decoration: none;
    color: var(--black);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.social-card:hover {
    transform: translateY(-8px);
}

.social-card.instagram:hover {
    border-color: #E1306C;
}

.social-card.tiktok:hover {
    border-color: #a855f7;
}

.social-card.linkedin:hover {
    border-color: #0077B5;
}

.social-card.message-card {
    background: var(--gradient-primary);
    border: none;
    color: var(--black);
}

.social-card.message-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.social-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.social-card.message-card .social-icon {
    background: rgba(0, 0, 0, 0.1);
}

/* Social Card Headings */
.social-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

/* Social Card Text */
.social-card p {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.6);
}

.social-card.message-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px;
    margin-bottom: 8px;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.active {
    display: flex;
}

/* Modal Backdrop - Light Gray Frost */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.5);  /* Light gray frost instead of dark */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
    z-index: 2000;
}

/* Modal Content - Frosted Glass Effect */
.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 100%;
    z-index: 2001;
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

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

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

/* Modal Close Button - Match screenshot */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);  /* Very light gray */
    border: none;
    color: var(--black);
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.modal-close:hover,
.modal-close:active {
    background: rgba(0, 0, 0, 0.1);
}

/* Modal Title */
.modal-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    padding-right: 50px;
    color: var(--black);
}

/* Modal Description */
.modal-description {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Form Inputs - Match screenshot */
.modal-form input,
.modal-form select,
.modal-form textarea {
    background: #FFFFFF;  /* Pure white */
    border: 1px solid rgba(0, 0, 0, 0.2);  /* Visible border */
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    color: var(--black);
    font-family: inherit;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--primary);  /* Cyan border on focus */
    background: #FFFFFF;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

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

/* Select dropdown arrow */
.modal-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 48px;
}

.modal-form option {
    background: var(--white);
    color: var(--black);
}

.btn-submit {
    background: var(--gradient-primary);
    color: var(--black);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-top: 8px;
    -webkit-tap-highlight-color: transparent;
    min-height: 54px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Modal Note */
.modal-note {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-top: 20px;
}

/* Success Toast - Light background to match */
.success-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;  /* White background */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.success-toast.show {
    bottom: 40px;
}

.toast-check {
    width: 24px;
    height: 24px;
    color: #00C853;
    flex-shrink: 0;
}

.toast-message {
    color: var(--black);
    font-size: 16px;
    font-weight: 500;
}

/* =========================================
   TABLET (1200px)
   ========================================= */
@media (max-width: 1200px) {
    .hero-title { font-size: 100px; }
    .gamified-content { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-link { padding: 10px 20px; font-size: 13px; }
    
    .features-oval {
        gap: 30px;
        padding: 25px 40px;
    }
    
    .feature-oval-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-oval-icon svg {
        width: 35px;
        height: 35px;
    }
}

/* =========================================
   MOBILE (768px and below)
   ========================================= */
@media (max-width: 768px) {
    .nav { display: none; }
    
    .header-content { padding: 0 4vw; }
    .logo span { font-size: clamp(18px, 5vw, 22px); }
    .logo img { width: clamp(32px, 9vw, 40px); height: clamp(32px, 9vw, 40px); }
    .btn-partner { padding: clamp(8px, 2.5vw, 12px) clamp(14px, 4vw, 22px); font-size: clamp(12px, 3.5vw, 15px); min-height: 44px; }

    .hero-section { padding-top: 100px; min-height: auto; padding-bottom: 60px; }
    .hero-content { padding: 0 5vw; }
    .hero-title { font-size: clamp(48px, 15vw, 80px); letter-spacing: -2px; }
    
    .word-picker-container { min-height: clamp(80px, 20vw, 110px); margin-bottom: clamp(30px, 8vw, 50px); }
    .picker-subtitle { font-size: clamp(16px, 4.5vw, 22px); }
    .rotating-pill { padding: clamp(8px, 2vw, 12px) clamp(10px, 2.5vw, 14px); }
    .word-slot { width: clamp(65px, 20vw, 100px); height: clamp(32px, 9vw, 44px); }
    .word-track span { width: clamp(65px, 20vw, 100px); height: clamp(32px, 9vw, 44px); font-size: clamp(13px, 3.8vw, 18px); }

    .waitlist-title { font-size: clamp(22px, 6vw, 30px); }
    .waitlist-description { font-size: clamp(14px, 3.8vw, 16px); padding: 0 2vw; }
    .btn-primary { padding: clamp(12px, 3.5vw, 16px) clamp(24px, 8vw, 36px); font-size: clamp(14px, 3.8vw, 16px); min-height: 50px; }

    .about-section { padding-top: 80px; }
    .section-header { margin-bottom: clamp(30px, 8vw, 50px); }
    .section-tag { font-size: clamp(11px, 3vw, 14px); padding: clamp(6px, 1.5vw, 8px) clamp(14px, 4vw, 20px); }
    .section-title { font-size: clamp(24px, 7vw, 36px); padding: 0 3vw; }
    .section-description { font-size: clamp(14px, 3.8vw, 18px); padding: 0 3vw; }

    .imessage-showcase { border-radius: clamp(16px, 4vw, 24px); margin: 0 4vw clamp(40px, 10vw, 60px); }
    .imessage-showcase-content { grid-template-columns: 1fr; padding: clamp(20px, 5vw, 36px) clamp(16px, 4vw, 28px); gap: clamp(24px, 6vw, 36px); }
    
    .imessage-screenshots {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(16px, 4vw, 24px);
        order: 1;
        padding: clamp(12px, 3vw, 20px) 0;
    }
    
    .imessage-screenshots img {
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
        width: 100%;
        max-width: clamp(220px, 65vw, 300px);
        transform: none;
        border-radius: clamp(16px, 4vw, 24px);
    }
    
    .imessage-screenshots .screenshot-1,
    .imessage-screenshots .screenshot-2,
    .imessage-screenshots .screenshot-3 {
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
    }

    .imessage-info { order: 2; text-align: center; }
    .imessage-title { font-size: clamp(22px, 6.5vw, 32px); }
    .imessage-description { font-size: clamp(14px, 3.8vw, 17px); }
    .imessage-features { align-items: center; }
    .imessage-feature { justify-content: flex-start; width: 100%; max-width: clamp(240px, 70vw, 320px); font-size: clamp(13px, 3.5vw, 16px); }
    .imessage-feature-icon { width: clamp(32px, 9vw, 40px); height: clamp(32px, 9vw, 40px); border-radius: clamp(6px, 2vw, 10px); }

    .features-instruction {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .features-oval {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 30px;
        border-radius: 50px;
    }
    
    .feature-oval-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }
    
    .feature-oval-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .feature-modal-card {
        padding: 40px 30px;
        max-width: 90%;
    }
    
    .feature-modal-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 24px;
    }
    
    .feature-modal-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .feature-modal-title {
        font-size: 24px;
    }
    
    .feature-modal-description {
        font-size: 16px;
    }

    .gamified-section { margin: clamp(40px, 10vw, 70px) 4vw 0; border-radius: clamp(16px, 4vw, 24px); }
    .gamified-content { padding: clamp(24px, 6vw, 40px) clamp(18px, 4.5vw, 30px); gap: clamp(24px, 6vw, 40px); }
    .gamified-title { font-size: clamp(22px, 6.5vw, 32px); }
    .gamified-description { font-size: clamp(14px, 3.8vw, 17px); margin-bottom: clamp(20px, 5vw, 32px); }
    .gamified-features { gap: clamp(18px, 4.5vw, 28px); }
    .gamified-feature { gap: clamp(12px, 3vw, 20px); }
    .gamified-feature-icon { width: clamp(40px, 11vw, 52px); height: clamp(40px, 11vw, 52px); border-radius: clamp(8px, 2.5vw, 14px); }
    .gamified-feature-title { font-size: clamp(16px, 4.2vw, 20px); }
    .gamified-feature-text { font-size: clamp(13px, 3.4vw, 15px); }

    .coming-soon-section { min-height: auto; padding: clamp(60px, 15vw, 100px) 0; }
    .coming-soon-content { padding: 0 5vw; }
    .coming-soon-text { font-size: clamp(14px, 3.8vw, 18px); margin-bottom: clamp(24px, 6vw, 40px); }
    .coming-soon-features { flex-direction: column; align-items: center; gap: clamp(14px, 3.5vw, 22px); margin-top: clamp(30px, 8vw, 50px); }
    .coming-soon-feature { width: 100%; max-width: clamp(260px, 75vw, 320px); justify-content: flex-start; background: rgba(255, 255, 255, 0.05); padding: clamp(12px, 3vw, 18px) clamp(16px, 4vw, 22px); border-radius: clamp(8px, 2.5vw, 14px); font-size: clamp(13px, 3.5vw, 16px); }
    .checkmark { width: clamp(26px, 7vw, 34px); height: clamp(26px, 7vw, 34px); font-size: clamp(12px, 3.2vw, 16px); }

    .outreach-section { min-height: auto; padding: clamp(60px, 15vw, 100px) 0; }
    .outreach-content { padding: 0 5vw; }
    .outreach-text { font-size: clamp(14px, 3.8vw, 18px); }
    .coming-soon-badge { font-size: clamp(14px, 3.8vw, 18px); padding: clamp(10px, 2.5vw, 14px) clamp(22px, 6vw, 34px); }

    .contact-section { padding: clamp(60px, 15vw, 100px) 0; }
    .social-grid { grid-template-columns: 1fr; gap: clamp(14px, 3.5vw, 22px); margin-top: clamp(30px, 8vw, 50px); padding: 0 4vw; }
    .social-card { padding: clamp(24px, 6vw, 36px) clamp(18px, 4.5vw, 28px); }
    .social-icon { width: clamp(50px, 14vw, 68px); height: clamp(50px, 14vw, 68px); margin-bottom: clamp(12px, 3vw, 18px); }
    .social-card h3 { font-size: clamp(16px, 4.5vw, 20px); }
    .social-card p { font-size: clamp(13px, 3.4vw, 15px); }

    .modal { padding: 16px; align-items: center; justify-content: center; }
    .modal-content { width: calc(100% - 32px); max-width: 400px; min-height: auto; max-height: 85vh; border-radius: 20px; padding: clamp(24px, 6vw, 36px) clamp(20px, 5vw, 32px); margin: auto; }
    .modal-close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 24px; }
    .modal-title { font-size: clamp(24px, 6vw, 28px); padding-right: 44px; margin-bottom: 8px; }
    .modal-description { font-size: clamp(14px, 3.5vw, 15px); margin-bottom: clamp(20px, 5vw, 28px); }
    .modal-form { gap: clamp(12px, 3vw, 16px); }
    .modal-form input, .modal-form select, .modal-form textarea { padding: clamp(14px, 3.5vw, 16px); font-size: 16px; border-radius: 10px; }
    .btn-submit { padding: 14px 24px; min-height: 50px; font-size: 15px; border-radius: 10px; }
    .modal-note { font-size: 12px; margin-top: 16px; }

    .success-toast { left: 16px; right: 16px; transform: none; width: auto; padding: clamp(12px, 3vw, 16px) clamp(16px, 4vw, 20px); border-radius: 12px; }
    .success-toast.show { bottom: 24px; }
    .toast-message { font-size: 14px; white-space: normal; }

    .footer { padding: clamp(24px, 6vw, 40px) 5vw; }
    .footer-content p { font-size: clamp(12px, 3.2vw, 14px); }

    .about-card-large { padding: clamp(20px, 5vw, 32px); margin: 0 4vw clamp(24px, 6vw, 40px); border-radius: clamp(16px, 4vw, 24px); }
    .about-text { font-size: clamp(14px, 3.8vw, 18px); }
}

/* =========================================
   EXTRA SMALL (480px and below)
   ========================================= */
@media (max-width: 480px) {
    .features-oval {
        gap: 15px;
        padding: 15px 20px;
    }
    
    .feature-oval-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .feature-oval-icon svg {
        width: 25px;
        height: 25px;
    }
}

/* =========================================
   EXTRA SMALL (375px and below)
   ========================================= */
@media (max-width: 375px) {
    .hero-title { font-size: clamp(40px, 12vw, 52px); }
    .word-slot { width: clamp(55px, 17vw, 70px); height: clamp(28px, 8vw, 36px); }
    .word-track span { width: clamp(55px, 17vw, 70px); height: clamp(28px, 8vw, 36px); font-size: clamp(11px, 3.2vw, 14px); }
    .btn-partner { padding: 8px 12px; font-size: 12px; }
    .imessage-screenshots img { max-width: 200px; }
    .modal-content { padding: 20px 16px 28px; }
    .modal-title { font-size: 22px; }
}

/* Touch & Accessibility */
button, a, .social-card { -webkit-tap-highlight-color: transparent; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { font-size: 16px !important; }
.btn-primary:active, .btn-partner:active, .btn-submit:active { transform: scale(0.98); }
.social-card:active { transform: scale(0.98); }