@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg: #17171e;
  --bg-2: #1f1f27;
  --text: #f2f1ee;
  --text-dim: #8c8b96;
  --border: rgba(255,255,255,0.08);
  --purple: #8b7ff0;
  --teal: #1fbf8f;
  --coral: #e2673a;
  --pink: #de5c8c;
  --maxw: 1100px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background-color:var(--bg);
  background-image:radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size:28px 28px;
  color:var(--text);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}

#fx-canvas{
  position:fixed;
  top:0;left:0;
  width:100vw;height:100vh;
  z-index:0;
  pointer-events:none;
  mix-blend-mode:screen;
}

/* header */
.site-header{
  position:fixed;top:0;left:0;right:0;
  z-index:10;
  background:linear-gradient(to bottom, rgba(23,23,30,0.85), rgba(23,23,30,0));
  backdrop-filter:blur(6px);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:76px;
}
.logo{
  font-weight:700;font-size:17px;letter-spacing:-0.01em;
  color:var(--text);text-decoration:none;
}
.logo span{color:var(--text-dim);font-weight:400;margin-left:4px}
.nav{display:flex;gap:32px}
.nav a{
  color:var(--text-dim);text-decoration:none;font-size:14px;font-weight:500;
  transition:color .2s ease;
}
.nav a:hover{color:var(--text)}
.lang-switch{display:flex;gap:2px;border:1px solid var(--border);border-radius:20px;padding:3px}
.lang-switch button{
  background:none;border:none;color:var(--text-dim);
  font-size:12px;font-weight:600;letter-spacing:.03em;
  padding:5px 12px;border-radius:16px;cursor:pointer;
  transition:all .2s ease;font-family:inherit;
}
.lang-switch button.active{background:var(--text);color:var(--bg)}

/* hero */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;align-items:center;
  z-index:1;
}
.hero-inner{max-width:720px}
.hero-eyebrow{
  font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text-dim);margin-bottom:20px;
}
.hero h1{
  font-size:clamp(40px,7vw,76px);
  font-weight:700;letter-spacing:-0.03em;line-height:1.02;
  margin-bottom:24px;
}
.hero-sub{
  font-size:clamp(16px,2vw,19px);
  color:var(--text-dim);
  max-width:540px;
  line-height:1.6;
}
.scroll-hint{
  position:absolute;bottom:40px;left:50%;transform:translateX(-50%);
}
.scroll-hint span{
  display:block;width:1px;height:40px;
  background:linear-gradient(var(--text-dim), transparent);
  animation:scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse{
  0%,100%{opacity:.3}
  50%{opacity:1}
}

/* sections */
.section{
  position:relative;z-index:1;
  padding:120px 0;
  border-top:1px solid var(--border);
  background:rgba(23,23,30,0.8);
}
.section-label{
  font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text-dim);margin-bottom:16px;
}
.section h2{
  font-size:clamp(28px,4vw,42px);
  font-weight:700;letter-spacing:-0.02em;
  margin-bottom:24px;
}
.section-text{
  font-size:17px;color:var(--text-dim);
  max-width:640px;line-height:1.7;
}

/* modules */
.module-row{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:56px;
  align-items:center;
  padding:64px 0;
  border-top:1px solid var(--border);
}
.module-row.reverse .module-media{order:2}
.module-row.reverse .module-copy{order:1}

.module-index{
  display:inline-block;
  font-size:13px;font-weight:600;
  color:var(--text-dim);
  margin-bottom:16px;
}
.module-row:nth-of-type(1) .module-index{color:var(--purple)}
.module-row:nth-of-type(2) .module-index{color:var(--teal)}
.module-row:nth-of-type(3) .module-index{color:var(--coral)}
.module-row:nth-of-type(4) .module-index{color:var(--pink)}

.module-copy h3{
  font-size:24px;font-weight:600;margin-bottom:14px;
}
.module-lead{
  font-size:16px;color:var(--text-dim);line-height:1.6;margin-bottom:20px;
}
.module-list{list-style:none}
.module-list li{
  position:relative;
  padding-left:20px;
  margin-bottom:12px;
  font-size:14.5px;color:var(--text-dim);line-height:1.55;
}
.module-list li::before{
  content:"";
  position:absolute;left:0;top:8px;
  width:5px;height:5px;border-radius:50%;
  background:var(--text-dim);
}

.shot-frame{
  background:var(--bg-2);
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
}
.chrome-bar{
  height:32px;
  background:#0f0f14;
  display:flex;align-items:center;gap:6px;
  padding:0 12px;
}
.chrome-dot{width:7px;height:7px;border-radius:50%;background:var(--border)}
.shot-frame img{display:block;width:100%;height:auto}
.shot-frame-phone{
  max-width:240px;
  border-radius:26px;
  padding:8px;
}
.shot-frame-phone img{border-radius:18px}

@media (max-width:820px){
  .module-row, .module-row.reverse{
    grid-template-columns:1fr;
    gap:28px;
    padding:48px 0;
  }
  .module-row .module-media, .module-row.reverse .module-media{order:1}
  .module-row .module-copy, .module-row.reverse .module-copy{order:2}
}

/* extra modules (no screenshot) */
.extra-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:1px;
  margin-top:64px;
  background:var(--border);
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
}
.extra-card{
  background:var(--bg-2);
  padding:36px 32px;
}
.extra-card:nth-child(1) .module-index{color:var(--pink)}
.extra-card:nth-child(2) .module-index{color:var(--purple)}
.extra-card h3{font-size:19px;font-weight:600;margin-bottom:10px}
.extra-card .module-lead{font-size:14.5px;margin-bottom:16px}

/* customer channels */
.channels-block{
  margin-top:80px;
  padding-top:64px;
  border-top:1px solid var(--border);
}
.channels-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
  gap:32px;
  margin-top:36px;
}
.channel-item h4{
  font-size:16px;font-weight:600;margin-bottom:8px;
}
.channel-item p{
  font-size:14.5px;color:var(--text-dim);line-height:1.6;
}

/* contacts */
.contact-email{
  display:inline-block;margin-top:28px;
  font-size:20px;font-weight:600;
  color:var(--text);text-decoration:none;
  border-bottom:1px solid var(--border);
  padding-bottom:4px;
  transition:border-color .2s ease;
}
.contact-email:hover{border-color:var(--text)}

/* footer */
.site-footer{
  position:relative;z-index:1;
  border-top:1px solid var(--border);
  background:rgba(23,23,30,0.8);
}
.footer-inner{
  height:80px;display:flex;align-items:center;
  font-size:13px;color:var(--text-dim);
}

@media (max-width:640px){
  .nav{display:none}
  .header-inner{height:64px}
  .section{padding:80px 0}
}
