:root{
  --bg:#f4f8fb;
  --panel:#ffffff;
  --panel-soft:#eef4f7;
  --ink:#07111f;
  --muted:#6d7e91;
  --line:rgba(7,17,31,.10);
  --teal:#34bfc1;
  --teal-dark:#188d92;
  --shadow:0 24px 70px rgba(24,50,78,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,sans-serif;overflow-x:hidden}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font:inherit}
em{font-style:normal;color:var(--teal-dark)}
.topbar{
  width:min(1500px,calc(100% - 56px));height:72px;margin:14px auto 0;padding:0 22px;
  display:flex;align-items:center;gap:34px;position:sticky;top:14px;z-index:100;
  background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.9);
  border-radius:22px;box-shadow:0 16px 45px rgba(25,51,80,.10);backdrop-filter:blur(20px)
}
.logo{display:flex;align-items:center;gap:12px;min-width:220px}
.logo-glyph{width:38px;height:30px;position:relative}
.logo-glyph i{position:absolute;left:0;height:3px;background:var(--ink);border-radius:3px;transform-origin:left}
.logo-glyph i:nth-child(1){width:31px;top:4px;transform:rotate(11deg)}
.logo-glyph i:nth-child(2){width:26px;top:13px;transform:rotate(-7deg)}
.logo-glyph i:nth-child(3){width:20px;top:22px;transform:rotate(8deg)}
.logo-word{font-family:Space Grotesk,sans-serif;font-weight:700;letter-spacing:.22em;font-size:20px}
.logo-sub{font-size:9px;line-height:1.25;letter-spacing:.14em;color:#667789}
.nav{display:flex;justify-content:center;gap:28px;flex:1}
.nav a{font-size:13px;font-weight:600}
.nav a:hover{color:var(--teal-dark)}
.demo-button{background:var(--ink);color:white;border-radius:14px;padding:13px 18px;font-size:12px;font-weight:700}
.menu-button{display:none;border:0;background:none}
.menu-button span{display:block;width:24px;height:2px;background:var(--ink);margin:6px}

.hero{min-height:760px;max-width:1500px;margin:0 auto;padding:54px 48px 72px;display:grid;grid-template-columns:.92fr 1.28fr;align-items:center;gap:64px;position:relative;overflow:hidden}
.hero-copy{position:relative;z-index:4}
.kicker,.section-kicker{font-size:11px;letter-spacing:.18em;color:var(--teal-dark);font-weight:700}
.hero h1{font-family:Space Grotesk,sans-serif;font-size:clamp(58px,6.3vw,94px);line-height:.98;letter-spacing:-.06em;margin:20px 0 22px}
.hero-text{font-size:17px;line-height:1.75;color:var(--muted);max-width:580px}
.hero-actions{display:flex;gap:12px;margin-top:30px}
.primary-button,.secondary-button{padding:15px 21px;border-radius:14px;font-weight:700;font-size:13px}
.primary-button{background:var(--ink);color:white}
.secondary-button{background:white;border:1px solid var(--line)}
.hero-device-wrap{position:relative;z-index:3}
.hero-device-wrap::before{
  content:"";
  position:absolute;
  inset:-22px;
  border-radius:38px;
  background:linear-gradient(110deg,transparent 20%,rgba(52,191,193,.22) 42%,rgba(101,168,255,.18) 52%,transparent 72%);
  background-size:220% 100%;
  filter:blur(18px);
  opacity:.75;
  z-index:0;
  animation:deviceShimmer 4.5s ease-in-out infinite;
}
@keyframes deviceShimmer{
  0%,100%{background-position:130% 0;opacity:.35}
  50%{background-position:-30% 0;opacity:.8}
}
.device{background:#081321;padding:8px;border-radius:30px;box-shadow:0 35px 90px rgba(19,44,73,.22);position:relative;z-index:3;animation:deviceFloat 6s ease-in-out infinite}
@keyframes deviceFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.device-bar{height:38px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;color:#b7c5d5;font-size:9px;letter-spacing:.06em}
.device-bar b{display:inline-block;width:7px;height:7px;border-radius:50%;background:#53e1a9;box-shadow:0 0 12px #53e1a9;margin-right:7px}
.device-bar span:last-child{color:#57dfad}
.device img{width:100%;aspect-ratio:1.93;object-fit:contain;background:white;border-radius:18px}
.float-card{position:absolute;z-index:5;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.95);box-shadow:0 16px 40px rgba(27,55,84,.14);backdrop-filter:blur(16px);border-radius:16px;padding:13px 15px;display:flex;gap:11px;align-items:center;min-width:215px}
.float-card>span{width:38px;height:38px;border-radius:12px;background:#e7fbf8;color:var(--teal-dark);display:grid;place-items:center}
.float-card b{display:block;font-size:12px}.float-card small{display:block;font-size:9px;color:var(--muted);margin-top:3px}
.float-card-a{left:-40px;bottom:-22px}.float-card-b{right:-28px;top:-18px}

.hero-grid-motion{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  overflow:hidden;
}
.hero-grid-motion::before{
  content:"";
  position:absolute;
  inset:-35%;
  background:
    radial-gradient(circle at 50% 50%,rgba(52,191,193,.17),transparent 34%),
    conic-gradient(from 0deg at 50% 50%,transparent,rgba(52,191,193,.12),transparent 26%,rgba(101,168,255,.10),transparent 52%);
  animation:ambientRotate 16s linear infinite;
}
.grid-plane{
  position:absolute;
  left:50%;
  width:180%;
  height:150%;
  transform-origin:center;
  background-image:
    linear-gradient(rgba(52,191,193,.24) 1px,transparent 1px),
    linear-gradient(90deg,rgba(52,191,193,.24) 1px,transparent 1px);
  mask-image:radial-gradient(ellipse at center,black 22%,rgba(0,0,0,.95) 58%,transparent 86%);
  filter:drop-shadow(0 0 12px rgba(52,191,193,.18));
}
.grid-plane--back{
  top:-70%;
  transform:translateX(-50%) rotateX(68deg) scale(1.42);
  background-size:52px 52px;
  opacity:.55;
  animation:gridBack 7s linear infinite;
}
.grid-plane--front{
  bottom:-92%;
  transform:translateX(-50%) rotateX(66deg) scale(1.72);
  background-size:72px 72px;
  opacity:.72;
  animation:gridFront 5.5s linear infinite;
}
.grid-orbit{
  position:absolute;
  left:67%;
  top:50%;
  border:2px solid rgba(52,191,193,.36);
  border-radius:50%;
  transform:translate(-50%,-50%);
  box-shadow:0 0 28px rgba(52,191,193,.13),inset 0 0 22px rgba(52,191,193,.08);
}
.grid-orbit--one{
  width:50%;
  aspect-ratio:1;
  animation:orbitOne 8s ease-in-out infinite;
}
.grid-orbit--two{
  width:70%;
  aspect-ratio:1;
  border-style:dashed;
  animation:orbitTwo 11s linear infinite;
}
@keyframes ambientRotate{to{transform:rotate(360deg)}}
@keyframes gridBack{
  from{background-position:0 0,0 0}
  to{background-position:0 52px,52px 0}
}
@keyframes gridFront{
  from{background-position:0 0,0 0}
  to{background-position:0 72px,72px 0}
}
@keyframes orbitOne{
  0%,100%{transform:translate(-50%,-50%) scale(.94);opacity:.35}
  50%{transform:translate(-50%,-50%) scale(1.07);opacity:.9}
}
@keyframes orbitTwo{
  from{transform:translate(-50%,-50%) rotate(0deg)}
  to{transform:translate(-50%,-50%) rotate(360deg)}
}

.stats-strip{max-width:1420px;margin:0 auto 96px;background:white;border:1px solid var(--line);border-radius:22px;box-shadow:0 15px 50px rgba(28,55,82,.08);display:grid;grid-template-columns:repeat(4,1fr);padding:24px}
.stats-strip div{display:flex;align-items:center;gap:14px;padding:0 25px;border-right:1px solid var(--line)}
.stats-strip div:last-child{border-right:0}
.stats-strip strong{font-family:Space Grotesk,sans-serif;font-size:30px;color:var(--teal-dark)}
.stats-strip span{font-size:12px;color:var(--muted)}

.section{max-width:1420px;margin:0 auto;padding:110px 44px}
.section-heading{margin-bottom:50px}
.section-heading.centered{text-align:center;max-width:760px;margin:0 auto 50px}
.section-heading h2{font-family:Space Grotesk,sans-serif;font-size:clamp(42px,5vw,70px);line-height:1;letter-spacing:-.05em;margin:12px 0}
.section-heading p:not(.section-kicker){color:var(--muted);line-height:1.7}
.device-cards{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}
.feature-card{background:white;border:1px solid var(--line);border-radius:24px;padding:32px;min-height:260px;box-shadow:0 12px 40px rgba(27,52,79,.06);overflow:hidden}
.feature-card-large{grid-row:span 2}
.feature-card span,.pillar span{font-size:10px;letter-spacing:.15em;color:var(--teal-dark);font-weight:700}
.feature-card h3,.pillar h3{font-family:Space Grotesk,sans-serif;font-size:24px;margin:42px 0 12px}
.feature-card p,.pillar p{color:var(--muted);line-height:1.7;font-size:13px}
.feature-card-large img{margin:45px -15px -60px;width:calc(100% + 30px);border-radius:18px;box-shadow:0 -10px 35px rgba(20,45,72,.08)}

.tests{padding-top:115px}
.test-panel{background:white;border:1px solid var(--line);border-radius:24px;padding:34px;margin-bottom:18px;box-shadow:0 14px 45px rgba(24,50,76,.06)}
.panel-title{display:flex;align-items:center;justify-content:center;gap:15px;font-size:11px;font-weight:700;letter-spacing:.12em;color:#506174;margin-bottom:22px}
.panel-title span{width:20px;height:1px;background:var(--teal)}
.icon-grid{display:grid;gap:22px 18px;justify-items:center;align-items:start}
.icon-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.icon-grid-eight{grid-template-columns:repeat(8,minmax(0,1fr))}
.icon-card{width:100%;border:0;background:transparent;cursor:pointer;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;color:var(--ink)}
.icon-card b{font-size:11px}
.icon-image{width:96px;height:96px;border-radius:18px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f6f8fa;border:1px solid rgba(7,17,31,.06);box-shadow:0 8px 25px rgba(22,48,76,.08);transition:.25s}
.icon-image img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.icon-card:hover .icon-image{transform:translateY(-4px);box-shadow:0 16px 34px rgba(22,48,76,.13)}
.special-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.special-grid button{border:1px solid var(--line);background:#f8fafb;border-radius:16px;padding:10px;aspect-ratio:1.25;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;transition:.25s}
.special-grid img{width:100%;height:100%;object-fit:contain;object-position:center}
.special-grid button:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(25,51,78,.12)}

.technology{padding-top:120px}
.pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pillar{min-height:310px;background:white;border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:0 12px 40px rgba(24,50,77,.06)}
.gallery-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:16px}
.gallery-grid button{border:1px solid var(--line);background:white;border-radius:18px;padding:10px;overflow:hidden;cursor:zoom-in;display:flex;align-items:center;justify-content:center}
.gallery-grid button:first-child{grid-row:span 2}
.gallery-grid img{width:100%;height:100%;min-height:220px;object-fit:contain;object-position:center;border-radius:12px;background:#f8fafb}

.contact{margin-top:60px;margin-bottom:90px;background:var(--ink);color:white;border-radius:28px;display:flex;justify-content:space-between;align-items:center}
.contact .section-kicker{color:#78e5d5}
.contact h2{font-family:Space Grotesk,sans-serif;font-size:46px;margin:10px 0 0}
.contact .primary-button{background:white;color:var(--ink)}
footer{border-top:1px solid var(--line);padding:35px 5vw;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}
.footer-logo{min-width:auto}

.modal,.lightbox{position:fixed;inset:0;background:rgba(4,12,22,.76);backdrop-filter:blur(10px);z-index:200;display:none;place-items:center;padding:25px}
.modal.open,.lightbox.open{display:grid}
.modal-card{width:min(820px,94vw);background:white;border-radius:24px;overflow:hidden;display:grid;grid-template-columns:1.15fr .85fr;position:relative;box-shadow:0 35px 100px rgba(0,0,0,.3)}
.modal-card>img{width:100%;height:100%;min-height:380px;object-fit:contain;background:#f7f9fb;padding:20px}
.modal-card>div{padding:42px 34px;display:flex;flex-direction:column;justify-content:center}
.modal-card h3{font-family:Space Grotesk,sans-serif;font-size:34px;margin:0 0 15px}
.modal-card p{color:var(--muted);line-height:1.7}
.modal-close,.lightbox-close{position:absolute;right:18px;top:14px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(7,17,31,.08);font-size:25px;cursor:pointer;z-index:3}
.lightbox img{max-width:92vw;max-height:87vh;border-radius:16px;background:white;padding:10px;object-fit:contain}

@media(max-width:1000px){
  .nav,.demo-button{display:none}
  .menu-button{display:block;margin-left:auto}
  .nav.mobile-open{display:flex;position:absolute;top:82px;left:0;right:0;background:white;border-radius:18px;padding:22px;flex-direction:column;box-shadow:var(--shadow)}
  .hero{grid-template-columns:1fr;min-height:auto;padding-top:70px}
  .hero-device-wrap{max-width:760px}
  .stats-strip{grid-template-columns:repeat(2,1fr)}
  .stats-strip div:nth-child(2){border-right:0}
  .stats-strip div:nth-child(-n+2){padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
  .device-cards{grid-template-columns:1fr}
  .feature-card-large{grid-row:auto}
  .icon-grid-five{grid-template-columns:repeat(3,1fr)}
  .icon-grid-eight{grid-template-columns:repeat(4,1fr)}
  .special-grid{grid-template-columns:repeat(2,1fr)}
  .pillar-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .gallery-grid button:first-child{grid-row:auto;grid-column:span 2}
}
@media(max-width:650px){
  .topbar{width:calc(100% - 20px);padding:0 16px}
  .logo{min-width:0}.logo-sub{display:none}
  .hero{padding:55px 16px 70px}
  .hero h1{font-size:52px}
  .hero-actions{flex-direction:column;align-items:flex-start}
  .float-card{display:none}
  .stats-strip{grid-template-columns:1fr;margin-left:14px;margin-right:14px}
  .stats-strip div{border-right:0!important;border-bottom:1px solid var(--line);padding:16px 5px!important;margin:0!important}
  .stats-strip div:last-child{border-bottom:0}
  .section{padding:80px 16px}
  .icon-grid-five,.icon-grid-eight{grid-template-columns:repeat(2,1fr)}
  .icon-image{width:88px;height:88px}
  .special-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr}
  .gallery-grid button:first-child{grid-column:auto}
  .contact{flex-direction:column;align-items:flex-start;gap:28px}
  .contact h2{font-size:38px}
  footer{flex-direction:column;gap:18px;text-align:center}
  .modal-card{grid-template-columns:1fr}
  .modal-card>img{min-height:240px}
}
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* Wider desktop composition */
@media (min-width: 1200px){
  .hero-copy{
    padding-left:10px;
    max-width:650px;
  }
  .hero-device-wrap{
    width:100%;
    max-width:860px;
    justify-self:end;
  }
  .device{
    width:100%;
  }
  .hero-text{
    max-width:610px;
  }
  .stats-strip{
    padding:26px 34px;
  }
  .device-cards,
  .test-panel,
  .pillar-grid,
  .gallery-grid{
    width:100%;
  }
}

/* Keep air around the content on very wide screens */
@media (min-width: 1650px){
  .topbar{
    width:min(1580px,calc(100% - 96px));
  }
  .hero{
    max-width:1580px;
    padding-left:68px;
    padding-right:68px;
  }
  .section,
  .stats-strip{
    max-width:1480px;
  }
}

.hero-remote{position:absolute;z-index:5;right:-48px;bottom:-34px;width:clamp(120px,12vw,190px);transform:rotate(8deg);filter:drop-shadow(0 28px 28px rgba(7,17,31,.30));animation:remoteFloat 5.8s ease-in-out infinite}
@keyframes remoteFloat{0%,100%{transform:rotate(8deg) translateY(0)}50%{transform:rotate(5deg) translateY(-11px)}}
.remote-section{padding-top:130px;padding-bottom:130px}.remote-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px;align-items:center;background:linear-gradient(145deg,#fff,#eef7f8);border:1px solid var(--line);border-radius:32px;padding:68px;box-shadow:0 28px 80px rgba(24,50,78,.10);overflow:hidden;position:relative}.remote-layout::after{content:"";position:absolute;width:420px;height:420px;right:-180px;top:-220px;border-radius:50%;background:rgba(52,191,193,.16);filter:blur(85px)}.remote-visual{min-height:620px;position:relative;display:flex;align-items:center;justify-content:center}.remote-halo{position:absolute;width:460px;height:460px;border-radius:50%;border:1px solid rgba(52,191,193,.30);box-shadow:0 0 0 65px rgba(52,191,193,.07),0 0 0 130px rgba(52,191,193,.035);animation:remoteHalo 7s ease-in-out infinite}@keyframes remoteHalo{0%,100%{transform:scale(.96);opacity:.6}50%{transform:scale(1.04);opacity:1}}.remote-product{position:relative;z-index:2;height:590px;width:auto;object-fit:contain;filter:drop-shadow(0 34px 32px rgba(7,17,31,.30));transform:rotate(-3deg);transition:transform .25s ease}.remote-callout{position:absolute;z-index:3;display:flex;align-items:center;gap:10px;color:#2c5364;font-size:11px;font-weight:700;letter-spacing:.03em}.remote-callout i{width:90px;height:1px;background:linear-gradient(90deg,var(--teal),transparent)}.callout-power{left:0;top:110px}.callout-nav{right:-10px;top:280px;flex-direction:row-reverse}.callout-shortcuts{left:5px;bottom:120px}.remote-copy{position:relative;z-index:2}.remote-copy h2{font-family:Space Grotesk,sans-serif;font-size:clamp(46px,5vw,72px);line-height:1;letter-spacing:-.055em;margin:14px 0 24px}.remote-lead{color:var(--muted);line-height:1.8;font-size:16px;max-width:660px}.remote-points{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:32px}.remote-points article{min-height:110px;background:rgba(255,255,255,.76);border:1px solid rgba(7,17,31,.08);border-radius:18px;padding:18px;display:flex;gap:15px}.remote-points article>span{width:34px;height:34px;border-radius:11px;background:#e5f8f6;color:var(--teal-dark);display:grid;place-items:center;font-size:10px;font-weight:700;flex:none}.remote-points b{display:block;margin-bottom:7px}.remote-points p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.fourteen-card{margin-top:18px;padding:22px 26px;background:var(--ink);color:white;border-radius:20px;display:flex;align-items:center;gap:22px}.fourteen-card strong{color:#6ae0d7;font-family:Space Grotesk,sans-serif;font-size:58px;line-height:1}.fourteen-card b,.fourteen-card span{display:block}.fourteen-card b{font-size:16px}.fourteen-card span{color:#a9b8c8;font-size:11px;margin-top:6px}
@media(max-width:1000px){.hero-remote{right:2%;width:150px}.remote-layout{grid-template-columns:1fr;gap:35px;padding:44px}.remote-visual{min-height:560px}}
@media(max-width:650px){.hero-remote{width:105px;right:0;bottom:-18px}.remote-layout{padding:30px 18px;border-radius:24px}.remote-visual{min-height:460px}.remote-product{height:430px}.remote-halo{width:320px;height:320px}.remote-callout{display:none}.remote-points{grid-template-columns:1fr}.remote-copy h2{font-size:44px}}


/* VELAN brand */
.logo-image-link{
  min-width:245px;
  height:54px;
  display:flex;
  align-items:center;
}
.velan-logo{
  display:block;
  width:235px;
  height:52px;
  object-fit:contain;
  object-position:left center;
}
.velan-logo-footer{
  width:190px;
  height:auto;
}
.hero-remote,
.remote-product{
  image-rendering:auto;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}

/* Cleaner product edge and realistic controlled shadow */
.hero-remote{
  filter:
    drop-shadow(0 2px 1px rgba(255,255,255,.16))
    drop-shadow(0 26px 25px rgba(7,17,31,.28));
}
.remote-product{
  filter:
    drop-shadow(0 1px 1px rgba(255,255,255,.14))
    drop-shadow(0 30px 30px rgba(7,17,31,.28));
}

@media(max-width:1000px){
  .logo-image-link{min-width:205px}
  .velan-logo{width:195px}
}
@media(max-width:650px){
  .logo-image-link{min-width:150px}
  .velan-logo{width:145px;height:44px}
}


/* Above-the-fold hero composition */
@media (min-width: 1001px){
  .hero{
    min-height:650px;
    height:calc(100svh - 105px);
    max-height:720px;
    padding-top:24px;
    padding-bottom:30px;
    align-items:start;
  }
  .hero-copy{
    margin-top:74px;
  }
  .hero-device-wrap{
    margin-top:28px;
    max-width:790px;
    transform:translateY(-4px);
  }
  .hero-remote{
    width:clamp(118px,9.6vw,158px);
    right:8px;
    bottom:4px;
  }
  .float-card-b{
    right:20px;
    top:8px;
  }
  .float-card-a{
    left:-20px;
    bottom:10px;
  }
  .stats-strip{
    position:relative;
    z-index:7;
    margin-top:-14px;
  }
}

@media (min-width: 1500px) and (min-height: 850px){
  .hero{
    height:calc(100svh - 108px);
    max-height:760px;
  }
  .hero-copy{margin-top:82px}
  .hero-device-wrap{margin-top:34px;max-width:830px}
  .hero-remote{width:160px;right:8px;bottom:2px}
}

@media (min-width: 1001px) and (max-height: 760px){
  .hero{
    min-height:570px;
    height:calc(100svh - 92px);
    padding-top:12px;
    padding-bottom:18px;
  }
  .hero-copy{margin-top:42px}
  .hero h1{font-size:clamp(52px,5.5vw,78px)}
  .hero-text{font-size:15px;line-height:1.6}
  .hero-actions{margin-top:20px}
  .hero-device-wrap{margin-top:14px;max-width:730px}
  .hero-remote{width:138px;bottom:2px}
}
