:root {
  --bg: #0f0f0f;
  --bg-2: #151515;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.6);
  --muted-2: rgba(255, 255, 255, 0.4);
  --accent: #f27335;
  --accent-2: #0090c8;
  --radius: 16px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: Manrope, Inter, sans-serif; line-height: 1.15; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: 5rem 0; background: var(--bg-2); }
.section--dark { background: var(--bg); }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 42rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; color: var(--muted-2); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #f27335, #e85d1a);
  color: #fff;
  box-shadow: 0 8px 24px rgba(242, 115, 53, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 800; }
.logo img { width: 42px; height: 42px; object-fit: contain; }
.nav { display: flex; gap: 1.25rem; align-items: center; }
.nav a { font-size: 0.92rem; color: var(--muted); }
.nav a:hover { color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
}

.hero {
  padding: 7.5rem 0 4rem;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(242, 115, 53, 0.12), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 144, 200, 0.08), transparent 40%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 115, 53, 0.3);
  background: rgba(242, 115, 53, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
.gradient-text {
  background: linear-gradient(135deg, #f27335, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.tag {
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature {
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.feature--accent { border-color: rgba(242, 115, 53, 0.35); background: rgba(242, 115, 53, 0.08); }
.feature h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.variant {
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  height: 100%;
}
.variant--premium { border-color: rgba(242, 115, 53, 0.35); background: linear-gradient(160deg, #0a1a24, #111); }
.spec-table { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.spec-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.spec-row:first-child { border-top: none; }
.spec-row:nth-child(even) { background: rgba(255, 255, 255, 0.02); }

.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
}
.compare-head > div, .compare-row > div { padding: 1rem 1.1rem; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.compare-head > div:first-child, .compare-row > div:first-child { border-left: none; }
.compare-wrap { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.compare-head { background: #1a1a1a; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); font-weight: 700; }
.compare-row { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.compare-row:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.compare-akko { background: rgba(242, 115, 53, 0.06); color: var(--accent); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step { padding: 1.25rem; border-radius: 14px; border: 1px solid var(--border); }
.step-num { color: var(--accent); font-weight: 800; font-size: 0.85rem; margin-bottom: 0.5rem; }

.usecase { padding: 1.5rem; border-radius: 16px; border: 1px solid var(--border); height: 100%; }
.usecase-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.pill {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-right: 0.25rem;
  margin-top: 0.25rem;
}
.pill-b2b { background: rgba(242, 115, 53, 0.15); color: var(--accent); }
.pill-b2c { background: rgba(255, 255, 255, 0.1); color: #ddd; }

.integration-list { display: grid; gap: 0.75rem; }
.integration-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.integration-item--hi { border-color: rgba(242, 115, 53, 0.35); background: rgba(242, 115, 53, 0.08); }

.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 0.75rem; overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: none;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-a { display: none; padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-sub { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.faq-sub strong { color: #fff; display: block; margin-bottom: 0.25rem; }

.calc-panel { padding: 1.75rem; }
.calc-result {
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(242, 115, 53, 0.3);
  background: linear-gradient(160deg, rgba(242, 115, 53, 0.12), rgba(0, 144, 200, 0.08));
}
.calc-price { font-size: 2.2rem; font-weight: 800; color: var(--accent); margin: 0.5rem 0 1rem; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.variant-btn {
  width: 100%;
  text-align: left;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.variant-btn.active { border-color: var(--accent); background: rgba(242, 115, 53, 0.1); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.35rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: #fff;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 115, 53, 0.15);
}
.hp { position: absolute; left: -9999px; opacity: 0; }

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: #0a0a0a;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); }
.footer-grid a { color: var(--muted); font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-grid li { margin-bottom: 0.65rem; }

.section-title { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-title h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.hotels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hotel-logo {
  display: flex; align-items: center; justify-content: center;
  min-height: 84px; border: 1px solid var(--border); border-radius: 12px; padding: 1rem;
}
.hotel-logo img { filter: brightness(0) invert(1); opacity: 0.9; height: 32px; width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.chip {
  padding: 0.55rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
.usecases-bg {
  position: relative;
  overflow: hidden;
}
.usecases-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/smart-home.jpg") center/cover no-repeat;
  opacity: 0.12;
}
.usecases-bg > .container { position: relative; z-index: 1; }

@media (max-width: 1024px) {
  .hero-grid, .grid-4, .features, .steps, .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #111; padding: 1rem; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .features, .steps, .footer-grid, .hotels { grid-template-columns: 1fr; }
  .compare-head, .compare-row { grid-template-columns: 1fr; }
  .compare-head > div:not(:first-child), .compare-row > div:not(:first-child) { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .section { padding: 3.5rem 0; }
}
