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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    color: #22c55e;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #ffffff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 40px 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 70% 45%, rgba(22, 163, 74, 0.12), transparent 55%),
        radial-gradient(ellipse 50% 40% at 15% 80%, rgba(34, 197, 94, 0.06), transparent 50%),
        linear-gradient(180deg, #020403 0%, #050a06 45%, #000000 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

.hero-glow-a {
    width: 420px;
    height: 420px;
    right: 12%;
    top: 22%;
    background: rgba(34, 197, 94, 0.18);
}

.hero-glow-b {
    width: 280px;
    height: 280px;
    right: 28%;
    bottom: 12%;
    background: rgba(22, 101, 52, 0.25);
}

.hero-layout {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
    gap: 48px 64px;
    align-items: center;
}

.hero-copy {
    max-width: 560px;
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
}

.hero-brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-headline {
    font-size: clamp(40px, 5.6vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 22px;
}

.hero-headline span {
    color: #22c55e;
}

.hero-description {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
    max-width: 460px;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
}

.hero-cta-primary {
    margin: 0;
}

.hero-cta-secondary {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.hero-cta-secondary:hover {
    color: #22c55e;
}

/* 2.5D iPhone Mockup */
.hero-phone-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    min-height: 560px;
}

.phone-ambient-glow {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.28) 0%, rgba(34, 197, 94, 0.08) 40%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    transform: translate3d(0, 8%, 0);
    pointer-events: none;
    will-change: transform;
}

.iphone-mockup {
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    transform:
        translate3d(0, var(--ty, 0px), 0)
        rotateX(var(--rx, 4deg))
        rotateY(var(--ry, -10deg))
        rotateZ(var(--rz, 1deg))
        scale(var(--scale, 1));
    will-change: transform;
}

.iphone-float {
    animation: iphone-float 6.5s ease-in-out infinite alternate;
    transform-origin: center center;
    will-change: transform;
}

@keyframes iphone-float {
    from {
        transform: translateY(0) rotateZ(0deg);
    }
    to {
        transform: translateY(-8px) rotateZ(0.6deg);
    }
}

.iphone-device {
    position: relative;
    width: min(340px, 72vw);
    aspect-ratio: 9 / 19.5;
    border-radius: 48px;
    background:
        linear-gradient(145deg, #3a3a3c 0%, #1c1c1e 35%, #0a0a0a 100%);
    padding: 10px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.55),
        0 18px 36px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.iphone-device::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.16) 0%,
        transparent 28%,
        transparent 72%,
        rgba(255, 255, 255, 0.05) 100%
    );
    opacity: 0.55;
    z-index: 3;
}

.iphone-bezel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: #000;
    overflow: hidden;
    box-shadow: inset 0 0 0 1.5px #111;
}

.iphone-display {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    background: #000;
}

.iphone-screen-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    user-select: none;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.iphone-screen-img.is-fading {
    opacity: 0;
}

.iphone-screen-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.09) 0%,
        transparent 32%,
        transparent 68%,
        rgba(255, 255, 255, 0.03) 100%
    );
    mix-blend-mode: soft-light;
    opacity: 0.45;
    z-index: 2;
}

.iphone-btn {
    position: absolute;
    background: linear-gradient(90deg, #2a2a2c, #151516);
    border-radius: 2px;
    z-index: 0;
}

.iphone-btn-silent {
    left: -2px;
    top: 18%;
    width: 3px;
    height: 28px;
}

.iphone-btn-volume-up {
    left: -2px;
    top: 28%;
    width: 3px;
    height: 48px;
}

.iphone-btn-volume-down {
    left: -2px;
    top: 40%;
    width: 3px;
    height: 48px;
}

.iphone-btn-power {
    right: -2px;
    top: 30%;
    width: 3px;
    height: 72px;
}

.form-link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.form-link:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.6);
}

/* Scrolling Marquee (campus section) */
.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-track.marquee-left {
    animation: marquee-scroll-left 32s linear infinite;
}

.marquee-track.marquee-right {
    animation: marquee-scroll-right 36s linear infinite;
}

@keyframes marquee-scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes marquee-scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Campus Section */
.schools-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 40px;
    overflow: hidden;
}

.schools-content {
    text-align: center;
    z-index: 10;
    position: relative;
    margin-bottom: 28px;
}

.schools-headline {
    font-size: clamp(40px, 7vw, 100px);
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.schools-tagline {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 40px;
    opacity: 0.9;
}

.launch-button {
    display: inline-block;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    text-decoration: none;
}

.launch-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.6);
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.launch-button:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

/* Top campus marquee — directly under Join Waitlist */
.campus-marquee-top {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    margin: 0 0 48px;
    pointer-events: none;
    user-select: none;
}

.campus-marquee-top .campus-row-top {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    transform: rotate(-1.5deg);
}

/* Bottom campus marquee — right under the phones */
.campus-marquee-bottom {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    margin: 36px 0 0;
    pointer-events: none;
    user-select: none;
}

.campus-row-bottom {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    transform: rotate(1.5deg);
}

.campus-item {
    font-size: clamp(28px, 4.5vw, 64px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.12);
    padding: 0 18px;
    flex-shrink: 0;
}

.campus-dot {
    font-size: clamp(28px, 4.5vw, 64px);
    color: rgba(34, 197, 94, 0.22);
    flex-shrink: 0;
    padding: 0 4px;
}

/* Showcase Phone Mockups (bottom section) */
.phones-showcase {
    display: flex;
    justify-content: center;
    gap: 60px;
    z-index: 10;
    position: relative;
    flex-wrap: wrap;
}

.showcase-iphone {
    transform: rotate(-5deg);
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.55));
}

.showcase-iphone:hover {
    transform: rotate(-5deg) translateY(-10px);
    filter: drop-shadow(0 30px 60px rgba(34, 197, 94, 0.25));
}

.showcase-iphone.phone-right {
    transform: rotate(5deg);
}

.showcase-iphone.phone-right:hover {
    transform: rotate(5deg) translateY(-10px);
}

.showcase-iphone-device {
    width: min(280px, 78vw);
    aspect-ratio: 9 / 19.5;
    border-radius: 42px;
    background: linear-gradient(145deg, #3a3a3c 0%, #1c1c1e 35%, #0a0a0a 100%);
    padding: 9px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    position: relative;
}

.showcase-iphone-device::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.14) 0%,
        transparent 28%,
        transparent 72%,
        rgba(255, 255, 255, 0.04) 100%
    );
    opacity: 0.5;
    z-index: 2;
}

.showcase-iphone-bezel {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    background: #000;
    overflow: hidden;
    box-shadow: inset 0 0 0 1.5px #111;
}

.showcase-iphone-display {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    background: #000;
}

.showcase-iphone-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    user-select: none;
    pointer-events: none;
}

/* Shared Section Heading */
.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
}

/* Features Section */
.features-section {
    padding: 120px 40px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
    background: linear-gradient(160deg, rgba(34, 197, 94, 0.08), rgba(255, 255, 255, 0.02));
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(34, 197, 94, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    margin-bottom: 20px;
}

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

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* How It Works Section */
.how-section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Mission / Launch Section */
.mission-section {
    padding: 100px 40px;
    position: relative;
}

.mission-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-content .section-eyebrow {
    margin-bottom: 20px;
}

.mission-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 20px;
    display: block;
}

.mission-text {
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto;
    max-width: 640px;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    position: relative;
}

.how-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.how-step-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.how-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.how-step-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    max-width: 320px;
    margin: 0 auto;
}

/* FAQ Section */
.faq-section {
    padding: 120px 40px 100px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: rgba(34, 197, 94, 0.4);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    padding: 22px 26px;
    cursor: pointer;
    font-family: inherit;
}

.faq-toggle {
    font-size: 22px;
    color: #22c55e;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 26px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 26px 24px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 40px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

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

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

.footer-column h4 {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0.9;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #22c55e;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .hero-copy {
        max-width: 640px;
        margin: 0 auto;
        order: 1;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-phone-stage {
        min-height: auto;
        padding: 12px 0 24px;
        order: 2;
    }

    .iphone-mockup {
        --rx: 2deg;
        --ry: -5deg;
        --rz: 0.5deg;
    }

    .iphone-device {
        width: min(280px, 68vw);
        border-radius: 42px;
        padding: 9px;
    }

    .iphone-bezel {
        border-radius: 34px;
    }
}

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

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 110px 20px 60px;
    }

    .hero-headline {
        font-size: clamp(34px, 9vw, 48px);
    }

    .phones-showcase {
        gap: 30px;
    }

    .showcase-iphone-device {
        width: min(240px, 72vw);
        border-radius: 36px;
        padding: 8px;
    }

    .showcase-iphone-bezel {
        border-radius: 30px;
    }

    .campus-item,
    .campus-dot {
        font-size: 22px;
    }

    .features-section,
    .how-section,
    .mission-section,
    .faq-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iphone-float,
    .marquee-track.marquee-left,
    .marquee-track.marquee-right {
        animation: none !important;
    }

    .iphone-mockup,
    .phone-ambient-glow {
        transition: none !important;
    }
}
