@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   itale.in — Shopify-Grade Design System & CSS Foundation
   ========================================================================== */

:root {
  /* itale Official Brand Palette (Exact Match to Logo) */
  --itale-charcoal: #404040;
  --itale-charcoal-hover: #262626;
  --itale-charcoal-dark: #1f1f1f;
  --itale-charcoal-light: #595959;
  --itale-charcoal-subtle: #f4f4f5;
  --itale-charcoal-glow: rgba(64, 64, 64, 0.22);
  --itale-dark: #2a2a2a;
  --itale-navy: #181818;
  --itale-black: #111111;

  /* Harmonized Theme Tokens */
  --shopify-green: var(--itale-charcoal);
  --shopify-green-hover: var(--itale-charcoal-hover);
  --shopify-green-light: var(--itale-charcoal-subtle);
  --shopify-green-glow: var(--itale-charcoal-glow);
  --shopify-dark: var(--itale-dark);
  --shopify-navy: var(--itale-navy);
  --shopify-black: var(--itale-black);

  /* Primary Accent & Semantic */
  --primary: #404040;
  --primary-hover: #262626;
  --primary-light: #f4f4f5;
  --primary-glow: rgba(64, 64, 64, 0.2);
  --secondary: #52525b;
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --danger: #dc2626;
  --success: #16a34a;

  /* Surfaces & Backgrounds */
  --surface-bg: #ffffff;
  --surface-subdued: #fafafa;
  --surface-card: #ffffff;
  --surface-dark: #222222;
  --surface-dark-card: #2d2d2d;

  /* Typography Colors */
  --text-main: #18181b;
  --text-subdued: #52525b;
  --text-muted: #71717a;
  --text-on-dark: #f4f4f5;
  --text-on-dark-subdued: #a1a1aa;

  /* Borders & Dividers */
  --border-subtle: #e4e4e7;
  --border-light: #f4f4f5;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Radius Tokens */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 16px 36px -8px rgba(0, 0, 0, 0.09), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 28px var(--itale-charcoal-glow);

  /* Font Families */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base Reset & Typography */
html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.025em;
}

p {
  color: var(--text-subdued);
}

a {
  color: var(--shopify-green);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--shopify-green-hover);
}

/* ==========================================================================
   Shopify Top Announcement Bar
   ========================================================================== */
.top-announcement-bar {
  background: var(--shopify-dark);
  color: #ffffff;
  font-size: 0.825rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.top-announcement-bar .badge-launch {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.18rem 0.65rem;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.top-announcement-bar a {
  color: #a7f3d0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-announcement-bar a:hover {
  color: #ffffff;
}

/* ==========================================================================
   itale Sticky Navigation Header
   ========================================================================== */
.shopify-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
  z-index: 1030;
  padding: 0.65rem 0;
}

.shopify-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.itale-header-logo {
  height: 38px;
  max-height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.itale-header-logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.itale-footer-logo {
  height: 44px;
  max-height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
}

.itale-auth-logo {
  height: 48px;
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Nav Menu Items */
.nav-link-shopify,
.shopify-navbar .nav-link {
  color: #262626;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.nav-link-shopify:hover,
.shopify-navbar .nav-link:hover {
  color: var(--shopify-green);
  background-color: var(--surface-subdued);
}

.nav-link-shopify.active,
.shopify-navbar .nav-link.active {
  color: var(--shopify-green);
  background-color: var(--shopify-green-light);
  font-weight: 700;
}

/* Navbar Buttons */
.btn-nav-login {
  color: #202223;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-nav-login:hover {
  color: var(--shopify-green);
  background-color: var(--surface-subdued);
  border-color: var(--border-subtle);
}

.btn-shopify {
  background-color: var(--shopify-green);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  box-shadow: 0 4px 14px var(--shopify-green-glow);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-shopify:hover {
  background-color: var(--shopify-green-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 128, 96, 0.35);
}

.btn-shopify-outline {
  background-color: #ffffff;
  color: #202223 !important;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-shopify-outline:hover {
  background-color: var(--surface-subdued);
  border-color: #c9cccf;
  color: var(--shopify-green) !important;
  transform: translateY(-1px);
}

.btn-shopify-dark {
  background-color: var(--shopify-dark);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-shopify-dark:hover {
  background-color: var(--shopify-navy);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 46, 37, 0.25);
}

/* ==========================================================================
   Shopify Hero Section
   ========================================================================== */
.shopify-hero-section {
  position: relative;
  background: radial-gradient(ellipse at 85% 15%, rgba(0, 128, 96, 0.08) 0%, rgba(79, 70, 229, 0.04) 45%, #ffffff 85%);
  padding: 3.25rem 0 3.75rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--shopify-green-light);
  color: var(--shopify-green);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 128, 96, 0.2);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-display-headline {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #111213;
  margin-bottom: 1.35rem;
}

.hero-highlight-green {
  color: var(--shopify-green);
  position: relative;
  display: inline-block;
}

.hero-lead-text {
  font-size: 1.2rem;
  color: var(--text-subdued);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Shopify Signature Integrated Signup Box */
.shopify-signup-bar {
  background: #ffffff;
  border: 1.5px solid #c9cccf;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.35rem 0.35rem 1.4rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 520px;
  transition: all 0.25s ease;
  margin-bottom: 1rem;
}

.shopify-signup-bar:focus-within {
  border-color: var(--shopify-green);
  box-shadow: 0 0 0 4px var(--shopify-green-glow), 0 8px 30px rgba(0, 0, 0, 0.08);
}

.shopify-signup-bar input {
  border: none;
  background: transparent;
  outline: none;
  color: #202223;
  font-size: 0.975rem;
  font-weight: 500;
  flex-grow: 1;
  padding: 0.45rem 0;
}

.shopify-signup-bar input::placeholder {
  color: #8c9196;
}

.shopify-signup-bar .btn-signup-submit {
  background: var(--shopify-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.shopify-signup-bar .btn-signup-submit:hover {
  background: var(--shopify-green-hover);
  transform: translateY(-1px);
}

.hero-micro-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #6d7175;
  font-weight: 500;
}

.hero-micro-trust i {
  color: var(--shopify-green);
  font-size: 1rem;
}

/* ==========================================================================
   Shopify Hero Dashboard Mockup Card
   ========================================================================== */
.hero-mockup-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-app-window {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.app-window-header {
  background: #f6f6f7;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-url-bar {
  background: #ffffff;
  border: 1px solid #e1e3e5;
  border-radius: var(--radius-full);
  padding: 0.2rem 1.25rem;
  font-size: 0.75rem;
  color: #6d7175;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.window-body {
  padding: 1.5rem;
  background: #fafafb;
}

.dashboard-store-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

/* Floating Badges */
.floating-order-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  border: 1px solid #e1e3e5;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ==========================================================================
   Shopify Trust & Social Proof Bar
   ========================================================================== */
.shopify-proof-bar {
  background: #ffffff;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.proof-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8c9196;
  text-align: center;
  margin-bottom: 1.25rem;
}

.proof-badge-pill {
  background: var(--surface-subdued);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a4d52;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Bento Feature Cards (Shopify Signature Grid)
   ========================================================================== */
.section-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--shopify-green);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111213;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-subdued);
  max-width: 680px;
}

.shopify-bento-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.shopify-bento-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.bento-icon-emerald { background: var(--shopify-green-light); color: var(--shopify-green); }
.bento-icon-indigo { background: var(--primary-light); color: var(--primary); }
.bento-icon-gold { background: var(--accent-gold-light); color: #d97706; }
.bento-icon-sky { background: #e0f2fe; color: #0284c7; }
.bento-icon-purple { background: #f3e8ff; color: #7e22ce; }
.bento-icon-rose { background: #ffe4e6; color: #e11d48; }

.bento-badge {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Shopify Store Showcase
   ========================================================================== */
.storefront-theme-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.storefront-theme-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: #c9cccf;
}

.theme-preview-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Shopify Pricing Section
   ========================================================================== */
.shopify-pricing-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.shopify-pricing-card.featured-plan {
  border-color: var(--shopify-green);
  box-shadow: 0 16px 36px -8px var(--shopify-green-glow);
}

.pricing-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--shopify-green);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 128, 96, 0.3);
  white-space: nowrap;
}

.plan-price-val {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111213;
}

.plan-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.plan-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: #4a4d52;
}

.plan-feature-list li i {
  color: var(--shopify-green);
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Shopify Comparison Table
   ========================================================================== */
.shopify-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.shopify-compare-table th,
.shopify-compare-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.shopify-compare-table th {
  background: #f6f6f7;
  font-weight: 700;
  font-size: 0.9rem;
  color: #202223;
}

.shopify-compare-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Shopify Testimonial Cards
   ========================================================================== */
.shopify-quote-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.quote-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.quote-text {
  font-size: 1.05rem;
  color: #202223;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Shopify Mega Footer
   ========================================================================== */
.shopify-footer {
  background: var(--shopify-dark);
  color: #94a3b8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shopify-footer h6 {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.shopify-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.shopify-footer ul a {
  color: #cbd5e1;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.shopify-footer ul a:hover {
  color: #ffffff;
  padding-left: 2px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  font-size: 0.825rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-bar a {
  color: #94a3b8;
}

.footer-bottom-bar a:hover {
  color: #ffffff;
}

/* Country Selector Pill */
.footer-country-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Merchant & Admin App Dashboard Styles
   ========================================================================== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background-color: #0f172a;
  color: #94a3b8;
  flex-shrink: 0;
  border-right: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
}

.sidebar .nav-link {
  color: #94a3b8;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-xs);
  margin: 0.15rem 0.75rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar .nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
}

.sidebar .nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--shopify-green) 0%, var(--shopify-green-hover) 100%);
  box-shadow: 0 4px 12px var(--shopify-green-glow);
}

.dashboard-main {
  flex-grow: 1;
  background-color: #f8fafc;
  overflow-y: auto;
}

/* Stat Metric Cards */
.metric-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* Storefront Product Card */
.product-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #cbd5e1;
}

.product-image-container {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

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

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

/* ==========================================================================
   itale SaaS App & Admin Dashboard System
   ========================================================================== */

.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background-color: #f8fafc;
  color: #1e293b;
  font-family: var(--font-body);
}

/* Sidebar Navigation */
.sidebar {
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  background: #1a1a1a;
  color: #f4f4f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  border-right: 1px solid #282828;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1020;
}

.sidebar-brand-wrapper {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #282828;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar .nav-link {
  color: #a1a1aa;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  margin: 0.15rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.sidebar .nav-link i {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
  opacity: 0.85;
}

.sidebar .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.sidebar .nav-link.active {
  color: #ffffff;
  background: #404040;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.sidebar .nav-link.active i {
  opacity: 1;
}

/* Dashboard Main Area */
.dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: #f8fafc;
  min-height: 100vh;
}

/* Metric / KPI Cards */
.metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.metric-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Table Styles */
.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
}

.table-custom thead th {
  background-color: #f8fafc;
  color: #475569;
  font-weight: 600;
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.table-custom tbody td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  font-size: 0.875rem;
}

.table-custom tbody tr:hover {
  background-color: #f8fafc;
}

.table-custom tbody tr:last-child td {
  border-bottom: none;
}

/* Badges & Accents */
.badge-glow-primary {
  background: #f4f4f5;
  color: #404040;
  border: 1px solid #e4e4e7;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
}

.badge-glow-primary i {
  color: #16a34a;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991.98px) {
  .shopify-hero-section {
    padding: 3.5rem 0 3rem;
  }
  .shopify-signup-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-sm);
    padding: 0.75rem;
  }
  .shopify-signup-bar .btn-signup-submit {
    justify-content: center;
  }
  .floating-order-badge {
    position: static;
    margin-top: 1rem;
    animation: none;
  }
  .dashboard-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #282828;
  }
}

/* ==========================================================================
   Shopify-Grade Auth Layout & Registration Card
   ========================================================================== */
.shopify-auth-body {
  background-color: #f7f7f8;
  background-image: 
    radial-gradient(at 15% 15%, rgba(64, 64, 64, 0.05) 0px, transparent 50%),
    radial-gradient(at 85% 85%, rgba(64, 64, 64, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(240, 240, 242, 0.6) 0px, transparent 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-body);
}

.auth-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.07), 0 4px 16px rgba(0, 0, 0, 0.02);
  padding: 2.75rem 2.5rem;
  transition: all 0.25s ease;
}

@media (max-width: 576px) {
  .auth-card {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }
}

/* Plan Selection Cards */
.plan-selector-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.plan-selector-card {
  border: 1.5px solid #e4e4e7;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  position: relative;
  user-select: none;
}

.plan-selector-card:hover {
  border-color: #a1a1aa;
  background: #fafafa;
  transform: translateY(-1px);
}

.plan-selector-card.active {
  border-color: #404040;
  background: #f8fafc;
  box-shadow: 0 0 0 1px #404040, 0 4px 14px rgba(64, 64, 64, 0.08);
}

.plan-selector-card input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #404040;
  cursor: pointer;
}

.plan-selector-card .plan-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #18181b;
}

.plan-selector-card .plan-commission {
  font-size: 0.775rem;
  color: #71717a;
  margin-top: 2px;
}

/* ==========================================================================
   Animated Rotating Globe & Global Shipping Banner — Premium Classic Edition
   ========================================================================== */
.globe-logistics-section {
  background: radial-gradient(circle at 50% 25%, #131b2a 0%, #0c101a 60%, #06080f 100%);
  color: #ffffff;
  padding: 6.5rem 0 6rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

/* Grid coordinate stars overlay with subtle classic gold luster */
.globe-logistics-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.95;
}

.shipping-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #e5c07b;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.08);
}

/* Globe Stage Outer Container (Wide for zero card overlap) */
.globe-stage-container {
  position: relative;
  width: 100%;
  max-width: 1140px;
  min-height: 520px;
  margin: 1.5rem auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The 3D Rotating Spherical Globe with Classic Depth */
.globe-sphere-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  box-shadow: 
    0 0 100px rgba(212, 175, 55, 0.16),
    0 0 60px rgba(16, 185, 129, 0.12),
    inset 0 0 70px rgba(0, 0, 0, 0.9),
    inset -25px -25px 60px rgba(0, 0, 0, 0.95),
    inset 15px 15px 40px rgba(212, 175, 55, 0.18);
  background: radial-gradient(circle at 35% 30%, #1c2638 0%, #0e1422 60%, #050810 100%);
  overflow: hidden;
  border: 1.5px solid rgba(212, 175, 55, 0.38);
  z-index: 5;
}

@media (max-width: 768px) {
  .globe-sphere-wrapper {
    width: 290px;
    height: 290px;
  }
}

/* Rotating SVG Texture Inside the Globe */
.globe-texture-rotator {
  position: absolute;
  width: 760px;
  height: 380px;
  top: 0;
  left: 0;
  display: flex;
  animation: globeSpin 32s linear infinite;
}

@keyframes globeSpin {
  0% { transform: translateX(0); }
  100% { transform: translateX(-380px); }
}

/* Blinking Node Animations - Classic Gold & Emerald & Platinum */
.blink-gold-1 {
  fill: #d4af37;
  animation: pulseGold1 2.8s ease-in-out infinite;
}
.blink-gold-2 {
  fill: #e5c07b;
  animation: pulseGold2 3.4s ease-in-out infinite 0.9s;
}
.blink-emerald-1 {
  fill: #10b981;
  animation: pulseEmerald1 3.0s ease-in-out infinite 0.4s;
}
.blink-emerald-2 {
  fill: #34d399;
  animation: pulseEmerald2 2.5s ease-in-out infinite 1.4s;
}
.blink-silver {
  fill: #cbd5e1;
  animation: pulseSilver 3.6s ease-in-out infinite 0.6s;
}

@keyframes pulseGold1 {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.35); filter: drop-shadow(0 0 5px #d4af37); }
}
@keyframes pulseGold2 {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 0.95; transform: scale(1.25); filter: drop-shadow(0 0 4px #e5c07b); }
}
@keyframes pulseEmerald1 {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.4); filter: drop-shadow(0 0 6px #10b981); }
}
@keyframes pulseEmerald2 {
  0%, 100% { opacity: 0.35; transform: scale(0.95); }
  50% { opacity: 0.9; transform: scale(1.2); filter: drop-shadow(0 0 4px #34d399); }
}
@keyframes pulseSilver {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 0.85; transform: scale(1.2); filter: drop-shadow(0 0 3px #94a3b8); }
}

/* Constellation Connecting Line Styling */
.constellation-link {
  stroke: rgba(212, 175, 55, 0.3);
  stroke-width: 0.85;
}
.constellation-link-silver {
  stroke: rgba(203, 213, 225, 0.22);
  stroke-width: 0.75;
}
.constellation-link-emerald {
  stroke: rgba(16, 185, 129, 0.38);
  stroke-width: 0.95;
}

/* India Regional Logistics Beacon Pin (Glowing Central Hub) */
.india-logistics-beacon {
  position: absolute;
  top: 50%;
  left: 51%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  z-index: 10;
  pointer-events: none;
}

.beacon-core {
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 1.5px solid #d4af37;
  border-radius: 50%;
  box-shadow: 0 0 12px #10b981, 0 0 22px #d4af37;
  position: absolute;
  top: 7px;
  left: 7px;
}

.beacon-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 185, 129, 0.85);
  animation: radarPing 2.6s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.beacon-ring-2 {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.85);
  animation: radarPing 2.6s cubic-bezier(0, 0.2, 0.8, 1) infinite 1.3s;
}

@keyframes radarPing {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Moving Shipping Trajectory Arcs */
.shipping-orbit-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

.trade-arc-gold {
  stroke: #d4af37;
  stroke-width: 2;
  stroke-dasharray: 6 5;
  animation: tradeDashFlow 2.8s linear infinite;
  opacity: 0.85;
}

.trade-arc-emerald {
  stroke: #10b981;
  stroke-width: 2;
  stroke-dasharray: 5 4;
  animation: tradeDashFlow 3.2s linear infinite reverse;
  opacity: 0.85;
}

.trade-arc-platinum {
  stroke: #cbd5e1;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: tradeDashFlow 3.6s linear infinite;
  opacity: 0.7;
}

@keyframes tradeDashFlow {
  from { stroke-dashoffset: 40; }
  to { stroke-dashoffset: 0; }
}

/* Floating Live Logistics Telemetry HUD Cards (Sleek Glassmorphism & Flawless Typography) */
.telemetry-hud-card {
  position: absolute;
  background: rgba(13, 18, 28, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55), 0 0 25px rgba(212, 175, 55, 0.08);
  z-index: 20;
  width: 285px;
  transition: all 0.3s ease;
  animation: telemetryFloat 5s ease-in-out infinite;
}

.telemetry-hud-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65), 0 0 35px rgba(212, 175, 55, 0.16);
  transform: translateY(-4px);
}

@keyframes telemetryFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

.telemetry-pos-top-left {
  top: 6%;
  left: 0;
  animation-delay: 0.8s;
}

.telemetry-pos-top-right {
  top: 6%;
  right: 0;
  animation-delay: 0.2s;
}

.telemetry-pos-bottom-left {
  bottom: 6%;
  left: 0;
  animation-delay: 1.4s;
}

.telemetry-pos-bottom-right {
  bottom: 6%;
  right: 0;
  animation-delay: 1.8s;
}

/* Internal Card Components */
.hud-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.24rem 0.7rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hud-badge-gold {
  color: #e5c07b;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.32);
}

.hud-badge-emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.hud-badge-bronze {
  color: #fb923c;
  background: rgba(251, 146, 60, 0.14);
  border: 1px solid rgba(251, 146, 60, 0.32);
}

.hud-badge-cyan {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
}

.hud-status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #10b981;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: dotBlink1 1.8s infinite;
}

.status-pulse-dot.gold {
  background: #d4af37;
  box-shadow: 0 0 8px #d4af37;
}

.status-pulse-dot.amber {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.hud-route-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.hud-route-sub {
  color: #94a3b8;
  font-size: 0.74rem;
  line-height: 1.45;
  margin-bottom: 0.55rem;
}

.hud-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
}

.hud-meta-text {
  color: #94a3b8;
}

.hud-meta-chip {
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}

.hud-meta-chip.gold {
  color: #e5c07b;
  background: rgba(212, 175, 55, 0.12);
}

.hud-meta-chip.emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
}

@media (max-width: 991.98px) {
  .globe-stage-container {
    min-height: auto;
    flex-direction: column;
    gap: 1.5rem;
  }
  .telemetry-hud-card {
    position: static;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* Logistics Metrics Stat Card */
.logistics-stat-card {
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 14px;
  padding: 1.35rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
}

.logistics-stat-card:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.28);
  transform: translateY(-2px);
}

.logistics-stat-card .stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.logistics-stat-card .stat-label {
  font-size: 0.8rem;
  color: #e5c07b;
  font-weight: 600;
}

