:root {
  --bg-primary: #F9F8F6;
  --bg-secondary: #EFECE5;
  --accent-primary: #4A5D23;
  --accent-secondary: #D08C60;
  --accent-highlight: #7A8B52;
  --text-primary: #2C2C2C;
  --text-secondary: #595959;
  --text-muted: #8A8A8A;
  --glass-bg: rgba(249, 248, 246, 0.85);
  --border-radius: 16px;
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

a {
  text-decoration: none;
  color: var(--accent-primary);
  transition: var(--transition);
}

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

/* Layout Utilities */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 120px;
}

.section-padding {
  padding: 120px 0;
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--accent-highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  color: #fff;
}

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

.btn-secondary:hover {
  background-color: var(--accent-primary);
  color: #fff;
}

/* Glass Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 24px 0;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: var(--shadow-soft);
}

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

.brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 24px;
}

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

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

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.image-accent-blob {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 200px;
  height: 200px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.2;
  filter: blur(40px);
}

/* Cards / Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.card p {
  flex-grow: 1;
  font-size: 1rem;
}

.card-link {
  margin-top: 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Feature Image Section */
.feature-image {
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  height: 100%;
  min-height: 500px;
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-primary);
  padding: 48px;
  border-radius: var(--border-radius);
  position: relative;
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent-primary);
}

/* CTA Section */
.cta-section {
  background-color: var(--accent-primary);
  color: #fff;
  border-radius: 32px;
  padding: 80px 40px;
  margin: 120px 0;
}

.cta-section h2, .cta-section p {
  color: #fff;
}

.cta-section .btn-secondary {
  border-color: #fff;
  color: #fff;
}

.cta-section .btn-secondary:hover {
  background-color: #fff;
  color: var(--accent-primary);
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

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

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

/* Footer */
.footer {
  background-color: #fff;
  padding: 80px 0 40px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  margin-bottom: 24px;
  font-size: 1.125rem;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Page Headers */
.page-header {
  padding: 180px 0 80px;
  background-color: var(--bg-secondary);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Content Blocks for Legal/Rules Pages */
.content-block {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}

.content-block h2 {
  margin-top: 40px;
  font-size: 1.75rem;
}