:root {
  --bg: #0b0f14;
  --panel: #0f141b;
  --muted: #a5b1c2;
  --text: #e6ebf2;
  --brand: #37c0ff;
  --brand-2: #9cff6a;
  --card: #111720;
  --stroke: #1b2430;
  --accent: #bdecff;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --radius-xl: 20px;
  --radius-lg: 14px;
  --space: clamp(16px, 2.5vw, 28px);
  --maxw: 1180px
}

* {
  box-sizing: border-box
}

html { 
  scroll-behavior: smooth; 
}

body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space)
}

/* Header */
header {
  padding: 2rem 0;
  border-bottom: 1px solid var(--stroke);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
}

nav a {
  margin-left: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

.hero .tagline {
  font-size: 0.95rem;
  color: var(--brand-2);
  margin-top: 1rem;
  font-weight: 600;
}

/* Content Sections */
.content-section {
  padding: 3rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  color: var(--brand);
  border-bottom: 2px solid var(--stroke);
  padding-bottom: 0.5rem;
}

.content-section h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--accent);
}

.content-section p {
  margin: 1rem 0;
  color: var(--text);
  line-height: 1.8;
}

/* Forms */
.form-section {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
}

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

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--bg);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(55, 192, 255, 0.3);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.alert-success {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4caf50;
}

.alert-error {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #f44336;
}

/* Loading Spinner */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading .spinner {
  display: block;
}

.loading .btn-text {
  display: none;
}

/* Footer */
footer {
  background: var(--panel);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--stroke);
}

.copyright {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .container {
    padding: 0 8px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .form-section, .cta-box {
    padding: 1rem !important;
    margin: 1rem 0 !important;
  }
  .btn-primary {
    padding: 1rem 0.5rem;
    font-size: 1rem;
  }
  .quantity-selector {
    gap: 0.5rem;
  }
  .total-price {
    padding: 1rem;
    font-size: 1.1rem;
  }
  .form-group input, .form-group select {
    padding: 0.6rem 0.7rem;
    font-size: 0.98rem;
  }
}
