/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0f766e;
  --primary-light: #14b8a6;
  --primary-dark: #0d9488;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-10: 64px;
  --text-primary: #1a1a1a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
}

/* ===== RESET & BASICS ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

/* ===== LAYOUT ===== */
#root, x-dc > div {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== NAVIGATION ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  color: inherit;
}

.nav svg {
  width: 44px;
  height: 44px;
}

.logo-stroke-1 {
  stroke: var(--primary);
}

.logo-stroke-2 {
  stroke: var(--primary-light);
}

/* ===== BUTTONS ===== */
.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: 0 10px 15px rgba(15, 118, 110, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(15, 118, 110, 0.25);
}

.btn-block {
  width: 100%;
}

/* ===== HERO ===== */
.hero-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  gap: 48px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 720px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

h1 {
  font-size: 56px;
  line-height: 1.1;
  color: #1a1a1a;
  margin: 0;
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
}

.subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

.subtitle-secondary {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

/* ===== COUNTDOWN ===== */
.countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px 64px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  max-width: 600px;
  width: 100%;
}

.countdown-header {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  font-weight: 700;
}

.countdown-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
}

.countdown-number {
  font-family: 'Courier New', monospace;
  font-weight: 800;
  font-size: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.countdown-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  font-weight: 600;
}

.countdown-description {
  font-size: 14px;
  color: #475569;
  text-align: center;
  max-width: 420px;
  line-height: 1.7;
  margin: 0;
}

/* ===== FAQ ===== */
.faq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 24px;
  gap: 40px;
  background: #ffffff;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin: 0;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  width: 100%;
}

details {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease;
}

details:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

details[open] {
  background: #f8fafc;
  border-color: var(--primary);
}

summary {
  font-weight: 600;
  font-size: 16px;
  color: #1a1a1a;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

summary::after {
  content: '+';
  margin-left: auto;
  font-size: 20px;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: '−';
}

details p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 12px 0 0 0;
  padding-left: 16px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid #e5e7eb;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
  background: #f8fafc;
}

.footer a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== FORM MODAL ===== */
.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.form-modal-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}

.form-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.form-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #64748b;
  transition: color 0.3s ease;
}

.form-close:hover {
  color: #1a1a1a;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: #1a1a1a;
}

input[type="text"],
input[type="email"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff;
  color: #1a1a1a;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

/* ===== SLIDER ===== */
.slider-container {
  position: relative;
  height: 12px;
  background: #ddd;
  border-radius: 6px;
  cursor: pointer;
  flex: 1;
  min-width: 100px;
}

.slider-fill {
  position: absolute;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 6px;
  left: 0;
  top: 0;
  transition: background 0.3s ease;
}

.slider-thumb {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  cursor: grab;
  box-shadow: 0 10px 15px rgba(15, 118, 110, 0.15);
  transition: all 0.3s ease;
}

.slider-thumb:active {
  cursor: grabbing;
  transform: translateY(-50%) scale(1.1);
}

.slider-value {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 20px;
  min-width: 90px;
  text-align: right;
}

/* ===== INFO BOXES ===== */
.price-info-box {
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid;
  margin-bottom: 16px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.price-info-box p {
  font-weight: 600;
  margin: 0 0 8px 0;
  font-size: 13px;
}

.price-info-box ul {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.6;
  list-style: none;
}

.price-info-box li {
  margin-bottom: 4px;
}

.price-info-box li:before {
  content: "✓ ";
  margin-right: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav {
    padding: 12px;
  }

  .nav-brand {
    font-size: 18px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-container {
    padding: 40px 16px;
    gap: 32px;
  }

  .countdown-card {
    padding: 32px 20px;
  }

  .countdown-number {
    font-size: 32px;
  }

  .section-title {
    font-size: 24px;
  }

  .faq-section {
    padding: 40px 16px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  .subtitle {
    font-size: 14px;
  }

  .countdown-number {
    font-size: 28px;
  }

  .countdown-grid {
    gap: 12px;
  }

  .countdown-item {
    min-width: 70px;
  }

  .countdown-card {
    padding: 24px 16px;
  }

  .slider-value {
    font-size: 18px;
  }

  /* Content pages mobile optimization */
  [style*="max-width:720px"] {
    padding: 24px 16px !important;
  }

  .content-section {
    gap: 12px;
  }

  .content-section h2 {
    font-size: 16px;
  }

  .content-section p {
    font-size: 14px;
  }
}
