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

:root {
  --bg-color: #030712;
  --surface-color: rgba(31, 41, 55, 0.4);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --section-spacing: clamp(5rem, 6vw, 6.25rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(147, 51, 234, 0.05) 0%, transparent 50%);
}

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

/* ==================== HEADER ==================== */
header {
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo component */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-accent {
  color: var(--accent);
}

/* Header navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-phone:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
  white-space: nowrap;
}

.header-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

/* Legacy contact button (kept for compatibility) */
.contact-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.contact-button:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
}

/* ==================== SECTIONS ==================== */
section {
  padding: var(--section-spacing) 0;
  position: relative;
}

/* ==================== HERO ==================== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/images/satelite-bg.jpg') center/cover no-repeat;
  opacity: 0.25;
  z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ==================== PRIMARY CTA BUTTON ==================== */
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
  color: white;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.primary-cta:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.primary-cta:active {
  transform: translateY(0);
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==================== CARDS GRID ==================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface-color);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.25);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.938rem;
  line-height: 1.65;
}

/* ==================== COST GUIDE ==================== */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cost-card {
  text-align: center;
  padding: 2.75rem 2rem;
  position: relative;
  overflow: hidden;
}

.cost-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cost-card:hover::before {
  opacity: 1;
}

.cost-card h3 {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.cost-details {
  list-style: none;
  text-align: left;
}

.cost-details li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.938rem;
  line-height: 1.5;
}

.cost-details li::before {
  content: '✓';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* ==================== SERVICE AREA ==================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.service-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.938rem;
  transition: all 0.3s ease;
}

.service-badge:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: white;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.9));
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 4.5rem 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ==================== FAQ ==================== */
.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: white;
  letter-spacing: -0.01em;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.938rem;
  line-height: 1.7;
}

/* ==================== FOOTER ==================== */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  margin-top: 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.813rem;
}

/* ==================== RESPONSIVE ==================== */

/* ---- Utility classes ---- */
.section-alt {
  background-color: rgba(255, 255, 255, 0.02);
}

.text-accent {
  color: var(--accent);
}

.text-white {
  color: white;
}

.cta-arrow {
  margin-left: 8px;
  flex-shrink: 0;
}

/* ---- Cost card featured variant ---- */
.cost-card--featured {
  border-color: rgba(59, 130, 246, 0.5);
  transform: scale(1.03);
  z-index: 2;
}

/* ---- Challenges section ---- */
.challenges-section {
  margin-top: 0;
  background: transparent;
  border: 1px solid var(--border-color);
  text-align: left;
}

.grid--aligned {
  align-items: center;
}

.challenges-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.challenges-list {
  margin-top: 2rem;
}

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

.challenges-img {
  border-radius: 16px;
  border: 1px solid var(--border-color);
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ---- CTA section primary variant ---- */
.cta-section--primary {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(3, 7, 18, 0.9));
  border-color: rgba(59, 130, 246, 0.3);
}

.cta-section__button {
  margin-top: 1.5rem;
}

/* ---- Footer logo variant ---- */
.logo-text--sm {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding-top: 1rem;
  }

  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.12;
  }
  
  .hero p {
    font-size: 1.05rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .card {
    padding: 1.75rem;
  }
  
  .primary-cta {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .cta-section {
    padding: 3rem 1.5rem;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
  
  .price {
    font-size: 2rem;
  }

  .header-cta span,
  .header-cta {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo img {
    height: 38px;
    width: 38px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .header-phone {
    width: 38px;
    height: 38px;
  }

  .header-cta {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
  }

  .logo img {
    height: 34px;
    width: 34px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .service-list {
    gap: 0.5rem;
  }

  .service-badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}
