* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Inter", sans-serif;
}

body {
min-height: 100vh;
display: flex;
flex-direction: column;
}

.hero {
 min-height: calc(100vh - var(--ticker-height));
 position: relative;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 padding: 0 1rem;
 padding-bottom: calc(var(--ticker-height) + var(--space-base));
 overflow: visible;
   /* Navbar space is handled by `.navbar-placeholder` in global styles */
   margin-top: 0;
}

/* Use dynamic viewport height when supported to avoid mobile browser UI issues */
@supports (height: 100svh) {
  .hero {
    min-height: calc(100svh - var(--ticker-height));
  }
}

.video-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
opacity: 0;
transition: opacity 0.5s ease;
}

.video-background.loaded {
opacity: 1;
}

/* Video loading background */
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, #0055a4 0%, #001f3f 50%, #FFD700 100%);
z-index: -2;
}

.hero::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.45);
z-index: 0;
}

.hero-content {
position: relative;
z-index: 1;
color: white;
  margin-top: clamp(28px, 15vh, 160px);
}

.hero h1, .hero p, .search-container {
position: relative;
z-index: 1;
}

.hero h1 {
color: white;
font-size: clamp(3rem, 6vw, 5.5rem);
font-weight: 800;
margin-bottom: var(--space-xl);
max-width: 1000px;
line-height: 1.1;
letter-spacing: -0.02em;
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
position: relative;
}

.hero h1 .highlight {
color: var(--color-secondary);
text-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}





.hero p {
color: rgba(255, 255, 255, 0.9);
font-size: clamp(1.3rem, 3vw, 1.6rem);
margin-bottom: var(--space-3xl);
max-width: 800px;
margin-left: auto;
margin-right: auto;
line-height: 1.7;
font-weight: 400;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
position: relative;
padding: 0 var(--space-lg);
text-align: center;
}

.hero p .highlight {
color: var(--color-secondary);
font-weight: 600;
text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}





.search-container {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-lg);
max-width: 700px;
width: 100%;
margin: 0 auto;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
padding: var(--space-xl);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.plate-container {
display: flex;
width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--color-primary);
  background: var(--color-secondary);
transition: all 0.3s var(--ease-out-cubic);
}

.plate-container:hover {
transform: translateY(-2px);
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
border-color: var(--color-primary);
}

.country-select {
  background: var(--color-primary);
padding: var(--space-base);
border: none;
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-xs);
color: white;
font-weight: 700;
min-width: 80px;
font-size: var(--fs-sm);
cursor: pointer;
transition: all 0.3s var(--ease-out-cubic);
}

.country-select:hover {
background: var(--color-primary-dark);
transform: scale(1.02);
}

.search-input {
flex: 1;
padding: var(--space-lg);
border: none;
font-size: var(--fs-2xl);
outline: none;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
  background: var(--color-secondary);
  color: var(--color-primary);
text-align: center;
font-family: "Arial", sans-serif;
transition: all 0.3s var(--ease-out-cubic);
}

.search-input:focus {
background: #e6c200;
letter-spacing: 3px;
transform: scale(1.01);
}

.search-input::placeholder {
color: rgba(0, 85, 164, 0.6);
font-weight: 600;
}

.search-button {
background: var(--color-primary);
color: white;
border: none;
padding: var(--space-lg) var(--space-2xl);
font-size: var(--fs-lg);
cursor: pointer;
font-weight: 700;
transition: all 0.3s var(--ease-out-cubic);
min-width: 180px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
box-shadow: 0 8px 25px rgba(0, 85, 164, 0.3);
position: relative;
overflow: hidden;
}

.search-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s;
}

.search-button:hover {
background: var(--color-primary-dark);
transform: translateY(-3px);
box-shadow: 0 12px 35px rgba(0, 85, 164, 0.4);
}

.search-button:hover::before {
left: 100%;
}

/* Chat Widget Styles */
.chat-widget {
position: fixed;
bottom: 50px;
right: 20px;
z-index: 9999;
}

.chat-button {
width: 60px;
height: 60px;
border-radius: 50%;
background: #ffd700;
color: #0055a4;
border: none;
cursor: pointer;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
transition: transform 0.3s ease;
}

.chat-button:hover {
transform: scale(1.1);
}

.chat-dialog {
position: fixed;
bottom: 120px;
right: 20px;
width: 300px;
height: 400px;
background: white;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
display: none;
flex-direction: column;
overflow: hidden;
}

.chat-header {
background: #0055a4;
color: white;
padding: 15px;
font-weight: 600;
display: flex;
justify-content: space-between;
align-items: center;
}

.chat-close {
background: none;
border: none;
color: white;
cursor: pointer;
font-size: 18px;
}

.chat-messages {
flex: 1;
padding: 15px;
overflow-y: auto;
}

.message {
margin-bottom: 10px;
padding: 8px 12px;
border-radius: 15px;
max-width: 80%;
}

.user-message {
background: #e9ecef;
margin-left: auto;
}

.bot-message {
background: #4b0082;
color: white;
}

.chat-input-container {
padding: 15px;
border-top: 1px solid #dee2e6;
display: flex;
gap: 10px;
}

.chat-input {
flex: 1;
padding: 8px;
border: 1px solid #dee2e6;
border-radius: 20px;
outline: none;
}

.chat-send {
background: #4b0082;
color: white;
border: none;
border-radius: 20px;
padding: 8px 15px;
cursor: pointer;
}

/* Footer Styles */
.footer {
background-color: #0055a4;
color: white;
padding: 40px 0;
margin-top: auto;
}

.footer-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
padding: 0 20px;
}

.footer h3 {
font-size: 1.2rem;
margin-bottom: 20px;
color: white;
}

.footer ul {
list-style: none;
padding: 0;
}

.footer li {
margin-bottom: 10px;
}

.footer a {
color: white;
text-decoration: none;
transition: opacity 0.3s ease;
}

.footer a:hover {
opacity: 0.8;
}

.footer-bottom {
max-width: 1200px;
margin: 40px auto 0;
padding: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}

.footer-bottom p {
margin: 0;
font-size: 0.9rem;
opacity: 0.8;
}

.footer-social {
display: flex;
align-items: center;
gap: 15px;
}

.footer-social span {
font-size: 0.9rem;
opacity: 0.8;
}

.footer-social a {
color: white;
opacity: 0.7;
transition: opacity 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
opacity: 1;
background: rgba(255, 255, 255, 0.2);
}

.footer-social i {
width: 16px;
height: 16px;
}

/* Ticker Tape Animation */
.ticker-tape {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: #0055a4;
 color: white;
 height: var(--ticker-height);
 line-height: var(--ticker-height);
 padding: 0;
 overflow: hidden;
 white-space: nowrap;
 z-index: 9998;
 border-bottom: 2px solid #ffd700;
}

.ticker-content {
display: inline-flex;
white-space: nowrap;
animation: ticker 60s linear infinite;
padding-right: 0;
}

.ticker-tape:hover .ticker-content {
animation-play-state: paused;
}

.ticker-item {
 display: inline-flex;
 align-items: center;
 padding: 0;
 margin: 0 24px;
 font-size: 0.95rem;
 font-weight: 500;
}

.ticker-item:not(:last-child)::after {
content: "•";
position: absolute;
right: -30px;
color: #ffd700;
font-size: 1.2rem;
}

.ticker-item {
position: relative;
}

@keyframes ticker {
0% {
    transform: translateX(0);
}
100% {
    transform: translateX(-50%);
}
}

.section-header {
padding: 4rem;
border-radius: 24px;
}

.ticker-item:last-child {
margin-right: 30px;
}

.ticker-item:last-child::after {
content: "•";
position: absolute;
right: -30px;
color: #ffd700;
font-size: 1.2rem;
}

@media (max-width: 768px) {
.hero h1 {
    font-size: clamp(3.5rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
}

.hero p {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: var(--space-2xl);
    padding: 0 var(--space-base);
}
.search-input {
    font-size: 1.5rem;
    padding: 0.8rem;
}
.plate-container {
    max-width: 90%;
}
.country-select {
    padding: 0.4rem;
    min-width: 50px;
    font-size: 0.8rem;
}
.search-input::placeholder {
    font-size: 1.2rem;
}
.footer-container {
    grid-template-columns: repeat(2, 1fr);
}

.footer-bottom-content {
    flex-direction: column;
    text-align: center;
}
 .ticker-item {
     font-size: 0.85rem;
 }
}

@media (max-width: 480px) {
.hero h1 {
    font-size: clamp(3.2rem, 4vw, 3rem);
    margin-bottom: var(--space-base);
}

/* Handle very short viewports so hero content never truncates */
@media (max-height: 864px) {
  .hero {
    justify-content: flex-start;
    padding-top: calc(var(--navbar-height, 80px) + var(--space-xl));
  }
  .hero-content {
    margin-top: clamp(32px, 14vh, 180px);
  }
  .hero h1 {
    margin-bottom: var(--space-base);
  }
  .hero p {
    margin-bottom: var(--space-lg);
  }
  .search-container {
    padding: var(--space-lg);
  }
}

@media (max-height: 720px) {
  .hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .hero p {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
  }
  .search-button {
    padding: var(--space-base) var(--space-xl);
    min-width: 150px;
  }
  .plate-container {
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  }
}

@media (max-height: 600px) {
  .hero {
    justify-content: flex-start;
    padding-top: calc(var(--space-2xl));
  }
  .search-container {
    gap: var(--space-base);
  }
  .ticker-item { font-size: 0.8rem; }
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-sm);
}

.search-input {
    font-size: 1.2rem;
    padding: 0.6rem;
    letter-spacing: 2px;
}
.search-input::placeholder {
    font-size: 1rem;
}
.plate-container {
    max-width: 100%;
}
.country-select {
    padding: 0.3rem;
    min-width: 40px;
    font-size: 0.7rem;
}
.footer-container {
    grid-template-columns: 1fr;
}
}

@media (max-width: 600px) {
  .plate-container {
    border-radius: 12px;
    min-height: 56px;
    height: 82px;
    max-width: 95vw;
  }
  .search-input {
    border-radius: 0 12px 12px 0;
    padding: 1rem 0.5rem;
    font-size: 1.1rem;
    height: 82px;
  }
  .country-select {
    border-radius: 0;
    min-width: 56px;
    height: 82px;
    font-size: 0.95rem;
    padding: 0.5rem 0.5rem;
  }
}

/* ===== MODERN RESPONSIVE SYSTEM ===== */
:root {
  /* Fluid Typography Scale */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --fs-2xl: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --fs-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.75rem);
  --fs-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3.5rem);
  --fs-5xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);

  /* Fluid Spacing Scale */
  --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.625rem);
  --space-sm: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --space-base: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  --space-lg: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --space-xl: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --space-2xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);
  --space-3xl: clamp(4rem, 3rem + 5vw, 6rem);
  --space-4xl: clamp(5rem, 4rem + 5vw, 8rem);

  /* Container Widths */
  --container-xs: 20rem;
  --container-sm: 24rem;
  --container-md: 42rem;
  --container-lg: 56rem;
  --container-xl: 72rem;
  --container-2xl: 80rem;
  --container-fluid: 100%;

  /* Modern Color Palette */
  --color-primary: #0055a4;
  --color-primary-light: #2563eb;
  --color-primary-dark: #003d7a;
  --color-secondary: #ffd700;
  --color-accent: #ff6b6b;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  
  /* Neutral Colors */
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;

  /* Modern Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, #fbbf24 100%);
  --gradient-hero: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-secondary) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(0, 85, 164, 0.3);

  /* Animation Curves */
  --ease-in-out-cubic: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-cubic: cubic-bezier(0.32, 0, 0.67, 0);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Globals */
  --ticker-height: 28px;
}

/* ===== MODERN CONTAINER SYSTEM ===== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-base);
  padding-right: var(--space-base);
}

.container-xs { max-width: var(--container-xs); }
.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-xl { max-width: var(--container-xl); }
.container-2xl { max-width: var(--container-2xl); }
.container-fluid { max-width: var(--container-fluid); }

@media (min-width: 640px) {
  .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
}

@media (min-width: 1024px) {
  .container { padding-left: var(--space-xl); padding-right: var(--space-xl); }
}

@media (min-width: 1280px) {
  .container { padding-left: var(--space-2xl); padding-right: var(--space-2xl); }
}

/* ===== MODERN CONTENT SECTIONS ===== */
.modern-content {
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

/* ===== INTRO HERO SECTION ===== */
.intro-hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-primary);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  place-items: center;
  padding: var(--space-2xl) var(--space-base);
}

.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: var(--space-xl);
  padding: var(--space-xl);
}

.shape {
  border-radius: 50%;
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: float 8s ease-in-out infinite;
  will-change: transform;
  justify-self: center;
  align-self: center;
}

.shape-1 {
  width: clamp(80px, 8vw, 120px);
  height: clamp(80px, 8vw, 120px);
  grid-column: 1;
  grid-row: 1;
  animation-delay: 0s;
}

.shape-2 {
  width: clamp(60px, 6vw, 90px);
  height: clamp(60px, 6vw, 90px);
  grid-column: 4;
  grid-row: 3;
  animation-delay: 2.5s;
}

.shape-3 {
  width: clamp(100px, 10vw, 150px);
  height: clamp(100px, 10vw, 150px);
  grid-column: 1;
  grid-row: 4;
  animation-delay: 5s;
}

.shape-4 {
  width: clamp(40px, 4vw, 60px);
  height: clamp(40px, 4vw, 60px);
  grid-column: 3;
  grid-row: 2;
  animation-delay: 1.5s;
}

.shape-5 {
  width: clamp(70px, 7vw, 100px);
  height: clamp(70px, 7vw, 100px);
  grid-column: 4;
  grid-row: 4;
  animation-delay: 3.5s;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px);
    opacity: 0.4;
  }
  50% { 
    transform: translateY(-20px);
    opacity: 0.6;
  }
}

.intro-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: var(--container-xl);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
}

.intro-title {
  font-size: var(--fs-5xl);
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: slideInUp 1.2s var(--ease-out-cubic);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.intro-subtitle {
  font-size: var(--fs-xl);
  opacity: 0.95;
  animation: slideInUp 1.2s var(--ease-out-cubic) 0.3s both;
  font-weight: 400;
  line-height: 1.5;
  max-width: 600px;
  text-align: center;
  margin: 0;
}

.intro-accent {
  width: clamp(80px, 12vw, 120px);
  height: 4px;
  background: var(--color-secondary);
  border-radius: 2px;
  animation: slideInUp 1.2s var(--ease-out-cubic) 0.6s both;
  position: relative;
  overflow: hidden;
}

.intro-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 3s infinite 1s;
}

.intro-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  animation: slideInUp 1.2s var(--ease-out-cubic) 0.9s both;
  margin-top: auto;
}

.intro-scroll-indicator {
  animation: bounce 2s infinite;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-sm);
  text-align: center;
  padding: var(--space-base);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.intro-scroll-indicator::before {
  content: '↓';
  display: block;
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.modern-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.modern-title.light {
  color: white;
}

.modern-title.premium {
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--color-secondary);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.title-underline.light,
.title-underline.premium {
  background: var(--color-secondary);
}

.title-underline::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ===== MODERN FEATURES SECTION (Z-PATTERN LAYOUT) ===== */
.modern-features {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.modern-features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 85, 164, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.features-container {
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 var(--space-base);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

/* Z-Pattern: First feature (left to right) */
.feature-row-1 {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.feature-row-1 .feature-content {
  grid-column: 1 / 7;
  order: 1;
}

.feature-row-1 .feature-visual {
  grid-column: 7 / 13;
  order: 2;
}

/* Z-Pattern: Second feature (right to left) */
.feature-row-2 {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.feature-row-2 .feature-content {
  grid-column: 7 / 13;
  order: 2;
}

.feature-row-2 .feature-visual {
  grid-column: 1 / 7;
  order: 1;
}

/* Z-Pattern: Third feature (left to right) */
.feature-row-3 {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

/* Z-Pattern Separators */
.z-separator {
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 85, 164, 0.3), transparent);
  margin: var(--space-3xl) auto;
  position: relative;
  border-radius: 1px;
}

.feature-row-3 .feature-content {
  grid-column: 1 / 7;
  order: 1;
}

.feature-row-3 .feature-visual {
  grid-column: 7 / 13;
  order: 2;
}

.feature-content {
  padding: var(--space-xl);
  z-index: 2;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-primary);
  color: white;
  padding: var(--space-xs) var(--space-base);
  border-radius: 50px;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
  animation: pulse-glow 3s infinite;
}

.feature-badge i {
  font-size: 18px;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--shadow-md); }
  50% { box-shadow: var(--shadow-glow); }
}

.feature-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: var(--space-base);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feature-title .highlight {
  color: var(--color-primary);
  position: relative;
}

.feature-description {
  font-size: var(--fs-lg);
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.feature-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.feature-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-stat-number {
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.feature-stat-label {
  font-size: var(--fs-sm);
  color: var(--color-slate-500);
  font-weight: 500;
}

.feature-visual {
  position: relative;
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-modern {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.6s var(--ease-out-cubic);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
}

.feature-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--color-primary);
  opacity: 0;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

.feature-card-modern:hover .card-glow {
  opacity: 0.05;
}

/* Simplified animations for better performance */

.feature-icon-wrapper {
  position: relative;
  margin-bottom: var(--space-xl);
  display: inline-block;
}

.feature-icon-modern {
  width: clamp(120px, 15vw, 160px);
  height: clamp(120px, 15vw, 160px);
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.feather-icon-modern {
  width: clamp(120px, 15vw, 160px);
  height: clamp(120px, 15vw, 160px);
  background: var(--color-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.feather-icon-modern svg {
  width: clamp(50px, 8vw, 70px);
  height: clamp(50px, 8vw, 70px);
  stroke-width: 1.5;
}

.icon-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card-modern:hover .icon-ripple {
  opacity: 0.3;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.feature-card-modern h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-slate-800);
  margin-bottom: var(--space-base);
  transition: color 0.3s ease;
}

.feature-card-modern:hover h3 {
  color: var(--color-primary);
}

.feature-card-modern p {
  color: var(--color-slate-600);
  font-size: var(--fs-base);
  line-height: 1.6;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-glass);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 24px;
}

.feature-card-modern:hover .card-overlay {
  opacity: 1;
}

  /* Floating elements for visual enhancement */
.feature-visual::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 20%;
  width: 60px;
  height: 60px;
  background: var(--color-secondary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-gentle 4s ease-in-out infinite;
  z-index: 1;
}

.feature-visual::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 20%;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: float-gentle 6s ease-in-out infinite reverse;
  z-index: 1;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== ANIMATED STATS SECTION ===== */
.animated-stats {
  padding: 6rem 2rem;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.stats-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.stats-pattern {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, #ffd700 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, #ffd700 1px, transparent 1px);
  background-size: 60px 60px;
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--color-secondary);
}

.stat-icon i {
  font-size: 3.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 0.5rem;
  display: block;
  transition: all 0.5s ease;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  display: inline;
}

.stat-label {
  font-size: 1.2rem;
  color: white;
  font-weight: 600;
  margin-top: 1rem;
  display: block;
}

.stat-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 2px solid #ffd700;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
  opacity: 0;
}

.stat-card:hover .stat-pulse {
  opacity: 0.6;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* ===== MODERN REVIEWS SECTION ===== */
.modern-reviews {
  padding: 6rem 2rem;
  background: #ffffff;
}

.trustpilot-modern {
  text-align: center;
  margin-bottom: 4rem;
}

.trustpilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  background: #f8fafc;
  padding: 2rem 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stars-container {
  display: flex;
  gap: 0.3rem;
}

.star {
  color: #ffd700;
  font-size: 2rem;
  animation: starGlow 2s ease-in-out infinite;
}

.star:nth-child(2) { animation-delay: 0.2s; }
.star:nth-child(3) { animation-delay: 0.4s; }
.star:nth-child(4) { animation-delay: 0.6s; }
.star:nth-child(5) { animation-delay: 0.8s; }

@keyframes starGlow {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.1); filter: brightness(1.2); }
}

.rating-text {
  font-size: 1.2rem;
  color: #2c3e50;
  font-weight: 600;
  margin-top: 0.5rem;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card-modern {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.review-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.review-card-modern:hover::before {
  transform: scaleX(1);
}

.review-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.stars-mini {
  color: #ffd700;
  font-size: 1.2rem;
}

.review-badge {
  background: #e8f4f8;
  color: #0055a4;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.review-card-modern blockquote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
}

.review-card-modern blockquote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 3rem;
  color: #0055a4;
  opacity: 0.3;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.reviewer-name {
  font-weight: 600;
  color: #0055a4;
}

/* ===== INTERACTIVE SOURCES SECTION ===== */
.interactive-sources {
  padding: 6rem 2rem;
  background: #f1f5f9;
  position: relative;
}

.sources-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.source-card-modern {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
}

.source-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 85, 164, 0.12);
}

.source-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 85, 164, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.source-card-modern:hover .source-bg-pattern {
  opacity: 1;
}

.source-icon-container {
  position: relative;
  margin-bottom: 2rem;
  display: inline-block;
}

.source-icon-modern {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.feather-source-icon {
  width: 120px;
  height: 120px;
  background: var(--color-secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate-800);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.feather-source-icon svg {
  width: 52px;
  height: 52px;
  stroke-width: 1.5;
}

.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.5s ease;
  animation: iconGlow 2s infinite;
}

.source-card-modern:hover .icon-glow {
  opacity: 0.2;
  transform: translate(-50%, -50%) scale(1.3);
}

@keyframes iconGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.source-card-modern h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.source-card-modern:hover h3 {
  color: #0055a4;
}

.source-card-modern p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

.connection-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.source-card-modern:hover .connection-line {
  transform: scaleX(1);
}

/* ===== PREMIUM FEATURES SECTION ===== */
.premium-features {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.premium-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-element {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: floatUpDown 4s ease-in-out infinite;
}

.float-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.float-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 1.5s;
}

.float-element:nth-child(3) {
  bottom: 30%;
  left: 50%;
  animation-delay: 3s;
}

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

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.premium-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.premium-icon-wrapper {
  position: relative;
  margin-bottom: 2rem;
  display: inline-block;
}

.premium-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.feather-premium-icon {
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.feather-premium-icon svg {
  width: 60px;
  height: 60px;
  stroke-width: 1.5;
}

.premium-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.3);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.5s ease;
  animation: premiumGlow 3s infinite;
}

.premium-card:hover .premium-glow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

@keyframes premiumGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.premium-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.premium-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

.premium-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.premium-card:hover .premium-accent {
  transform: scaleX(1);
}

/* ===== ANIMATION KEYFRAMES ===== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SCROLL ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transition: all 0.6s ease-out;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="slide-right"] {
  transform: translateX(-50px);
}

[data-aos="slide-left"] {
  transform: translateX(50px);
}

[data-aos="slide-up"] {
  transform: translateY(50px);
}

[data-aos="zoom-in"] {
  transform: scale(0.8);
}

[data-aos="flip-left"] {
  transform: rotateY(-90deg);
}

/* ===== RESPONSIVE DESIGN ===== */

/* ===== NAVBAR RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 var(--space-base);
  }
  
  .nav-links {
    gap: var(--space-lg);
    margin: 0 var(--space-base);
  }
  
  .nav-link span {
    display: none;
  }
  
  .nav-link {
    padding: var(--space-sm);
    min-width: 40px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.15);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-link {
    padding: var(--space-base);
    justify-content: center;
    border-radius: 12px;
    color: #fff;
  }
  
  .nav-link span {
    display: inline;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-cta-button span {
    display: none;
  }
  
  .nav-cta-button {
    padding: var(--space-sm);
    border-radius: 50%;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 var(--space-base);
  }
  
  .logo-text {
    font-size: var(--fs-lg);
  }
  
  .logo-icon {
    width: auto;
    height: 42px;
  }
  
  .logo-icon i {
    font-size: 18px;
  }
  
  .nav-links {
    margin: 0;
  }
}

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  /* Z-Pattern adjustments for tablets */
  .feature-row-1,
  .feature-row-2,
  .feature-row-3 {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .feature-row-1 .feature-content,
  .feature-row-1 .feature-visual,
  .feature-row-2 .feature-content,
  .feature-row-2 .feature-visual,
  .feature-row-3 .feature-content,
  .feature-row-3 .feature-visual {
    grid-column: 1 / -1;
    order: unset;
  }
  
  .feature-row-2 .feature-content {
    order: 1;
  }
  
  .feature-row-2 .feature-visual {
    order: 2;
  }
  
  .stats-grid,
  .reviews-carousel,
  .sources-container,
  .premium-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
  }
  
  .feature-stats {
    justify-content: center;
    text-align: center;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .modern-features {
    padding: var(--space-3xl) 0;
  }
  
  .feature-content {
    padding: var(--space-lg);
    text-align: center;
  }
  
  .feature-visual {
    padding: var(--space-lg);
  }
  
  .feature-card-modern {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .feature-title {
    font-size: var(--fs-2xl);
  }
  
  .feature-description {
    font-size: var(--fs-base);
  }
  
  .stats-grid,
  .reviews-carousel,
  .sources-container,
  .premium-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
  }
  
  .feature-card-modern,
  .stat-card,
  .review-card-modern,
  .source-card-modern,
  .premium-card {
    padding: var(--space-xl);
  }
  
  .trustpilot-badge {
    flex-direction: column;
    gap: var(--space-base);
    padding: var(--space-xl);
  }
  
  .section-header {
    padding: var(--space-xl) var(--space-base);
  }
  
  .intro-content {
    padding: var(--space-2xl) var(--space-base);
  }
  
  .intro-hero {
    min-height: 80vh;
  }
}

/* Mobile Devices */
@media (max-width: 480px) {
  .intro-hero {
    min-height: 100vh;
    padding: var(--space-base);
  }
  
  .intro-content {
    padding: var(--space-base);
    gap: var(--space-base);
  }
  
  .floating-shapes {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: var(--space-base);
    padding: var(--space-base);
  }
  
  .shape-2 {
    grid-column: 3;
    grid-row: 2;
  }
  
  .shape-5 {
    grid-column: 3;
    grid-row: 3;
  }
  
  .modern-features {
    padding: var(--space-2xl) 0;
  }
  
  .feature-row-1,
  .feature-row-2,
  .feature-row-3 {
    margin-bottom: var(--space-2xl);
  }
  
  .feature-content,
  .feature-visual {
    padding: var(--space-base);
  }
  
  .feature-card-modern {
    padding: var(--space-lg);
    max-width: 100%;
  }
  
  .feature-stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-base);
  }
  
  .feature-stat {
    align-items: center;
    text-align: center;
  }
  
  .stats-grid,
  .reviews-carousel,
  .sources-container,
  .premium-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .animated-stats,
  .modern-reviews,
  .interactive-sources,
  .premium-features {
    padding: var(--space-2xl) 0;
  }
  
  .section-header {
    padding: var(--space-lg) var(--space-base);
  }
  
  /* Adjust floating shapes for mobile */
  .shape {
    display: none;
  }
  
  .shape-1,
  .shape-2 {
    display: block;
  }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
  .feature-badge {
    font-size: var(--fs-xs);
    padding: var(--space-xs) var(--space-sm);
  }
  
  .feature-stats {
    gap: var(--space-sm);
  }
  
  .feature-stat-number {
    font-size: var(--fs-xl);
  }
  
  .feature-card-modern {
    padding: var(--space-base);
  }
}

/* Accessibility and Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .shape,
  .card-glow,
  .icon-ripple,
  .stat-pulse,
  .premium-glow {
    animation: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .feature-card-modern,
  .stat-card,
  .review-card-modern,
  .source-card-modern,
  .premium-card {
    border: 2px solid var(--color-slate-800);
    background: white;
  }
  
  .intro-hero {
    background: var(--color-primary);
  }
  
  .feature-badge {
    background: var(--color-slate-900);
    color: white;
  }
}

/* Animations */
.animate-fadein {
  opacity: 0;
  animation: fadeIn 1s forwards;
}
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 0.9s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Survey Section Styles */
.survey-section {
  background: linear-gradient(135deg, rgba(0, 85, 164, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
  padding: 4rem 0;
  border-top: 6px solid var(--color-primary);
  border-bottom: 6px solid var(--color-secondary);
}

.survey-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.survey-header {
  text-align: center;
  margin-bottom: 3rem;
}

.survey-header h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.survey-header p {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.8;
}

.survey-header strong {
  color: var(--color-primary);
  font-weight: 600;
}

.survey-form {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(0, 85, 164, 0.1);
}

.survey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.form-group label {
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 85, 164, 0.1);
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: #475569;
}

.radio-label input[type="radio"] {
  margin-right: 0.5rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.survey-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 85, 164, 0.3);
}

.survey-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 85, 164, 0.4);
}

.survey-submit:active {
  transform: translateY(0);
}

.survey-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

.survey-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.survey-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@media (max-width: 768px) {
  .survey-section {
    padding: 3rem 0;
  }
  
  .survey-header h2 {
    font-size: 2rem;
  }
  
  .survey-form {
    padding: 1.5rem;
  }
  
  .survey-grid {
    grid-template-columns: 1fr;
  }
}

/* Gift Emoji Styles */
.gift-emoji-container {
    position: fixed;
    bottom: 60px;
    left: 30px;
    z-index: 50;
}

.gift-emoji-btn {
    background: linear-gradient(135deg, #0055a4 0%, #003d7a 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 85, 164, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.gift-emoji {
    font-size: 28px;
    animation: wiggle 1s ease-in-out infinite;
}

.gift-text {
    color: white;
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

.gift-emoji-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 85, 164, 0.4);
    background: linear-gradient(135deg, #003d7a 0%, #0055a4 100%);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

@keyframes highlight {
    0%, 100% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(255, 215, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .gift-emoji-container {
        bottom: 60px;
        left: 20px;
    }
    
    .gift-emoji-btn {
        padding: 12px 20px;
    }
    
    .gift-emoji {
        font-size: 24px;
    }
    
    .gift-text {
        font-size: 14px;
    }
}

