  :root {
    --primary: #00d4ff;
    --accent: #ff6b6b;
    --bg-dark: #0a0e1a;
    --bg-darker: #050810;
    --bg-card: #0f1419;
    --border: #1e293b;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --font-primary: 'Tajawal', sans-serif;
    --font-code: 'Fira Code', monospace;
    --font-tech: 'Orbitron', monospace;
    --gold: #c8a45e;
    --gold-dim: rgba(200, 164, 94, 0.15);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
  }

  /* ═══════════════════════════════════
     HERO INTRO (topo fixo antes do scroll)
     ═══════════════════════════════════ */
  .hero-intro {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem;
    overflow: hidden;
  }

  .hero-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(200,164,94,0.06) 0%, transparent 60%);
    pointer-events: none;
  }

  .intro-badge {
    font-family: var(--font-code);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid rgba(200,164,94,0.25);
    padding: 0.45rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInDown 0.8s ease-out;
  }

  .intro-badge .pulse-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
  }

  .hero-intro h1 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.8s ease-out 0.2s both;
  }

  .hero-intro h1 .highlight {
    background: linear-gradient(135deg, var(--gold), #e8c97a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-intro .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out 0.4s both;
  }

  .hero-intro .tech-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out 0.6s both;
  }

  .tech-tag {
    font-family: var(--font-code);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.02);
  }

  .scroll-prompt {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    animation: fadeInDown 0.8s ease-out 0.8s both;
  }

  .scroll-prompt span {
    font-family: var(--font-code);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .scroll-line {
    width: 1px;
    height: 50px;
    position: relative;
    overflow: hidden;
    background: rgba(200,164,94,0.1);
  }

  .scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollDown 2s ease-in-out infinite;
  }

  @keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 100%; }
  }

  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ═══════════════════════════════════
     SEÇÃO 1: NOTEBOOK (DESKTOP SHOWCASE)
     ═══════════════════════════════════ */
  .desktop-section {
    position: relative;
    height: 500vh;
  }

  .desktop-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .section-label {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10;
    transition: opacity 0.5s ease;
  }

  .label-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border: 1px solid rgba(200,164,94,0.2);
    background: rgba(200,164,94,0.06);
    color: var(--gold);
  }

  .label-text {
    font-family: var(--font-code);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .label-text strong {
    color: var(--text-primary);
    font-weight: 600;
  }

  /* Notebook frame */
  .notebook {
    position: relative;
    transition: transform 0.1s linear, opacity 0.3s ease;
  }

  .notebook-screen {
    width: min(820px, 85vw);
    aspect-ratio: 16/10;
    background: #0c0f15;
    border-radius: 12px 12px 0 0;
    border: 2px solid #2a2a35;
    border-bottom: none;
    overflow: hidden;
    position: relative;
    box-shadow: 0 -10px 60px rgba(0,0,0,0.5), 0 0 80px rgba(200,164,94,0.04);
  }

  .notebook-topbar {
    height: 28px;
    background: #16181e;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .nb-dot { width: 7px; height: 7px; border-radius: 50%; }
  .nb-dot.r { background: #ff5f57; }
  .nb-dot.y { background: #febc2e; }
  .nb-dot.g { background: #28c840; }

  .nb-url {
    margin-left: 10px;
    font-family: var(--font-code);
    font-size: 0.5rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    padding: 2px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .nb-url .lock { color: #28c840; font-size: 0.45rem; }

  .notebook-viewport {
    width: 100%;
    height: calc(100% - 28px);
    position: relative;
    overflow: hidden;
    background: #0a0c10;
  }

  .notebook-viewport video,
  .notebook-viewport canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .notebook-base {
    width: min(900px, 92vw);
    height: 14px;
    background: linear-gradient(to bottom, #2a2a35, #1e1e28);
    border-radius: 0 0 8px 8px;
    margin: 0 auto;
    position: relative;
  }

  .notebook-base::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
  }

  .nb-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(200,164,94,0.1);
  }

  .nb-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), #e8c97a);
    transition: width 0.05s linear;
    box-shadow: 0 0 8px rgba(200,164,94,0.4);
  }

  .nb-frame-counter {
    position: absolute;
    top: 36px;
    right: 10px;
    font-family: var(--font-code);
    font-size: 0.5rem;
    color: var(--gold);
    background: rgba(0,0,0,0.6);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(200,164,94,0.15);
    pointer-events: none;
    z-index: 5;
  }

  /* ═══════════════════════════════════
     TRANSIÇÃO: ZOOM NOTEBOOK → CELULAR
     ═══════════════════════════════════ */
  .transition-section {
    position: relative;
    height: 300vh;
  }

  .transition-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .transition-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .transition-text h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
  }

  .transition-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
  }

  .transition-text .resp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: var(--font-code);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid rgba(200,164,94,0.2);
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
  }

  /* ═══════════════════════════════════
     SEÇÃO 2: CELULAR (MOBILE SHOWCASE)
     ═══════════════════════════════════ */
  .mobile-section {
    position: relative;
    height: 500vh;
  }

  .mobile-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .phone {
    position: relative;
    transition: transform 0.1s linear, opacity 0.3s ease;
  }

  .phone-body {
    width: 260px;
    aspect-ratio: 9/19.5;
    background: #111318;
    border-radius: 36px;
    border: 3px solid #2a2a35;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 80px rgba(0,0,0,0.5), 0 0 60px rgba(200,164,94,0.04);
  }

  .phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 26px;
    background: #111318;
    border-radius: 0 0 18px 18px;
    z-index: 5;
  }

  .phone-notch::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1a1d25;
    border-radius: 50%;
  }

  .phone-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #0a0c10;
  }

  .phone-viewport video,
  .phone-viewport canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .phone-home-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    z-index: 5;
  }

  .ph-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(200,164,94,0.1);
    z-index: 5;
  }

  .ph-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), #e8c97a);
    transition: width 0.05s linear;
  }

  .ph-frame-counter {
    position: absolute;
    top: 34px;
    right: 12px;
    font-family: var(--font-code);
    font-size: 0.45rem;
    color: var(--gold);
    background: rgba(0,0,0,0.6);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(200,164,94,0.15);
    pointer-events: none;
    z-index: 10;
  }

  /* ═══════════════════════════════════
     SEÇÃO FINAL — CTA
     ═══════════════════════════════════ */
  .cta-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(200,164,94,0.05), transparent 60%);
    pointer-events: none;
  }

  .cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
  }

  .cta-section h2 .highlight {
    background: linear-gradient(135deg, var(--gold), #e8c97a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .cta-section p {
    color: var(--text-secondary);
    max-width: 450px;
    margin-bottom: 2rem;
    line-height: 1.7;
  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--gold), #b8944e);
    color: #0a0e1a;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(200,164,94,0.3);
  }

  .visit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 3.5rem;
    background: linear-gradient(135deg, var(--gold), #e8c97a);
    color: var(--bg-dark);
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    box-shadow: 0 0 0 0 rgba(200, 164, 94, 0.7);
    animation: pulse-gold 2s infinite;
    transition: transform 0.3s ease;
  }

  .visit-btn:hover {
    transform: scale(1.05);
  }

  @keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(200, 164, 94, 0.7); }
    70% { box-shadow: 0 0 0 25px rgba(200, 164, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 164, 94, 0); }
  }

  .cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: rgba(200, 164, 94, 0.05);
    color: var(--gold);
    border: 1px solid rgba(200, 164, 94, 0.3);
    border-radius: 12px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }

  .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200,164,94,0.4);
  }

  .back-btn:hover {
    background: rgba(200, 164, 94, 0.15);
    border-color: var(--gold);
    transform: translateY(-2px);
  }

  /* ═══ GUIDE DOTS (right side) ═══ */
  .scroll-guide {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    z-index: 100;
  }

  .guide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(200,164,94,0.15);
    border: 1px solid rgba(200,164,94,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .guide-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(200,164,94,0.5);
    transform: scale(1.3);
  }

  .guide-dot-label {
    position: absolute;
    right: 20px;
    font-family: var(--font-code);
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    color: var(--gold);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(5px);
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(10,14,26,0.9);
    padding: 2px 8px;
    border-radius: 4px;
  }

  .guide-dot:hover .guide-dot-label {
    opacity: 1;
    transform: translateX(0);
  }

  /* ═══ RESPONSIVE ═══ */
  @media (max-width: 768px) {
    .scroll-guide { display: none; }
    .phone-body { width: 200px; }
    .section-label { top: 1rem; }
    .label-text { font-size: 0.55rem; }
    .transition-text h2 { font-size: 1.3rem; }

    /* Reduz altura de scroll no mobile para ficar mais leve */
    .desktop-section { height: 300vh; }
    .transition-section { height: 200vh; }
    .mobile-section { height: 300vh; }
  }

  /* GPU acceleration para animacoes suaves */
  .notebook, .phone, #notebookGhost, #phoneGhost {
    will-change: transform, opacity;
  }

  .notebook-viewport video,
  .phone-viewport video {
    will-change: auto;
  }