:root {
  --cream: #F5F0E6;
  --sand: #EDE3D2;
  --cocoa: #6B5B4F;
  --cocoa-light: #8B7B6F;
  --gold: #F4C430;
  --gold-light: #FBF0C4;
  --gold-dark: #E6B800;
  --charcoal: #2D2D2D;
  --charcoal-light: #3D3D3D;
  --white: #FFFFFF;
  --success: #22C55E;
  --danger: #EF4444;
  --info: #3B82F6;
  --purple: #8B5CF6;
  --orange: #F97316;
  --teal: #14B8A6;

  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 8px 32px rgba(244, 196, 48, 0.3);

  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 196, 48, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(244, 196, 48, 0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 230, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(237, 227, 210, 0.6);
  transition: all 0.3s var(--ease-out);
}

.nav.scrolled {
  background: rgba(245, 240, 230, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  transition: transform 0.3s var(--ease-out);
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  color: var(--cocoa);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s var(--ease-out);
}

.nav-links a:not(.btn):hover {
  color: var(--charcoal);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--charcoal);
  box-shadow: 0 4px 16px rgba(244, 196, 48, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(244, 196, 48, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal);
  border: 1.5px solid rgba(45, 45, 45, 0.1);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.btn-dark {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a1a 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-2xl);
}

.btn-full {
  width: 100%;
}

.btn-arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.hero {
  padding: 180px 0 120px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 50%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(244, 196, 48, 0.05) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--white);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cocoa);
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(237, 227, 210, 0.6);
  animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.badge-icon {
  color: var(--gold);
  font-size: 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s forwards;
  opacity: 0;
}

.gradient-text {
  background: linear-gradient(
    135deg, 
    var(--gold) 0%, 
    var(--gold-dark) 25%,
    var(--gold) 50%,
    var(--gold-dark) 75%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--cocoa);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 400;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s forwards;
  opacity: 0;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-cream {
  background: var(--cream);
}

.section-white {
  background: var(--white);
}

.section-charcoal {
  background: var(--charcoal);
}

.section-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  position: relative;
  overflow: hidden;
}

.section-gold::before {
  content: '';
  position: absolute;
  inset: 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.05'%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");
  opacity: 0.5;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header-light {
  color: var(--white);
}

.section-header-light .section-title {
  color: var(--white);
}

.section-header-light .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--sand);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cocoa);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-badge-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--charcoal);
}

.section-badge-light {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--cocoa);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.solution-content {
  max-width: 700px;
  margin: 0 auto;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.solution-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 32px;
  background: var(--cream);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(237, 227, 210, 0.8);
  transition: all 0.4s var(--ease-out);
}

.solution-feature:hover {
  transform: translateX(8px);
  background: var(--white);
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}

.feature-check {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.solution-feature:hover .feature-check {
  background: var(--success);
  color: var(--white);
  transform: scale(1.1);
}

.solution-feature h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.solution-feature p {
  font-size: 0.95rem;
  color: var(--cocoa);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(237, 227, 210, 0.6);
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease-out);
  border-radius: 0 0 4px 0;
}

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

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-out);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon-gold {
  background: linear-gradient(135deg, rgba(244, 196, 48, 0.15) 0%, rgba(244, 196, 48, 0.05) 100%);
  color: var(--gold);
}

.feature-icon-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
  color: var(--success);
}

.feature-icon-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
  color: var(--info);
}

.feature-icon-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
  color: var(--purple);
}

.feature-icon-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%);
  color: var(--orange);
}

.feature-icon-teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(20, 184, 166, 0.05) 100%);
  color: var(--teal);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--cocoa);
  line-height: 1.7;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-text {
  color: var(--charcoal);
}

.contact-text .section-title {
  color: var(--charcoal);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-text p {
  font-size: 1.1rem;
  color: var(--charcoal);
  opacity: 0.8;
  line-height: 1.7;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-3xl);
  padding: 40px;
  box-shadow: var(--shadow-strong);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--cream);
  transition: all 0.3s var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--cocoa-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-brand .logo-img {
  filter: brightness(0) invert(1);
  height: 24px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 14px;
  transition: all 0.3s var(--ease-out);
}

.footer-column a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-content {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  
  .nav-links {
    display: none;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .solution-feature {
    padding: 20px 24px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 48px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
