/* Intraform 2026 — clean, dark, elegant */

:root {
  --bg: #05080c;
  --surface: rgba(13, 18, 26, 0.85);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(55,240,207,0.22);
  --teal: #37f0cf;
  --teal-soft: rgba(55,240,207,0.08);
  --teal-glow: rgba(55,240,207,0.12);
  --text: #f0f6f4;
  --text-dim: rgba(220,232,228,0.6);
  --text-muted: rgba(200,215,210,0.4);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --maxw: 1120px;
  --nav-h: 56px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{
  font-family:var(--font);font-size:15px;line-height:1.65;
  color:var(--text-dim);background:var(--bg);overflow-x:hidden
}
::selection{background:rgba(55,240,207,0.2);color:#fff}
:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:4px}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.skip-link{
  position:fixed;top:-100%;left:16px;z-index:999;
  padding:8px 14px;background:var(--teal);color:#05080c;
  font-weight:600;border-radius:6px;transition:top .15s
}
.skip-link:focus{top:16px}

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

/* Navigation */
.nav{
  position:fixed;top:14px;left:14px;right:14px;z-index:100;
  display:flex;justify-content:center;pointer-events:none
}
.nav-inner{
  pointer-events:all;
  display:flex;align-items:center;justify-content:space-between;
  width:100%;max-width:var(--maxw);height:var(--nav-h);
  padding:0 8px 0 18px;
  background:rgba(8,12,18,0.78);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
  border:1px solid var(--border);border-radius:var(--radius-full);
  box-shadow:0 12px 40px rgba(0,0,0,0.35)
}
.logo{
  display:flex;align-items:center;gap:10px;
  font-family:var(--font-display);font-weight:600;font-size:1.05rem;color:var(--text)
}
.logo-mark{
  display:flex;align-items:center;justify-content:center;
  width:28px;height:28px;border-radius:8px;
  background:linear-gradient(145deg,rgba(55,240,207,0.15),rgba(77,181,255,0.1));
  border:1px solid rgba(55,240,207,0.2);color:var(--teal);
  font-size:.85rem;font-weight:700;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 4px 12px rgba(55,240,207,0.08)
}
.nav-right{display:flex;align-items:center;gap:2px}
.nav-link{
  padding:8px 14px;border-radius:var(--radius-full);color:var(--text-dim);
  font-size:.88rem;font-weight:500;transition:all .2s;white-space:nowrap
}
.nav-link:hover{color:var(--text);background:rgba(255,255,255,0.05)}
.nav-cta{
  background:var(--teal-soft);color:var(--teal)!important;
  border:1px solid rgba(55,240,207,0.18);padding:8px 16px!important;
  margin-left:6px
}
.nav-cta:hover{background:rgba(55,240,207,0.15)!important;border-color:rgba(55,240,207,0.3)!important}
.menu-btn{display:none;width:40px;height:40px;border-radius:var(--radius-full);
  background:rgba(255,255,255,0.06);border:1px solid var(--border);
  color:var(--text-dim);font-size:1.4rem;cursor:pointer;align-items:center;justify-content:center}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 22px;border-radius:var(--radius-full);
  font-size:.92rem;font-weight:600;line-height:1;
  border:none;cursor:pointer;transition:all .25s var(--ease);
  white-space:nowrap
}
.btn-primary{
  background:var(--teal);color:#05080c;
  box-shadow:0 10px 28px rgba(55,240,207,0.15)
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(55,240,207,0.22);background:#fff}
.btn-primary:active{transform:translateY(0)}
.btn-outline{
  color:var(--text-dim);border:1px solid var(--border);
  background:rgba(255,255,255,0.03)
}
.btn-outline:hover{color:var(--text);border-color:rgba(55,240,207,0.3);background:var(--teal-soft)}
.btn-full{width:100%;justify-content:center}
.btn svg{transition:transform .2s var(--ease)}
.btn:hover svg{transform:translateX(3px)}

/* Section basics */
section{padding:100px 0}
.label{
  display:inline-block;padding:5px 12px;border-radius:var(--radius-full);
  background:var(--teal-soft);color:var(--teal);border:1px solid rgba(55,240,207,0.12);
  font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  margin-bottom:16px
}
h2{
  font-family:var(--font-display);font-size:clamp(1.7rem,3.2vw,2.5rem);
  font-weight:600;line-height:1.12;color:var(--text);margin-bottom:12px;
  letter-spacing:-.02em
}
.lede{color:var(--text-muted);font-size:1rem;max-width:580px}

/* Hero */
.hero{
  min-height:100vh;padding:140px 0 80px;
  display:flex;align-items:center;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(55,240,207,0.06), transparent),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(77,181,255,0.04), transparent),
    linear-gradient(180deg,#05080c,#080e16 40%,#05080c)
}
.hero .container{
  display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center
}
.hero-text h1{
  font-family:var(--font-display);font-size:clamp(2.5rem,5vw,4.5rem);
  font-weight:700;line-height:.96;color:var(--text);margin-bottom:12px;
  letter-spacing:-.03em
}
.sub{
  font-family:var(--font-display);font-size:1.15rem;font-weight:500;
  color:var(--teal);margin-bottom:28px
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:0}
.hero-text>:last-child{margin-bottom:0}

/* Hero board */
.hero-board{min-width:0}
.board-card{
  width:min(100%,480px);margin-left:auto;
  padding:18px;border-radius:var(--radius-lg);
  background:linear-gradient(180deg,rgba(255,255,255,0.06),rgba(255,255,255,0.02)),rgba(10,15,22,0.85);
  border:1px solid var(--border);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  box-shadow:0 24px 80px rgba(0,0,0,0.4),inset 0 1px 0 rgba(255,255,255,0.06)
}
.board-head{
  display:flex;justify-content:space-between;align-items:center;margin-bottom:12px
}
.board-label{color:var(--text-muted);font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.board-pill{
  display:flex;align-items:center;gap:5px;padding:4px 9px;
  border-radius:var(--radius-full);background:var(--teal-soft);
  color:var(--teal);font-size:.72rem;font-weight:600
}
.dot{width:6px;height:6px;border-radius:50%;background:var(--teal);box-shadow:0 0 8px var(--teal)}
.board-rows{display:grid;gap:6px;margin-bottom:12px}
.board-row{
  display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;
  padding:10px 12px;border-radius:var(--radius);background:rgba(255,255,255,0.03);
  border:1px solid transparent;transition:all .2s
}
.board-row.active{border-color:rgba(55,240,207,0.12);background:rgba(55,240,207,0.04)}
.initial{
  width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.06);border:1px solid var(--border);
  color:var(--teal);font-size:.75rem;font-weight:700
}
.board-row div strong{display:block;color:var(--text);font-size:.88rem;font-weight:600}
.board-row div span{color:var(--text-muted);font-size:.78rem}
.tag{
  padding:3px 8px;border-radius:var(--radius-full);
  background:var(--teal-soft);color:var(--teal);font-size:.68rem;font-weight:600;
  white-space:nowrap
}
.tag.dim{background:rgba(255,255,255,0.04);color:var(--text-muted)}

.board-chat{
  display:grid;gap:6px;padding:12px;margin-bottom:12px;
  background:rgba(0,0,0,0.25);border-radius:var(--radius);
  border:1px solid var(--border)
}
.msg{max-width:88%;padding:9px 12px;border-radius:10px}
.msg span{display:block;font-size:.68rem;font-weight:600;color:var(--text-muted);margin-bottom:2px}
.msg p{font-size:.82rem;color:var(--text-dim);line-height:1.5}
.msg.left{background:rgba(255,255,255,0.04)}
.msg.right{justify-self:end;background:rgba(55,240,207,0.07);border:1px solid rgba(55,240,207,0.1)}
.board-metrics{
  display:grid;grid-template-columns:repeat(3,1fr);gap:6px
}
.board-metrics div{
  padding:10px 8px;border-radius:var(--radius);text-align:center;
  background:rgba(255,255,255,0.03);border:1px solid var(--border)
}
.board-metrics strong{
  display:block;font-family:var(--font-display);color:var(--text);
  font-size:1.15rem;line-height:1.2
}
.board-metrics span{color:var(--text-muted);font-size:.72rem}

/* Services grid */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:36px}
.svc-card{
  padding:28px;border-radius:var(--radius-lg);
  background:var(--surface);border:1px solid var(--border);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  transition:all .4s var(--ease)
}
.svc-card:hover{transform:translateY(-6px);border-color:var(--border-hover);background:rgba(16,22,32,0.9)}
.svc-icon{
  width:42px;height:42px;display:flex;align-items:center;justify-content:center;
  border-radius:var(--radius);background:var(--teal-soft);border:1px solid rgba(55,240,207,0.15);
  color:var(--teal);margin-bottom:16px
}
.svc-card h3{font-family:var(--font-display);font-size:1.05rem;font-weight:600;color:var(--text);margin-bottom:8px}
.svc-card p{font-size:.9rem;color:var(--text-dim);line-height:1.6}

/* Problems grid */
.prob-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:36px}
.prob-card{
  padding:28px;border-radius:var(--radius-lg);
  background:var(--surface);border:1px solid var(--border);
  transition:all .4s var(--ease)
}
.prob-card:hover{transform:translateY(-6px);border-color:var(--border-hover);background:rgba(16,22,32,0.9)}
.prob-num{font-family:var(--font-display);font-weight:700;font-size:.75rem;color:var(--teal);margin-bottom:12px;display:block}
.prob-card h3{font-family:var(--font-display);font-size:1rem;font-weight:600;color:var(--text);margin-bottom:8px}
.prob-card p{font-size:.9rem;color:var(--text-dim);line-height:1.6}

/* Process */
.proc-steps{display:grid;gap:10px;margin-top:36px}
.proc-step{
  display:flex;gap:18px;align-items:flex-start;
  padding:22px 26px;border-radius:var(--radius-lg);
  background:var(--surface);border:1px solid var(--border);
  transition:all .4s var(--ease)
}
.proc-step:hover{transform:translateX(6px);border-color:var(--border-hover);background:rgba(16,22,32,0.9)}
.proc-num{
  flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;
  border-radius:var(--radius);background:var(--teal-soft);border:1px solid rgba(55,240,207,0.18);
  color:var(--teal);font-family:var(--font-display);font-weight:700;font-size:.9rem
}
.proc-step h3{font-family:var(--font-display);font-size:1rem;font-weight:600;color:var(--text);margin-bottom:4px}
.proc-step p{font-size:.9rem;color:var(--text-dim);line-height:1.6}

/* Demos */
.demo-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:36px}
.demo-card{
  display:flex;flex-direction:column;padding:28px;border-radius:var(--radius-lg);
  background:var(--surface);border:1px solid var(--border);
  transition:all .4s var(--ease)
}
.demo-card:hover{transform:translateY(-6px);border-color:var(--border-hover);background:rgba(16,22,32,0.9)}
.demo-icon{
  width:44px;height:44px;display:flex;align-items:center;justify-content:center;
  border-radius:var(--radius);background:var(--teal-soft);border:1px solid rgba(55,240,207,0.15);
  color:var(--teal);margin-bottom:20px
}
.demo-card strong{font-family:var(--font-display);font-size:1.1rem;font-weight:600;color:var(--text);margin-bottom:8px}
.demo-card p{font-size:.9rem;color:var(--text-dim);line-height:1.6;flex:1;margin-bottom:16px}
.demo-cta{font-size:.9rem;font-weight:600;color:var(--teal);display:inline-flex;gap:4px;transition:gap .2s var(--ease)}
.demo-card:hover .demo-cta{gap:8px}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.contact-info h2{margin-bottom:12px}
.contact-info p{color:var(--text-dim);font-size:.95rem;margin-bottom:24px}
.contact-links{display:flex;flex-direction:column;gap:10px}
.contact-links span{color:var(--text-muted);font-size:.88rem}

.contact-form{
  padding:28px;border-radius:var(--radius-lg);
  background:var(--surface);border:1px solid var(--border)
}
.field{margin-bottom:14px}
.field label{display:block;font-size:.82rem;font-weight:500;color:var(--text-dim);margin-bottom:4px}
.field input,.field select,.field textarea{
  width:100%;padding:10px 12px;border-radius:8px;
  border:1px solid var(--border);background:rgba(255,255,255,0.03);
  color:var(--text);font-family:var(--font);font-size:.9rem;outline:none;
  transition:border-color .2s
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(55,240,207,0.1)}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2.5 3.5l2.5 3 2.5-3' stroke='%238c9e98' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px}
.field textarea{resize:vertical;min-height:80px}
.field.half{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field.check{display:flex;align-items:center;gap:8px}
.field.check input{width:16px;height:16px;accent-color:var(--teal)}
.field.check label{font-size:.82rem;color:var(--text-muted);margin:0}
.form-status{margin-top:10px;padding:8px 12px;border-radius:6px;font-size:.85rem;display:none}
.form-status.success{display:block;background:var(--teal-soft);border:1px solid rgba(55,240,207,0.15);color:var(--teal)}
.form-status.error{display:block;background:rgba(239,68,68,0.08);border:1px solid rgba(239,68,68,0.15);color:#fca5a5}

/* Footer */
footer{padding:48px 0;border-top:1px solid var(--border);background:rgba(0,0,0,0.3)}
.footer-inner{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.footer-brand{display:flex;align-items:center;gap:8px;font-family:var(--font-display);font-weight:600;color:var(--text);font-size:1rem}
.footer-brand .logo-mark{width:24px;height:24px;font-size:.75rem}
.tagline{color:var(--text-muted);font-size:.9rem}
.footer-links{display:flex;gap:18px}
.footer-links a{color:var(--text-muted);font-size:.85rem;transition:color .2s}
.footer-links a:hover{color:var(--teal)}
.copy{color:var(--text-muted);font-size:.78rem;opacity:.5}

/* Scroll reveal */
[data-reveal]{
  opacity:0;transform:translateY(30px) scale(0.97);
  transition:opacity .7s var(--ease),transform .7s var(--ease)
}
[data-reveal].visible{opacity:1;transform:translateY(0) scale(1)}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  [data-reveal]{opacity:1;transform:none}
}

/* Breakpoints */
@media(max-width:900px){
  .hero .container{grid-template-columns:1fr;gap:36px}
  .hero-board .board-card{margin:0 auto;width:100%;max-width:440px}
  .svc-grid,.prob-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr;gap:28px}
}
@media(max-width:768px){
  .nav{left:10px;right:10px;top:10px}
  .nav-right{display:none}
  .menu-btn{display:flex}
  section{padding:72px 0}
  .hero{padding:120px 0 60px;min-height:auto}
  .hero-text h1{font-size:clamp(2.2rem,11vw,3.5rem)}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%;justify-content:center}
  .demo-cards{grid-template-columns:1fr}
  .field.half{grid-template-columns:1fr}
}
@media(max-width:480px){
  .container{padding:0 16px}
  .hero{padding:108px 0 48px}
  .hero-text h1{font-size:clamp(1.9rem,10vw,2.8rem)}
}