/* =============================================
   EASY MY TV SETUP — Main Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #2563EB;
  --blue-dark:  #1E40AF;
  --purple:     #7C3AED;
  --purple-light: #EDE9FE;
  --gradient:   linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --text:       #111827;
  --text-muted: #6B7280;
  --border:     #E5E7EB;
  --bg-light:   #F9FAFB;
  --white:      #FFFFFF;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.35); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover { background: var(--purple-light); border-color: var(--purple-light); }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo-link { flex-shrink: 0; }
.logo-img { height: 48px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--blue); background: #EFF6FF; }
.header-cta { margin-left: 8px; padding: 10px 22px; font-size: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
  background: linear-gradient(160deg, #EFF6FF 0%, #F5F3FF 100%);
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-item svg { color: var(--blue); flex-shrink: 0; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.hero-card-icon { flex-shrink: 0; }
.hero-card-label { font-size: 12px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.hero-card-value { font-size: 20px; font-weight: 700; color: var(--text); }

/* =============================================
   SERVICES
   ============================================= */
.services-section {
  padding: 96px 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #EFF6FF, #F5F3FF);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.service-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section {
  padding: 96px 0;
  background: var(--bg-light);
}
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.step-item {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 24px;
}
.step-connector {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  margin-top: 36px;
  border-radius: 2px;
}
.step-number {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.step-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.step-item p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   PRICING
   ============================================= */
.pricing-section {
  padding: 96px 0;
  background: var(--white);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(37,99,235,0.15);
  transform: translateY(-8px);
}
.pricing-card--featured:hover { transform: translateY(-12px); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.plan-header { margin-bottom: 28px; }
.plan-name { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.price-amount { font-size: 48px; font-weight: 800; color: var(--blue); line-height: 1; }
.price-note { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.plan-tagline { font-size: 14px; color: var(--text-muted); }
.plan-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.plan-features li svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.plan-btn { width: 100%; justify-content: center; }
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
  padding: 96px 0;
  background: var(--bg-light);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.why-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.why-item p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cta-text p { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 560px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #111827;
  color: #D1D5DB;
  padding-top: 72px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid #374151;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: #9CA3AF; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: #9CA3AF; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p { font-size: 13px; color: #6B7280; text-align: center; line-height: 1.7; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.page-hero {
  background: linear-gradient(160deg, #EFF6FF 0%, #F5F3FF 100%);
  padding: 72px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.content-section { padding: 80px 0; }
.content-section.bg-light { background: var(--bg-light); }
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.content-block p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.content-block p:last-child { margin-bottom: 0; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #EFF6FF, #F5F3FF);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-detail-text span { font-size: 15px; color: var(--text-muted); }

/* =============================================
   BOOKING / FORM PAGE
   ============================================= */
.booking-section { padding: 80px 0; background: var(--bg-light); }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 56px;
  align-items: start;
}
.booking-summary h2 { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.booking-summary p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }
.plan-summary-cards { display: flex; flex-direction: column; gap: 14px; }
.plan-summary-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.plan-summary-card.active { border-color: var(--blue); }
.plan-summary-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.plan-summary-card span { font-size: 13px; color: var(--text-muted); }
.plan-summary-card .price { font-size: 20px; font-weight: 800; color: var(--blue); float: right; }

/* --- Form Styles --- */
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.form-card .form-subtitle { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group label .required { color: #EF4444; margin-left: 3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-consent {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.form-consent a { color: var(--blue); text-decoration: underline; }
.form-submit { width: 100%; padding: 15px; font-size: 16px; }

/* =============================================
   THANK YOU PAGE
   ============================================= */
.thankyou-section {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(160deg, #EFF6FF 0%, #F5F3FF 100%);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}
.thankyou-icon {
  width: 96px;
  height: 96px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}
.thankyou-section h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.thankyou-section p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto 40px; line-height: 1.75; }

/* =============================================
   LEGAL PAGES (Privacy / Terms)
   ============================================= */
.legal-section { padding: 80px 0; }
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.legal-content .last-updated { font-size: 14px; color: var(--text-muted); margin-bottom: 48px; }
.legal-content h2 { font-size: 22px; font-weight: 700; margin: 40px 0 14px; color: var(--text); }
.legal-content p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px 20px; list-style: disc; }
.legal-content ul li { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 8px; }
.legal-content a { color: var(--blue); text-decoration: underline; }

/* =============================================
   ALERTS
   ============================================= */
.alert {
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}
.alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }
.alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open a { display: block; padding: 12px 16px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-visual .hero-card:last-child { grid-column: 1 / -1; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-visual { grid-template-columns: 1fr; }
  .hero-visual .hero-card:last-child { grid-column: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
