/* assets/styles/styles.css */

:root {
  /* BRAND COLORS */
  --bg-page: #1D3034; /* Deep Emerald */
  --bg-section: #152326; 
  
  --accent: #E2BC72; /* Gold */
  --pink: #ff8ea8;
  
  --text: #f8f5ec; /* Off-White */
  --muted: #aabdc0;
  
  --border-subtle: rgba(226, 188, 114, 0.15);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.55);
  
  --radius-xl: 1.75rem;
  --radius-lg: 1.1rem;
  --nav-height: 80px;
  
  --transition-fast: 180ms ease-out;
  
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

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

html, body { height: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-stack);
  color: var(--text);
  background: radial-gradient(circle at top, #2a454b 0, var(--bg-page) 40%, #050a0b 100%);
  background-attachment: fixed;
  background-size: cover;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Accessibility Focus States */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  body::before {
    content: ""; position: fixed; inset: -20%;
    background-image:
      radial-gradient(circle at 20% 0, rgba(255,255,255,0.03), transparent 55%),
      radial-gradient(circle at 80% 20%, rgba(200,220,220,0.04), transparent 55%),
      radial-gradient(circle at 30% 80%, rgba(220,240,240,0.03), transparent 60%);
    opacity: 0.28; mix-blend-mode: screen; pointer-events: none; z-index: -1; filter: blur(10px);
  }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
main { flex: 1; }

/* NAVIGATION */
.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(29, 48, 52, 0.95); 
  border-bottom: 1px solid var(--border-subtle);
  width: 100%; padding: 0 1.75rem; 
}

.nav-inner {
  width: 100%; max-width: 1120px; margin: 0 auto; padding: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height); gap: 1.5rem;
}

.nav-left { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }

.logo-img {
  width: 40px; height: 40px; border-radius: 999px; overflow: hidden;
  border: 1px solid var(--accent); box-shadow: 0 0 15px rgba(226, 188, 114, 0.2);
  background: #000;
}
.logo-img img { width: 100%; height: 100%; object-fit: cover; }
.nav-brand { font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.7rem; font-size: 0.9rem; }

.nav-link { position: relative; color: var(--muted); cursor: pointer; transition: color var(--transition-fast); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -0.35rem; width: 0; height: 2px;
  border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--pink));
  transition: width 190ms ease-out;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-link.gold-link { color: var(--accent); font-weight: 600; }
.nav-link.gold-link:hover { color: #fff; }

.lang-dropdown { position: relative; cursor: pointer; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); padding: 0.5rem 0; }
.lang-dropdown:hover { color: var(--text); }
.lang-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--bg-section); border: 1px solid var(--border-subtle); border-radius: 8px;
  padding: 0.5rem; min-width: 60px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 100;
}
.lang-dropdown:hover .lang-menu { display: block; }
.lang-item { display: block; padding: 6px 0; color: var(--muted); transition: color 0.2s; }
.lang-item:hover { color: var(--text); }

.nav-cta {
  padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--accent);
  background: transparent; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em;
  cursor: pointer; transition: all 200ms ease-out;
  white-space: nowrap; color: var(--accent);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 20px rgba(226, 188, 114, 0.4); background: var(--accent); color: #000; }

.nav-toggle { display: none; border: 0; background: transparent; color: var(--accent); cursor: pointer; padding: 0.25rem; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 999px; background: currentColor; margin: 4px 0; }

/* Construction Banner */
.construction-banner {
  background: var(--accent); color: #000; overflow: hidden;
  white-space: nowrap; padding: 0.6rem 0;
  position: relative; z-index: 20;
  display: flex;
}
.marquee { display: flex; animation: scrollBanner 30s linear infinite; min-width: 100%; }
.marquee span { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding-right: 50px; display: flex; align-items: center; gap: 10px; }

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

@media (max-width: 1150px) {
  .nav { padding-inline: 1.25rem; }
  .nav-links {
    position: fixed; inset: var(--nav-height) 0 auto 0; flex-direction: column; align-items: flex-start;
    padding: 1.5rem; background: var(--bg-page);
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: all 220ms ease-out;
    gap: 1.5rem; border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-cta { width: 100%; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
}

/* SECTIONS */
section {
  position: relative; padding: 5.5rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle); overflow: hidden;
  background: var(--bg-section);
}
section:last-of-type { border-bottom: none; }

#hero { background: transparent; }
#ecosystem { background: #152326; }
#how-it-works { background: #101c1f; }
#models { background: #142225; }
#gallery { background: #101c1f; }
#contact { background: #142225; }

.section-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }
.section-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 0.7rem; font-weight: 600; }
.section-title { font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: 0.02em; margin-bottom: 2rem; }

.glass {
  background: radial-gradient(circle at top left, rgba(226, 188, 114, 0.08), rgba(20, 34, 37, 0.95));
  border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.glass-soft {
  background: rgba(20, 34, 37, 0.95);
  border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}

/* HERO */
#hero { padding-top: calc(1rem + var(--nav-height)); padding-bottom: 5.5rem; width: 100%; }
#hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 12% 0, rgba(226, 188, 114, 0.15), transparent 60%), radial-gradient(circle at 85% 100%, rgba(255,142,168,0.15), transparent 60%);
  opacity: 0.7; z-index: 0; pointer-events: none;
}
.hero-media-bg {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1615634260167-c8c9c3e35091?auto=format&fit=crop&q=80&w=1920");
  background-size: cover; background-position: center; opacity: 0.1; mix-blend-mode: soft-light;
  transform: translateY(var(--hero-parallax, 0px)); transition: transform 50ms linear; z-index: 0; pointer-events: none;
}
.hero-inner { display: flex; flex-direction: column-reverse; gap: 2.4rem; align-items: stretch; }
.hero-machine-col img { width: 100%; height: auto; display: block; }

@media (min-width: 960px) {
  .hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3.1rem; align-items: start; }
  .hero-content-col { grid-column: 1; }
  .hero-machine-col { grid-column: 2; display: flex; justify-content: center; padding-top: 3.8rem; }
  .hero-machine-col img { max-height: 80vh; width: auto; transform: scale(1.2); transform-origin: top center; }
}

.eyebrow { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.22rem 0.8rem; border-radius: 999px; border: 1px solid var(--accent); background: rgba(0,0,0,0.3); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 1.1rem; }
.eyebrow-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero-title { font-size: clamp(2.4rem, 4.1vw, 3.6rem); line-height: 1.07; letter-spacing: 0.04em; margin-bottom: 2.5rem; }
.hero-highlight { background: linear-gradient(90deg, var(--accent), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { max-width: 30rem; color: var(--muted); margin-bottom: 2.5rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; font-size: 0.8rem; }
.hero-badge { padding: 0.28rem 0.8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.3); color: var(--muted); display: inline-flex; align-items: center; gap: 0.35rem; }
.hero-badge-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.85rem 1.5rem; border-radius: 999px; border: none; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.16em; cursor: pointer; position: relative; overflow: hidden; white-space: nowrap; transition: transform var(--transition-fast), box-shadow var(--transition-fast), background 200ms ease-out; font-weight: 600; font-family: var(--font-body); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--pink)); color: #201306; box-shadow: 0 10px 30px rgba(226, 188, 114, 0.3); }
.btn-primary:hover { transform: translateY(-1.5px); box-shadow: 0 20px 50px rgba(226, 188, 114, 0.4); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0.55), transparent 55%); mix-blend-mode: soft-light; opacity: 0; transition: opacity 200ms ease-out; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.3); color: var(--muted); }

/* --- BENEFITS SECTION --- */
.benefits-container { position: relative; padding: 1rem 0; }

/* Timeline Line */
.benefits-container::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
    width: 1px; background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    transform: translateX(-50%); opacity: 0.4;
}

/* Row Positioning - Optimized for perfect vertical centering */
.benefit-row { 
    display: flex; 
    position: relative; 
    width: 100%;
    align-items: center; /* PERFECT VERTICAL CENTER */
    padding: 1.5rem 0;   /* Vertical gap using padding ensures Row Height = Card Height */
}

.benefit-card {
    width: 46%; 
    background: radial-gradient(circle at top left, rgba(226, 188, 114, 0.05), rgba(29, 48, 52, 0.95));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 2.5rem 2rem; position: relative;
    transition: all 400ms ease-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.benefit-card:hover { transform: translateY(-3px); border-color: var(--accent); }

/* Alternating Alignment */
.benefit-row:nth-child(odd) { justify-content: flex-start; }
.benefit-row:nth-child(even) { justify-content: flex-end; }

/* Timeline Dot - Positioned mathematically in center of row/card */
.benefit-dot {
    position: absolute; left: 50%; 
    top: 50%; transform: translate(-50%, -50%); /* EXACT CENTER */
    width: 14px; height: 14px; background: var(--bg-page);
    border: 2px solid var(--accent);
    border-radius: 50%; z-index: 5;
    box-shadow: 0 0 10px rgba(226, 188, 114, 0.3);
}

/* Icons - Double Size & Gold Color */
.benefit-icon-wrapper { 
  width: 90px; height: 90px; margin-bottom: 1.5rem; 
  background: rgba(226, 188, 114, 0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(226, 188, 114, 0.2);
}
.benefit-icon-wrapper i { 
    font-size: 2.8rem; /* Large Icon */
    color: var(--accent); /* Brand Gold */
}

.benefit-title { color: var(--text); font-size: 1.4rem; margin-bottom: 0.75rem; font-weight: 700; }
.benefit-text { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* MOBILE BENEFITS */
@media (max-width: 768px) {
    .benefits-container::before { left: 20px; transform: none; }
    .benefit-row { 
        flex-direction: column !important; 
        margin-left: 50px; 
        padding: 1rem 0;
        align-items: flex-start; 
    }
    .benefit-card { 
        width: 100%; 
        align-items: center; 
        text-align: center; 
        border-color: rgba(255,255,255,0.05); /* Hidden by default */
    }
    .benefit-dot { left: -30px; }

    /* MOBILE: Center icon/title & highlight border on scroll */
    .benefit-row.reveal.in-view .benefit-card {
        border-color: var(--accent);
        box-shadow: 0 0 25px rgba(226, 188, 114, 0.3);
    }
}

/* HOW IT WORKS */
.how-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.6rem; align-items: flex-start; }
@media (max-width: 960px) { .how-grid { grid-template-columns: 1fr; } }
.step-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.step-index { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--accent); font-weight: 700; box-shadow: 0 0 10px rgba(226, 188, 114, 0.2); margin-top: 3px; }
.step-title { font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--text); }
.step-text { font-size: 0.9rem; color: var(--muted); }

.how-card { padding: 1.25rem; border: 1px solid var(--border-subtle); }
.how-badge { padding: 0.2rem 0.7rem; border-radius: 999px; border: 1px solid var(--accent); text-transform: uppercase; letter-spacing: 0.16em; background: rgba(226, 188, 114, 0.1); font-size: 0.8rem; white-space: nowrap; color: var(--accent); }

.how-machine { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1rem; align-items: center; }
.how-machine img { border-radius: 0.9rem; border: 1px solid rgba(255,255,255,0.12); height: 180px; object-fit: cover; }
.how-machine-text { font-size: 0.86rem; color: var(--muted); margin-top: 0.2rem; }

/* MODELS SECTION */
.models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem; align-items: stretch; }
.model-card {
  padding: 2.5rem 2rem; text-align: center; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(circle at top left, rgba(226, 188, 114, 0.1), rgba(5,28,31,0.9));
  border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-soft);
}
.model-img-wrapper { height: 300px; display: flex; align-items: center; justify-content: center; margin-top: 1.5rem; width: 100%; }
.model-img-wrapper img { max-height: 100%; max-width: 100%; height: auto; width: auto; object-fit: contain; }

.model-title { font-size: 1.4rem; margin-bottom: 0.25rem; color: var(--text); }
.model-desc { font-size: 0.95rem; margin-bottom: 2rem; max-width: 320px; color: var(--muted); }
.model-specs { list-style: none; width: 100%; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.9rem; text-align: left; }
.model-specs li { margin-bottom: 0.5rem; display: flex; justify-content: space-between; color: var(--muted); }
.model-specs strong { color: var(--text); }

/* GALLERY */
.gallery-track { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
@media (min-width: 1024px) { .gallery-track { display: grid; grid-template-columns: repeat(4, 1fr); overflow-x: visible; } }

.gallery-item { min-width: 260px; flex: 0 0 auto; scroll-snap-align: center; position: relative; border-radius: 1.1rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: #000; cursor: pointer; transition: all 300ms ease; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 400ms ease; opacity: 0.8; }
.gallery-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem 1rem 0.8rem; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: var(--text); font-size: 0.9rem; font-weight: 500; }
.gallery-item:hover { border-color: var(--accent); }
.gallery-item:hover img { transform: scale(1.05); opacity: 1; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.3rem; align-items: flex-start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: 1.5rem 1.4rem; }
.contact-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; margin-bottom: 0.9rem; }

.field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; }
.field label { color: var(--muted); }
.field input, .field textarea, .field select { border-radius: 0.9rem; border: 1px solid rgba(255,255,255,0.16); background: rgba(1, 8, 10, 0.9); padding: 0.6rem 0.8rem; color: var(--text); font: inherit; outline: none; transition: all 200ms ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }

.contact-meta { font-size: 0.86rem; color: var(--muted); margin-top: 2rem; }
.contact-side { display: flex; flex-direction: column; gap: 1rem; color: var(--muted); }
.contact-side-block { padding: 1rem 1rem 1.1rem; border-radius: var(--radius-lg); background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.14); }
.contact-side-title { font-size: 0.95rem; color: var(--text); margin-bottom: 0.4rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.contact-link { color: var(--accent); }

.social-icons-row { display: flex; gap: 1rem; margin-top: 0.5rem; }
.social-icon-link {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; color: var(--muted); transition: 0.2s;
}
.social-icon-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(226, 188, 114, 0.1); }

footer { padding: 1.7rem 1.75rem 2.1rem; font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--border-subtle); background: radial-gradient(circle at top, rgba(226, 188, 114, 0.06), transparent 60%); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.9rem; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.footer-links a { text-decoration: underline; }

/* ANIMATION UTILS */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 500ms ease-out, transform 500ms ease-out; }
.reveal.in-view { opacity: 1; transform: translateY(0); }