/* ===== Dotze — Design Tokens ===== */
:root{
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --surface: #161616;
  --surface-2: #1c1c1c;
  --border: rgba(255,255,255,0.08);
  --text: #f5f5f4;
  --text-dim: #a3a3a0;
  --text-faint: #6b6b68;

  --orange: #c47a45;
  --orange-2: #d4936a;
  --teal: #4a9d92;
  --teal-2: #5fb0a4;

  --gradient-brand: linear-gradient(100deg, var(--orange) 0%, var(--orange-2) 45%, var(--teal) 75%, var(--teal-2) 100%);
  --gradient-brand-soft: linear-gradient(100deg, rgba(196,122,69,0.10) 0%, rgba(74,157,146,0.10) 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; line-height:1.15; font-weight:700; letter-spacing:-0.02em; }
p{ margin:0; }
button{ font-family: inherit; cursor:pointer; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count:1 !important; transition-duration: 0.001ms !important; scroll-behavior:auto !important; }
}

::selection{ background: var(--teal); color:#06120f; }

:focus-visible{
  outline: 2px solid var(--teal-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Ambient background glow ===== */
.bg-glow{
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}
.bg-glow::before,
.bg-glow::after{
  content:"";
  position:absolute;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  animation: drift 22s ease-in-out infinite alternate;
}
.bg-glow::before{
  background: var(--orange);
  top: -15%;
  left: -10%;
}
.bg-glow::after{
  background: var(--teal);
  bottom: -20%;
  right: -10%;
  animation-delay: -8s;
}
.bg-grain{
  position: fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity:0.5;
}
@keyframes drift{
  0%{ transform: translate(0,0) scale(1); }
  100%{ transform: translate(40px,30px) scale(1.08); }
}

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

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12.5px;
  font-weight:600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:7px; height:7px;
  border-radius:50%;
  background: var(--gradient-brand);
}

.section{ padding: 110px 0; position:relative; }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(28px, 4vw, 42px); }
.section-head p{ color: var(--text-dim); margin-top: 14px; font-size: 17px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--gradient-brand);
  color: #0a0a0a;
  box-shadow: 0 8px 24px -10px rgba(196,122,69,0.45);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(74,157,146,0.45); }
.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover{ border-color: var(--teal-2); color: var(--teal-2); transform: translateY(-3px); }

/* ===== Header ===== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 200;
  padding: 18px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 12px 0;
  border-bottom-color: var(--border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap: 20px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height: 36px; width:auto; }
.brand span{ font-family: var(--font-display); font-weight:700; font-size: 19px; letter-spacing: -0.01em; }

.nav-links{ display:flex; align-items:center; gap: 34px; }
.nav-links a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav-links a:hover{ color: var(--text); }
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; right:100%; bottom:-2px;
  height:2px;
  background: var(--gradient-brand);
  transition: right .3s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover::after{ right:0; }

.header-cta{ display:flex; align-items:center; gap: 18px; }
.icon-links{ display:flex; gap:14px; }
.icon-links a{
  width: 38px; height:38px;
  border-radius:50%;
  border: 1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-dim);
  transition: all .3s var(--ease);
}
.icon-links a:hover{ color:#0a0a0a; background: var(--gradient-brand); border-color: transparent; transform: translateY(-2px); }
.icon-links svg{ width:16px; height:16px; }

.nav-toggle{
  display:none;
  width: 42px; height:42px;
  border-radius: 50%;
  border:1px solid var(--border);
  background: transparent;
  color: var(--text);
  align-items:center;
  justify-content:center;
}
.nav-toggle svg{ width:18px; height:18px; }

/* ===== Hero ===== */
.hero{
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding: 150px 0 90px;
  position: relative;
}
.hero-inner{ max-width: 900px; }
.hero h1{
  font-size: clamp(38px, 6.2vw, 74px);
  margin-top: 18px;
}
.hero h1 .grad{
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub{
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: 620px;
}
.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 30px;
}
.pill{
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  color: var(--text-dim);
  transition: border-color .3s, color .3s, transform .3s;
}
.pill:hover{ border-color: var(--teal-2); color: var(--teal-2); transform: translateY(-2px); }
.hero-actions{ display:flex; gap:16px; margin-top: 40px; flex-wrap: wrap; }

.hero-scroll{
  position:absolute;
  bottom: 36px;
  left: 24px;
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--text-faint);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-scroll .line{ width: 30px; height:1px; background: var(--text-faint); position:relative; overflow:hidden; }
.hero-scroll .line::after{
  content:"";
  position:absolute; inset:0;
  background: var(--gradient-brand);
  animation: scrollline 2s ease-in-out infinite;
}
@keyframes scrollline{
  0%{ transform: translateX(-100%); }
  50%{ transform: translateX(0); }
  100%{ transform: translateX(100%); }
}

/* ===== reveal-on-scroll ===== */
.reveal{
  opacity:0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view{ opacity:1; transform: translateY(0); }
.reveal-stagger > *{ transition-delay: calc(var(--i,0) * 90ms); }

/* ===== Tools/Stack section ===== */
.stack-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stack-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.stack-card::before{
  content:"";
  position:absolute; inset:0;
  background: var(--gradient-brand-soft);
  opacity:0;
  transition: opacity .4s var(--ease);
}
.stack-card:hover{ transform: translateY(-6px); border-color: rgba(255,255,255,0.18); }
.stack-card:hover::before{ opacity:1; }
.stack-card h3{ font-size: 19px; position:relative; }
.stack-card .tools{
  font-size: 13px;
  color: var(--teal-2);
  margin-top: 10px;
  font-weight:600;
  position:relative;
}
.stack-card p{ font-size: 14.5px; color: var(--text-dim); margin-top: 12px; position:relative; }
.stack-card.highlight{
  background: var(--surface-2);
  border-color: var(--teal);
  color: var(--text);
}
.stack-card.highlight h3{
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stack-card.highlight p{ color: var(--text-dim); opacity:1; }

/* ===== Why choose ===== */
.why-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.why-card{
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px;
  background: linear-gradient(160deg, var(--surface), var(--bg-soft));
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.why-card:hover{ transform: translateY(-6px); border-color: var(--teal); }
.why-card .num{
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--orange-2);
  font-weight:700;
  letter-spacing: 0.1em;
}
.why-card h4{ font-size: 22px; margin-top: 14px; }
.why-card p{ color: var(--text-dim); margin-top: 12px; font-size: 15px; }

/* ===== Pricing ===== */
.pricing-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.price-card{
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  background: var(--surface);
  position: relative;
  display:flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover{ transform: translateY(-8px); }
.price-card.suggested{
  border-color: transparent;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-soft));
  box-shadow: 0 0 0 1px rgba(30,199,181,0.4), 0 30px 60px -25px rgba(30,199,181,0.35);
}
.badge{
  position:absolute;
  top: -14px; right: 28px;
  background: var(--gradient-brand);
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.price-card .plan-label{
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--text);
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: none;
}
.price-card h3{ font-size: 24px; margin-top: 8px; }
.price-row{ display:flex; align-items: baseline; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.price-old{ text-decoration: line-through; color: var(--text-faint); font-size: 16px; }
.price-off{ font-size: 12px; color: var(--teal-2); font-weight:700; background: rgba(30,199,181,0.12); padding: 3px 9px; border-radius: 999px; }
.price-new{ font-size: 38px; font-weight: 700; font-family: var(--font-display); margin-top: 6px; }
.price-new span{ font-size: 15px; color: var(--text-dim); font-weight: 500; }
.price-card .btn{ margin-top: 24px; width: 100%; }
.price-features{ margin-top: 28px; display:flex; flex-direction: column; gap: 13px; flex:1; }
.price-features li{ display:flex; gap: 10px; font-size: 14.5px; color: var(--text-dim); align-items:flex-start; }
.price-features li svg{ flex-shrink:0; width:16px; height:16px; margin-top:3px; color: var(--teal-2); }
.price-tc{
  font-size: 10.5px;
  color: var(--text-faint);
  text-align: right;
  margin-top: 14px;
  letter-spacing: 0.04em;
}
.pricing-note{
  margin-top: 36px;
  text-align:center;
  color: var(--text-dim);
  font-size: 14px;
}
.pricing-note strong{ color: var(--orange-2); }
.pricing-note .fine{ display:block; margin-top:6px; font-size: 12.5px; color: var(--text-faint); }

/* ===== About ===== */
.about-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}
.about-block{ margin-bottom: 30px; }
.about-block h4{
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 10px;
}
.about-block p{ color: var(--text-dim); font-size: 15.5px; }

.values-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-card{
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s;
}
.value-card:hover{ transform: translateY(-4px) scale(1.02); border-color: var(--orange-2); }
.value-card h5{ font-size: 15.5px; font-family: var(--font-display); }
.value-card p{ font-size: 13px; color: var(--text-dim); margin-top: 6px; }

.stat-strip{
  display:flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat{ flex:1; min-width: 130px; }
.stat .stat-num{
  font-family: var(--font-display);
  font-size: 30px;
  font-weight:700;
  background: var(--gradient-brand);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.stat .stat-label{ color: var(--text-dim); font-size: 13px; margin-top: 4px; }

/* ===== Contact ===== */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-list{ display:flex; flex-direction:column; gap: 18px; }
.contact-card{
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s;
}
.contact-card:hover{ transform: translateX(6px); border-color: var(--teal); }
.contact-card .ico{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  color: #0a0a0a;
}
.contact-card .ico svg{ width:20px; height:20px; }
.contact-card .lbl{ font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.contact-card .val{ font-size: 16.5px; font-weight: 600; margin-top: 3px; }
.contact-card .val a:hover{ color: var(--teal-2); }
.contact-card .sub{ font-size: 13px; color: var(--text-dim); margin-top: 3px; }

.contact-visual{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface), var(--bg-soft));
  padding: 44px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  overflow:hidden;
  text-align:center;
}
.contact-visual::before{
  content:"";
  position:absolute;
  width: 220px; height:220px;
  background: var(--gradient-brand);
  filter: blur(90px);
  opacity:0.14;
  top:-60px; right:-60px;
}
.contact-visual h3{ font-size: 26px; position:relative; }
.contact-visual p{ color: var(--text-dim); margin-top: 14px; font-size: 15px; position:relative; }
.contact-visual .tagline{
  margin-top: 30px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-2);
  position: relative;
}

/* ===== Footer ===== */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
  background: var(--bg-soft);
}
.footer-top{
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand{ margin-bottom: 14px; }
.footer-brand p{ color: var(--text-dim); font-size: 14.5px; max-width: 280px; }
.footer-nav{ display:flex; gap: 70px; flex-wrap: wrap; }
.footer-col h5{
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col a, .footer-col span{
  display:block;
  font-size: 14.5px;
  color: var(--text-dim);
  margin-bottom: 11px;
  transition: color .25s;
}
.footer-col a:hover{ color: var(--teal-2); }
.footer-bottom{
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom .tag{ color: var(--text-dim); }

/* ===== Blog page ===== */
.blog-hero{ padding: 160px 0 60px; }
.blog-hero h1{ font-size: clamp(32px, 5vw, 54px); margin-top: 14px; }
.blog-hero p{ color: var(--text-dim); margin-top: 16px; max-width: 600px; font-size: 16.5px; }

.blog-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.blog-card{
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow:hidden;
  background: var(--surface);
  display:flex;
  flex-direction:column;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.blog-card:hover{ transform: translateY(-8px); border-color: var(--teal); }
.blog-thumb{
  height: 170px;
  background: var(--gradient-brand-soft);
  position:relative;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.blog-thumb::before{
  content: attr(data-tag);
  font-family: var(--font-display);
  font-weight:700;
  font-size: 13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--teal-2);
  z-index:2;
}
.blog-thumb .swirl{
  position:absolute; inset:-30%;
  background: var(--gradient-brand);
  opacity:0.12;
  filter: blur(40px);
  animation: drift 16s ease-in-out infinite alternate;
}
.blog-body{ padding: 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.blog-meta{ font-size: 12px; color: var(--text-faint); letter-spacing:0.04em; }
.blog-body h3{ font-size: 19px; line-height:1.3; }
.blog-body p{ color: var(--text-dim); font-size: 14.5px; flex:1; }
.blog-readmore{
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange-2);
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.blog-card:hover .blog-readmore{ color: var(--teal-2); }
.blog-readmore svg{ width:14px; height:14px; transition: transform .3s var(--ease); }
.blog-card:hover .blog-readmore svg{ transform: translateX(4px); }

/* ===== Back to top ===== */
.to-top{
  position: fixed;
  bottom: 26px; right: 26px;
  width: 48px; height:48px;
  border-radius:50%;
  background: var(--gradient-brand);
  color:#0a0a0a;
  display:flex; align-items:center; justify-content:center;
  border:none;
  opacity:0;
  pointer-events:none;
  transform: translateY(10px) scale(.8);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index: 150;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.5);
}
.to-top.show{ opacity:1; pointer-events:auto; transform: translateY(0) scale(1); }
.to-top svg{ width:20px; height:20px; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .stack-grid{ grid-template-columns: repeat(2,1fr); }
  .why-grid{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px){
  .nav-links, .icon-links{ display:none; }
  .nav-toggle{ display:flex; }
  .header-cta{ gap: 10px; }
  .section{ padding: 80px 0; }
  .hero{ padding-top: 130px; }
  .stack-grid{ grid-template-columns: 1fr; }
  .values-grid{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: 1fr; }
  .footer-top{ flex-direction:column; }
  .footer-nav{ gap: 36px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* ===== Mobile nav drawer ===== */
.mobile-drawer{
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(10px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 30px;
  opacity:0;
  pointer-events:none;
  transition: opacity .35s var(--ease);
}
.mobile-drawer.open{ opacity:1; pointer-events:auto; }
.mobile-drawer a{
  font-family: var(--font-display);
  font-size: 26px;
  font-weight:600;
  color: var(--text);
  opacity:0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-drawer.open a{ opacity:1; transform:translateY(0); }
.mobile-drawer-close{
  position:absolute;
  top: 24px; right: 24px;
  width: 44px; height:44px;
  border-radius:50%;
  border:1px solid var(--border);
  background:transparent;
  color: var(--text);
  display:flex; align-items:center; justify-content:center;
}
.mobile-icons{ display:flex; gap:16px; margin-top: 10px; }
.mobile-icons a{
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  opacity:1; transform:none; font-size:0;
}
.mobile-icons svg{ width:18px; height:18px; }
