/* ==========================================================================
   BRIEFIK Landing Page Styles
   ========================================================================== */

/* ==========================================================================
   0. Font Import - Codec Pro (Backup import in case HTML fails)
   ========================================================================== */
@import url('https://fonts.cdnfonts.com/css/codec-pro');

/* ==========================================================================
   1. CSS Variables / Design Tokens
   ========================================================================== */

:root {
  /* Colors - Primary */
  --primary: #5ca3ff;
  --primary-light: #7db8ff;
  --primary-dark: #3d8aed;

  /* Colors - Accent (Featured items only) */
  --accent: #a855f7;

  /* Colors - Tier-specific (Pricing only) */
  --tier-lite: #10b981;
  --tier-pro: #a855f7;
  --tier-ultimate: #f59e0b;

  /* Colors - Neutrals */
  --black: #000000;
  --dark-bg: #0a0a0b;
  --card-bg: #121214;

  /* Colors - Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.55);

  /* ===========================================
     UNIFIED TYPOGRAPHY SCALE
     Base: 16px, Scale: 1.2 (Minor Third)
     All sizes optimized for Arabic readability
     =========================================== */

  /* Body & UI Text */
  --font-xs: 0.8125rem;    /* 13px - minimum readable */
  --font-sm: 0.9375rem;    /* 15px - secondary/captions */
  --font-base: 1.0625rem;  /* 17px - body text */
  --font-lg: 1.25rem;      /* 20px - large body */
  --font-xl: 1.375rem;     /* 22px - hero subtitle */

  /* Headings */
  --font-h4: 1.5rem;       /* 24px - card titles */
  --font-h3: 1.875rem;     /* 30px - section subtitles */
  --font-h2: 2.25rem;      /* 36px - section titles */
  --font-h1: 3rem;         /* 48px - hero title */
  --font-display: 3.5rem;  /* 56px - hero main */

  /* Spacing (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 4px 24px rgba(92, 163, 255, 0.25);
}

/* ==========================================================================
   2. Reset / Base Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Codec Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--font-base);
  background: var(--black);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* FORCE Codec Pro font on EVERY element - no exceptions */
*,
*::before,
*::after,
html,
body,
button,
input,
select,
textarea,
optgroup,
a,
p,
h1, h2, h3, h4, h5, h6,
span,
div,
li,
ul,
ol,
nav,
header,
footer,
section,
article,
aside,
main,
label,
legend,
fieldset,
table,
th,
td,
tr,
caption,
form,
figure,
figcaption,
blockquote,
pre,
code,
kbd,
samp,
var,
abbr,
address,
cite,
dfn,
em,
strong,
sub,
sup,
small,
mark,
del,
ins,
q,
time {
  font-family: 'Codec Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Extra specificity for stubborn form elements */
button,
[type="button"],
[type="reset"],
[type="submit"],
input,
select,
textarea {
  font-family: 'Codec Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Background handled by LiquidEther effect */
/* body::before removed - using WebGL fluid simulation instead */

/* Ensure content is above background */
nav, section, footer, main {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* Input/Form elements inherit font */
input,
select,
textarea {
  font: inherit;
}

/* ==========================================================================
   3. Typography - Unified Scale
   ========================================================================== */

/* Section Headers */
.section-title {
  font-size: var(--font-h2);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.section-title-en {
  display: block;
  font-size: var(--font-lg);
  color: var(--text-secondary);
  margin-top: var(--space-2);
  font-weight: 500;
}

.section-subtitle {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-subtitle-en {
  display: block;
  font-size: var(--font-base);
  margin-top: var(--space-2);
  color: var(--text-muted);
}

/* ==========================================================================
   4. Layout Components
   ========================================================================== */

.section {
  padding: var(--space-9) var(--space-5);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-8);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-md);
  font-size: var(--font-base);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}


.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-size: var(--font-base);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-large {
  padding: 14px 32px;
  font-size: var(--font-lg);
}

.btn-nav {
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-nav:hover {
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   6. Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(92, 163, 255, 0.1);
  padding: var(--space-4) var(--space-5);
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 11, 0.95);
  box-shadow: 0 4px 30px rgba(92, 163, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  width: auto;
  transition: transform 0.2s ease;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links a {
  color: var(--text-secondary);
  font-size: var(--font-base);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-mobile-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-h4);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 11, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(92, 163, 255, 0.2);
  padding: var(--space-5);
  flex-direction: column;
  gap: var(--space-4);
  z-index: 999;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: var(--space-4);
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--font-lg);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.mobile-nav a:hover {
  background: rgba(92, 163, 255, 0.1);
  color: var(--text-primary);
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-9) var(--space-5);
  text-align: center;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  max-width: 900px;
  width: 100%;
  height: auto;
  margin-bottom: var(--space-7);
}

.hero-headlines {
  margin-bottom: var(--space-6);
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-2);
}

.hero-subtitle {
  font-size: var(--font-lg);
  color: var(--text-muted);
  font-weight: 300;
  direction: ltr;
  unicode-bidi: plaintext;
}

/* Hero Features - Quick value props */
.hero-features {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
  font-size: var(--font-base);
}

.hero-feature svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

/* Hero CTA Button - Glassmorphism */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(92, 163, 255, 0.5);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: var(--space-6);
  position: relative;
  overflow: hidden;
}

/* Inner glow */
.btn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(92, 163, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Glare sweep effect */
.btn-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%,
    transparent 100%
  );
  transition: left 0.6s ease;
}

.btn-hero:hover::after {
  left: 100%;
}

.btn-hero:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-color: rgba(92, 163, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(92, 163, 255, 0.4);
  transform: translateY(-3px);
}

.btn-hero:hover::before,
.btn-hero:hover::after {
  opacity: 1;
}

.btn-hero-text {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.btn-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.btn-hero-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-light);
  fill: none;
  transition: transform 0.3s ease;
}

.btn-hero:hover .btn-hero-icon svg {
  transform: translateY(3px);
  stroke: var(--primary);
}

/* Hero Platforms */
.hero-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: var(--font-sm);
  margin-bottom: var(--space-5);
}

.platform-dot {
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
}

.platform-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.platform-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

/* iOS Glow Effect - iPhone and iPad */
.hero-platforms .platform-item:nth-child(5),
.hero-platforms .platform-item:nth-child(7) {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(92, 163, 255, 0.6);
}

.hero-platforms .platform-item:nth-child(5) .platform-icon,
.hero-platforms .platform-item:nth-child(7) .platform-icon {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(92, 163, 255, 0.8)) drop-shadow(0 0 12px rgba(92, 163, 255, 0.4));
  animation: iosIconGlow 2s ease-in-out infinite;
}

@keyframes iosIconGlow {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(92, 163, 255, 0.8)) drop-shadow(0 0 12px rgba(92, 163, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(92, 163, 255, 1)) drop-shadow(0 0 20px rgba(92, 163, 255, 0.6));
  }
}

.coming-soon {
  font-size: 0.75em;
  opacity: 0.6;
  font-weight: 400;
}

/* Hero Saudi Badge */
.hero-saudi {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin-top: var(--space-2);
  padding: 10px 20px;
}

.saudi-ar {
  font-weight: 500;
}

.saudi-flag {
  font-size: 1.4em;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(0, 108, 53, 0.5));
}

.saudi-en {
  font-weight: 400;
  opacity: 0.85;
}


/* Footer Saudi Badge - compact version */
.footer-saudi {
  display: inline-flex;
  width: auto;
  margin-top: var(--space-3);
  padding: 6px 14px;
  font-size: 12px;
  gap: 8px;
  border: 1.5px solid #006C35;
  border-radius: 20px;
  background: rgba(0, 108, 53, 0.1);
}

.footer-saudi .saudi-flag {
  font-size: 1.1em;
}

/* ==========================================================================
   8. Features Section
   ========================================================================== */

.features {
  padding: var(--space-9) var(--space-5);
}

/* Main Features (Highlighted) */
.features-main {
  max-width: 900px;
  margin: 0 auto var(--space-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  direction: ltr;
}

.feature-card-main {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6);
  background: linear-gradient(145deg, rgba(92, 163, 255, 0.08) 0%, rgba(10, 10, 11, 0.95) 100%);
  border: 1px solid rgba(92, 163, 255, 0.3);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(92, 163, 255, 0.15);
  direction: rtl;
}

.feature-card-main .spotlight-overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.feature-card-main:hover .spotlight-overlay {
  opacity: 1;
}

.feature-card-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(92, 163, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.feature-card-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92, 163, 255, 0.5), transparent);
}

.feature-card-main:hover {
  border-color: rgba(92, 163, 255, 0.5);
  box-shadow: 0 0 40px rgba(92, 163, 255, 0.15),
              0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px) scale(1.03) !important;
}

.feature-icon-main {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(92, 163, 255, 0.2) 0%, rgba(92, 163, 255, 0.05) 100%);
  border: 1px solid rgba(92, 163, 255, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 20px rgba(92, 163, 255, 0.1);
}

.feature-icon-main svg {
  width: 36px;
  height: 36px;
  fill: var(--primary-light);
  filter: drop-shadow(0 0 8px rgba(92, 163, 255, 0.4));
}

.feature-main-content {
  flex: 1;
  text-align: right;
}

.feature-main-content .feature-title {
  font-size: var(--font-h4);
  margin-bottom: var(--space-1);
}

.feature-main-content .feature-title-en {
  font-size: var(--font-sm);
  margin-bottom: var(--space-3);
}

.feature-main-content .feature-description {
  font-size: var(--font-base);
  margin-bottom: var(--space-1);
}

.feature-main-content .feature-description-en {
  font-size: var(--font-sm);
}

@media (max-width: 768px) {
  .features-main {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .feature-card-main {
    flex-direction: column;
    text-align: center;
  }

  .feature-main-content {
    text-align: center;
  }
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  direction: ltr;
}

.feature-card {
  padding: var(--space-6);
  background: linear-gradient(145deg, rgba(18, 18, 20, 0.8) 0%, rgba(10, 10, 11, 0.9) 100%);
  border: 1px solid rgba(92, 163, 255, 0.15);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(92, 163, 255, 0.12);
  direction: rtl;
}

.feature-card .spotlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.feature-card:hover .spotlight-overlay {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-4px) scale(1.05) !important;
  border-color: rgba(92, 163, 255, 0.4);
  box-shadow: 0 8px 32px rgba(92, 163, 255, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(92, 163, 255, 0.1);
  border-radius: var(--radius-md);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary-light);
}

.feature-title {
  font-size: var(--font-h4);
  font-weight: 600;
  margin-bottom: 0;
  color: var(--text-primary);
}

.feature-title-en {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.feature-description {
  font-size: var(--font-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.feature-description-en {
  font-size: var(--font-sm);
  margin-top: var(--space-2);
  color: var(--text-muted);
}

/* ==========================================================================
   9. Pricing Section
   ========================================================================== */

.pricing {
  padding: var(--space-9) var(--space-5);
}

.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  align-items: stretch;
  direction: ltr;
}

.pricing-card {
  background: linear-gradient(145deg, rgba(18, 18, 20, 0.9) 0%, rgba(10, 10, 11, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  padding-top: var(--space-7);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  backdrop-filter: blur(10px);
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(92, 163, 255, 0.1);
  direction: rtl;
}

.pricing-card .spotlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: var(--radius-xl);
}

.pricing-card:hover .spotlight-overlay {
  opacity: 1;
}


.pricing-card:hover {
  transform: translateY(-8px) scale(1.08) !important;
  border-color: rgba(92, 163, 255, 0.5);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(92, 163, 255, 0.3);
}

/* Lite Tier - Green accent */
.pricing-card--lite {
  border-color: rgba(16, 185, 129, 0.2);
}


.pricing-card--lite:hover {
  transform: translateY(-8px) scale(1.08) !important;
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(16, 185, 129, 0.3),
    inset 0 0 60px rgba(16, 185, 129, 0.05);
}


/* Pro Tier - Featured with purple glow */
.pricing-card--featured {
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(145deg, rgba(30, 20, 40, 0.9) 0%, rgba(15, 10, 20, 0.95) 100%);
  transform: scale(1.02);
}


.pricing-card--featured::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.2), transparent, rgba(168, 85, 247, 0.1));
  z-index: -1;
  opacity: 0.5;
}

.pricing-card--featured:hover {
  transform: scale(1.1) translateY(-8px) !important;
  border-color: rgba(168, 85, 247, 0.8);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(168, 85, 247, 0.4),
    inset 0 0 80px rgba(168, 85, 247, 0.08);
}

/* Ultimate Tier - Gold/Orange accent */
.pricing-card--ultimate {
  border-color: rgba(245, 158, 11, 0.2);
}


.pricing-card--ultimate:hover {
  transform: translateY(-8px) scale(1.08) !important;
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(245, 158, 11, 0.3),
    inset 0 0 60px rgba(245, 158, 11, 0.05);
}


/* Pricing Badge */
.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: var(--font-sm);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
  z-index: 10;
}

.pricing-badge-bottom {
  top: auto;
  bottom: -16px;
}

/* Pricing Label */
.pricing-label {
  display: block;
  font-size: var(--font-xs);
  color: var(--tier-lite);
  margin-bottom: var(--space-4);
  font-weight: 500;
  line-height: 1.5;
}

.pricing-label-en {
  display: block;
  opacity: 0.7;
  font-size: 0.9em;
}

.pricing-card--pro .pricing-label {
  color: var(--tier-pro);
}

.pricing-card--ultimate .pricing-label {
  color: var(--tier-ultimate);
}

/* Pricing Header - Tier Names */
.pricing-header {
  margin-bottom: var(--space-5);
}

.pricing-tier-ar {
  display: block;
  font-size: var(--font-h4);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.pricing-tier-en {
  display: block;
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Tier name colors */
.pricing-card--lite .pricing-tier-ar {
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-card--featured .pricing-tier-ar {
  background: linear-gradient(135deg, #a855f7, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-card--ultimate .pricing-tier-ar {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pricing Price */
.pricing-price-wrapper {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pricing-price {
  font-size: var(--font-h1);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 0 30px rgba(92, 163, 255, 0.3);
}

.pricing-riyal {
  width: 32px;
  height: 32px;
  color: var(--primary);
  filter: drop-shadow(0 0 10px rgba(92, 163, 255, 0.3));
}

.pricing-currency {
  display: block;
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-top: 8px;
}

/* Tier price colors */
.pricing-card--lite .pricing-price {
  color: var(--tier-lite);
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}
.pricing-card--lite .pricing-riyal {
  color: var(--tier-lite);
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
}

.pricing-card--pro .pricing-price {
  color: var(--tier-pro);
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}
.pricing-card--pro .pricing-riyal {
  color: var(--tier-pro);
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
}

.pricing-card--ultimate .pricing-price {
  color: var(--tier-ultimate);
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}
.pricing-card--ultimate .pricing-riyal {
  color: var(--tier-ultimate);
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
}

/* Pricing Features */
.pricing-features {
  margin-bottom: var(--space-6);
  list-style: none;
}

.pricing-features li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .feature-ar {
  display: block;
  font-size: var(--font-base);
  color: var(--text-primary);
  text-align: right;
  direction: rtl;
  font-weight: 500;
}

.pricing-features .feature-en {
  display: block;
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-align: right;
  margin-top: 3px;
}

/* Feature includes - reference to lower tier */
.pricing-features .feature-includes .feature-ar {
  color: var(--text-primary);
  font-weight: 500;
}

.pricing-features .feature-includes .feature-en {
  color: var(--text-muted);
}

/* Feature highlight for Ultimate - Unlimited hours glow */
.pricing-features .feature-highlight .feature-ar {
  color: var(--tier-ultimate);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.5),
               0 0 25px rgba(245, 158, 11, 0.3);
  animation: ultimateTextGlow 2s ease-in-out infinite;
}

.pricing-features .feature-highlight .feature-en {
  color: rgba(245, 158, 11, 0.7);
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

@keyframes ultimateTextGlow {
  0%, 100% {
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.6),
                 0 0 30px rgba(245, 158, 11, 0.4),
                 0 0 45px rgba(245, 158, 11, 0.2);
  }
  50% {
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.8),
                 0 0 40px rgba(245, 158, 11, 0.6),
                 0 0 60px rgba(245, 158, 11, 0.3);
  }
}

/* Tier-colored usage features (hours/month, hours/session) */
/* Lite - Green accent on first two features */
.pricing-card--lite .pricing-features li:nth-child(1) .feature-ar,
.pricing-card--lite .pricing-features li:nth-child(2) .feature-ar {
  color: rgba(16, 185, 129, 0.9);
}

.pricing-card--lite .pricing-features li:nth-child(1) .feature-en,
.pricing-card--lite .pricing-features li:nth-child(2) .feature-en {
  color: rgba(16, 185, 129, 0.6);
}

/* Pro - Purple accent on first two features */
.pricing-card--pro .pricing-features li:nth-child(1) .feature-ar,
.pricing-card--pro .pricing-features li:nth-child(2) .feature-ar {
  color: rgba(168, 85, 247, 0.9);
}

.pricing-card--pro .pricing-features li:nth-child(1) .feature-en,
.pricing-card--pro .pricing-features li:nth-child(2) .feature-en {
  color: rgba(168, 85, 247, 0.6);
}

/* Ultimate - Gold accent on first two features with glow */
.pricing-card--ultimate .pricing-features li:nth-child(1) .feature-ar,
.pricing-card--ultimate .pricing-features li:nth-child(2) .feature-ar {
  color: rgba(245, 158, 11, 0.9);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.5),
               0 0 25px rgba(245, 158, 11, 0.3);
}

.pricing-card--ultimate .pricing-features li:nth-child(1) .feature-en,
.pricing-card--ultimate .pricing-features li:nth-child(2) .feature-en {
  color: rgba(245, 158, 11, 0.6);
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

/* Pricing Buttons */
.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  padding: 12px 20px;
  font-size: var(--font-sm);
}

/* Enhanced buttons for pricing cards */
.pricing-card--lite .btn-secondary {
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--tier-lite);
}

.pricing-card--lite .btn-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--tier-lite);
}

.pricing-card--featured .btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.pricing-card--featured .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5);
}

.pricing-card--ultimate .btn-secondary {
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--tier-ultimate);
}

.pricing-card--ultimate .btn-secondary:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--tier-ultimate);
}

/* ==========================================================================
   10. CTA Section
   ========================================================================== */

.cta-section {
  padding: var(--space-9) var(--space-5);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(92, 163, 255, 0.05));
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--font-h2);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.cta-title-en {
  display: block;
  font-size: var(--font-h4);
  color: var(--text-secondary);
  margin-top: var(--space-3);
  font-weight: 500;
}

.cta-subtitle {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.cta-subtitle-en {
  display: block;
  font-size: var(--font-base);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-5);
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.cta-icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.footer {
  background: rgba(10, 10, 11, 0.9);
  border-top: 1px solid rgba(92, 163, 255, 0.1);
  padding: var(--space-8) var(--space-5) var(--space-6);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.footer-logo {
  height: 85px;
  width: auto;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--font-sm);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  direction: ltr;
}

.footer-column {
  direction: rtl;
}

.footer-column h4 {
  font-size: var(--font-base);
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: var(--space-4);
}

.footer-column a {
  display: block;
  color: var(--text-muted);
  font-size: var(--font-sm);
  padding: var(--space-2) 0;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(92, 163, 255, 0.1);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-sm);
}

/* ==========================================================================
   12. Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* ==========================================================================
   13. Animations
   ========================================================================== */

/* Scroll Reveal - Only animation we keep */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   13b. Feature Icon Animations - REAL Animations
   ========================================================================== */

/* Base glow enhancement for all feature icons */
.feature-icon {
  background: linear-gradient(135deg, rgba(92, 163, 255, 0.2) 0%, rgba(92, 163, 255, 0.05) 100%);
  border: 1px solid rgba(92, 163, 255, 0.3);
  box-shadow: 0 0 20px rgba(92, 163, 255, 0.15);
}

.feature-icon svg {
  filter: drop-shadow(0 0 8px rgba(92, 163, 255, 0.4));
}

/* ============================================
   Privacy First - Lock Icon
   ============================================ */
.privacy-shield-icon {
  width: 36px;
  height: 36px;
  color: var(--primary-light);
  filter: drop-shadow(0 0 10px rgba(92, 163, 255, 0.5));
}

/* ============================================
   Meeting Summarization - Audio Visualizer
   ============================================ */
@keyframes audioBar1 { 0%, 100% { height: 20%; } 50% { height: 80%; } }
@keyframes audioBar2 { 0%, 100% { height: 40%; } 50% { height: 100%; } }
@keyframes audioBar3 { 0%, 100% { height: 60%; } 50% { height: 40%; } }
@keyframes audioBar4 { 0%, 100% { height: 30%; } 50% { height: 90%; } }
@keyframes audioBar5 { 0%, 100% { height: 50%; } 50% { height: 70%; } }

.audio-visualizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 36px;
  width: 36px;
}

.audio-visualizer .bar {
  width: 4px;
  background: var(--primary-light);
  border-radius: 2px;
  filter: drop-shadow(0 0 8px rgba(92, 163, 255, 0.6));
}

.audio-visualizer .bar:nth-child(1) { animation: audioBar1 1s ease-in-out infinite; }
.audio-visualizer .bar:nth-child(2) { animation: audioBar2 0.8s ease-in-out infinite 0.1s; }
.audio-visualizer .bar:nth-child(3) { animation: audioBar3 1.2s ease-in-out infinite 0.2s; }
.audio-visualizer .bar:nth-child(4) { animation: audioBar4 0.9s ease-in-out infinite 0.15s; }
.audio-visualizer .bar:nth-child(5) { animation: audioBar5 1.1s ease-in-out infinite 0.05s; }

/* ============================================
   Notes - Notepad with Writing Lines
   ============================================ */
.notes-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 6px 4px;
  background: rgba(92, 163, 255, 0.15);
  border: 2px solid var(--primary-light);
  border-radius: 4px;
  filter: drop-shadow(0 0 6px rgba(92, 163, 255, 0.4));
}

.notes-icon .line {
  height: 2px;
  background: var(--primary-light);
  border-radius: 1px;
  animation: lineWrite 2.5s ease-out infinite;
}

.notes-icon .line:nth-child(1) { animation-delay: 0s; }
.notes-icon .line:nth-child(2) { animation-delay: 0.3s; }
.notes-icon .line:nth-child(3) { animation-delay: 0.6s; }
.notes-icon .line:nth-child(4) { animation-delay: 0.9s; }

@keyframes lineWrite {
  0% { width: 0; opacity: 0; }
  20% { opacity: 1; }
  40%, 80% { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

/* ============================================
   Slides Analyzer - Stacked Cards Shuffle
   ============================================ */
.slides-icon {
  position: relative;
  width: 32px;
  height: 32px;
}

.slides-icon .slide {
  position: absolute;
  width: 22px;
  height: 16px;
  border: 2px solid var(--primary-light);
  border-radius: 3px;
  background: rgba(92, 163, 255, 0.2);
  filter: drop-shadow(0 0 4px rgba(92, 163, 255, 0.3));
}

.slides-icon .slide:nth-child(1) {
  bottom: 2px;
  left: 3px;
  z-index: 3;
  animation: cardShuffle1 2s ease-in-out infinite;
}
.slides-icon .slide:nth-child(2) {
  bottom: 5px;
  left: 5px;
  z-index: 2;
  opacity: 0.7;
  animation: cardShuffle2 2s ease-in-out infinite;
}
.slides-icon .slide:nth-child(3) {
  bottom: 8px;
  left: 7px;
  z-index: 1;
  opacity: 0.4;
  animation: cardShuffle3 2s ease-in-out infinite;
}

@keyframes cardShuffle1 {
  0%, 100% { transform: translate(0, 0); z-index: 3; }
  25% { transform: translate(8px, -8px); z-index: 3; }
  50% { transform: translate(4px, 6px); z-index: 1; }
  75% { transform: translate(0, 0); z-index: 1; }
}

@keyframes cardShuffle2 {
  0%, 100% { transform: translate(0, 0); z-index: 2; opacity: 0.7; }
  25% { transform: translate(0, 0); z-index: 2; }
  50% { transform: translate(-2px, -3px); z-index: 3; opacity: 1; }
  75% { transform: translate(-2px, -3px); z-index: 2; opacity: 0.7; }
}

@keyframes cardShuffle3 {
  0%, 100% { transform: translate(0, 0); z-index: 1; opacity: 0.4; }
  50% { transform: translate(-4px, -6px); z-index: 2; opacity: 0.7; }
}

/* ============================================
   Tasks - Checkbox with Check Animation
   ============================================ */
.tasks-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tasks-icon .box {
  width: 22px;
  height: 22px;
  border: 3px solid var(--primary-light);
  border-radius: 5px;
  background: rgba(92, 163, 255, 0.1);
  position: relative;
  filter: drop-shadow(0 0 6px rgba(92, 163, 255, 0.4));
}

.tasks-icon .check {
  position: absolute;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--primary-light);
  border-bottom: 3px solid var(--primary-light);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(-45deg) scale(0);
  animation: checkPop 2s ease-out infinite;
}

@keyframes checkPop {
  0%, 30% { transform: translate(-50%, -60%) rotate(-45deg) scale(0); }
  50% { transform: translate(-50%, -60%) rotate(-45deg) scale(1.2); }
  60%, 100% { transform: translate(-50%, -60%) rotate(-45deg) scale(1); }
}

/* ============================================
   Summarization History - Stacked Papers
   ============================================ */
.meetings-icon {
  position: relative;
  width: 32px;
  height: 32px;
}

.meetings-icon .paper {
  position: absolute;
  width: 18px;
  height: 22px;
  background: rgba(92, 163, 255, 0.15);
  border: 2px solid var(--primary-light);
  border-radius: 3px;
  filter: drop-shadow(0 0 4px rgba(92, 163, 255, 0.3));
}

.meetings-icon .paper::before,
.meetings-icon .paper::after {
  content: '';
  position: absolute;
  left: 3px;
  right: 3px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 1px;
  opacity: 0.6;
}

.meetings-icon .paper::before { top: 5px; }
.meetings-icon .paper::after { top: 10px; width: 60%; }

.meetings-icon .paper:nth-child(1) {
  bottom: 0;
  left: 0;
  z-index: 3;
  animation: paperFan1 2.5s ease-in-out infinite;
}

.meetings-icon .paper:nth-child(2) {
  bottom: 3px;
  left: 5px;
  z-index: 2;
  opacity: 0.7;
  animation: paperFan2 2.5s ease-in-out infinite;
}

.meetings-icon .paper:nth-child(3) {
  bottom: 6px;
  left: 10px;
  z-index: 1;
  opacity: 0.4;
  animation: paperFan3 2.5s ease-in-out infinite;
}

@keyframes paperFan1 {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-8deg) translateX(-2px); }
}

@keyframes paperFan2 {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-4deg); }
}

@keyframes paperFan3 {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(4deg) translateX(2px); }
}

/* ============================================
   Dashboard - Bars Growing Animation
   ============================================ */
.dashboard-icon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 32px;
  width: 32px;
  padding: 4px;
}

.dashboard-icon .bar {
  width: 6px;
  background: var(--primary-light);
  border-radius: 2px;
  filter: drop-shadow(0 0 6px rgba(92, 163, 255, 0.5));
}

.dashboard-icon .bar:nth-child(1) {
  animation: barGrow1 2s ease-out infinite;
}
.dashboard-icon .bar:nth-child(2) {
  animation: barGrow2 2s ease-out infinite 0.2s;
}
.dashboard-icon .bar:nth-child(3) {
  animation: barGrow3 2s ease-out infinite 0.4s;
}

@keyframes barGrow1 {
  0%, 10% { height: 0; }
  30%, 80% { height: 40%; }
  100% { height: 0; }
}

@keyframes barGrow2 {
  0%, 10% { height: 0; }
  30%, 80% { height: 65%; }
  100% { height: 0; }
}

@keyframes barGrow3 {
  0%, 10% { height: 0; }
  30%, 80% { height: 100%; }
  100% { height: 0; }
}

/* ============================================
   Mail & Minutes - Envelope Send Animation
   ============================================ */
.mail-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mail-icon .envelope {
  width: 26px;
  height: 18px;
  background: var(--primary-light);
  border-radius: 3px;
  position: relative;
  filter: drop-shadow(0 0 6px rgba(92, 163, 255, 0.4));
  animation: envelopeSend 2.5s ease-in-out infinite;
}

.mail-icon .envelope::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--primary);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.mail-icon .send-lines {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  animation: sendLines 2.5s ease-in-out infinite;
}

.mail-icon .send-lines span {
  width: 6px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 1px;
}

.mail-icon .send-lines span:nth-child(2) { width: 8px; }

@keyframes envelopeSend {
  0%, 40% { transform: translateX(0); }
  60%, 80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

@keyframes sendLines {
  0%, 40% { opacity: 0; transform: translateY(-50%) translateX(0); }
  50%, 70% { opacity: 1; transform: translateY(-50%) translateX(4px); }
  80%, 100% { opacity: 0; transform: translateY(-50%) translateX(8px); }
}

/* ==========================================================================
   14. Responsive / Media Queries
   ========================================================================== */

/* Large Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card--featured {
    transform: scale(1);
  }

  .pricing-card--featured:hover {
    transform: translateY(-8px) scale(1.1) !important;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet */
@media (max-width: 768px) {
  :root {
    --font-display: 2.5rem;
    --font-h1: 2.25rem;
    --font-h2: 1.75rem;
    --font-h3: 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile-btn {
    display: flex;
  }

  .hero {
    padding: var(--space-8) var(--space-4);
    min-height: auto;
    padding-top: 100px;
  }

  .hero-logo {
    max-width: 400px;
  }

  .hero-features {
    gap: var(--space-4);
  }

  .btn-hero {
    padding: 16px 32px;
  }

  .btn-hero-text {
    font-size: var(--font-base);
  }

  /* Fix platforms to wrap on tablet */
  .hero-platforms {
    flex-wrap: wrap;
    gap: var(--space-3);
    max-width: 350px;
    justify-content: center;
  }

  .platform-dot {
    display: none;
  }

  .platform-item {
    padding: var(--space-1) var(--space-2);
  }

  .features-main {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .feature-card-main {
    flex-direction: column;
    text-align: center;
  }

  .feature-main-content {
    text-align: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: scale(1);
  }

  .pricing-card--featured:hover {
    transform: translateY(-6px) scale(1.1) !important;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --font-display: 2rem;
    --font-h1: 1.75rem;
    --font-h2: 1.5rem;
    --font-h3: 1.25rem;
    --font-h4: 1.25rem;
  }

  /* Hide nav logo on mobile - hero has the main logo */
  .nav-logo {
    display: none;
  }

  /* Keep burger button on the right (flex-start because row-reverse) */
  .nav-container {
    justify-content: flex-start;
  }

  .section {
    padding: var(--space-7) var(--space-4);
  }

  .hero {
    padding: var(--space-7) var(--space-4);
    padding-top: 80px;
  }

  .hero-logo {
    max-width: 280px;
    margin-bottom: var(--space-5);
  }

  /* Fix hero text to wrap properly */
  .hero-headlines {
    padding: 0 var(--space-2);
  }

  .hero-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: var(--font-base);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Fix platforms section - compact layout on mobile */
  .hero-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    align-items: center;
    max-width: 320px;
    margin: 0 auto var(--space-4);
  }

  .platform-dot {
    display: none;
  }

  .platform-item {
    font-size: var(--font-xs);
    background: rgba(92, 163, 255, 0.06);
    padding: 5px 10px;
    border-radius: 16px;
    border: 1px solid rgba(92, 163, 255, 0.12);
  }

  /* Highlight Windows as the available platform */
  .platform-item:first-of-type {
    background: rgba(92, 163, 255, 0.15);
    border-color: rgba(92, 163, 255, 0.3);
    color: var(--text-primary);
  }

  .coming-soon {
    font-size: 0.6em;
    opacity: 0.5;
    margin-left: 2px;
  }

  /* Fix Saudi badge for mobile */
  .hero-saudi {
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
  }

  .hero-features {
    flex-direction: column;
    gap: var(--space-3);
  }

  .btn-hero {
    padding: 14px 28px;
  }

  .btn-hero-text {
    font-size: var(--font-sm);
  }

  .btn-hero-icon svg {
    width: 18px;
    height: 18px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .feature-card {
    padding: var(--space-5);
  }

  .pricing-card {
    padding: var(--space-5);
  }

  /* Extra space for Pro card on mobile due to badge overlap */
  .pricing-card--pro {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

/* ==========================================================================
   15. Mobile Navigation Improvements
   ========================================================================== */

@media (max-width: 768px) {
  .mobile-nav {
    top: 60px;
    padding: var(--space-6) var(--space-5);
    gap: var(--space-3);
    background: rgba(5, 5, 7, 0.98);
    border-bottom: 1px solid rgba(92, 163, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }

  .mobile-nav a {
    padding: var(--space-4) var(--space-5);
    font-size: var(--font-base);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all 0.3s ease;
  }

  .mobile-nav a:hover,
  .mobile-nav a:active {
    background: rgba(92, 163, 255, 0.15);
    border-color: rgba(92, 163, 255, 0.3);
    color: var(--text-primary);
  }

  .mobile-nav .btn-primary {
    margin-top: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--primary);
    border: none;
  }

  /* Better burger button styling */
  .nav-mobile-btn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
  }

  .nav-mobile-btn:hover,
  .nav-mobile-btn:active {
    background: rgba(92, 163, 255, 0.15);
  }
}
