/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Inter", sans-serif;
    background: var(--bg);
    color: var(--fg);
    overflow-x: hidden;
}

/* ========== THEME VARIABLES (AUTO) ========== */
:root {
    --bg: #ffffff;
    --bg-elevated: rgba(0, 0, 0, 0.03);
    --fg: #050505;
    --muted: #555;
    --border-subtle: rgba(0, 0, 0, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
    --accent: #000000;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #020202;
        --bg-elevated: rgba(255, 255, 255, 0.02);
        --fg: #ffffff;
        --muted: #b9b9b9;
        --border-subtle: rgba(255, 255, 255, 0.06);
        --glass-bg: rgba(10, 10, 10, 0.76);
        --glass-border: rgba(255, 255, 255, 0.09);
        --accent: #ffffff;
        --shadow-soft: 0 22px 55px rgba(0, 0, 0, 0.7);
    }
}

/* ========== GLOBAL ========== */

.section {
    padding: 120px 7vw 40px;
    position: relative;
}

.section-header {
    max-width: 640px;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--muted);
}

/* Glass utility */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

/* Reveal animation (Apple-style) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== HEADER ========== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7vw;
    z-index: 100;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    background: var(--accent);
    color: var(--bg);
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav a {
    margin-left: 22px;
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--muted);
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.2s;
}

.nav a:hover {
    color: var(--fg);
}

.nav a:hover::after {
    width: 100%;
}

/* Buttons */
.btn-small {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--fg);
}

/* ========== HERO ========== */

.hero {
    min-height: 100vh;
    display: center;
    align-items: center;
    padding-top: 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 150px;
    align-items: center;
    position: relative;
}

.headline {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.subhead {
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 24px;
}

.hero-tagline {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

/* AI Terminal */
.ai-terminal {
    border-radius: 18px;
    margin-bottom: 22px;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.72rem;
    gap: 6px;
}

.terminal-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--border-subtle);
}

.terminal-title {
    margin-left: auto;
    opacity: 0.7;
}

.terminal-body {
    padding: 14px 16px 16px;
    font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.84rem;
}

.terminal-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.prompt {
    color: var(--muted);
}

.prompt.ai {
    color: var(--accent);
}

.prompt-text {
    color: var(--fg);
}

.ai-text {
    white-space: pre-wrap;
}

.cursor {
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Hero actions */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.btn-main {
    padding: 11px 22px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--accent), var(--accent));
    color: var(--bg);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-main:hover {
    filter: brightness(0.9);
}

.btn-ghost {
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--fg);
    font-size: 0.9rem;
    cursor: pointer;
}

/* Hero visual (3D-ish) */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 280px;
    height: 320px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateX(14deg) rotateY(-16deg);
    transform-style: preserve-3d;
}

.hero-orbit {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    opacity: 0.5;
    transform: translateZ(30px);
}

.hero-core {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 26px;
    background: var(--accent);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    transform: translateZ(60px);
}

.hero-pill {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateZ(40px);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    font-size: 0.7rem;
    background: var(--bg-elevated);
    color: var(--muted);
}

.hero-pill-top {
    top: 26px;
}

.hero-pill-bottom {
    bottom: 26px;
}

/* Background particles */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--bg-elevated);
    filter: blur(0px);
    opacity: 0.7;
    animation: float 12s ease-in-out infinite;
}

.p1 {
    width: 220px;
    height: 220px;
    top: -40px;
    left: -60px;
}

.p2 {
    width: 180px;
    height: 180px;
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

.p3 {
    width: 140px;
    height: 140px;
    top: 30%;
    right: -40px;
    animation-delay: 4s;
}

.p4 {
    width: 110px;
    height: 110px;
    bottom: 0;
    left: 25%;
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -20px, 0);
    }
}

/* ========== FEATURES / CARDS ========== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.card {
    border-radius: 20px;
    padding: 24px 22px 22px;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card p {
    color: var(--muted);
    margin-bottom: 10px;
}

.card ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--muted);
}

.card li {
    margin-bottom: 4px;
}

/* ========== FLOW / GLASS SECTION ========== */

.glass-section {
    transition: background 0.4s ease, transform 0.4s ease;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.glass-section.active {
    background: var(--bg-elevated);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.flow-step {
    border-radius: 18px;
    padding: 18px 18px 16px;
}

.step-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.6;
}

.flow-step h3 {
    margin-top: 6px;
    margin-bottom: 6px;
}

/* ========== PRICING ========== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.pricing-card {
    border-radius: 22px;
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-card .price {
    font-size: 1.6rem;
    font-weight: 600;
}

.price-note {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.pricing-card ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.pricing-card li {
    margin-bottom: 4px;
}

.btn-outline,
.pricing-card .btn-main.full {
    text-align: center;
    width: 100%;
}

.btn-outline {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    padding: 10px 0;
    text-decoration: none;
    color: var(--fg);
    font-size: 0.9rem;
}

.pricing-pro.highlight {
    border-width: 1.5px;
}

/* ========== TESTIMONIALS ========== */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.testimonial {
    border-radius: 20px;
    padding: 20px 20px 18px;
}

.quote {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.meta {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ========== FINAL CTA ========== */

.final-cta {
    padding-bottom: 80px;
}

.final-card {
    border-radius: 26px;
    padding: 28px 24px 30px;
    text-align: center;
}

.final-card h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.final-card p {
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 18px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* ========== FOOTER ========== */

.footer {
    padding: 28px 7vw 34px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 860px) {

    .nav a:nth-child(1),
    .nav a:nth-child(2),
    .nav a:nth-child(3) {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 10px;
    }

    .hero-card {
        transform: rotateX(10deg) rotateY(-10deg);
    }
}

@media (max-width: 640px) {
    .header {
        padding: 0 16px;
    }

    .section {
        padding-inline: 16px;
    }

    .hero {
        padding-top: 110px;
    }
}

/* ============================= */
/* APPLE VISION-PRO HERO SECTION */
/* ============================= */

.hero-apple {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 160px;
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Soft background gradient that adapts to theme */
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            var(--bg) 0%,
            var(--bg-elevated) 80%);
    opacity: 0.85;
    z-index: -2;
}

/* ====================== */
/* 3D Floating Glass Orb  */
/* ====================== */
.hero-orb {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    filter: drop-shadow(0 40px 120px rgba(0, 0, 0, 0.3));
    animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-26px);
    }
}

/* Core */
.orb-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(50px);
}

/* Rings */
.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    animation: spin 18s linear infinite;
    backdrop-filter: blur(3px);
}

.orb-ring.r1 {
    inset: -16px;
    animation-duration: 18s;
}

.orb-ring.r2 {
    inset: -48px;
    animation-duration: 26s;
}

.orb-ring.r3 {
    inset: -82px;
    animation-duration: 34s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =============== */
/* TEXT + CONTENT  */
/* =============== */
.hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.8rem, 4.5vw, 4.7rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    color: #000 !important;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.55;
}

/* Buttons */
.hero-actions .btn-main {
    background: #000 !important;
    color: #fff !important;
}

.hero-actions .btn-ghost {
    border: 1px solid #000 !important;
    color: #000 !important;
}

.hero-actions {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px;
    width: 100%;
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 760px) {

    .hero-orb {
        width: 360px;
        height: 360px;
        top: 18%;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-sub {
        font-size: .88rem;
    }

    .hero-sub {
        display: flex;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px;
        width: 100%;
        text-align: center;
    }

    .hero-sub {
        border: 1px solid #000 !important;
        color: #000 !important;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
}


.discount-badge {
    position: absolute;
    top: -14px;
    right: 240px;
    background: #ffffff;
    color: #000000;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

/* Adjust for light mode */
@media (prefers-color-scheme: light) {
    .discount-badge {
        background: #000;
        color: #fff;
    }
}

/* Make the card accept absolute badge */
.pricing-card {
    position: relative;
    overflow: visible;
}


.logo-mark img {
    width: 22px;
    /* adjust size */
    height: 22px;
    /* keep it square */
    object-fit: contain;
    display: block;
}


.footer-legal {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 22px;
}

.legal-link {
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.2s;
}

.legal-link:hover {
    color: var(--fg);
    text-decoration: underline;
}


/* ========================= */
/*      COOKIE BANNER        */
/* ========================= */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90%);
    padding: 22px 26px;
    border-radius: 20px;
    z-index: 999;
    background: var(--glass-bg);
    color: var(--fg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
    transition: 0.3s ease;
    opacity: 1;
}

.cookie-banner.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

.cookie-content p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--fg);
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.cookie-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    border: none;
}

.cookie-btn.accept {
    background: #000;
    color: #fff;
}

.cookie-btn.decline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--fg);
}

@media (prefers-color-scheme: light) {
    .cookie-btn.accept {
        background: #000;
        color: #fff;
    }
}


/* Cookie icon layout */
.cookie-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cookie-left {
    flex-shrink: 0;
}

.cookie-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.cookie-right {
    flex: 1;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.contact-link:hover {
    opacity: 0.7;
}

/* Dropdown for 404 page */
.dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-elevated);
    min-width: 220px;
    box-shadow: var(--shadow-soft);
    padding: 12px;
    border-radius: 12px;
    z-index: 1;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* =========================== */
/*         VOCAM SECTION       */
/* =========================== */

.vocam-section {
  padding-top: 120px;
  padding-bottom: 100px;
}

.vocam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.vocam-card {
  border-radius: 20px;
  padding: 24px 24px;
}

.vocam-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.vocam-list {
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.vocam-list li {
  margin-bottom: 6px;
}

.vocam-formula {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.vocam-description {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Mobile adjustments */
@media (max-width: 650px) {
  .vocam-section {
    padding-top: 90px;
  }
}


/* Mobile adjustments */
@media (max-width: 650px) {
  .vocam-section {
    padding-top: 90px;
  }
}


/* =========================== */
/*         Hero Title          */
/* =========================== */

/* Dynamic hero text container */
#heroDynamicText {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When fading out */

#heroDynamicText.fade-out {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}


@media (max-width: 650px) {
  .hero-orb {
    position: absolute;
    top: 35%;              /* moved UP (was 50%) */
    left: 50%;
    transform: translate(-50%, -50%);

    width: min(70vw, 360px);
    height: min(70vw, 360px);
    min-width: 220px;
    min-height: 220px;
  }
}

