/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - Bold coral/terracotta with deep navy */
  --primary: #E8553D;
  --primary-dark: #C94430;
  --primary-light: #FF7A66;
  --secondary: #0F1C2E;
  --secondary-light: #1A2D47;
  --accent: #F4A261;
  --background: #FEFCFB;
  --background-alt: #F7F3F0;
  --text: #1A1A1A;
  --text-light: #6B6B6B;
  --text-inverse: #FEFCFB;
  --success: #2A9D8F;
  --error: #E63946;
  
  /* Typography */
  --font-display: 'Clash Display', 'Bebas Neue', sans-serif;
  --font-body: 'Satoshi', 'DM Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
  font-size: 1.125rem;
  max-width: 65ch;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: rgba(254, 252, 251, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition-base);
}

.header.scrolled {
  padding: var(--space-sm) 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px rgba(232, 85, 61, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 85, 61, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text-inverse);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--secondary);
  color: var(--text-inverse);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
}

/* ===== HERO ===== */
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(232, 85, 61, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--background), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--background-alt);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: var(--space-md);
  animation: fadeSlideUp 0.6s ease forwards;
  opacity: 0;
}

.hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: fadeSlideUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
  animation: fadeSlideUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeSlideUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: var(--radius-lg);
  opacity: 0.6;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: 5%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 55%;
  right: 15%;
  background: var(--secondary);
  animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 35%;
  right: 25%;
  background: var(--accent);
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

/* ===== VALUE PROPS ===== */
.value-props {
  background: var(--background-alt);
  position: relative;
}

.value-props::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section-header p {
  margin: var(--space-sm) auto 0;
  color: var(--text-light);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.value-card {
  background: var(--background);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
  transition: var(--transition-base);
  border: 1px solid transparent;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.value-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--secondary);
  font-size: 1.5rem;
  line-height: 1.2;
}

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

/* ===== STATS ===== */
.stats {
  background: var(--secondary);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item h2 {
  font-size: clamp(3rem, 8vw, 5rem);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== COST SECTION ===== */
.cost-section {
  position: relative;
}

.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.cost-content h2 {
  margin-bottom: var(--space-md);
  color: var(--secondary);
}

.cost-content p {
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.cost-list {
  margin-bottom: var(--space-lg);
}

.cost-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

.cost-list li::before {
  content: '×';
  color: var(--error);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
}

.cost-visual {
  position: relative;
  padding: var(--space-xl);
}

.cost-comparison {
  background: var(--background-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.cost-comparison::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-label {
  font-weight: 500;
}

.comparison-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.comparison-value.expensive {
  color: var(--error);
  text-decoration: line-through;
  opacity: 0.6;
}

.comparison-value.savings {
  color: var(--success);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-inverse);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  margin: 0 auto var(--space-lg);
  opacity: 0.9;
  font-size: 1.25rem;
}

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

.cta-section .btn:hover {
  background: var(--secondary);
  color: white;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary);
  color: var(--text-inverse);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  color: var(--text-inverse);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.footer-links a {
  opacity: 0.7;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
  padding-top: 150px;
  padding-bottom: var(--space-xl);
  background: var(--background-alt);
  position: relative;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(232, 85, 61, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-hero h1 {
  margin-bottom: var(--space-sm);
}

.contact-hero p {
  color: var(--text-light);
  font-size: 1.25rem;
}

.contact-section {
  padding: var(--space-2xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-2xl);
}

.contact-info h3 {
  margin-bottom: var(--space-md);
  color: var(--secondary);
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.contact-details {
  margin-top: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--background-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-item-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
}

.contact-item-text a,
.contact-item-text p {
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

/* ===== FORM ===== */
.contact-form-wrapper {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 10px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid var(--background-alt);
  border-radius: var(--radius-md);
  background: var(--background);
  transition: var(--transition-fast);
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232, 85, 61, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-sm) center;
  background-size: 20px;
  padding-right: var(--space-xl);
}

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

.form-submit {
  margin-top: var(--space-lg);
}

.form-submit .btn {
  width: 100%;
}

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--success) 0%, #21867A 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: white;
  font-size: 2rem;
}

.form-success h3 {
  margin-bottom: var(--space-sm);
  color: var(--secondary);
}

.form-success p {
  color: var(--text-light);
  margin: 0 auto;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition-fast);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cost-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--background);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px var(--space-lg) var(--space-lg);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: var(--transition-base);
  }
  
  .nav.open {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.25rem;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--background-alt);
    width: 100%;
  }
  
  .hero-shapes {
    opacity: 0.3;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ===== PRIVACY POLICY PAGE ===== */
.legal-page {
  padding-top: 150px;
  padding-bottom: var(--space-2xl);
}

.legal-page h1 {
  margin-bottom: var(--space-lg);
}

.legal-page h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-page p,
.legal-page li {
  margin-bottom: var(--space-sm);
  color: var(--text-light);
}

.legal-page ul {
  padding-left: var(--space-lg);
  list-style: disc;
}
