@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

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

:root {
  --bg: #080a0f;
  --bg-2: #0d1117;
  --accent: #2d8b56;
  --accent-light: #3db36e;
  --accent-glow: rgba(45, 139, 86, 0.25);
  --gold: #d4a439;
  --gold-light: #f0c75e;
  --gold-glow: rgba(212, 164, 57, 0.2);
  --text: #f0f0f0;
  --text-secondary: #b0b8c4;
  --muted: #6b7280;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(8, 10, 15, 0.85);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --max-w: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══════════ NAVIGATION ═══════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  transition: background var(--transition);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.nav__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 1px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent), #1e6b3e);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}

/* ═══════════ SECTIONS ═══════════ */
.section {
  padding: 120px 40px;
  position: relative;
}

.section--first {
  padding-top: 160px;
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section__label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 16px;
}

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section__title--gradient {
  background: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section__subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.section__subtitle--center {
  margin: 0 auto;
  text-align: center;
}

.text-center { text-align: center; }

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, var(--gold-glow), transparent);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-w);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent-light);
  font-weight: 500;
  width: fit-content;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #1e6b3e);
  color: #fff;
}

.btn--primary:hover {
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn--outline:hover {
  background: var(--card);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #b8872e);
  color: #000;
}

.btn--gold:hover {
  box-shadow: 0 12px 32px var(--gold-glow);
}

/* ═══════════ CARDS ═══════════ */
.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--card-hover);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  background: rgba(45, 139, 86, 0.1);
  border: 1px solid rgba(45, 139, 86, 0.2);
}

.card__icon--gold {
  background: rgba(212, 164, 57, 0.1);
  border-color: rgba(212, 164, 57, 0.2);
}

.card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════ STATS ═══════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat-card--accent {
  border-color: rgba(45, 139, 86, 0.3);
  background: linear-gradient(135deg, rgba(45, 139, 86, 0.08), rgba(45, 139, 86, 0.02));
}

.stat__value {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-light), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat__sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ═══════════ FEATURE ROW ═══════════ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-row__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-row__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.feature-row__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text-secondary);
}

.feature-row__list .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ═══════════ PHONE MOCKUP ═══════════ */
.phone-mockup {
  width: 280px;
  background: #111;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  flex-shrink: 0;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 20px;
  border-radius: 10px;
  background: #000;
  z-index: 2;
}

.phone-mockup img {
  width: 100%;
  border-radius: 26px;
  display: block;
}

.phones-pair {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
}

.phones-pair .phone-mockup {
  width: 240px;
}

.phones-pair .phone-mockup:nth-child(2) {
  margin-top: 40px;
}

/* ═══════════ TV MOCKUP ═══════════ */
.tv-mockup {
  max-width: 900px;
  width: 100%;
  background: #1a1a1a;
  border-radius: 14px;
  padding: 10px 10px 28px;
  box-shadow: var(--shadow);
  position: relative;
  margin: 0 auto;
}

.tv-mockup::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 8px;
  border-radius: 0 0 6px 6px;
  background: #222;
}

.tv-mockup img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* ═══════════ BENEFIT BOX ═══════════ */
.benefit {
  background: linear-gradient(135deg, rgba(45, 139, 86, 0.12), rgba(212, 164, 57, 0.08));
  border: 1px solid rgba(45, 139, 86, 0.25);
  border-radius: 14px;
  padding: 20px 32px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--gold-light);
  max-width: 900px;
  margin: 48px auto 0;
  line-height: 1.6;
}

/* ═══════════ STEPS ═══════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step {
  text-align: center;
  position: relative;
}

.step__num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), #1e6b3e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.step__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ═══════════ CASES ═══════════ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.case-card__icon { font-size: 2.4rem; }
.case-card__title { font-weight: 700; font-size: 17px; }
.case-card__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════ GALLERY ═══════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item__img {
  width: 100%;
  display: block;
}

.gallery-item__caption {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ═══════════ CTA SECTION ═══════════ */
.cta-section {
  background: linear-gradient(135deg, rgba(45, 139, 86, 0.15), rgba(212, 164, 57, 0.1));
  border: 1px solid rgba(45, 139, 86, 0.2);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}

.cta-section__desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  padding: 48px 40px 32px;
  border-top: 1px solid var(--card-border);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__brand-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer__col-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--text);
}

.footer__bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

/* ═══════════ PARTICLES ═══════════ */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: float linear infinite;
}

@keyframes float {
  from { transform: translateY(100vh); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  to { transform: translateY(-5vh); opacity: 0; }
}

/* ═══════════ SCROLL ANIMATIONS ═══════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }

/* ═══════════ CONTACT FORM ═══════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(45, 139, 86, 0.1);
  border: 1px solid rgba(45, 139, 86, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-item__desc a {
  color: var(--accent-light);
  text-decoration: none;
}

.contact-item__desc a:hover {
  text-decoration: underline;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  user-select: none;
  transition: background var(--transition);
}

.faq-item__q:hover {
  background: var(--card-hover);
}

.faq-item__q::after {
  content: '+';
  font-size: 22px;
  color: var(--accent-light);
  transition: transform var(--transition);
}

.faq-item.open .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-item__a {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { align-items: center; }
  .hero__desc { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row--reverse { direction: ltr; }
  .feature-row__content { align-items: center; text-align: center; }
  .feature-row__list li { justify-content: center; }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; height: 64px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--card-border);
  }
  .section { padding: 80px 20px; }
  .section--first { padding-top: 120px; }
  .hero { padding: 100px 20px 60px; }
  .hero__title { font-size: clamp(2.4rem, 8vw, 3.2rem); }
  .cards-grid--3, .cards-grid--4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .phones-pair { flex-direction: column; align-items: center; }
  .phones-pair .phone-mockup { width: 220px; }
  .phones-pair .phone-mockup:nth-child(2) { margin-top: 0; }
  .phone-mockup { width: 240px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-section { padding: 40px 24px; }
  .benefit { padding: 16px 20px; font-size: 15px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
}
