/* ================================================
   GRÃOS S.A. - LANDING PAGE
   Design: Dark premium + Green/Gold accents
   Mobile-first responsive
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --bg-form: #161616;
  
  --green-dark: #3a6b24;
  --green: #4A7C2F;
  --green-light: #6B8E3A;
  --green-pale: #8aab5a;
  
  --gold: #E8C840;
  --gold-light: #F5D76E;
  --gold-dark: #C9A825;
  
  --accent: #F5A623;
  --accent-hover: #e09510;
  
  --white: #ffffff;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  
  --red: #E53935;
  --whatsapp: #25D366;
  --whatsapp-hover: #1ebe57;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(74,124,47,0.3);
  
  --transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: rgba(74,124,47,0.15);
}

button, .btn, a {
  touch-action: manipulation; /* Removes 300ms tap delay on mobile */
}

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

.hidden {
  display: none !important;
}

/* ---------- Text Gradient ---------- */
.text-gradient {
  background: linear-gradient(135deg, var(--gold), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(74,124,47,0.4);
}

@media (hover: hover) {
  .btn-primary:hover {
    background: linear-gradient(135deg, var(--green-light), var(--green));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(74,124,47,0.5);
  }
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(74,124,47,0.4);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

@media (hover: hover) {
  .btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37,211,102,0.4);
  }
}

.btn-whatsapp:active {
  transform: scale(0.97);
}

.btn-outline {
  background: transparent;
  color: var(--green-light);
  border: 2px solid var(--green-light);
}

@media (hover: hover) {
  .btn-outline:hover {
    background: var(--green-light);
    color: var(--white);
  }
}

.btn-outline:active {
  transform: scale(0.97);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------- Floating CTA Button ---------- */
.floating-cta {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 16px;
  z-index: 9999;
  animation: pulse-cta 2s infinite;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-cta.hidden-cta {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.floating-cta .btn {
  box-shadow: 0 4px 20px rgba(74,124,47,0.5);
  font-size: 13px;
  padding: 12px 20px;
}

@media (hover: hover) {
  .floating-cta .btn:hover {
    box-shadow: 0 6px 30px rgba(74,124,47,0.7);
  }
}

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

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.btn-nav-cta {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 420px) {
  .btn-nav-cta {
    padding: 8px 14px;
    font-size: 11px;
  }
  
  .navbar-logo img {
    height: 32px;
  }
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

.footer-contact-text {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* ---------- Catalog Modal (Desktop) ---------- */
.catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.catalog-modal.active {
  display: flex;
  opacity: 1;
}

.catalog-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.catalog-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.catalog-modal-close {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  border: none;
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

@media (hover: hover) {
  .catalog-modal-close:hover {
    background: #c62828;
  }
}

.catalog-modal-close:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .catalog-modal-close {
    padding: 12px 24px;
    font-size: 16px;
  }
}

.catalog-modal-body {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch; /* Momentum scrolling on iOS */
}

.catalog-modal-body iframe {
  border: none;
  display: block;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height - accounts for mobile browser UI */
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  background: 
    linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(20,20,20,0.85) 50%, rgba(10,10,10,0.95) 100%),
    url('https://images.unsplash.com/photo-1596040033229-a9821ebd058d?w=1920&q=80') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(74,124,47,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(232,200,64,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,124,47,0.15);
  border: 1px solid rgba(74,124,47,0.3);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--green-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-subtitle strong {
  color: var(--gold);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-trust strong {
  color: var(--text-primary);
}

.hero-trust-bar {
  width: 3px;
  height: 20px;
  background: linear-gradient(180deg, var(--green), var(--gold));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---------- Form Card ---------- */
.form-card {
  background: var(--bg-form);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
}

.form-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.form-card-header h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-card-header h2 i {
  color: var(--gold);
}

.form-card-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

.form-card-alt {
  background: var(--bg-card);
}

/* ---------- Form Styles ---------- */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition);
  z-index: 1;
}

.input-icon input,
.input-icon select {
  width: 100%;
  padding: 14px 14px 14px 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px; /* Must be 16px to prevent iOS Safari auto-zoom */
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

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

.input-icon input:focus,
.input-icon select:focus {
  border-color: var(--green);
  background: rgba(74,124,47,0.08);
  box-shadow: 0 0 0 3px rgba(74,124,47,0.15);
}

.input-icon input:focus + i,
.input-icon input:focus ~ i,
.input-icon select:focus ~ i {
  color: var(--green-light);
}

/* Fix for select icon not responding to sibling selector - handle with parent */
.input-icon:focus-within i {
  color: var(--green-light);
}

.input-icon select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.input-icon select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.btn-submit {
  margin-top: 8px;
  padding: 16px;
  font-size: 16px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s 3; /* 3 cycles then stop - reduces GPU load on mobile */
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-disclaimer i {
  color: var(--green-light);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::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.03'%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");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

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

.stat-number {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number::after {
  content: '+';
  font-size: 0.6em;
  color: var(--gold);
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ---------- Section Styles ---------- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74,124,47,0.12);
  border: 1px solid rgba(74,124,47,0.25);
  color: var(--green-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Products Section ---------- */
.products {
  padding: 48px 0;
  background: var(--bg-secondary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74,124,47,0.3);
    box-shadow: var(--shadow-glow);
  }
}

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

@media (hover: hover) {
  .product-card:hover .product-image img {
    transform: scale(1.05);
  }
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #1a1a1a;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-info {
  padding: 14px;
}

.product-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.product-meta i {
  color: var(--green-light);
  font-size: 11px;
}

/* Secondary Products */
.products-secondary {
  margin-top: 40px;
}

.secondary-card {
  background: linear-gradient(135deg, rgba(74,124,47,0.08), rgba(232,200,64,0.05));
  border: 1px solid rgba(74,124,47,0.2);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
}

.secondary-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.secondary-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.secondary-card strong {
  color: var(--text-primary);
}

/* ---------- Catalog Section ---------- */
.catalog-section {
  margin-top: 32px;
}

.catalog-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.catalog-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.catalog-text p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.catalog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .catalog-card {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  
  .catalog-actions {
    flex-shrink: 0;
  }
}

/* ---------- Why Us Section ---------- */
.why-us {
  padding: 48px 0;
  background: var(--bg-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

@media (hover: hover) {
  .benefit-card:hover {
    border-color: rgba(74,124,47,0.3);
    transform: translateY(-2px);
  }
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(74,124,47,0.15), rgba(232,200,64,0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--green-light);
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 48px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74,124,47,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-text > p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.cta-benefits {
  list-style: none;
  margin-bottom: 28px;
}

.cta-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
}

.cta-benefits i {
  color: var(--green-light);
  font-size: 18px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: 12px;
  transition: var(--transition);
}

@media (hover: hover) {
  .footer-email:hover {
    color: var(--gold);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

/* Intersection Observer animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Particle dots in hero ---------- */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(74,124,47,0.3);
  border-radius: 50%;
  animation: float linear infinite;
  will-change: transform, opacity;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* ============================================
   THANK YOU PAGE
   ============================================ */
.thankyou-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  position: relative;
}

.thankyou-wrapper {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 2;
}

.thankyou-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  text-align: center;
  animation: fadeInUp 0.6s ease;
}

.thankyou-logo {
  display: inline-block;
  margin-bottom: 28px;
}

.thankyou-logo img {
  margin: 0 auto;
}

.thankyou-icon {
  margin-bottom: 24px;
}

.success-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 36px;
  color: var(--white);
  animation: scaleIn 0.5s ease 0.3s both;
  box-shadow: 0 0 40px rgba(74,124,47,0.3);
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.thankyou-card h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.thankyou-message {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.thankyou-urgent {
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 24px;
}

.urgent-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.urgent-number {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--whatsapp);
}

.thankyou-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.thankyou-back:hover {
  color: var(--text-primary);
}

/* Confetti */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ============================================
   RESPONSIVE - Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
  .products,
  .why-us,
  .cta-section {
    padding: 80px 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-content {
    grid-template-columns: 2fr 1fr;
  }
}

/* ============================================
   RESPONSIVE - Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }
  
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero-content {
    grid-template-columns: 1fr 420px;
    gap: 60px;
  }
  
  .navbar-logo img {
    height: 48px;
  }
  
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .cta-wrapper {
    grid-template-columns: 1fr 400px;
    gap: 60px;
  }
  
  .product-info h3 {
    font-size: 16px;
  }
}

/* ============================================
   RESPONSIVE - Large Desktop (1280px+)
   ============================================ */
@media (min-width: 1280px) {
  .hero-content {
    grid-template-columns: 1fr 460px;
    gap: 80px;
  }
  
  .cta-wrapper {
    grid-template-columns: 1fr 440px;
  }
}

/* ============================================
   EXTRA SMALL screens (< 360px)
   ============================================ */
@media (max-width: 359px) {
  .hero-cta-group {
    flex-direction: column;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REDUCED MOTION - Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .reveal {
    opacity: 1;
    transform: none;
  }
}
