/* ============================================
   PORTALYX – PAYMOB DESIGN LANGUAGE CSS
   ============================================ */

:root {
  --blue:        #0033FF;
  --blue-dark:   #0026CC;
  --blue-deeper: #001FA3;
  --blue-light:  #E6F0FF;
  --blue-mid:    #4D7FFF;
  --sky:         #EBF2FF;
  --white:       #FFFFFF;
  --grey-bg:     #F8F9FA;
  --navy:        #001A33;
  --navy-mid:    #0D2B4D;
  --grey-text:   #5E7082;
  --grey-border: #E2E8F0;
  --success:     #00C48C;
  --warning:     #FF8800;
  --danger:      #FF3B5C;
  --shadow-sm:   0 2px 8px rgba(0,51,255,0.08);
  --shadow-md:   0 8px 32px rgba(0,51,255,0.14);
  --shadow-lg:   0 24px 64px rgba(0,51,255,0.18);
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Tajawal', 'Inter', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.lang-en {
  font-family: 'Inter', 'Tajawal', sans-serif;
  direction: ltr;
}

body.lang-ar {
  font-family: 'Tajawal', 'Inter', sans-serif;
  direction: rtl;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--grey-bg); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 10px; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 0;
}

.navbar.scrolled {
  border-bottom-color: var(--grey-border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  font-size: 28px;
  color: var(--blue);
  line-height: 1;
  animation: rotate-logo 8s linear infinite;
}

@keyframes rotate-logo {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.nav-links a {
  color: var(--grey-text);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--grey-border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.lang-toggle:hover { border-color: var(--blue); }

.lang-opt {
  color: var(--grey-text);
  cursor: pointer;
  transition: color 0.2s;
}

.lang-opt.active { color: var(--blue); }

.lang-sep { color: var(--grey-border); }

.btn-nav {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--blue-dark);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,51,255,0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 4px;
  transition: var(--transition);
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,51,255,0.40);
}

.btn-glow {
  box-shadow: 0 4px 20px rgba(0,51,255,0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--navy);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid var(--grey-border);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  transform: scale(1.03);
}

.btn-full { width: 100%; justify-content: center; }

/* ============ HERO SECTION ============ */
.hero {
  min-height: 100vh;
  padding: 120px 0 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
}

.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,51,255,0.07) 0%, transparent 70%);
  top: -150px; right: -150px;
}

.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,51,255,0.05) 0%, transparent 70%);
  bottom: 100px; left: -100px;
}

.shape-3 {
  width: 200px; height: 200px;
  background: var(--blue);
  opacity: 0.04;
  top: 40%; left: 40%;
  filter: blur(60px);
}

.shape-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,51,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,51,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  border-radius: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  flex: 1;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  border: 1px solid rgba(0,51,255,0.15);
}

.hero-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--blue);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  border-radius: 4px;
}

.hero-sub {
  font-size: 18px;
  color: var(--grey-text);
  margin-bottom: 36px;
  line-height: 1.8;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--grey-text);
  font-weight: 500;
}

.trust-item i {
  color: var(--blue);
  font-size: 14px;
}

/* ============ HERO MOCKUP ============ */
.hero-mockup {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

/* MacBook */
.macbook {
  position: relative;
  z-index: 2;
}

.macbook-screen {
  background: var(--navy);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  border: 2px solid #2D3748;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.screen-topbar {
  background: #1A2332;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.screen-dots { display: flex; gap: 5px; }

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.dot-r { background: #FF5F57; }
.dot-y { background: #FFBD2E; }
.dot-g { background: #28C840; }

.screen-url {
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-family: monospace;
  flex: 1;
  text-align: center;
}

.screen-content {
  display: flex;
  height: 220px;
  overflow: hidden;
}

.dash-sidebar {
  width: 44px;
  background: #0F1929;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 14px;
  border-left: 1px solid rgba(255,255,255,0.05);
}

body.lang-en .dash-sidebar {
  border-left: none;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.dash-logo-sm {
  font-size: 8px;
  color: var(--blue-mid);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.dash-menu { display: flex; flex-direction: column; gap: 6px; }

.dash-item {
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.dash-item.active {
  background: var(--blue);
  color: white;
}

.dash-main {
  flex: 1;
  background: #0D1F35;
  padding: 10px;
  overflow: hidden;
}

.dash-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dash-title-text {
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.dash-date {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
}

.dash-stats {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.stat-card {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.06);
}

.stat-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.stat-icon.blue { background: rgba(0,51,255,0.25); color: var(--blue-mid); }
.stat-icon.green { background: rgba(0,196,140,0.2); color: var(--success); }
.stat-icon.orange { background: rgba(255,136,0,0.2); color: var(--warning); }

.stat-info { display: flex; flex-direction: column; }

.stat-num {
  font-size: 13px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-lbl {
  font-size: 7px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

.dash-chart-area {
  display: flex;
  gap: 6px;
  height: 65px;
}

.mini-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 4px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
}

.chart-bar {
  flex: 1;
  background: rgba(0,51,255,0.3);
  border-radius: 2px 2px 0 0;
  transition: height 1s ease;
}

.chart-bar.active { background: var(--blue); }

.map-mini {
  width: 80px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.map-dot {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--blue-mid);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
}

.d1 { top: 20%; left: 20%; }
.d2 { top: 50%; right: 15%; }
.d3 { bottom: 20%; left: 40%; }

.map-line {
  position: absolute;
  top: 25%;
  left: 24%;
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-mid), transparent);
  transform: rotate(15deg);
}

.macbook-base {
  background: linear-gradient(to bottom, #2A3343, #1A2130);
  height: 16px;
  border-radius: 0 0 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.macbook-hinge {
  width: 40px; height: 3px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
}

.macbook-foot {
  width: 120px; height: 5px;
  background: #1A2130;
  border-radius: 0 0 6px 6px;
  margin-top: 1px;
}

/* iPhone */
.iphone {
  position: absolute;
  bottom: -20px;
  left: -30px;
  z-index: 3;
  width: 140px;
}

body.lang-en .iphone {
  left: auto;
  right: -30px;
}

.iphone-frame {
  background: #1A2332;
  border-radius: 22px;
  padding: 8px;
  border: 2px solid #2D3748;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.05);
}

.iphone-notch {
  width: 50px; height: 8px;
  background: #0D1929;
  border-radius: 0 0 10px 10px;
  margin: 0 auto 6px;
}

.iphone-screen {
  background: var(--navy);
  border-radius: 14px;
  overflow: hidden;
  padding: 8px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-logo-sm { font-size: 12px; color: var(--blue-mid); }

.app-title-sm {
  font-size: 10px;
  font-weight: 800;
  color: white;
  flex: 1;
}

.app-bell { font-size: 10px; color: rgba(255,255,255,0.4); }

.app-greeting {
  font-size: 10px;
  font-weight: 700;
  color: white;
}

.app-cards { display: flex; gap: 4px; }

.app-card-mini {
  flex: 1;
  border-radius: 8px;
  padding: 6px 5px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.blue-card { background: rgba(0,51,255,0.25); }
.green-card { background: rgba(0,196,140,0.2); }

.app-card-mini i { font-size: 12px; color: rgba(255,255,255,0.7); }

.acm-num {
  font-size: 14px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.acm-lbl { font-size: 7px; color: rgba(255,255,255,0.5); }

.app-trip-list { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.trip-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 4px 5px;
}

.trip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.active-dot { background: var(--blue-mid); }
.pending-dot { background: var(--warning); }
.done-dot { background: var(--success); }

.trip-info { flex: 1; min-width: 0; }

.trip-id {
  display: block;
  font-size: 7px;
  color: rgba(255,255,255,0.5);
}

.trip-route {
  display: block;
  font-size: 8px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trip-status {
  font-size: 7px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 3px;
  flex-shrink: 0;
}

.on-time { background: rgba(0,51,255,0.25); color: var(--blue-mid); }
.pending-st { background: rgba(255,136,0,0.2); color: var(--warning); }
.done-st { background: rgba(0,196,140,0.2); color: var(--success); }

.app-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 4px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.active-nav { color: var(--blue-mid); }
.add-nav { color: var(--blue); font-size: 16px; }

/* Floating Badges */
.float-badge {
  position: absolute;
  background: white;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  white-space: nowrap;
  z-index: 10;
}

.float-badge i { color: var(--blue); }

.fb-1 {
  top: 10%;
  right: -10px;
  animation: float-1 3s ease-in-out infinite;
}

.fb-2 {
  bottom: 30%;
  right: -20px;
  animation: float-2 4s ease-in-out infinite;
}

body.lang-en .fb-1 { right: auto; left: -10px; }
body.lang-en .fb-2 { right: auto; left: -20px; }

@keyframes float-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Hero Stats Bar */
.hero-stats-bar {
  background: var(--grey-bg);
  border-top: 1px solid var(--grey-border);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  text-align: center;
}

.stats-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.stats-unit {
  font-size: 24px;
  font-weight: 900;
  color: var(--blue);
}

.stats-desc {
  font-size: 13px;
  color: var(--grey-text);
  margin-top: 4px;
  font-weight: 500;
}

.stats-divider {
  width: 1px;
  height: 48px;
  background: var(--grey-border);
}

/* ============ SECTION HEADER ============ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(0,51,255,0.15);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 17px;
  color: var(--grey-text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============ FEATURES ============ */
.features {
  padding: 120px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat-card {
  background: var(--white);
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-light);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}

.feat-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feat-card:hover::before { opacity: 1; }

.feat-card > * { position: relative; z-index: 1; }

.feat-large {
  grid-column: span 1;
}

.feat-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.blue-wrap   { background: rgba(0,51,255,0.1);  color: var(--blue); }
.orange-wrap { background: rgba(255,136,0,0.1); color: var(--warning); }
.green-wrap  { background: rgba(0,196,140,0.1); color: var(--success); }
.purple-wrap { background: rgba(120,60,220,0.1);color: #7B3CDD; }
.teal-wrap   { background: rgba(0,180,200,0.1); color: #00B4C8; }
.red-wrap    { background: rgba(255,59,92,0.1);  color: var(--danger); }

.feat-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feat-card p {
  font-size: 14px;
  color: var(--grey-text);
  line-height: 1.75;
}

/* Map visual */
.feat-visual { margin-top: 20px; }

.map-visual {
  background: linear-gradient(135deg, rgba(0,51,255,0.06), rgba(0,51,255,0.02));
  border-radius: var(--radius);
  height: 80px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,51,255,0.1);
}

.mini-map-bg { position: absolute; inset: 0; }

.pulse-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--blue);
  border-radius: 50%;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  opacity: 0.5;
  animation: pulse-ring 2s linear infinite;
}

.p1 { top: 30%; left: 20%; }
.p2 { top: 50%; left: 60%; }
.p3 { bottom: 25%; left: 75%; }

@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
  padding: 120px 0;
  background: var(--grey-bg);
}

.steps-container {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1.5px solid var(--grey-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
  transform: translateY(-4px);
}

.step-card-featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px) scale(1.02);
  background: var(--white);
}

.step-card-featured:hover {
  transform: translateY(-12px) scale(1.02);
}

.step-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--grey-border);
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.step-card-featured .step-number { color: rgba(0,51,255,0.15); }

.step-icon-wrap {
  width: 56px; height: 56px;
  background: var(--grey-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 20px;
}

.featured-icon {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 24px rgba(0,51,255,0.35);
}

.step-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--grey-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.step-stores { display: flex; gap: 8px; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.step-highlight-tag {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
}

.step-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.step-cta:hover { border-bottom-color: var(--blue); }

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  width: 48px;
  flex-shrink: 0;
  position: relative;
}

.connector-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--blue-light), transparent);
}

.connector-arrow {
  color: var(--blue);
  font-size: 14px;
}

body.lang-en .connector-arrow { transform: rotate(180deg); }

/* ============ PRICING ============ */
.pricing {
  padding: 120px 0;
  background: var(--white);
}

.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
}

.billing-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--grey-text);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--grey-border);
  border-radius: 13px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked + .toggle-slider { background: var(--blue); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

body.lang-en .toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

.discount-badge {
  background: var(--success);
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--white);
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.price-card-featured {
  border-color: var(--blue);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}

.popular-ribbon {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.price-card-header { margin-bottom: 28px; }

.price-card-featured .price-card-header { padding-top: 28px; }

.plan-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.starter-tag { background: var(--grey-bg); color: var(--grey-text); }
.growth-tag  { background: var(--blue-light); color: var(--blue); }
.scale-tag   { background: rgba(120,60,220,0.1); color: #7B3CDD; }

.plan-name {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.price-currency {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-text);
  align-self: flex-start;
  margin-top: 8px;
}

.plan-price {
  font-size: 44px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.price-card-featured .plan-price { color: var(--blue); }

.price-period {
  font-size: 14px;
  color: var(--grey-text);
  font-weight: 500;
}

.plan-desc {
  font-size: 13px;
  color: var(--grey-text);
  line-height: 1.6;
}

.plan-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.feat-item i {
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
  flex-shrink: 0;
}

.feat-item.available { color: var(--navy); }
.feat-item.available i { background: rgba(0,196,140,0.15); color: var(--success); }
.feat-item.locked { color: var(--grey-text); opacity: 0.6; }
.feat-item.locked i { background: var(--grey-bg); color: #9AA5B0; }

.btn-plan {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-outline-plan {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn-outline-plan:hover {
  background: var(--blue);
  color: white;
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,51,255,0.3);
}

.btn-primary-plan {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,51,255,0.3);
}

.btn-primary-plan:hover {
  background: var(--blue-dark);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,51,255,0.4);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 120px 0;
  background: var(--grey-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1.5px solid var(--grey-border);
  transition: var(--transition);
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
  transform: translateY(-4px);
}

.testi-stars {
  font-size: 18px;
  color: #FFB800;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testi-card p {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.ta-1 { background: var(--blue); }
.ta-2 { background: var(--success); }
.ta-3 { background: var(--warning); }

.testi-author strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
}

.testi-author span {
  display: block;
  font-size: 12px;
  color: var(--grey-text);
  margin-top: 2px;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  padding: 100px 0;
  background: var(--blue);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.cta-shape-1 {
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -200px; right: -100px;
}

.cta-shape-2 {
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -100px; left: -50px;
}

.cta-content { position: relative; z-index: 1; }

.cta-banner h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  background: white !important;
  color: var(--blue) !important;
}

.btn-white:hover {
  background: var(--blue-light) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
}

.btn-white-ghost {
  border-color: rgba(255,255,255,0.5) !important;
  color: white !important;
}

.btn-white-ghost:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: white !important;
}

/* ============ CONTACT ============ */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item i {
  width: 44px; height: 44px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-item span {
  font-size: 14px;
  color: var(--grey-text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
  min-height: 50px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,51,255,0.08);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text { color: white; }
.footer-brand .logo-icon { color: var(--blue-mid); }

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.security-badge i { color: var(--success); }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--blue-mid); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255,255,255,0.4);
  font-size: 18px;
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--blue-mid); }

/* ============ MOBILE STICKY CTA ============ */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  padding: 12px 16px;
  background: white;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  border-top: 1px solid var(--grey-border);
}

.btn-sticky {
  width: 100%;
  justify-content: center;
  height: 52px;
  font-size: 16px;
  border-radius: var(--radius);
}

/* ============ ANIMATIONS ============ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.3s; }
.fade-in-up.delay-4 { transition-delay: 0.4s; }
.fade-in-up.delay-5 { transition-delay: 0.5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content { max-width: 100%; }

  .hero-cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }

  .hero-mockup { justify-content: center; }

  .mockup-wrapper { max-width: 440px; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .price-card-featured {
    transform: none;
    order: -1;
  }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { flex-direction: row; flex-wrap: wrap; gap: 20px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .steps-container {
    flex-direction: column;
  }

  .step-card { width: 100%; }
  .step-card-featured { transform: none; }

  .step-connector {
    flex-direction: row;
    width: 100%;
    height: 32px;
  }

  .connector-line {
    width: 40px;
    height: 2px;
  }

  .connector-arrow { transform: rotate(90deg); }
  body.lang-en .connector-arrow { transform: rotate(-90deg); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: white;
    padding: 16px 24px;
    border-bottom: 1px solid var(--grey-border);
    box-shadow: var(--shadow-sm);
    z-index: 999;
    gap: 4px;
  }

  .nav-links.mobile-open a {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 16px;
  }

  .btn-nav { display: none; }

  .hamburger { display: flex; }

  .hero { padding: 96px 0 0; }

  .features-grid { grid-template-columns: 1fr; }

  .stats-item { padding: 0 24px; }
  .stats-num { font-size: 28px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .mobile-sticky-cta { display: flex; }

  .macbook-screen .screen-content { height: 180px; }

  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 16px; }

  .float-badge { display: none; }

  .pricing-grid { max-width: 100%; }

  .cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 24px; }
  .hero-cta-group { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .stats-row { gap: 16px; }
  .stats-divider { display: none; }
  .stats-item { padding: 8px 16px; }

  .contact-info { flex-direction: column; }

  .iphone {
    width: 110px;
    left: -15px;
  }
}

/* ============ LOADING ANIMATION ============ */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.skeleton {
  background: linear-gradient(90deg, var(--grey-bg) 25%, #e8ecf0 50%, var(--grey-bg) 75%);
  background-size: 200% auto;
  animation: shimmer 1.5s linear infinite;
  border-radius: var(--radius);
}

/* ============ SUCCESS MESSAGE ============ */
.form-success {
  background: rgba(0,196,140,0.1);
  border: 1.5px solid var(--success);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #00835C;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
