:root {
  --text: #111827;
  --muted: #6b7280;
  --bg: #ffffff;
  --accent: #1e40af;
  --accent-light: #eff6ff;
  --border: #e5e7eb;
  --section-bg: #eef2f7;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  letter-spacing: 0.01em;
}

body {
  font: 17px/1.7 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── HERO LOGO ── */
.hero-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(255,255,255,0.55);
}
.hero-logo:hover { text-decoration: none; opacity: 0.8; }

/* ── MAIN ── */
main { max-width: none; margin: 0; padding: 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.btn:hover { opacity: 0.87; text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }

/* ── HERO ── */
/* ── HERO ── */
.hero {
  position: relative;
  color: #fff;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0f172a;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}
.hero-topbar {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem 5rem;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-highlight {
  background: linear-gradient(90deg, #f7931a 0%, #e8820c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

/* ── INTRO ── */
.section-intro {
  padding: 5.5rem 1.5rem;
  text-align: center;
  background: var(--bg);
}
.section-intro .eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-intro h2 {
  font-size: clamp(1.625rem, 3.5vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.section-intro p {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* ── PRODUCT SECTIONS ── */
.product-section { padding: 5rem 1.5rem; }
.product-section:nth-child(odd) { background: var(--section-bg); }
.product-section:nth-child(even) { background: var(--bg); }

.product-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.product-section:nth-child(even) .product-inner { direction: rtl; }
.product-section:nth-child(even) .product-content { direction: ltr; }

.product-content .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.product-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.product-content p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.product-visual {
  border-radius: 20px;
  background: var(--accent-light);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  direction: ltr;
  border: 1px solid rgba(30,64,175,0.1);
  overflow: hidden;
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.tekoalykuva-visual {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #6d28d9 100%);
  border: none;
}
.videokone-visual {
  background: #000;
  border-color: #222;
}
.teuvo-visual {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.whatsapp-icon {
  width: 110px;
  height: 110px;
}
.play-btn {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn svg {
  width: 80px;
  height: 80px;
}

/* ── ABOUT ── */
.about-section {
  padding: 6rem 1.5rem;
  background: var(--bg);
}
.about-inner {
  max-width: 640px;
  margin: 0 auto;
}
.about-text .eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.about-text h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.about-text p {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

/* ── SITE FOOTER ── */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.65);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}
.footer-brand .logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 0.625rem;
}
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 320px; }
.footer-company { font-size: 0.9rem; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-company-name { color: rgba(255,255,255,0.7); font-weight: 600; }
.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9375rem; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── FORM STATUS ── */
.form-status {
  margin: 1rem 0 0;
  padding: .6rem .8rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  display: none;
}
.form-status.sending,
.form-status.ok,
.form-status.err { display: block; }
.form-status.sending { color: var(--muted); }
.form-status.ok      { color: #166534; background: #f0fdf4; }
.form-status.err     { color: #b42318; background: #fef2f2; }

/* ── DOMAIN INSPECTOR ── */
.di-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.di-container--narrow { max-width: 720px; }

.di-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  padding: 5rem 1.5rem;
}
.di-hero .di-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.di-hero-content .di-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93c5fd;
  margin-bottom: 1rem;
}
.di-hero-content h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
}
.di-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.di-hero .di-sub { color: rgba(255,255,255,0.7); }
.di-hero-visual img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
}

.di-btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.di-btn:hover { opacity: 0.87; text-decoration: none; transform: translateY(-1px); }
.di-btn--white { background: #fff; color: #1e40af; }

.di-section { padding: 5rem 1.5rem; }
.di-section--gray { background: var(--section-bg); }
.di-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
}

.di-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.di-feature { display: flex; flex-direction: column; gap: 0.75rem; }
.di-feature-icon { font-size: 2rem; }
.di-feature h3 { font-size: 1.1rem; font-weight: 700; }
.di-feature p { color: var(--muted); font-size: 0.9375rem; }

.di-details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  list-style: none;
}
.di-details-list li {
  padding: 0.875rem 1.25rem;
  background: var(--section-bg);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid var(--border);
}
.di-details-list li::before { content: '✓  '; color: #2563eb; font-weight: 700; }

.di-carousel {
  position: relative;
  margin: 0 0 2.5rem;
}
.di-carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0.25rem 0.5rem;
}
.di-carousel-track::-webkit-scrollbar { display: none; }
.di-carousel-track img {
  height: 380px;
  width: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.di-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  color: var(--text);
}
.di-carousel-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.di-carousel-prev { left: -22px; }
.di-carousel-next { right: -22px; }
@media (max-width: 820px) {
  .di-carousel-btn { display: none; }
  .di-carousel-track { padding: 0.25rem 0 0.5rem; }
  .di-carousel-track img { height: 220px; width: 72vw; object-fit: cover; flex-shrink: 0; }
}

.di-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}
.di-steps li { font-size: 1.0625rem; line-height: 1.65; }
.di-steps code {
  background: #e2e8f0;
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.di-faq { display: flex; flex-direction: column; gap: 2rem; }
.di-faq-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.di-faq-item p { color: var(--muted); }
.di-faq-item code {
  background: #f1f5f9;
  color: var(--accent);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.di-form { display: flex; flex-direction: column; gap: 1.125rem; margin-top: 2rem; }
.di-form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.di-form-group label { font-size: 0.875rem; font-weight: 600; }
.di-form-group input,
.di-form-group textarea {
  padding: 0.8125rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s;
}
.di-form-group input:focus,
.di-form-group textarea:focus { outline: none; border-color: var(--accent); }
.di-form-group textarea { min-height: 140px; resize: vertical; }

.di-screenshot-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  line-height: 0;
}
.di-screenshot-wrap img { width: 100%; height: auto; display: block; }

.di-legal-links {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.di-legal-links a { font-size: 0.875rem; color: var(--muted); }
.di-legal-links a:hover { color: var(--accent); }
.di-legal-links span { color: var(--border); margin: 0 0.5rem; }

.di-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  padding: 5rem 1.5rem;
  text-align: center;
}
.di-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  color: #fff;
}

.di-legal {
  max-width: none;
  padding: 4rem 1.5rem 6rem;
}
.di-legal-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.di-legal h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.di-legal h2 { font-size: 1.25rem; font-weight: 700; margin: 2.5rem 0 0.75rem; }
.di-legal p { color: var(--muted); margin-bottom: 1rem; line-height: 1.75; }
.di-legal a { color: var(--accent); }
.di-back {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2rem;
}

@media (max-width: 820px) {
  .di-hero .di-container { grid-template-columns: 1fr; }
  .di-hero-visual { display: none; }
  .di-features { grid-template-columns: 1fr; }
}

/* ── CONTACT ── */
.contact-section {
  background: var(--section-bg);
  padding: 5rem 1.5rem;
}
.contact-inner {
  max-width: 560px;
  margin: 0 auto;
}
.contact-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
  text-align: left;
}
.contact-sub {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form-group label { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.contact-form-group input,
.contact-form-group textarea {
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s;
}
.contact-form-group input:focus,
.contact-form-group textarea:focus { outline: none; border-color: var(--accent); }
.contact-form-group textarea { min-height: 140px; resize: vertical; }
.contact-btn {
  align-self: flex-start;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.contact-btn:hover { background: #1e3a8a; }

/* ── NOT FOUND ── */
.not-found { max-width: 48rem; margin: 0 auto; padding: 4rem 1.5rem; }
.not-found h1 { font-size: 2rem; margin-bottom: 1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .product-inner { grid-template-columns: 1fr; gap: 2.5rem; direction: ltr !important; }
  .product-visual { min-height: 200px; font-size: 4rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .hero-topbar { padding: 1.5rem; }
  .di-section { padding: 3rem 1rem; }
  .di-hero { padding: 3rem 1rem; }
  .di-container { padding: 0 1rem; }
}
