/* =========================================================
   RESTRONOMY — Global Stylesheet
   Professional restaurant management platform
   ========================================================= */

/* ===== CSS VARIABLES ===== */
:root {
  /* Brand Colors */
  --primary: #6C5CE7;
  --primary-dark: #5A4BD4;
  --primary-light: #A29BFE;
  --primary-bg: rgba(108,92,231,0.06);
  --accent: #00D2FF;
  --accent-dark: #00B4D8;
  --accent2: #7C6CF0;

  /* Dark Theme */
  --dark: #0A0C14;
  --dark2: #11131E;
  --dark3: #181B2A;
  --dark4: #1F2237;
  --surface: #1A1D2E;
  --surface-hover: #22253A;

  /* Text */
  --text: #E8EAF0;
  --text-secondary: #B0B4C8;
  --text-muted: #6B7090;
  --text-white: #FFFFFF;

  /* Borders */
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.10);
  --border-active: rgba(108,92,231,0.4);

  /* Status */
  --green: #00E676;
  --green-bg: rgba(0,230,118,0.08);
  --orange: #FF9100;
  --red: #FF5252;
  --yellow: #FFD740;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0A0C14 0%, #1A1035 40%, #0F1120 100%);
  --gradient-cta: linear-gradient(135deg, #6C5CE7, #00D2FF);
  --gradient-cta-hover: linear-gradient(135deg, #5A4BD4, #00B4D8);
  --gradient-card: linear-gradient(160deg, rgba(108,92,231,0.06) 0%, rgba(0,210,255,0.03) 100%);
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108,92,231,0.06), transparent 40%);
  --gradient-text: linear-gradient(135deg, #E8EAF0 30%, #A29BFE 100%);

  /* Spacing */
  --section-pad: 100px;
  --section-pad-sm: 60px;

  /* Sizing */
  --max-w: 1200px;
  --max-w-lg: 1400px;
  --nav-h: 72px;

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

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --shadow: 0 4px 20px rgba(0,0,0,0.25);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.35);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(108,92,231,0.15);

  /* Fonts */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; color: var(--text-white); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text-secondary); line-height: 1.7; }

.display-heading {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent-text { color: var(--accent); }
.primary-text { color: var(--primary-light); }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gradient-cta);
  border-radius: 2px;
}
.section-desc {
  max-width: 600px;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.section-desc.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: var(--max-w-lg); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; position: relative; }
.section-sm { padding: var(--section-pad-sm) 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 16px rgba(108,92,231,0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(108,92,231,0.45);
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-bg);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(10,12,20,0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: var(--max-w-lg);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-cta);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-white);
  background: rgba(255,255,255,0.04);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-cta);
  border-radius: 2px;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 580px;
  background: var(--dark3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease);
}
.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.04);
}
.nav-dropdown-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: var(--primary-bg);
}
.nav-dropdown-item-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.nav-dropdown-item-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta {
  padding: 10px 24px;
  background: var(--gradient-cta);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 16px rgba(108,92,231,0.25);
}
.nav-cta:hover {
  box-shadow: 0 6px 24px rgba(108,92,231,0.4);
  transform: translateY(-1px);
}
.nav-login {
  padding: 10px 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-login:hover { color: var(--text-white); }

/* Mobile Nav */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
  color: var(--primary-light);
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: all 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--text-white);
  transform: translateX(4px);
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary-light); }
.footer-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-badge {
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== CARDS ===== */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.card:hover::before { opacity: 1; }

.card-sm { padding: 24px; border-radius: var(--radius); }
.card-lg { padding: 48px; border-radius: var(--radius-xl); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.card-icon.purple { background: rgba(108,92,231,0.12); color: var(--primary-light); }
.card-icon.blue { background: rgba(0,210,255,0.10); color: var(--accent); }
.card-icon.green { background: var(--green-bg); color: var(--green); }
.card-icon.orange { background: rgba(255,145,0,0.10); color: var(--orange); }
.card-icon.pink { background: rgba(255,64,129,0.10); color: #FF4081; }

.card h3 { margin-bottom: 10px; position: relative; z-index: 1; }
.card p { font-size: 0.92rem; position: relative; z-index: 1; }

/* ===== FEATURE GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.stat-item {
  background: var(--dark2);
  padding: 36px 24px;
  text-align: center;
}
.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}
.stat-number .accent { color: var(--accent); }
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== MOCKUP CONTAINERS ===== */
.mockup-container {
  background: var(--dark3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.mockup-bar {
  height: 40px;
  background: var(--dark4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
}
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28CA41; }
.mockup-body {
  padding: 24px;
  min-height: 300px;
}

/* ===== BADGE / TAG ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-primary {
  background: var(--primary-bg);
  color: var(--primary-light);
  border: 1px solid rgba(108,92,231,0.2);
}
.badge-green {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(0,230,118,0.15);
}
.badge-accent {
  background: rgba(0,210,255,0.08);
  color: var(--accent);
  border: 1px solid rgba(0,210,255,0.15);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 4rem;
  font-family: var(--font-display);
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-name { font-weight: 600; color: var(--text-white); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ===== PRICING CARDS ===== */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(108,92,231,0.08) 0%, var(--surface) 30%);
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}
.pricing-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-plan { font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { text-align: left; margin-bottom: 32px; }
.pricing-features li {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--green); font-size: 0.9rem; margin-top: 2px; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--dark));
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.page-hero h1 { margin-bottom: 16px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient-cta);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}
.cta-banner h2,
.cta-banner p { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: all 0.2s var(--ease);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,92,231,0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder { color: var(--text-muted); }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float { animation: float 4s ease-in-out infinite; }
.float-delay { animation: float 4s ease-in-out 1s infinite; }

/* Pulse glow */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(108,92,231,0.15); }
  50% { box-shadow: 0 0 40px rgba(108,92,231,0.3); }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--dark2);
  border-left: 1px solid var(--border);
  z-index: 1001;
  padding: 80px 24px 24px;
  transition: right 0.35s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu .nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.mobile-menu-section {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-section h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.mobile-menu-section a {
  display: block;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-dropdown-menu { min-width: 480px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; --section-pad-sm: 40px; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-banner { padding: 40px 24px; }
  .card-lg { padding: 32px 24px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 60px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
}
