:root {
  --primary-rgb: 213, 117, 21;
  --primary-color: #D57515;
  --secondary-color: #D99C5E;
  --accent-color: #F9B571;
  --background: #FFFAF5;
  --background-alt: #FAF5EF;
  --text-color: #2D2319;
  --text-muted: #6B5D4F;
  --section-dark: #2D2319;
  --section-accent: #FAF0E6;
  --border-color: #e5e7eb;
  --footer-bg: #2D2319;
  --footer-text: #d1d5db;
  --footer-heading: #ffffff;
  --footer-link: #9ca3af;
  --footer-link-hover: #ffffff;
  --footer-border: #374151;
  --footer-secondary: #6b7280;
  --heading-color: #2D2319;
  --cta-bg: #FAF5EF;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Ubuntu', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--background);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Ubuntu', system-ui, sans-serif;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid var(--text-color);
  display: flex;
  align-items: center;
  gap: 2rem;
  width: calc(100% - 4rem);
  max-width: 1200px;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.75rem 1.5rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
  align-items: center;
}

.nav-item {
  margin: 0;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color);
}

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

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--text-color);
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-color);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle:hover {
  background: var(--text-color);
  color: var(--background);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  z-index: 0;
  animation: float 10s ease-in-out infinite reverse;
}

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

.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.header-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  background: var(--section-dark);
  color: #ffffff;
  border-bottom: 8px solid var(--primary-color);
}

.header-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.header-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

.content-section {
  padding: 4rem 2rem;
  width: 100%;
}

.section-dark {
  background-color: var(--section-dark);
  color: #ffffff;
  padding: 4rem 2rem;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section-accent {
  background-color: var(--section-accent);
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.card {
  background: var(--background);
  border: 3px solid var(--text-color);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

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

.card p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.feature {
  background: var(--background-alt);
  border-left: 8px solid var(--primary-color);
  padding: 2rem;
  height: 100%;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.featured-item {
  grid-column: 1 / -1;
  background: var(--section-dark);
  color: #ffffff;
  padding: 3rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.featured-item img {
  width: 50%;
  height: 400px;
  object-fit: cover;
}

.featured-item h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.featured-item p {
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-card {
  background: var(--background);
  border: 3px solid var(--text-color);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  top: -1rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  padding-top: 2rem;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.testimonial-card .role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-card {
  background: var(--background);
  border: 3px solid var(--text-color);
  padding: 2.5rem 2rem;
  text-align: center;
}

.pricing-card.featured {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.05);
}

.pricing-card.featured h3,
.pricing-card.featured .price {
  color: #ffffff;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2rem;
  padding: 0;
}

.pricing-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.two-col-layout {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.two-col-layout > * {
  flex: 1;
}

.two-col-layout img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.two-col-layout.reverse {
  flex-direction: row-reverse;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: -3rem;
  width: 4px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-content {
  flex: 1;
  background: var(--background-alt);
  padding: 2rem;
  border-left: 8px solid var(--primary-color);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid var(--background);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -2.5rem;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -2.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid var(--text-color);
  background: var(--background);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--text-color);
  border-color: var(--text-color);
  color: #ffffff;
}

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

.btn-secondary:hover {
  background: var(--text-color);
  color: #ffffff;
  border-color: var(--text-color);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1rem;
}

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

.text-muted {
  color: var(--text-muted);
}

footer.footer-social {
  background: var(--footer-bg);
  padding: 3rem 2rem 2rem;
  border-top: 8px solid var(--primary-color);
}

footer.footer-social .footer-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

footer.footer-social .social-section {
  text-align: center;
}

footer.footer-social .social-section h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--footer-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

footer.footer-social .social-icons-large {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

footer.footer-social .social-icons-large a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: transparent;
  color: var(--footer-heading);
  border: 3px solid var(--footer-heading);
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

footer.footer-social .social-icons-large a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

footer.footer-social .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

footer.footer-social .footer-links a {
  color: var(--footer-link);
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

footer.footer-social .footer-links a:hover {
  color: var(--footer-link-hover);
}

footer.footer-social .copyright {
  text-align: center;
  color: var(--footer-secondary);
  font-size: 0.85rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 3px solid var(--footer-border);
  text-transform: uppercase;
  letter-spacing: 1px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="fade-in"].visible {
  opacity: 1;
}

[data-animate="slide-left"] {
  transform: translateX(-30px);
}

[data-animate="slide-left"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-right"] {
  transform: translateX(30px);
}

[data-animate="slide-right"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-stagger] > *.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin: -1px 0;
  line-height: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section-divider.flip {
  transform: scaleY(-1);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

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

@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .header-hero h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .featured-item {
    flex-direction: column;
  }

  .featured-item img {
    width: 100%;
    height: 300px;
  }

  .two-col-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .two-col-layout.reverse {
    flex-direction: column;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-item:nth-child(even) {
    flex-direction: column;
  }

  .timeline-item::before {
    left: 2rem;
  }

  .timeline-content::before {
    left: -2.5rem !important;
  }

  footer.footer-social .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    width: calc(100% - 2rem);
    top: 1rem;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(45, 35, 25, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    margin: 0;
    z-index: 999;
  }

  body.menu-open .nav-menu {
    display: flex;
  }

  .nav-link {
    font-size: 1.5rem;
    color: #ffffff;
  }

  .nav-link:hover {
    color: var(--primary-color);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 7rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 1rem;
  }

  .header-hero {
    padding: 8rem 1.5rem 3rem;
  }

  .header-hero h1 {
    font-size: 2rem;
  }

  .content-section {
    padding: 3rem 1.5rem;
  }

  .section-dark {
    padding: 3rem 1.5rem;
  }

  .section-accent {
    padding: 3rem 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .featured-item {
    padding: 2rem;
  }

  .featured-item img {
    height: 250px;
  }

  .btn {
    padding: 0.875rem 2rem;
    font-size: 0.75rem;
  }

  .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
  }

  .timeline-item::before {
    left: 1rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .card {
    padding: 1.5rem;
  }

  .feature {
    padding: 1.5rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .navbar {
    width: calc(100% - 1rem);
    padding: 0.75rem;
  }
}
