:root {
  --bg: #fdfcf9;
  --fg: #2d1810;
  --muted: #6b5344;
  --border: #e8dfd6;
  --accent: #8b6f47;
  --accent-dark: #6b5a3d;
  --light-bg: #f5f0eb;
  --success: #10b981;
  --error: #ef4444;
  --coffee: #6f4e37;
  --coffee-light: #8b6f47;
  --tea: #4a7c59;
  --tea-light: #6ba576;
  --cream: #f5e6d3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

/* Navigation */
.nav {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--border);
  align-items: center;
  background: #fff;
}

.nav-link {
  color: var(--fg);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #6f4e37, #4a7c59);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link:hover {
  filter: brightness(1.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #3d2817 0%, #5a3d2a 25%, #4a5c3d 50%, #5a3d2a 75%, #3d2817 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(111, 78, 55, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(74, 124, 89, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}

.hero-badge {
  display: inline-block;
}

.bg-gradient-coffee {
  background: linear-gradient(135deg, #6f4e37, #8b6f47) !important;
  color: white !important;
}

.domain-name {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  font-weight: 900;
  background: linear-gradient(135deg, #ffd9b3 0%, #ffe6cc 50%, #fff5e6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 30px rgba(111, 78, 55, 0.2);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #f5dcc4;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  color: #f5dcc4;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background: #fdfcf9;
}

.features-section h2 {
  background: linear-gradient(135deg, #6f4e37 0%, #4a7c59 50%, #8b6f47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card {
  background: linear-gradient(135deg, #ffffff 0%, #f5f0eb 100%);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(245, 230, 211, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(111, 78, 55, 0.12);
  border-color: var(--coffee);
}

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

.feature-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1rem;
}

.gradient-coffee {
  background: linear-gradient(135deg, #6f4e37, #8b6f47);
  box-shadow: 0 8px 20px rgba(111, 78, 55, 0.3);
}

.gradient-tea {
  background: linear-gradient(135deg, #4a7c59, #6ba576);
  box-shadow: 0 8px 20px rgba(74, 124, 89, 0.3);
}

.gradient-roast {
  background: linear-gradient(135deg, #5c3d2f, #7a5c4a);
  box-shadow: 0 8px 20px rgba(92, 61, 47, 0.3);
}

.gradient-cream {
  background: linear-gradient(135deg, #d4a574, #e8c9ad);
  box-shadow: 0 8px 20px rgba(212, 165, 116, 0.3);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ===== SPECS SECTION ===== */
.specs-section {
  background: linear-gradient(135deg, #f5f0eb 0%, #ede5da 100%);
}

.specs-section h2 {
  color: var(--fg);
  margin-bottom: 3rem;
}

.spec-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(111, 78, 55, 0.08);
}

.spec-card:hover {
  border-color: var(--coffee);
  box-shadow: 0 12px 24px rgba(111, 78, 55, 0.12);
  transform: translateY(-4px);
}

.spec-icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #6f4e37, #4a7c59);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-left: auto;
  margin-right: auto;
}

.spec-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.spec-value {
  font-size: 1.25rem;
  color: var(--fg);
  font-weight: 700;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: white;
  padding: 5rem 0;
}

.contact-section h2 {
  background: linear-gradient(135deg, #6f4e37 0%, #4a7c59 50%, #8b6f47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.contact-form-wrapper {
  background: linear-gradient(135deg, #ffffff 0%, #f5f0eb 100%);
  padding: 3rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(111, 78, 55, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-control {
  border: 1.5px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--coffee);
  box-shadow: 0 0 0 4px rgba(111, 78, 55, 0.1);
}

.form-control-lg {
  padding: 1rem 1.25rem;
  font-size: 1.0625rem;
}

.form-label {
  font-weight: 600;
  color: var(--fg);
}

.btn-gradient {
  background: linear-gradient(135deg, #6f4e37 0%, #4a7c59 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4a7c59 0%, #8b6f47 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-gradient:hover::before {
  left: 0;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(111, 78, 55, 0.25);
}

.btn-gradient:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-status {
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  display: none;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .domain-name {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .feature-card {
    padding: 2rem;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }
}
