/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #c11111;
  --primary-dark: #9e0d0d;
  --primary-light: #e02525;
  --dark: #1a1a2e;
  --dark-medium: #16213e;
  --accent: #c11111;
  --accent-hover: #9e0d0d;
  --bg: #f7f8fa;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-light: #5a5a5a;
  --border: #e2e2e2;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 10px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ===== HEADER / NAVIGATION ===== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

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

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-medium) 60%, #0f3460 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: rgba(193, 17, 17, 0.12);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -8%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(193, 17, 17, 0.08);
}

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

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text .tagline {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
  font-style: italic;
  color: #ffa8a8;
}

.hero-text p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(6px);
}

.stat-box .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  display: block;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 0.3rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(193, 17, 17, 0.35);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline-red {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-red:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== SECTIONS ===== */
.section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: var(--white);
}

.card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-medium) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(193, 17, 17, 0.1);
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.page-header p {
  opacity: 0.85;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

/* ===== CONTENT SECTION (policies, etc.) ===== */
.content-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  margin: 3rem auto;
  max-width: 900px;
  box-shadow: var(--shadow);
}

.content-section h2 {
  color: var(--dark);
  font-size: 1.5rem;
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p,
.content-section li {
  color: var(--text-light);
  margin-bottom: 0.8rem;
  font-size: 0.98rem;
}

.content-section ul,
.content-section ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section ul li {
  list-style: disc;
}

.content-section ol li {
  list-style: decimal;
}

.content-section strong {
  color: var(--text);
}

/* ===== CONTACT FORM ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  margin: 3rem auto;
  max-width: 1000px;
}

.contact-info {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(193, 17, 17, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(193, 17, 17, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===== CHECKOUT ===== */
.checkout-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  margin: 3rem auto;
  max-width: 1000px;
}

.checkout-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.checkout-form h2 {
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.checkout-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  align-self: start;
  position: sticky;
  top: 95px;
}

.checkout-summary h2 {
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 0;
  margin-top: 0.5rem;
  border-top: 2px solid var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

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

.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: all var(--transition);
  text-align: center;
  position: relative;
}

.plan-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.plan-card.popular {
  border-color: var(--primary);
}

.plan-card.popular::before {
  content: 'POPULAR';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 0 0 8px 8px;
  letter-spacing: 1px;
}

.plan-card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.plan-card .speed {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.8rem 0 0.3rem;
}

.plan-card .speed small {
  font-size: 1rem;
  font-weight: 500;
}

.plan-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.plan-card .price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
}

.plan-card ul {
  text-align: left;
  margin-bottom: 1.5rem;
}

.plan-card ul li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.3rem 0;
  list-style: none;
  padding-left: 1.4rem;
  position: relative;
}

.plan-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

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

.hardware-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hardware-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hardware-item .hw-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.hardware-item h4 {
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.hardware-item p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2.5px;
  background: var(--primary);
}

.footer-col p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity var(--transition), padding-left var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--primary-light);
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-wrapper,
  .checkout-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .content-section {
    padding: 1.5rem;
    margin: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-wrapper,
  .checkout-wrapper {
    margin: 1.5rem;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hardware-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
