:root {
  --ink: #070a08;
  --ink-2: #0c110d;
  --panel: #111712;
  --panel-2: #161e18;
  --line: rgba(201, 162, 39, 0.20);
  --line-strong: rgba(201, 162, 39, 0.42);
  --gold: #c9a227;
  --gold-2: #e8c766;
  --gold-deep: #8a6d1c;
  --green: #2e7d32;
  --green-2: #57b45c;
  --cream: #f4efe4;
  --muted: rgba(244, 239, 228, 0.60);
  --muted-2: rgba(244, 239, 228, 0.38);
  --radius: 22px;
  --display: 'Lalezar', 'Tajawal', sans-serif;
  --body: 'Tajawal', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: #10130f; }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(7, 10, 8, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all .4s var(--ease);
}
header.scrolled {
  background: rgba(7, 10, 8, 0.92);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; }
.brand-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.5));
}
nav { display: flex; gap: 2.1rem; margin-inline-start: auto; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
  position: relative;
  padding: .35rem 0;
  transition: color .3s var(--ease);
}
nav a::after {
  content: '';
  position: absolute;
  right: 0; bottom: -2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width .35s var(--ease);
}
nav a:hover { color: var(--cream); }
nav a:hover::after { width: 100%; }

.header-cta {
  font-family: var(--body);
  font-weight: 700;
  font-size: .95rem;
  color: var(--gold-2);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  padding: .6rem 1.4rem;
  border-radius: 40px;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.header-cta:hover { background: var(--gold); color: #12140f; border-color: var(--gold); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--gold-2);
  border-radius: 2px;
  transition: .3s var(--ease);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 170px 2rem 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 72% 40%, rgba(46,125,50,.22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 85%, rgba(201,162,39,.10), transparent 70%),
    var(--ink);
}
.hero-glow {
  position: absolute;
  top: 50%; right: 12%;
  width: 620px; height: 620px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(201,162,39,.28), transparent 62%);
  filter: blur(20px);
  animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .7; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.08); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--gold-2);
  font-weight: 500;
  letter-spacing: .02em;
  font-size: .95rem;
  margin-bottom: 1.4rem;
}
.eyebrow i {
  width: 34px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  display: inline-block;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.4rem;
  color: var(--cream);
  text-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.hero-title span {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-2) 45%, #fff6d8 55%, var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.22rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}
.hero-sub strong { color: var(--green-2); font-weight: 700; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  padding: .95rem 2.1rem;
  border-radius: 44px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #14160f;
  box-shadow: 0 12px 34px rgba(201,162,39,.28);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(201,162,39,.42); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(201,162,39,.10); border-color: var(--gold); transform: translateY(-3px); }
.btn-ghost.light { color: var(--cream); }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--display);
  font-size: 2.3rem;
  color: var(--gold-2);
  line-height: 1;
}
.stat-lbl { font-size: .9rem; color: var(--muted-2); margin-top: .35rem; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: min(520px, 90%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: 34px;
  border: 1px dashed rgba(201,162,39,.20);
  border-radius: 50%;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-pack {
  position: relative;
  z-index: 2;
  width: min(430px, 82%);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.7));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.hero-chip {
  position: absolute;
  bottom: 12%;
  z-index: 3;
  background: rgba(12,17,13,.85);
  border: 1px solid var(--line-strong);
  color: var(--gold-2);
  padding: .55rem 1.2rem;
  border-radius: 40px;
  font-size: .85rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* Ticker */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 1.05rem 0;
}
.ticker-track {
  display: inline-flex;
  gap: 3rem;
  white-space: nowrap;
  animation: slide 32s linear infinite;
}
.ticker-track span {
  font-family: var(--display);
  font-size: 1.5rem;
  color: rgba(244,239,228,.32);
}
.ticker-track span::before {
  content: '◆';
  color: var(--gold);
  font-size: .6rem;
  margin-inline-end: 3rem;
  vertical-align: middle;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* Sections */
.section-head {
  max-width: 720px;
  margin: 0 auto 3.6rem;
  text-align: center;
}
.section-tag {
  display: inline-block;
  color: var(--gold-2);
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  padding: .45rem 1.3rem;
  font-size: .86rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
}
.section-title span {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-desc {
  color: var(--muted);
  font-size: 1.12rem;
  margin-top: 1.1rem;
}

/* Products */
.products { padding: 110px 2rem; background: var(--ink); }
.products-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.6rem;
}
.product-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(201,162,39,.14), transparent 60%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
}
.product-card:hover::after { opacity: 1; }
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #171d18, #050706 72%);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .7s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.weight-chip {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  background: rgba(7,10,8,.78);
  border: 1px solid var(--line-strong);
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 700;
  padding: .35rem .85rem;
  border-radius: 30px;
  backdrop-filter: blur(6px);
}
.product-body { padding: 1.4rem 1.5rem 1.6rem; }
.product-cat {
  color: var(--green-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: .5rem;
}
.product-name {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: .15rem;
}
.product-en {
  color: var(--muted-2);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}
.product-desc { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* Features */
.features {
  padding: 110px 2rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(46,125,50,.14), transparent 70%),
    var(--ink-2);
  border-block: 1px solid var(--line);
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.feature {
  background: linear-gradient(180deg, rgba(22,30,24,.9), rgba(10,15,11,.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.feature:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.feature-ico {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-2);
  background: rgba(201,162,39,.10);
  border: 1px solid var(--line-strong);
  margin-bottom: 1.3rem;
}
.feature-ico svg { width: 28px; height: 28px; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; margin-bottom: .55rem; }
.feature p { color: var(--muted); font-size: .95rem; }

/* About */
.about { padding: 120px 2rem; background: var(--ink); }
.about-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-pack {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
.flona-mark {
  position: absolute;
  top: -34px;
  inset-inline-end: -26px;
  width: 190px;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
.about-copy h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.3rem;
}
.about-copy h2 span {
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-copy p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.3rem; }
.about-copy strong { color: var(--green-2); }
.about-list { list-style: none; margin: 1.8rem 0 2.2rem; }
.about-list li {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(244,239,228,.08);
  color: var(--cream);
  font-weight: 500;
}
.about-list li:last-child { border-bottom: none; }
.tick {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(46,125,50,.22);
  border: 1px solid var(--green-2);
  color: var(--green-2);
  font-size: .8rem;
}

/* CTA */
.cta { padding: 110px 2rem; background: var(--ink-2); border-top: 1px solid var(--line); }
.cta-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  padding: 4.5rem 3rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, #10160f 0%, #070a08 100%);
}
.cta-glow {
  position: absolute;
  top: -40%; left: 50%;
  width: 700px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(201,162,39,.22), transparent 65%);
}
.cta-inner h2, .cta-inner p, .cta-actions, .cta-meta { position: relative; z-index: 1; }
.cta-inner h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-inner p { color: var(--muted); font-size: 1.15rem; max-width: 34rem; margin: 0 auto 2.2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-meta {
  display: flex; gap: 1rem; align-items: center; justify-content: center;
  margin-top: 2.4rem;
  color: var(--muted-2);
  font-size: .92rem;
  flex-wrap: wrap;
}
.cta-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* Footer */
footer { background: #050705; border-top: 1px solid var(--line); padding: 70px 2rem 30px; }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-logo { height: 74px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { color: var(--muted); font-size: .96rem; max-width: 22rem; }
.footer-col h4 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--gold-2); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .7rem; }
.footer-col a { color: var(--muted); text-decoration: none; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--gold-2); }
.footer-contact li { color: var(--muted); font-size: .95rem; }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(244,239,228,.08);
  text-align: center;
  color: var(--muted-2);
  font-size: .88rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 2rem; order: -1; }
  .about-inner { grid-template-columns: 1fr; gap: 5rem; }
  .flona-mark { width: 150px; inset-inline-end: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .brand-logo { height: 50px; }
  nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 80px;
    flex-direction: column;
    gap: 0;
    background: rgba(7,10,8,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 1rem 2rem 2rem;
    transform: translateY(-130%);
    transition: transform .45s var(--ease);
  }
  nav.active { transform: translateY(0); }
  nav a { padding: 1rem 0; border-bottom: 1px solid rgba(244,239,228,.07); font-size: 1.1rem; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 130px 1.25rem 70px; }
  .hero-stats { gap: 1.6rem; }
  .products, .features, .about, .cta { padding: 70px 1.25rem; }
  .cta-inner { padding: 3rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* responsive image baseline */
img { max-width: 100%; height: auto; }
