/* ==========================================================================
   Gold System Landing — built by AMAHDEV
   Light palette: real values from frontend/app/assets/css/theme.css
   Dark palette: real "طلایی کلاسیک" dark preset from the panel's theme settings
   AMAHDEV-only palette used in the "about the maker" + footer sections
   ========================================================================== */

:root {
  /* Product palette — light mode (real theme.css values) */
  --p-primary: #a87e54;
  --p-primary-hover: #8b663f;
  --p-secondary: #b89258;
  --p-third: #c9a46a;
  --p-bg: #fff7f1;
  --p-surface: #ffffff;
  --p-surface-2: #fbf1e7;
  --p-text: #1a1a1a;
  --p-text-muted: #6b6b6b;
  --p-border: rgba(168, 126, 84, 0.16);
  --p-shadow: rgba(120, 86, 40, 0.14);

  /* Admin-panel accent colors (Metronic/Element Plus palette used in panel) */
  --panel-blue: #009ef7;
  --panel-purple: #7239ea;
  --panel-green: #50cd89;
  --panel-red: #f1416c;
  --panel-yellow: #ffc700;
  --panel-dark: #1e1e2d;
  --panel-navy: #181c32;

  /* AMAHDEV brand palette — from AMAHDEV style.css — used ONLY in the maker section + footer */
  --amah-bg: #2a2a2a;
  --amah-bg-2: #1c1c1c;
  --amah-gold: #d1a25a;
  --amah-cream: #e3dcc3;

  --radius: 18px;
  --radius-sm: 12px;
  --transition: 0.3s ease;
  --container: 1220px;

  color-scheme: light;
}

/* Dark mode — the exact "طلایی کلاسیک" dark preset values from the real
   panel theming screen (theme_primary_dark / secondary_dark / third_dark / background_dark),
   text colors reused from theme.css's own html.theme-dark rule. */
:root[data-theme="dark"] {
  --p-primary: #d3a978;
  --p-primary-hover: #e6c890;
  --p-secondary: #c9a46a;
  --p-third: #e6c890;
  --p-bg: #16130f;
  --p-surface: #1e1a14;
  --p-surface-2: #241f18;
  --p-text: #f2ece2;
  --p-text-muted: #b7ac9b;
  --p-border: rgba(230, 200, 144, 0.18);
  --p-shadow: rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  background: var(--p-bg);
  color: var(--p-text);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease, color .4s ease;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
code {
  font-family: "Vazirmatn", monospace;
  background: rgba(168, 126, 84, 0.1);
  color: var(--p-primary-hover);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.85em;
}

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--p-surface-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--p-primary), var(--p-secondary));
  border-radius: 10px;
  border: 2px solid var(--p-surface-2);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.4; color: var(--p-text); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--p-text-muted); }

/* ---------- utility ---------- */
.text-grad {
  background: linear-gradient(135deg, var(--p-primary), var(--p-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grid { display: grid; gap: 22px; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--p-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader-container { position: relative; width: 100px; height: 100px; margin-bottom: 18px; }
.circle { position: absolute; inset: 0; border: 3px solid transparent; border-radius: 50%; animation: rotate 1.6s linear infinite; }
.circle:nth-child(1) { border-top-color: var(--p-primary); }
.circle:nth-child(2) { width: 76%; height: 76%; top: 12%; left: 12%; border-top-color: var(--p-third); animation-delay: .15s; }
.circle:nth-child(3) { width: 52%; height: 52%; top: 24%; left: 24%; border-top-color: var(--panel-purple); animation-delay: .3s; }
.pulse { position: absolute; width: 20px; height: 20px; top: 40px; left: 40px; background: linear-gradient(135deg, var(--p-primary), var(--p-secondary)); border-radius: 50%; animation: pulse 1.4s ease-in-out infinite; }
.progress-text { color: var(--p-primary-hover); font-weight: 600; letter-spacing: .3px; }
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.15); opacity: 1; } }

/* ==========================================================================
   Buttons & chips
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 30px; font-weight: 700; font-size: .93rem;
  cursor: pointer; border: 1px solid transparent; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-primary { background: linear-gradient(135deg, var(--p-primary), var(--p-secondary)); color: #fff; box-shadow: 0 10px 24px -10px var(--p-shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px var(--p-shadow); }
.btn-ghost { background: transparent; border-color: var(--p-border); color: var(--p-text); }
.btn-ghost:hover { background: var(--p-surface-2); border-color: var(--p-primary); }
.btn-amah { background: linear-gradient(135deg, var(--amah-gold), #b98944); color: #241c0f; margin-top: 6px; font-weight: 800; }
.btn-amah:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--p-surface); border: 1px solid var(--p-border);
  padding: 7px 14px; border-radius: 20px; font-size: .8rem; font-weight: 600;
  color: var(--p-text-muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-blue { background: var(--panel-blue); } .dot-purple { background: var(--panel-purple); }
.dot-green { background: var(--panel-green); } .dot-gold { background: var(--p-primary); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed; top: 0; inset-inline: 0; z-index: 1000;
  background: color-mix(in srgb, var(--p-bg) 72%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled { background: color-mix(in srgb, var(--p-bg) 92%, transparent); border-bottom-color: var(--p-border); box-shadow: 0 4px 24px -12px var(--p-shadow); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-name { font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.brand-name.light { color: #fff; }

.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: .92rem; font-weight: 600; color: var(--p-text-muted); transition: color var(--transition); position: relative; }
.nav-links a::after { content: ""; position: absolute; bottom: -6px; right: 0; width: 0; height: 2px; background: linear-gradient(135deg, var(--p-primary), var(--p-secondary)); transition: width var(--transition); }
.nav-links a:hover { color: var(--p-text); }
.nav-links a:hover::after { width: 100%; }

.navbar-cta { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--p-border);
  background: var(--p-surface); cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition); position: relative;
}
.theme-toggle:hover { border-color: var(--p-primary); transform: translateY(-2px); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon { display: flex; color: var(--p-primary); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: flex; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--p-text); border-radius: 2px; transition: var(--transition); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 150px 0 110px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--p-third) 35%, transparent), transparent 70%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--p-surface); border: 1px solid var(--p-border);
  color: var(--p-primary-hover); font-weight: 700; font-size: .82rem;
  padding: 8px 16px; border-radius: 20px; margin-bottom: 22px;
}
.eyebrow-icon { width: 16px; height: 16px; flex-shrink: 0; }
.eyebrow-dark { background: var(--panel-navy); color: #fff; border-color: var(--panel-navy); }
.eyebrow-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.eyebrow-amah { background: rgba(209,162,90,.14); color: var(--amah-gold); border-color: rgba(209,162,90,.4); }

.hero-text h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.hero-lead { font-size: 1.02rem; max-width: 580px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-visual { position: relative; }

/* ==========================================================================
   Screenshot frames — real product/panel screenshots
   ========================================================================== */
.shot-frame {
  background: var(--p-surface); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px var(--p-shadow); border: 1px solid var(--p-border);
  overflow: hidden;
}
.shot-topbar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--p-surface-2); border-bottom: 1px solid var(--p-border);
}
.shot-dot { width: 9px; height: 9px; border-radius: 50%; }
.shot-dot.red { background: #f1416c; } .shot-dot.yellow { background: #ffc700; } .shot-dot.green { background: #50cd89; }
.shot-url {
  margin-inline-start: 14px; font-size: .72rem; color: var(--p-text-muted);
  background: color-mix(in srgb, var(--p-text) 6%, transparent); padding: 3px 12px; border-radius: 20px;
}
.shot-frame img { width: 100%; display: block; }
.shot-frame-panel img { object-fit: cover; object-position: top; }
.shot-caption { font-size: .82rem; color: var(--p-text-muted); margin-top: 14px; text-align: center; }
.shot-caption.center { max-width: 560px; margin-inline: auto; }
.shot-caption b { color: var(--p-text); }

.floating-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--p-surface); border: 1px solid var(--p-border);
  border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 40px -16px var(--p-shadow);
  animation: float 4.5s ease-in-out infinite; z-index: 2;
}
.fc-icon { display: inline-flex; color: var(--p-primary); }
.fc-icon svg { width: 26px; height: 26px; }
.floating-card small { display: block; font-size: .68rem; color: var(--p-text-muted); }
.floating-card strong { font-size: .88rem; }
.floating-card em { font-style: normal; font-size: .7rem; color: var(--p-text-muted); }
.fc-wallet { top: -18px; left: -36px; animation-delay: 0s; }
.fc-price { bottom: -20px; right: -30px; animation-delay: .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* device bezel for mobile screenshots */
.phone-frame {
  background: #0e0d0b; border-radius: 34px; padding: 10px;
  box-shadow: 0 24px 50px -18px var(--p-shadow);
  max-width: 230px; margin: 0 auto;
}
.phone-frame img { border-radius: 24px; }

/* ==========================================================================
   Tech strip (marquee)
   ========================================================================== */
.tech-strip { padding: 34px 0; border-top: 1px solid var(--p-border); border-bottom: 1px solid var(--p-border); }
.tech-strip-title { text-align: center; font-size: .78rem; color: var(--p-text-muted); margin-bottom: 18px; letter-spacing: .3px; }
.tech-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tech-track { display: flex; gap: 14px; width: max-content; animation: marquee 26s linear infinite; }
.tech-track span {
  background: var(--p-surface); border: 1px solid var(--p-border); color: var(--p-text);
  padding: 9px 20px; border-radius: 20px; font-size: .82rem; font-weight: 700; white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Section generic
   ========================================================================== */
.section { padding: 90px 0; }
.section-head { max-width: 660px; margin: 0 auto 50px; text-align: center; }
.section-head p { margin-top: 12px; }
.section-alt { background: var(--p-surface-2); }

/* ==========================================================================
   Features grid
   ========================================================================== */
.features-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  background: var(--p-surface); border: 1px solid var(--p-border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -20px var(--p-shadow); border-color: var(--p-primary); }
.feature-icon {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 16px;
}
.icon-gold { background: rgba(168,126,84,.14); }
.icon-blue { background: rgba(0,158,247,.12); }
.icon-purple { background: rgba(114,57,234,.12); }
.icon-green { background: rgba(80,205,137,.14); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: .88rem; }

/* ==========================================================================
   Credit-gold model section
   ========================================================================== */
.section-gold { background: linear-gradient(180deg, var(--p-surface-2), var(--p-bg)); }
.credit-flow { max-width: 980px; margin: 0 auto 50px; }
.shot-frame-flow img { display: block; }

.credit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.check-list li { position: relative; padding-inline-start: 28px; margin-bottom: 12px; font-size: .92rem; color: var(--p-text-muted); }
.check-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  background-image: linear-gradient(135deg, var(--p-primary), var(--p-secondary)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, 60%;
  background-position: center, center;
}

/* ==========================================================================
   Full shop section
   ========================================================================== */
.shop-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.shop-text p { margin-bottom: 20px; }
.mobile-strip { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; align-items: flex-start; }
.mobile-strip .phone-frame { flex: 0 0 auto; }
.mobile-strip .shot-caption { flex-basis: 100%; }

/* ==========================================================================
   Ecosystem (panel + api)
   ========================================================================== */
.eco-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 40px; }
.eco-card { background: var(--p-surface); border: 1px solid var(--p-border); border-radius: var(--radius); padding: 22px; }
.eco-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.eco-tag { font-size: .7rem; font-weight: 800; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
.eco-tag.tag-blue { background: rgba(0,158,247,.12); color: #0b7bc4; }
.eco-tag.tag-purple { background: rgba(114,57,234,.12); color: #5b1fc9; }
.eco-card-head h3 { font-size: .95rem; }

.mock-window {
  background: var(--p-surface); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px var(--p-shadow); border: 1px solid var(--p-border);
  overflow: hidden;
}
.mock-topbar {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: var(--p-surface-2); border-bottom: 1px solid var(--p-border);
}
.mock-topbar.dark { background: var(--panel-navy); border-bottom-color: #2a2f4a; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-dot.red { background: #f1416c; } .mock-dot.yellow { background: #ffc700; } .mock-dot.green { background: #50cd89; }
.mock-url {
  margin-inline-start: 14px; font-size: .72rem; color: var(--p-text-muted);
  background: color-mix(in srgb, var(--p-text) 6%, transparent); padding: 3px 12px; border-radius: 20px;
}
.mock-topbar.dark .mock-url { color: #aab; background: rgba(255,255,255,.06); }

.api-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; background: var(--p-surface); border: 1px solid var(--p-border); border-radius: var(--radius); padding: 30px; }
.api-text h3 { margin: 12px 0 16px; font-size: 1.1rem; }
.mock-code { background: var(--panel-navy); }
.code-body { padding: 18px; overflow-x: auto; }
.code-body pre { font-family: "Consolas", "Vazirmatn", monospace; font-size: .78rem; line-height: 2.1; color: #c3c6de; direction: ltr; text-align: left; }
.c-method.post { color: var(--panel-green); font-weight: 800; }
.c-path { color: #fff; }
.c-lock { display: inline-flex; align-items: center; gap: 4px; color: var(--p-third); font-size: .72rem; margin-inline-start: 6px; }
.c-lock svg { width: 12px; height: 12px; }
.c-comment { color: #6b7094; }

.eco-points li { font-size: .86rem; color: var(--p-text-muted); padding: 6px 0; border-top: 1px dashed var(--p-border); }
.eco-points li:first-child { border-top: none; }

/* ==========================================================================
   Theming section
   ========================================================================== */
.theming-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.theming-text p { margin-bottom: 18px; }
.theming-note { font-size: .82rem; margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--p-surface); border: 1px solid var(--p-border); }

/* ==========================================================================
   Security (dark section)
   ========================================================================== */
.section-dark { background: var(--panel-navy); }
.text-light { color: #fff; }
.text-light-muted { color: #9296b8 !important; }
.security-grid { grid-template-columns: repeat(3, 1fr); }
.security-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 26px; transition: var(--transition);
}
.security-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.security-icon { display: inline-flex; color: var(--p-third); margin-bottom: 12px; }
.security-icon svg { width: 28px; height: 28px; }
.security-card h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.security-card p { color: #9296b8; font-size: .85rem; }
.security-card code { background: rgba(255,255,255,.08); color: var(--p-third); }

/* ==========================================================================
   AMAHDEV about section — AMAHDEV's own brand palette (always fixed, independent of site dark/light mode)
   ========================================================================== */
.section-amah {
  background: linear-gradient(160deg, var(--amah-bg), var(--amah-bg-2));
  position: relative;
}
.amah-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.amah-visual { display: flex; justify-content: center; }
.amah-logo-plate {
  background: #fff; border-radius: 24px; padding: 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  width: 100%; max-width: 340px; overflow: hidden;
}
.amah-logo-plate img { width: 100%; max-width: 280px; }

.amah-text h2 { color: #fff; margin-bottom: 16px; }
.amah-highlight { color: var(--amah-gold); }
.amah-text > p { color: var(--amah-cream); opacity: .85; margin-bottom: 28px; font-size: .95rem; max-width: 560px; }

.amah-points { display: flex; flex-direction: column; gap: 18px; margin-bottom: 10px; }
.amah-point { display: flex; gap: 16px; align-items: flex-start; }
.amah-point span { font-weight: 900; font-size: 1.1rem; color: var(--amah-gold); opacity: .7; flex-shrink: 0; }
.amah-point h4 { color: #fff; font-size: .95rem; margin-bottom: 4px; }
.amah-point p { color: var(--amah-cream); opacity: .75; font-size: .84rem; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner { background: linear-gradient(135deg, var(--p-primary), var(--p-secondary)); padding: 80px 0; text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,.85); margin-bottom: 30px; font-size: 1rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-primary { background: #fff; color: var(--p-primary-hover); box-shadow: 0 14px 30px -12px rgba(0,0,0,.3); }

/* ==========================================================================
   Footer — AMAHDEV dark palette (fixed, independent of site dark/light mode)
   ========================================================================== */
.footer { background: var(--amah-bg-2); padding: 70px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { color: var(--amah-cream); opacity: .65; font-size: .85rem; margin-top: 12px; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: .9rem; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--amah-cream); opacity: .7; font-size: .85rem; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { opacity: 1; color: var(--amah-gold); }
.footer-amah { display: flex; align-items: center; justify-content: center; }
.footer-amah-logo { width: 140px; background: #fff; border-radius: 12px; padding: 10px 14px; }

.footer-bottom { padding: 22px 0; }
.footer-bottom p { color: var(--amah-cream); opacity: .55; font-size: .8rem; text-align: center; }
.footer-bottom a { color: var(--amah-gold); font-weight: 700; opacity: 1; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed; bottom: 26px; left: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--p-primary), var(--p-secondary)); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px var(--p-shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition); z-index: 900;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .hero-inner, .amah-inner, .credit-grid, .shop-inner, .theming-inner, .api-block { grid-template-columns: 1fr; }
  .features-grid, .eco-grid, .security-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-amah { grid-column: span 2; padding-top: 10px; }
  .theming-shot { order: -1; }
}

@media (max-width: 768px) {
  .nav-links { position: fixed; top: 74px; inset-inline: 0; background: var(--p-bg); flex-direction: column; padding: 20px 24px; gap: 4px; border-bottom: 1px solid var(--p-border); transform: translateY(-130%); opacity: 0; transition: var(--transition); }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--p-border); }
  .nav-toggle { display: flex; }
  .navbar-cta .btn-sm { display: none; }

  .hero { padding: 120px 0 70px; }
  .hero-visual { margin-top: 50px; }
  .floating-card { position: static; margin-top: 12px; animation: none; }
  .fc-wallet, .fc-price { inset-inline-start: auto; }

  .features-grid, .eco-grid, .security-grid { grid-template-columns: 1fr; }
  .amah-inner { text-align: center; }
  .amah-point { text-align: right; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .amah-points { align-items: flex-start; }
  .api-block { padding: 22px; }
  .mobile-strip { gap: 18px; }
  .phone-frame { max-width: 44%; }
}
