:root {
  --tp-accent: #f5c518;
  --tp-accent-dark: #d4a017;
  --tp-accent-glow: rgba(245, 197, 24, 0.25);
  --tp-bg: #070b12;
  --tp-bg-soft: #0f172a;
  --tp-surface: rgba(17, 24, 39, 0.78);
  --tp-border: rgba(255, 255, 255, 0.1);
  --tp-text: #f8fafc;
  --tp-muted: #94a3b8;
  --tp-success: #22c55e;
  --tp-radius: 20px;
  --tp-radius-sm: 12px;
  --tp-font: "Inter", system-ui, sans-serif;
  --tp-container: 1180px;
  --tp-nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--tp-font);
  background: var(--tp-bg);
  color: var(--tp-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2rem, var(--tp-container));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--tp-accent-glow);
  border: 1px solid rgba(245, 197, 24, 0.25);
  color: var(--tp-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0;
  max-width: 720px;
  color: var(--tp-muted);
  font-size: 1.05rem;
}

/* Nav */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--tp-nav-h);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-nav.is-scrolled {
  background: rgba(7, 11, 18, 0.88);
  border-color: var(--tp-border);
  backdrop-filter: blur(16px);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--tp-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--tp-text);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--tp-border);
}

.lang-switch a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tp-muted);
}

.lang-switch a.is-active {
  background: var(--tp-accent);
  color: #111827;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--tp-accent), #e6b800);
  color: #111827;
  box-shadow: 0 12px 30px var(--tp-accent-glow);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--tp-text);
  border: 1px solid var(--tp-border);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: var(--tp-text);
  font-size: 1.1rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--tp-nav-h) + 2rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 197, 24, 0.18), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(59, 130, 246, 0.14), transparent 28%),
    linear-gradient(180deg, #0b1220 0%, #070b12 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: var(--tp-accent);
}

.hero-copy p {
  margin: 0 0 1.5rem;
  max-width: 560px;
  color: var(--tp-muted);
  font-size: 1.12rem;
}

.hero-price {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.hero-link {
  color: var(--tp-muted);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 5% 5% 5%;
  background: radial-gradient(circle, var(--tp-accent-glow), transparent 70%);
  filter: blur(30px);
}

.hero-visual img {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat-card {
  padding: 1rem;
  border-radius: var(--tp-radius-sm);
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  backdrop-filter: blur(12px);
}

.stat-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.stat-card span {
  color: var(--tp-muted);
  font-size: 0.82rem;
}

/* Cards & grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card,
.price-card,
.info-card {
  padding: 1.5rem;
  border-radius: var(--tp-radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--tp-border);
}

.feature-card i,
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--tp-accent-glow);
  color: var(--tp-accent);
  font-weight: 800;
}

.feature-card h3,
.price-card h3,
.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.feature-card p,
.info-card p {
  margin: 0;
  color: var(--tp-muted);
  font-size: 0.95rem;
}

.price-card .amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--tp-accent);
  margin: 0.5rem 0;
}

.price-card small {
  color: var(--tp-muted);
}

.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--tp-muted);
}

.check-list i {
  color: var(--tp-success);
  margin-top: 0.2rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--tp-radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--tp-border);
}

.step-item p { margin: 0; color: var(--tp-muted); }

.highlight-box {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--tp-radius);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: #bfdbfe;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-section img {
  border-radius: var(--tp-radius);
  box-shadow: var(--tp-shadow, 0 24px 60px rgba(0,0,0,0.35));
}

/* Gallery */
.gallery-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.gallery-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.gallery-frame {
  position: relative;
}

.gallery-frame img.frame {
  width: 100%;
}

.gallery-screens {
  position: absolute;
  inset: 8% 12% 10% 12%;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
}

.gallery-dot.is-active { background: var(--tp-accent); }

/* Calculator */
.calc-card {
  padding: 1.75rem;
  border-radius: var(--tp-radius);
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  backdrop-filter: blur(12px);
}

.calc-card label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  color: var(--tp-muted);
}

.calc-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--tp-radius-sm);
  border: 1px solid var(--tp-border);
  background: rgba(255,255,255,0.04);
  color: var(--tp-text);
  font: inherit;
}

.calc-input:focus {
  outline: none;
  border-color: rgba(245, 197, 24, 0.5);
  box-shadow: 0 0 0 4px var(--tp-accent-glow);
}

.calc-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--tp-radius-sm);
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.18);
  white-space: pre-line;
  font-weight: 600;
  min-height: 88px;
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
}

.contact-card,
.form-card {
  padding: 2rem;
  border-radius: var(--tp-radius);
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
}

.contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--tp-muted);
}

.contact-item i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: var(--tp-accent);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--tp-muted);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--tp-radius-sm);
  border: 1px solid var(--tp-border);
  background: rgba(255,255,255,0.04);
  color: var(--tp-text);
  font: inherit;
}

.form-control:focus {
  outline: none;
  border-color: rgba(245, 197, 24, 0.5);
  box-shadow: 0 0 0 4px var(--tp-accent-glow);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.alert {
  padding: 1rem 1.1rem;
  border-radius: var(--tp-radius-sm);
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.alert-warning {
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.25);
  color: #fde68a;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--tp-border);
  color: var(--tp-muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--tp-accent);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.modal-backdrop.is-open { display: flex; }

.modal-card {
  width: min(100%, 520px);
  padding: 1.75rem;
  border-radius: var(--tp-radius);
  background: #111827;
  border: 1px solid var(--tp-border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.modal-card h3 { margin: 0 0 1rem; }

.modal-card ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--tp-muted);
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.mobile-menu {
  display: none;
}

@media (max-width: 960px) {
  .nav-links,
  .nav-actions .btn-secondary {
    display: none;
  }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .mobile-menu {
    display: none;
    position: fixed;
    inset: var(--tp-nav-h) 0 auto 0;
    padding: 1rem;
    background: rgba(7, 11, 18, 0.96);
    border-bottom: 1px solid var(--tp-border);
    backdrop-filter: blur(16px);
    z-index: 999;
  }

  .mobile-menu.is-open { display: block; }

  .mobile-menu a {
    display: block;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--tp-border);
    color: var(--tp-muted);
  }

  .hero-inner,
  .split-section,
  .gallery-wrap,
  .contact-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}
