:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gold: #c7a16b;
    --gold-hover: #d8b785;
    --border-color: rgba(255, 255, 255, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background: radial-gradient(circle at 15% 0%, rgba(199, 161, 107, 0.1), transparent 45%), var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.mission-text,
.mission-statement {
    font-family: 'Instrument Serif', serif;
    font-weight: 500;
}

strong {
    color: var(--text-primary);
    font-weight: 500;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--border-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: 0;
    opacity: 0.25;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 10, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-app-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo-text {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.nav-links .nav-cta {
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.nav-links .nav-cta:hover {
    background: var(--gold);
    color: var(--bg-color);
}

main {
    position: relative;
    z-index: 1;
}

.microcopy {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 2.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.section-badge {
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    background: var(--glass-bg);
}

.center-badge {
    margin: 0 auto 2rem;
    display: block;
    width: max-content;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.12;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title.align-left {
    text-align: left;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--gold);
    color: var(--bg-color);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.mac-window {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    width: 100%;
}

.mac-window.dark {
    background: rgba(20, 20, 20, 0.9);
}

.window-header {
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    position: relative;
}

.mac-dots {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 1rem;
}

.mac-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
}

.window-title {
    width: 100%;
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    font-weight: 500;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(20, 20, 20, 0.8);
    border: 1px dashed rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin: 0;
}

.video-placeholder h3 {
    margin-top: 0.9rem;
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.video-placeholder p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.video-placeholder ul {
    text-align: left;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #aaa;
    padding-left: 1rem;
}

.vp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.67rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-size {
    height: 400px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: none;
}

.small-video {
    height: 160px;
}

.medium-video {
    height: 280px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: none;
}

.tall-video {
    height: 450px;
    border: none;
}

.flex-center {
    height: 120px;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background: transparent;
    padding: 0;
}

.gold-border {
    border-color: rgba(199, 161, 107, 0.4);
    background: rgba(199, 161, 107, 0.05);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 9rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 820px;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.4rem;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.4rem;
}

.hero-visual {
    width: 100%;
    max-width: 700px;
    perspective: 1000px;
    z-index: 2;
}

.hero-visual .mac-window {
    transform: rotateX(4deg) scale(1.03);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.hero-visual:hover .mac-window {
    transform: rotateX(0deg) scale(1.06);
}

.deep-dive {
    padding: 6rem 10%;
    border-top: 1px solid var(--border-color);
}

.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2.5rem auto 0;
}

.mac-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.6rem;
    height: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.icon-box.gold {
    background: rgba(199, 161, 107, 0.1);
    border-color: rgba(199, 161, 107, 0.3);
    color: var(--gold-hover);
}

.card-header h3 {
    font-size: 1.5rem;
    line-height: 1.25;
}

.desc {
    color: var(--text-secondary);
    font-size: 1.03rem;
    line-height: 1.6;
}

.schedule-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-text,
.schedule-visual {
    flex: 1;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 600;
}

.interception {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 10%;
    border-top: 1px solid var(--border-color);
    position: relative;
    gap: 4rem;
}

.interception-content,
.interception-demo {
    flex: 1;
}

.interception-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.interception-content p {
    font-size: 1.08rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
}

.features-inline {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.features-inline .dot {
    color: var(--gold);
}

.interception-demo {
    height: 450px;
    position: relative;
}

.demo-screen {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    background: #000;
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.features-grid {
    padding: 6rem 10%;
}

.grid-container {
    display: grid;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-container.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1300px;
}

.feature-card {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0 0;
}

.card-content h3 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 1.4rem;
    max-width: 55ch;
}

.card-visual {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.testimonials,
.faq-section,
.pricing-section {
    padding: 6rem 10%;
}

.testimonials-inner,
.faq-inner,
.pricing-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.marquee {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    background: rgba(26, 26, 26, 0.45);
    padding: 1.1rem 0;
}

.marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: testimonial-scroll 38s linear infinite;
    padding: 0 1rem;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.testimonial {
    min-width: 330px;
    max-width: 330px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    padding: 1rem;
}

.testimonial p {
    color: #dddddd;
    font-size: 0.95rem;
    line-height: 1.55;
}

.testimonial span {
    display: block;
    margin-top: 0.85rem;
    color: var(--gold-hover);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(26, 26, 26, 0.5);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 1rem 1.2rem;
    cursor: pointer;
}

.faq-question::after {
    content: '+';
    float: right;
    color: var(--gold);
    font-weight: 600;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0 1.2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    padding-bottom: 0;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 1.2rem 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
}

.pricing-card {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.7);
    padding: 1.4rem;
}

.pricing-card h3 {
    font-size: 1.7rem;
    margin-bottom: 0.2rem;
}

.pricing-card .price {
    font-size: 2.3rem;
    line-height: 1.05;
    margin-bottom: 0.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-card .label {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.pricing-card.popular {
    border-color: rgba(199, 161, 107, 0.45);
    box-shadow: 0 0 0 1px rgba(199, 161, 107, 0.2) inset;
}

.plans-include {
    margin-top: 1.4rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem 5rem;
    border-top: 1px solid var(--border-color);
}

.footer-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.final-content h2 {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.final-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.6rem;
}

.btn-primary.pulse {
    animation: subtle-glow 3.6s ease-in-out infinite;
}

.btn-primary.pulse:hover {
    animation: none;
    color: var(--gold);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    filter: blur(10px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes subtle-glow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(199, 161, 107, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(199, 161, 107, 0.4);
    }
}

@keyframes testimonial-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fade-in-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.visible {
    opacity: 1;
}

.delay-1 {
    animation-delay: 0.15s;
    transition-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
    transition-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .feature-split,
    .schedule-container,
    .interception {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .grid-container.three-col,
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        padding: 8rem 1.2rem 5rem;
    }

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

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

    .deep-dive,
    .features-grid,
    .testimonials,
    .faq-section,
    .pricing-section {
        padding: 4.5rem 1.2rem;
    }

    .grid-container.three-col,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .interception-content h2,
    .final-content h2 {
        font-size: 2.3rem;
    }

    .testimonial {
        min-width: 280px;
        max-width: 280px;
    }
}

/* Mobile nav fix */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: nowrap;
        padding: 0.8rem 1rem;
        gap: 0;
    }
    .nav-links {
        width: auto;
        gap: 0.75rem;
        font-size: 0.8rem;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    .nav-cta {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem !important;
    }
    .logo {
        gap: 0.4rem;
    }
    .logo-text {
        font-size: 0.95rem;
    }

}

/* Hamburger menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .navbar {
        flex-wrap: nowrap !important;
        padding: 0.8rem 1.2rem !important;
        gap: 0 !important;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 100;
        width: 100% !important;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        font-size: 1.2rem !important;
        color: var(--text-primary);
    }
    .nav-cta {
        font-size: 1rem !important;
        padding: 0.7rem 2rem !important;
    }

}

/* Install Modal */
.install-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    align-items: center;
    justify-content: center;
}
.install-modal.show { display: flex; }
.install-modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    max-width: 900px;
    width: 90%;
    position: relative;
    text-align: center;
}
.install-close {
    position: absolute;
    top: 1rem; right: 1.5rem;
    background: none; border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.install-close:hover { color: var(--text-primary); }
.install-header {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.install-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    background: var(--gold);
    color: var(--bg-color);
    border-radius: 50%;
    font-size: 12px;
    margin-right: 6px;
}
.install-title {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-primary);
}
.install-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.install-step {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.install-step img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    background: #0a0a0a;
    padding: 12px;
}
.install-step p {
    padding: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.install-step strong { color: var(--text-primary); }
.install-problem {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.install-problem a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 768px) {
    .install-modal-content { padding: 2rem 1.5rem; }
    .install-steps { grid-template-columns: 1fr; }
    .install-title { font-size: 1.5rem; }
}
