/* ===================================
   TRILUCKS — Main Stylesheet
   Mobile-first, responsive design
   =================================== */

/* --- CSS Custom Properties --- */
:root {
  --primary: #17506B;
  --primary-dark: #0E3347;
  --secondary: #4C9131;
  --secondary-light: #5BA83A;
  --accent: #D8A02C;
  --accent-light: #F0C040;
  --neutral: #7B9080;
  --bg: #F7F9FB;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text-light: #4A5568;
  --text-inverse: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Accessible Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  will-change: transform;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--secondary);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(76, 145, 49, 0.3);
}

.btn-primary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 145, 49, 0.4);
}

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

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

.btn-accent {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(216, 160, 44, 0.3);
}

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

.btn-white {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

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

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

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

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

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

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  transition: color var(--transition);
}

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

/* Mobile sticky CTA */
.mobile-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-cta .btn {
  width: 100%;
}

/* --- Scroll-Driven Video Hero --- */
.scroll-hero {
  height: 400vh;
  position: relative;
  background: #1a1410;
}

@media (max-width: 1024px) { .scroll-hero { height: 350vh; } }
@media (max-width: 768px) { .scroll-hero { height: 300vh; } }

.scroll-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #1a1410;
}

#frameCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.scroll-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.scroll-hero-overlay.faded {
  opacity: 0;
}

.scroll-hero-content {
  text-align: center;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  max-width: 650px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
}

.scroll-hero-content h1 {
  color: #FFFFFF;
}

.scroll-hero-content h1 span {
  color: var(--accent-light);
}

.scroll-hero-content .hero-subtitle {
  color: rgba(255,255,255,0.8);
}

.scroll-hero-content .hero-badge {
  background: rgba(76, 145, 49, 0.2);
  color: #8edd6a;
  border: 1px solid rgba(76, 145, 49, 0.3);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.scroll-hint span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: bounceArrow 1.5s ease-in-out infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* Frame loader */
#frameLoader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #1a1410;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: opacity 0.6s ease;
}

#frameLoader p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.loader-track {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Legacy hero text styles still used by scroll hero */
.hero-text {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(76, 145, 49, 0.1);
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.hero h1 span {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* (hero-asset-placeholder removed — replaced by scroll-driven video) */

/* --- Trust Bar --- */
.trust-bar {
  background: var(--surface);
  padding: 1.25rem 0;
  border-bottom: 1px solid #eee;
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item .icon {
  color: var(--secondary);
  font-size: 1.1rem;
}

/* --- Section Base --- */
.section {
  padding: 4rem 0;
}

.section-dark {
  background: var(--primary-dark);
  color: var(--text-inverse);
}

.section-dark h2,
.section-dark h3 {
  color: var(--text-inverse);
}

.section-light {
  background: var(--surface);
}

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

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-dark .section-label {
  color: var(--accent-light);
}

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

/* --- Three Lucks Section --- */
.lucks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.luck-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  will-change: transform;
  border-top: 4px solid transparent;
}

.luck-card:nth-child(1) { border-top-color: var(--accent); }
.luck-card:nth-child(2) { border-top-color: var(--secondary); }
.luck-card:nth-child(3) { border-top-color: var(--primary); }

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

.luck-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.luck-card:nth-child(1) .luck-icon { background: rgba(216,160,44,0.12); }
.luck-card:nth-child(2) .luck-icon { background: rgba(76,145,49,0.12); }
.luck-card:nth-child(3) .luck-icon { background: rgba(23,80,107,0.12); }

.luck-card h3 {
  margin-bottom: 0.5rem;
}

.luck-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-inverse);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-card h3 {
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  will-change: transform;
}

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

.product-img {
  aspect-ratio: 1;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--neutral);
  padding: 1rem;
}

.product-info {
  padding: 1rem;
}

.product-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.product-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-store {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #3a7225 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--text-inverse);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer h4 {
  color: var(--text-inverse);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* --- Page Heroes (inner pages) --- */
.page-hero {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-inverse);
  text-align: center;
}

.page-hero h1 {
  color: var(--text-inverse);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- About Page --- */
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about-story-text h2 {
  margin-bottom: 1rem;
}

.about-story-text p {
  color: var(--text-light);
}

/* --- Products Page --- */
.product-category {
  margin-bottom: 3rem;
}

.product-category h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}

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

/* --- How It Works Page --- */
.detailed-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.detailed-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.detailed-step-visual {
  background: var(--bg);
  border-radius: var(--radius-md);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral);
  font-size: 0.9rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1.25rem 0;
}

.faq-question {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-dark);
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-light);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 0.75rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--surface);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(76,145,49,0.1);
}

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

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(76,145,49,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--secondary);
  font-size: 1.1rem;
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.5rem;
  aspect-ratio: 16/9;
  background: #e8e8e8;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-green { color: var(--secondary); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }

/* --- Animations (GSAP targets) --- */
.gs-fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.gs-fade-left {
  opacity: 0;
  transform: translateX(-30px);
}

.gs-fade-right {
  opacity: 0;
  transform: translateX(30px);
}

.gs-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* ===================================
   RESPONSIVE — Tablet (768px+)
   =================================== */
@media (min-width: 768px) {
  .section { padding: 5rem 0; }

  .hero { padding: 6rem 0; }

  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hero-text { text-align: left; }
  .hero-subtitle { margin-left: 0; }
  .hero-buttons { justify-content: flex-start; }

  /* Keep scroll hero content centered at all breakpoints */
  .scroll-hero-content .hero-buttons { justify-content: center; }
  .scroll-hero-content .hero-subtitle { margin-left: auto; }

  .lucks-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .products-list { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

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

  .about-story { grid-template-columns: 1fr 1fr; }
  .detailed-step { grid-template-columns: 1fr 1fr; }
  .detailed-step:nth-child(even) .detailed-step-visual { order: -1; }

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

/* ===================================
   RESPONSIVE — Desktop (1024px+)
   =================================== */
@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
  .container { padding: 0 2rem; }

  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .nav-toggle { display: none; }
  .mobile-cta { display: none; }

  .hero { min-height: 90vh; }

  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .products-list { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
