/* Design System & Paleta Petrol / Deep Teal & Warm Ochre */
:root {
  --primary: #0f766e;           /* Deep Teal / Petrol */
  --primary-hover: #115e59;
  --primary-light: #ccfbf1;
  --primary-dark: #134e4a;
  --secondary: #d97706;         /* Warm Ochre / Amber Accent */
  --secondary-hover: #b45309;
  --bg-gradient: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --border-focus: #0f766e;
  --text-main: #0f172a;        /* WCAG AAA compliant text */
  --text-muted: #334155;
  --text-light: #64748b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 18px rgba(15, 118, 110, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.09);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
}

.logo-badge {
  background: var(--primary);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.btn-cta {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.25);
  transition: all 0.2s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  display: inline-block;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--primary-light);
}

/* Hero Section */
.hero {
  background: var(--bg-gradient);
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.hero-card h3 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Section Common */
.section {
  padding: 64px 0;
}

.section-alt {
  background-color: var(--surface-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Feature Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Interactive Calculator Style */
.calc-container {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 36px;
  max-width: 860px;
  margin: 0 auto;
}

.step-box {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.step-box:last-of-type {
  border-bottom: none;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  background: var(--primary);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.options-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.calc-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--surface);
  transition: all 0.2s ease;
}

.calc-option:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.calc-option input[type="radio"],
.calc-option input[type="checkbox"] {
  margin-top: 3px;
  margin-right: 12px;
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.calc-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.calc-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  display: block;
}

.calc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.calc-result {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 28px;
}

.score-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.score-high {
  background: #dcfce7;
  color: #166534;
}

.score-mid {
  background: #fef3c7;
  color: #92400e;
}

.score-low {
  background: #fee2e2;
  color: #991b1b;
}

/* Compliance Banner / Disclaimer */
.disclaimer-banner {
  background: #f1f5f9;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 32px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.disclaimer-banner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 56px 0 28px;
  margin-top: 64px;
}

.footer a {
  color: #94a3b8;
}

.footer a:hover {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #ffffff;
  padding: 18px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.25);
  display: none;
}

.cookie-content {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  flex: 1;
  min-width: 280px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.btn-cookie-accept {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-cookie-decline {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #475569;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--surface);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

/* Responsiveness */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
}
