:root {
  /* Color Palette - Puffin Exonix (Eco-Tech) */
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --accent-primary: #059669; /* Sustainable Green */
  --accent-secondary: #EA580C; /* Puffin Orange */
  --text-primary: #0F172A; /* Deep Slate */
  --text-secondary: #475569; /* Muted Slate */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout Spacing */
  --max-width: 1320px;
  --spacing-desktop: 100px;
  --spacing-tablet: 80px;
  --spacing-mobile: 60px;
  --border-radius: 16px;
  
  /* Shadows */
  --shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(5, 150, 105, 0.15);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 { font-size: 4rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 1.125rem; }

/* Smart Glass Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.btn-primary:hover {
  background-color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: white;
}

/* Layout Utilities */
.section {
  padding: var(--spacing-desktop) 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  background: radial-gradient(circle at top right, rgba(5, 150, 105, 0.05), transparent 50%),
              radial-gradient(circle at bottom left, rgba(234, 88, 12, 0.03), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Services / Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.card {
  background: var(--bg-secondary);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* About Preview */
.about-preview {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 5rem;
  margin: var(--spacing-desktop) 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Testimonials */
.testimonials {
  background: var(--accent-primary);
  color: white;
  padding: var(--spacing-desktop) 0;
  margin-top: var(--spacing-desktop);
}

.testimonials h2, .testimonials p {
  color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: var(--max-width);
  margin: 4rem auto 0;
  padding: 0 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

/* Inner Pages Header */
.page-header {
  padding-top: 150px;
  padding-bottom: 80px;
  background: var(--bg-secondary);
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.page-content {
  background: var(--bg-secondary);
  padding: 4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--spacing-desktop);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  padding-right: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

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

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-primary);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Document Pages (Terms/Privacy/Rules) */
.document-content {
  max-width: 800px;
  margin: 0 auto;
}

.document-content h2 {
  margin-top: 2.5rem;
  font-size: 1.75rem;
}

.document-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background-color: var(--text-primary);
  color: white;
  padding: 6rem 2rem 2rem;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: var(--text-secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #94A3B8;
  font-size: 0.875rem;
}