 :root{
    --bg-deep:#050b14;
    --bg-navy:#0a1a2b;
    --bg-panel:#0d2438;
    --teal:#17b6a7;
    --teal-soft:#2fd9c8;
    --gold:#c9a24b;
    --gold-soft:#e8cd8a;
    --ivory:#f3f1e9;
    --muted:#9db2c4;
    --line: rgba(201,162,75,.18);
    --radius: 18px;
    --ff-body:'Vazirmatn', sans-serif;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:var(--ff-body);
    background:var(--bg-deep);
    color:var(--ivory);
    overflow-x:hidden;
    line-height:1.9;
  }
  ::selection{background:var(--teal); color:#04120f;}
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}
  img{max-width:100%; display:block;}

  /* ===================== INTRO ===================== */
  #intro{
    position:fixed; inset:0; z-index:9999;
    background:radial-gradient(ellipse at center, #071624 0%, #020509 75%);
    display:flex; align-items:center; justify-content:center;
    flex-direction:column;
    transition:opacity 1.1s ease, visibility 1.1s ease;
  }
  #intro.hide{opacity:0; visibility:hidden; pointer-events:none;}
  #starfield{position:absolute; inset:0; overflow:hidden;}
  .star{position:absolute; background:#cfe9ff; border-radius:50%; opacity:.7; animation:twinkle 3s infinite ease-in-out;}
  @keyframes twinkle{0%,100%{opacity:.15;}50%{opacity:1;}}
  @keyframes driftIn{
    0%{transform:translateZ(-1400px) scale(.2); opacity:0;}
    100%{transform:translateZ(0) scale(1); opacity:.9;}
  }
  .intro-stage{position:relative; width:100%; height:100%; display:flex; align-items:center; justify-content:center; perspective:1000px;}
  .molecule-wrap{
    width:260px; height:260px; transform-style:preserve-3d;
    animation:driftIn 2.4s cubic-bezier(.16,.9,.28,1) both;
  }
  .molecule{
    position:relative; width:100%; height:100%;
    transform-style:preserve-3d;
    animation:spinY 9s linear infinite;
  }
  @keyframes spinY{ from{transform:rotateY(0) rotateX(18deg);} to{transform:rotateY(360deg) rotateX(18deg);} }
  .orbit{
    position:absolute; inset:0; border:1px solid var(--teal-soft);
    border-radius:50%; opacity:.35; transform-style:preserve-3d;
  }
  .orbit:nth-child(1){transform:rotateX(70deg);}
  .orbit:nth-child(2){transform:rotateY(70deg);}
  .orbit:nth-child(3){transform:rotateX(35deg) rotateY(55deg); border-color:var(--gold-soft);}
  .core{
    position:absolute; top:50%; left:50%; width:26px; height:26px; margin:-13px;
    background:radial-gradient(circle at 35% 30%, #fff, var(--teal) 55%, #0a3f3a 100%);
    border-radius:50%; box-shadow:0 0 40px 8px rgba(23,182,167,.75);
  }
  .node{
    position:absolute; width:12px; height:12px; border-radius:50%;
    background:radial-gradient(circle at 35% 30%, #fff, var(--gold) 60%);
    box-shadow:0 0 18px 4px rgba(201,162,75,.7);
    animation:orbitmove linear infinite;
    transform-style:preserve-3d;
  }
  .pulse-line{
    position:absolute; bottom:16%; left:50%; width:min(520px,80vw); height:60px; opacity:0;
    transform:translateX(-50%);
    animation:pulseFadeUp 1.4s .6s ease forwards;
  }
  @keyframes pulseFadeUp{to{opacity:1; transform:translateX(-50%) translateY(-6px);}}
  .pulse-line svg{width:100%; height:100%;}
  .pulse-path{stroke:var(--teal-soft); stroke-width:2; fill:none; filter:drop-shadow(0 0 6px var(--teal-soft));
    stroke-dasharray:900; stroke-dashoffset:900; animation:drawPulse 2.6s ease-in-out infinite;}
  @keyframes drawPulse{ to{stroke-dashoffset:0;} }
  .intro-text{
    position:absolute; bottom:9%; left:50%; text-align:center; width:min(92vw,640px); opacity:0;
    transform:translateX(-50%);
    animation:introTextIn 1.2s 1.1s ease forwards;
  }
  @keyframes introTextIn{to{opacity:1; transform:translateX(-50%) translateY(-6px);}}
  .intro-text h1{font-size:clamp(1.05rem,3.4vw,1.9rem); font-weight:700; letter-spacing:.5px; color:var(--ivory); text-align:center;}
  @media (min-width:520px){ .intro-text h1{white-space:nowrap;} }
  .intro-text p{margin-top:.5rem; color:var(--muted); font-size:.85rem; letter-spacing:2px; text-align:center;}
  .intro-bar{width:min(320px,60vw); height:3px; background:rgba(255,255,255,.08); border-radius:3px; margin:1.1rem auto 0; overflow:hidden;}
  .intro-bar-fill{height:100%; width:0%; background:linear-gradient(90deg,var(--teal),var(--gold)); border-radius:3px; transition:width .25s linear;}
  .skip-intro{position:absolute; bottom:6%; right:6%; font-size:.75rem; color:var(--muted); border:1px solid var(--line); padding:.5rem 1rem; border-radius:30px; cursor:pointer; transition:.3s; z-index:2;}
  .skip-intro:hover{color:var(--teal-soft); border-color:var(--teal-soft);}

  /* generate node positions via nth-child in JS-free CSS using custom angle */
  .node.n1{animation-duration:6s;} .node.n2{animation-duration:7.5s; animation-delay:-2s;}
  .node.n3{animation-duration:5s; animation-delay:-1s;} .node.n4{animation-duration:8s; animation-delay:-3.5s;}
  .node.n5{animation-duration:6.5s; animation-delay:-.5s;} .node.n6{animation-duration:9s; animation-delay:-4s;}
  @keyframes orbitmove{
    from{transform:rotate(0deg) translateX(130px) rotate(0deg);}
    to{transform:rotate(360deg) translateX(130px) rotate(-360deg);}
  }

  /* ===================== NAV ===================== */
  header{
    position:fixed; top:0; inset-inline:0; z-index:500;
    display:flex; align-items:center; justify-content:space-between;
    padding:1.1rem clamp(1.2rem,5vw,4rem);
    background:linear-gradient(to bottom, rgba(5,11,20,.92), rgba(5,11,20,0));
    backdrop-filter:blur(6px);
    transition:.4s;
  }
  header.scrolled{background:rgba(6,14,24,.86); box-shadow:0 1px 0 var(--line);}
  .logo{display:flex; align-items:center; gap:.7rem; font-weight:900; font-size:1.3rem; letter-spacing:.5px;}
  .logo .brand-word{font-size:1.35rem;}
  .logo-mark{width:42px; height:42px; border-radius:50%; background:conic-gradient(from 220deg,var(--teal),var(--gold),var(--teal)); display:flex; align-items:center; justify-content:center; box-shadow:0 0 22px rgba(23,182,167,.55);}
  .logo-mark span{color:#04120f; font-weight:900; font-size:1.05rem;}
  nav ul{display:flex; gap:2rem; font-size:.92rem;}
  nav a{position:relative; color:var(--ivory); opacity:.85; padding:.3rem 0; transition:.3s;}
  nav a::after{content:''; position:absolute; right:0; bottom:-2px; width:0; height:1.5px; background:var(--teal-soft); transition:.35s;}
  nav a:hover{opacity:1;}
  nav a:hover::after{width:100%;}
  .nav-cta{background:linear-gradient(90deg,var(--teal),var(--teal-soft)); color:#04120f; padding:.6rem 1.4rem; border-radius:30px; font-weight:700; font-size:.85rem;}
  .burger{display:none; flex-direction:column; gap:5px; cursor:pointer;}
  .burger span{width:24px; height:2px; background:var(--ivory);}

  /* ===================== SECTIONS SHARED ===================== */
  section{position:relative; padding:clamp(4rem,9vw,7rem) clamp(1.2rem,6vw,6rem);}
  .eyebrow{display:inline-flex; align-items:center; gap:.6rem; color:var(--gold-soft); font-size:.8rem; letter-spacing:2px; margin-bottom:1rem;}
  .eyebrow::before{content:''; width:26px; height:1px; background:var(--gold-soft);}
  h2.section-title{font-size:clamp(1.8rem,3.4vw,2.6rem); font-weight:800; margin-bottom:1rem;}
  .section-sub{color:var(--muted); max-width:640px; font-size:1rem; margin-bottom:2.5rem;}
  .accent{color:var(--teal-soft);}

  /* ===================== WHY ARIA ===================== */
  .why-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1.4rem;}
  .why-card{background:linear-gradient(160deg, var(--bg-panel), rgba(13,36,56,.3)); border:1px solid var(--line); border-radius:var(--radius); padding:1.8rem 1.5rem; transition:.4s;}
  .why-card:hover{transform:translateY(-6px); border-color:var(--teal-soft);}
  .why-num{font-size:1.6rem; font-weight:900; color:var(--gold-soft); opacity:.7; margin-bottom:.8rem;}
  .why-card h3{font-size:1.02rem; margin-bottom:.6rem;}
  .why-card p{color:var(--muted); font-size:.86rem;}
  @media (max-width:900px){.why-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:560px){.why-grid{grid-template-columns:1fr;}}

  /* ===================== BRAND MARK (bold "آریا") ===================== */
  .brand-word{font-weight:900; color:var(--gold-soft); text-shadow:0 0 30px rgba(201,162,75,.45); letter-spacing:1px;}
  .hero-watermark{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    font-size:min(30vw,400px); font-weight:900; letter-spacing:2px;
    color:transparent; -webkit-text-stroke:1px rgba(201,162,75,.14);
    opacity:.6; pointer-events:none; z-index:0; white-space:nowrap; user-select:none;
  }

  /* ===================== HERO ===================== */
  #hero{min-height:100vh; display:flex; align-items:center; overflow:hidden; padding-top:8rem;}
  #hero::before{
    content:''; position:absolute; inset:0;
    background:
      radial-gradient(circle at 80% 20%, rgba(23,182,167,.18), transparent 45%),
      radial-gradient(circle at 15% 80%, rgba(201,162,75,.14), transparent 40%);
    pointer-events:none;
  }
  .hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:3rem; align-items:center; width:100%; position:relative; z-index:2;}
  .hero-badge{display:inline-flex; align-items:center; gap:.5rem; border:1px solid var(--line); padding:.5rem 1rem; border-radius:30px; font-size:.8rem; color:var(--teal-soft); margin-bottom:1.6rem;}
  .hero-badge .dot{width:7px; height:7px; border-radius:50%; background:var(--teal-soft); box-shadow:0 0 10px var(--teal-soft); animation:blink 1.6s infinite;}
  @keyframes blink{50%{opacity:.3;}}
  h1.hero-title{font-size:clamp(1.9rem,4.2vw,3.3rem); font-weight:800; line-height:1.4; margin-bottom:1.4rem;}
  h1.hero-title em{font-style:normal; color:var(--teal-soft); background:linear-gradient(90deg,var(--teal-soft),var(--gold-soft)); -webkit-background-clip:text; background-clip:text; color:transparent;}
  .hero-desc{color:var(--muted); font-size:1.05rem; max-width:560px; margin-bottom:2.2rem;}
  .hero-actions{display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2.6rem;}
  .btn{padding:.95rem 1.9rem; border-radius:14px; font-weight:700; font-size:.92rem; display:inline-flex; align-items:center; gap:.5rem; transition:.35s; cursor:pointer; border:1px solid transparent;}
  .btn-primary{background:linear-gradient(90deg,var(--teal),var(--teal-soft)); color:#03130f; box-shadow:0 10px 30px -8px rgba(23,182,167,.6);}
  .btn-primary:hover{transform:translateY(-3px); box-shadow:0 16px 36px -8px rgba(23,182,167,.8);}
  .btn-ghost{border-color:var(--line); color:var(--ivory);}
  .btn-ghost:hover{border-color:var(--gold-soft); color:var(--gold-soft);}
  .hero-stats{display:flex; gap:2.4rem; flex-wrap:wrap;}
  .hero-stats div b{display:block; font-size:1.6rem; font-weight:800; color:var(--ivory);}
  .hero-stats div span{font-size:.8rem; color:var(--muted);}

  .hero-visual{position:relative; height:460px; display:flex; align-items:center; justify-content:center; perspective:1200px;}
  .glass-panel{
    position:relative; width:340px; height:420px; border-radius:26px;
    background:linear-gradient(160deg, rgba(23,182,167,.14), rgba(255,255,255,.02));
    border:1px solid var(--line); backdrop-filter:blur(10px);
    transform-style:preserve-3d; animation:floaty 6s ease-in-out infinite;
    box-shadow:0 30px 60px -20px rgba(0,0,0,.6);
  }
  @keyframes floaty{0%,100%{transform:rotateY(-8deg) rotateX(4deg) translateY(0);}50%{transform:rotateY(8deg) rotateX(-2deg) translateY(-14px);}}
  .glass-panel .ring{position:absolute; border:1px solid var(--teal-soft); border-radius:50%; opacity:.5;}
  .glass-panel .ring.r1{width:180px; height:180px; top:20px; right:-40px; animation:spinSlow 14s linear infinite;}
  .glass-panel .ring.r2{width:120px; height:120px; bottom:30px; left:-30px; border-color:var(--gold-soft); animation:spinSlow 10s linear infinite reverse;}
  @keyframes spinSlow{to{transform:rotate(360deg);}}
  .glass-panel .cross{position:absolute; top:38px; right:38px; width:34px; height:34px;}
  .glass-panel .cross::before,.glass-panel .cross::after{content:''; position:absolute; background:var(--teal-soft); border-radius:3px;}
  .glass-panel .cross::before{width:100%; height:8px; top:13px;}
  .glass-panel .cross::after{height:100%; width:8px; right:13px;}
  .glass-stat{position:absolute; bottom:28px; right:28px; left:28px; background:rgba(5,11,20,.55); border:1px solid var(--line); border-radius:16px; padding:1rem 1.2rem;}
  .glass-stat b{display:block; font-size:1.3rem; color:var(--gold-soft);}
  .glass-stat span{font-size:.75rem; color:var(--muted);}
  .record-illustration{position:absolute; top:34px; left:34px; right:34px; bottom:100px; display:flex; align-items:center; justify-content:center;}
  .record-illustration svg{width:100%; height:100%; filter:drop-shadow(0 10px 30px rgba(0,0,0,.35));}

  /* ===================== INTRO PARAGRAPH SECTIONS ===================== */
  .knowledge-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.6rem;}
  .knowledge-card{
    background:linear-gradient(160deg, var(--bg-panel), rgba(13,36,56,.4));
    border:1px solid var(--line); border-radius:var(--radius); padding:2rem;
    transition:.4s; position:relative; overflow:hidden;
  }
  .knowledge-card::before{content:''; position:absolute; inset:0; background:radial-gradient(circle at 90% -10%, rgba(23,182,167,.14), transparent 60%); opacity:0; transition:.4s;}
  .knowledge-card{transform-style:preserve-3d;}
  .knowledge-card:hover{transform:translateY(-8px) rotateX(3deg) rotateY(-3deg); border-color:var(--teal-soft);}
  .knowledge-card:hover::before{opacity:1;}
  .knowledge-icon{width:52px; height:52px; border-radius:14px; background:linear-gradient(135deg,var(--teal),var(--gold)); display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:1.2rem;}
  .knowledge-card h3{font-size:1.15rem; margin-bottom:.7rem; font-weight:700;}
  .knowledge-card p{color:var(--muted); font-size:.92rem;}

  /* ===================== SERVICES ===================== */
  .services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem;}
  .service-card{
    background:var(--bg-panel); border:1px solid var(--line); border-radius:var(--radius);
    padding:2.4rem 1.8rem; text-align:center; transition:.4s; position:relative;
  }
  .service-card .num{position:absolute; top:1.2rem; left:1.4rem; font-size:.75rem; color:var(--muted); letter-spacing:1px;}
  .service-card{transform-style:preserve-3d;}
  .service-card:hover{background:linear-gradient(160deg, rgba(23,182,167,.1), var(--bg-panel)); transform:translateY(-6px) rotateX(4deg); border-color:var(--gold-soft);}
  .service-icon{width:70px; height:70px; margin:0 auto 1.4rem; border-radius:50%; background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.15), transparent), linear-gradient(135deg,var(--teal),var(--teal-soft)); display:flex; align-items:center; justify-content:center; font-size:1.8rem; box-shadow:0 0 24px rgba(23,182,167,.35);}
  .service-card h3{font-size:1.15rem; margin-bottom:.8rem;}
  .service-card p{color:var(--muted); font-size:.88rem;}

  /* ===================== TIMELINE (cinematic zigzag) ===================== */
  .timeline{position:relative; max-width:1040px; margin:0 auto; perspective:1400px;}
  .timeline::before{content:''; position:absolute; right:calc(50% - 1px); top:0; bottom:0; width:2px;
    background:linear-gradient(var(--teal), var(--gold) 55%, transparent); opacity:.55;}
  .tl-row{position:relative; display:grid; grid-template-columns:1fr 70px 1fr; align-items:center; margin-bottom:2.6rem;}
  .tl-row .tl-spacer{grid-column:1;}
  .tl-row .tl-hub{grid-column:2; display:flex; justify-content:center;}
  .tl-hub-dot{
    position:relative; width:52px; height:52px; border-radius:50%;
    background:radial-gradient(circle at 32% 28%, #12303f, var(--bg-deep) 70%);
    border:2px solid var(--teal-soft); display:flex; align-items:center; justify-content:center;
    font-weight:800; color:var(--teal-soft); font-size:1rem;
    box-shadow:0 0 0 6px rgba(23,182,167,.08), 0 0 22px rgba(23,182,167,.55);
    z-index:2;
  }
  .tl-row:nth-child(even) .tl-hub-dot{border-color:var(--gold-soft); color:var(--gold-soft); box-shadow:0 0 0 6px rgba(201,162,75,.08), 0 0 22px rgba(201,162,75,.5);}
  .tl-card{
    grid-column:3; position:relative; background:linear-gradient(160deg, var(--bg-panel), rgba(13,36,56,.35));
    border:1px solid var(--line); border-radius:20px; padding:1.6rem 1.8rem;
    opacity:0; transform:translateY(30px) rotateY(-8deg); transition:.9s cubic-bezier(.2,.7,.2,1);
    transform-style:preserve-3d;
  }
  .tl-row:nth-child(even) .tl-card{grid-column:1; transform:translateY(30px) rotateY(8deg);}
  .tl-row:nth-child(even) .tl-spacer{grid-column:3;}
  .tl-card.show{opacity:1; transform:translateY(0) rotateY(0);}
  .tl-card:hover{border-color:var(--teal-soft); box-shadow:0 20px 50px -20px rgba(23,182,167,.35);}
  .tl-icon{width:40px; height:40px; border-radius:11px; background:linear-gradient(135deg,var(--teal),var(--gold)); display:flex; align-items:center; justify-content:center; font-size:1.05rem; margin-bottom:.9rem;}
  .tl-card time{display:block; font-size:.72rem; color:var(--gold-soft); margin-bottom:.35rem; letter-spacing:1px;}
  .tl-card h3{font-size:1.08rem; margin-bottom:.5rem; color:var(--ivory);}
  .tl-card p{color:var(--muted); font-size:.88rem;}
  @media (max-width:760px){
    .timeline::before{right:26px;}
    .tl-row{grid-template-columns:56px 1fr; gap:.6rem;}
    .tl-row .tl-hub{grid-column:1;}
    .tl-row .tl-card, .tl-row:nth-child(even) .tl-card{grid-column:2; transform:translateY(30px);}
    .tl-row .tl-spacer, .tl-row:nth-child(even) .tl-spacer{display:none;}
    .tl-hub-dot{width:40px; height:40px; font-size:.85rem;}
  }

  /* ===================== HISTORY BOX ===================== */
  .history-box{
    position:relative; margin-top:2.6rem; border-radius:22px; padding:clamp(1.6rem,4vw,2.6rem);
    background:linear-gradient(155deg, rgba(201,162,75,.08), rgba(13,36,56,.55));
    border:1px solid var(--line); display:grid; grid-template-columns:auto 1fr; gap:1.8rem; align-items:flex-start;
    overflow:hidden;
  }
  .history-box::before{content:'';position:absolute; inset:0; background:radial-gradient(circle at 100% 0%, rgba(201,162,75,.14), transparent 50%); pointer-events:none;}
  .history-icon{width:58px; height:58px; border-radius:16px; background:linear-gradient(135deg,var(--gold),var(--teal)); display:flex; align-items:center; justify-content:center; font-size:1.5rem; flex:none;}
  .history-box h3{font-size:1.2rem; margin-bottom:.7rem; color:var(--gold-soft);}
  .history-box p{color:var(--muted); font-size:.92rem;}
  @media (max-width:560px){.history-box{grid-template-columns:1fr;}}

  /* ===================== COMMITMENT ===================== */
  #commitment{padding-top:1rem;}
  .commit-card{
    max-width:960px; margin:0 auto; text-align:center; position:relative;
    background:linear-gradient(160deg, rgba(23,182,167,.12), rgba(13,36,56,.5));
    border:1px solid var(--line); border-radius:28px; padding:clamp(2rem,5vw,3.6rem);
    box-shadow:0 40px 90px -40px rgba(0,0,0,.6); overflow:hidden;
  }
  .commit-card::before{content:''; position:absolute; inset:0; background:radial-gradient(circle at 50% 0%, rgba(201,162,75,.16), transparent 55%); pointer-events:none;}
  .commit-icon{width:66px; height:66px; margin:0 auto 1.4rem; border-radius:50%; background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.2), transparent), linear-gradient(135deg,var(--teal),var(--gold)); display:flex; align-items:center; justify-content:center; font-size:1.7rem; box-shadow:0 0 30px rgba(23,182,167,.45);}
  .commit-card h2{font-size:clamp(1.4rem,3vw,2rem); font-weight:800; margin-bottom:1.1rem;}
  .commit-card p{color:var(--muted); font-size:.98rem; max-width:680px; margin:0 auto 2.2rem;}
  .commit-badges{display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; position:relative; z-index:1;}
  .commit-badge{background:rgba(255,255,255,.03); border:1px solid var(--line); border-radius:16px; padding:1.3rem 1rem; transition:.35s;}
  .commit-badge:hover{border-color:var(--teal-soft); transform:translateY(-5px);}
  .commit-badge b{display:block; color:var(--teal-soft); font-size:.95rem; margin-bottom:.4rem;}
  .commit-badge span{font-size:.8rem; color:var(--muted);}
  @media (max-width:700px){.commit-badges{grid-template-columns:1fr;}}

  /* ===================== SMART / APP ===================== */
  #smart{background:linear-gradient(160deg, var(--bg-navy), var(--bg-deep)); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .smart-grid{display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center;}
  .smart-list li{display:flex; gap:1rem; margin-bottom:1.4rem; align-items:flex-start;}
  .smart-list .chk{flex:none; width:30px; height:30px; border-radius:9px; background:rgba(23,182,167,.14); border:1px solid var(--teal-soft); display:flex; align-items:center; justify-content:center; color:var(--teal-soft); font-weight:800;}
  .smart-list h4{font-size:1rem; margin-bottom:.3rem;}
  .smart-list p{color:var(--muted); font-size:.86rem;}
  .phone-mock{
    position:relative; width:260px; height:520px; margin:0 auto; border-radius:38px;
    background:linear-gradient(160deg,#0d2438,#081521); border:6px solid #122c40;
    box-shadow:0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.03);
    animation:floaty 7s ease-in-out infinite; transform-style:preserve-3d;
  }
  .phone-mock .notch{position:absolute; top:14px; left:50%; translate:-50% 0; width:80px; height:8px; background:#02060a; border-radius:8px;}
  .phone-mock .screen{position:absolute; inset:26px 12px; border-radius:24px; background:linear-gradient(180deg, rgba(23,182,167,.12), rgba(201,162,75,.06)); padding:1.4rem; overflow:hidden;}
  .phone-mock .app-row{display:flex; justify-content:space-between; align-items:center; margin-bottom:1.1rem;}
  .phone-mock .app-row b{font-size:.8rem;}
  .phone-mock .app-badge{width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,var(--teal),var(--gold));}
  .phone-mock .app-card{background:rgba(255,255,255,.04); border:1px solid var(--line); border-radius:12px; padding:.8rem; margin-bottom:.8rem; font-size:.72rem; color:var(--muted);}
  .phone-mock .app-card b{display:block; color:var(--ivory); font-size:.82rem; margin-bottom:.2rem;}
  .pulse-mini{width:100%; height:34px;}
  .pulse-mini path{stroke:var(--teal-soft); stroke-width:1.5; fill:none;}

  /* engineer credit */
  .engineer-strip{margin-top:3.4rem; display:flex; align-items:center; gap:1.4rem; background:rgba(255,255,255,.02); border:1px solid var(--line); border-radius:16px; padding:1.4rem 1.8rem;}
  .engineer-avatar{width:60px; height:60px; border-radius:50%; background:conic-gradient(from 140deg,var(--teal),var(--gold),var(--teal)); flex:none; display:flex; align-items:center; justify-content:center; font-weight:800; color:#04120f;}
  .engineer-strip h4{font-size:1rem; margin-bottom:.2rem;}
  .engineer-strip span{color:var(--muted); font-size:.82rem;}

  /* ===================== TEAM ===================== */
  .team-tabs{display:flex; gap:.8rem; margin-bottom:2.4rem; flex-wrap:wrap;}
  .team-tab{padding:.55rem 1.3rem; border-radius:30px; border:1px solid var(--line); font-size:.85rem; cursor:pointer; transition:.3s; color:var(--muted);}
  .team-tab.active, .team-tab:hover{border-color:var(--teal-soft); color:var(--teal-soft); background:rgba(23,182,167,.08);}
  .team-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:1.6rem;}
  .team-card{background:var(--bg-panel); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; transition:.4s;}
  .team-card:hover{transform:translateY(-6px); border-color:var(--gold-soft);}
  .team-photo{width:100%; aspect-ratio:1/1; background:linear-gradient(160deg, rgba(23,182,167,.16), rgba(201,162,75,.08)); display:flex; align-items:center; justify-content:center; position:relative;}
  .team-photo .ph-icon{font-size:2.6rem; opacity:.5;}
  .team-photo::after{content:'محل عکس پرسنلی'; position:absolute; bottom:10px; font-size:.68rem; color:var(--muted); letter-spacing:1px;}
  .team-info{padding:1.2rem 1.3rem 1.5rem;}
  .team-info h3{font-size:1.05rem; margin-bottom:.25rem;}
  .team-role{color:var(--teal-soft); font-size:.8rem; margin-bottom:.6rem; display:block;}
  .team-info p{font-size:.82rem; color:var(--muted);}

  /* ===================== CONTACT ===================== */
  #contact{background:linear-gradient(180deg, var(--bg-deep), var(--bg-navy));}
  .contact-card{
    position:relative; border-radius:28px; overflow:hidden;
    background:linear-gradient(150deg, rgba(23,182,167,.1), rgba(13,36,56,.7));
    border:1px solid var(--line); padding:clamp(1.8rem,4vw,3.4rem);
    box-shadow:0 40px 100px -40px rgba(0,0,0,.7);
  }
  .contact-card::before{content:''; position:absolute; inset:0; background:
      radial-gradient(circle at 90% 10%, rgba(201,162,75,.16), transparent 40%),
      radial-gradient(circle at 5% 100%, rgba(23,182,167,.18), transparent 40%);
    pointer-events:none;}
  .contact-grid{display:grid; grid-template-columns:1.1fr 1fr; gap:2.6rem; position:relative; z-index:1;}
  .contact-item{display:flex; gap:1rem; margin-bottom:1.6rem; align-items:flex-start;}
  .contact-icon{flex:none; width:46px; height:46px; border-radius:13px; background:rgba(23,182,167,.14); border:1px solid var(--teal-soft); display:flex; align-items:center; justify-content:center; font-size:1.15rem;}
  .contact-item h4{font-size:.95rem; margin-bottom:.25rem;}
  .contact-item p, .contact-item a{color:var(--muted); font-size:.86rem;}
  .contact-item a:hover{color:var(--teal-soft);}
  .contact-map-placeholder{
    border-radius:20px; border:1px dashed var(--line); min-height:280px;
    display:flex; align-items:center; justify-content:center; flex-direction:column; gap:.6rem;
    background:repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0 12px, transparent 12px 24px);
    text-align:center; padding:2rem;
  }
  .contact-map-placeholder b{color:var(--gold-soft); font-size:.95rem;}
  .contact-map-placeholder span{color:var(--muted); font-size:.78rem; max-width:320px;}
  .social-row{display:flex; gap:.8rem; margin-top:1.6rem;}
  .social-row a{width:42px; height:42px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; transition:.3s;}
  .social-row a:hover{border-color:var(--teal-soft); background:rgba(23,182,167,.12);}
  .future-note{margin-top:1.2rem; font-size:.76rem; color:var(--muted); border-top:1px dashed var(--line); padding-top:1rem;}

  /* portal */
  #portal{
    text-align:center; padding:5rem clamp(1.2rem,6vw,6rem);
    background:linear-gradient(160deg, rgba(23,182,167,.08), transparent);
    border-top:1px solid var(--line);
  }
  #portal .btn-primary{margin-top:1.6rem;}

  footer{padding:2.4rem clamp(1.2rem,6vw,4rem); border-top:1px solid var(--line); display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; color:var(--muted); font-size:.82rem;}

  /* reveal-on-scroll */
  .reveal{opacity:0; transform:translateY(24px); transition:opacity .9s ease, transform .9s ease;}
  .reveal.show{opacity:1; transform:translateY(0);}

  @media (max-width:900px){
    .hero-grid, .smart-grid, .contact-grid{grid-template-columns:1fr;}
    .services-grid{grid-template-columns:1fr 1fr;}
    nav ul{display:none;}
    .burger{display:flex;}
    .hero-visual{order:-1; height:340px;}
  }
  @media (max-width:560px){
    .services-grid{grid-template-columns:1fr;}
    .hero-stats{gap:1.4rem;}
  }