@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --color-forest: #1a4d2e;
  --color-forest-light: #2d6a4f;
  --color-sage: #52796f;
  --color-terracotta: #e07a5f;
  --color-terracotta-dark: #c1624a;
  --color-cream: #f8f5f1;
  --color-sand: #e8dfd2;
  --color-emerald: #2ecc71;
  --color-amber: #f4a261;
  --color-charcoal: #2b2d2f;
  --color-charcoal-light: #3a3d3f;
  --color-white: #ffffff;
  --color-gray-100: #f7f7f7;
  --color-gray-200: #e0e0e0;
  --color-gray-400: #9a9a9a;
  --color-gray-600: #6a6a6a;

  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 77, 46, 0.1);
  z-index: 100;
  animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-forest);
  letter-spacing: -0.02em;
}

.logo-mark {
  font-size: 2rem;
  color: var(--color-terracotta);
}

.logo-text {
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--color-charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.cta-button {
  background: var(--color-forest);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--shadow-sm);
}

.cta-button:hover {
  background: var(--color-forest-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 10rem;
  padding-bottom: 8rem;
  background: var(--color-white);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(26, 77, 46, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-accent-circle {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 77, 46, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1400px;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-charcoal);
  letter-spacing: -0.03em;
  margin: 0 0 1.75rem 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.title-highlight {
  position: relative;
  color: var(--color-forest);
  font-style: italic;
}

.title-highlight::after {
  content: '';
  position: absolute;
  bottom: 0.2em;
  left: -0.1em;
  right: -0.1em;
  height: 0.35em;
  background: linear-gradient(90deg, rgba(46, 204, 113, 0.3), rgba(46, 204, 113, 0.15));
  z-index: -1;
  border-radius: 4px;
}

.title-highlight.accent {
  color: var(--color-terracotta);
}

.title-highlight.accent::after {
  background: linear-gradient(90deg, rgba(224, 122, 95, 0.3), rgba(224, 122, 95, 0.15));
}

.hero-subtitle {
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--color-gray-600);
  margin: 0 0 2.5rem 0;
  max-width: 580px;
  font-weight: 500;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

.primary-button {
  background: var(--color-terracotta);
  color: var(--color-white);
  border: none;
  padding: 1.25rem 2.5rem;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
}

.primary-button:hover {
  background: var(--color-terracotta-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.button-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

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

.secondary-button {
  background: transparent;
  color: var(--color-charcoal);
  border: 2px solid var(--color-charcoal);
  padding: 1.25rem 2.5rem;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.secondary-button:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(26, 77, 46, 0.1);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-forest);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background: rgba(26, 77, 46, 0.15);
}

.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s backwards;
}

.visual-card {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(26, 77, 46, 0.12), 0 0 0 1px rgba(26, 77, 46, 0.06);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-forest-light) 100%);
  color: var(--color-white);
}

.card-title {
  font-weight: 700;
  font-size: 1.125rem;
  font-family: var(--font-display);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--color-emerald);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.inventory-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--color-gray-100);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.inventory-item:hover {
  background: var(--color-cream);
  transform: translateX(4px);
}

.item-icon-wrapper {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 2px solid;
}

.item-icon-wrapper[data-freshness="high"] {
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.3);
  color: var(--color-emerald);
}

.item-icon-wrapper[data-freshness="medium"] {
  background: rgba(244, 162, 97, 0.08);
  border-color: rgba(244, 162, 97, 0.3);
  color: var(--color-amber);
}

.item-icon-wrapper[data-freshness="low"] {
  background: rgba(224, 122, 95, 0.08);
  border-color: rgba(224, 122, 95, 0.3);
  color: var(--color-terracotta);
}

.item-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.inventory-item:hover .item-icon-wrapper {
  transform: translateX(4px);
  border-color: currentColor;
}

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.item-name {
  font-weight: 700;
  color: var(--color-charcoal);
  font-size: 1rem;
}

.item-quantity {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  font-weight: 600;
}

.freshness-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 100px;
  overflow: hidden;
}

.freshness-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.freshness-fill[data-level="high"] {
  background: linear-gradient(90deg, var(--color-emerald), #27ae60);
}

.freshness-fill[data-level="medium"] {
  background: linear-gradient(90deg, var(--color-amber), #e76f51);
}

.freshness-fill[data-level="low"] {
  background: linear-gradient(90deg, var(--color-terracotta), #c1624a);
}

.item-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.meta-label {
  color: var(--color-gray-400);
  font-weight: 600;
}

.meta-value {
  color: var(--color-charcoal);
  font-weight: 700;
}

/* ===== FEATURES SECTION ===== */
.features {
  position: relative;
  padding: 8rem 0;
  background: var(--color-forest);
  overflow: hidden;
}

.features-bg-element {
  position: absolute;
  top: 20%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.features .container {
  position: relative;
  z-index: 1;
}

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

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.features .section-label {
  color: var(--color-emerald);
}

.section-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-charcoal);
  margin: 0;
  letter-spacing: -0.02em;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  padding: 2.5rem;
  background: var(--color-white);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border-color: var(--color-emerald);
}

.feature-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(26, 77, 46, 0.08);
  line-height: 1;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-number {
  color: rgba(46, 204, 113, 0.2);
}

.feature-icon-container {
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 2px solid var(--color-forest);
  background: rgba(26, 77, 46, 0.04);
  color: var(--color-forest);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.feature-card:hover .feature-icon {
  transform: translateY(-4px);
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: var(--color-white);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.feature-description {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

.feature-arrow {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  color: var(--color-terracotta);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== CONTACT SECTION ===== */
.contact {
  position: relative;
  padding: 8rem 0;
  background: var(--color-cream);
  overflow: hidden;
}

.contact-bg-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(26, 77, 46, 0.02) 10px,
    rgba(26, 77, 46, 0.02) 20px
  );
}

.contact-wrapper {
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.contact .section-title {
  margin-bottom: 1.5rem;
}

.contact-intro {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-gray-600);
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 20px;
  border: 2px solid rgba(26, 77, 46, 0.08);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-forest);
}

.contact-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: 14px;
  flex-shrink: 0;
}

.contact-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-forest);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--font-display);
}

.contact-value:hover {
  color: var(--color-terracotta);
}

.contact-form-wrapper {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(26, 77, 46, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.form-group label {
  font-weight: 700;
  color: var(--color-charcoal);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-gray-200);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--color-white);
  color: var(--color-charcoal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-forest);
  box-shadow: 0 0 0 4px rgba(26, 77, 46, 0.08);
}

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

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

.full-width {
  width: 100%;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-charcoal);
  padding: 4rem 0 2rem;
  color: var(--color-white);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

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

.footer-brand .logo {
  margin-bottom: 1rem;
  color: var(--color-white);
}

.footer-brand .logo-mark {
  color: var(--color-terracotta);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 5rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-heading {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
  font-family: var(--font-display);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-terracotta);
}

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

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-built {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

  .footer-main {
    flex-direction: column;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

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

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

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .contact-form-wrapper {
    padding: 2rem;
  }

  .footer-links {
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
