/* ========================================
   CUSTOM CSS FRAMEWORK - INTELLIQUEST
======================================== */

/* CSS Custom Properties */
:root {
    /* Colors */
    --primary-100: #667eea;
    --primary-200: #764ba2;
    --primary-300: #4c51bf;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Professional Typography Scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    --text-7xl: 4.5rem;      /* 72px */
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Container System */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { 
        padding: 0 1.5rem; 
    }
}

@media (min-width: 1024px) {
    .container { 
        padding: 0 2rem; 
    }
}

/* Grid System */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { 
    grid-template-columns: repeat(1, minmax(0, 1fr)); 
}

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

.grid-cols-3 { 
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
}

.grid-cols-4 { 
    grid-template-columns: repeat(4, minmax(0, 1fr)); 
}

/* Responsive Grid */
@media (min-width: 768px) {
    .grid { 
        gap: 2rem; 
    }
    
    .md-grid-cols-2 { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
    }
    
    .md-grid-cols-3 { 
        grid-template-columns: repeat(3, minmax(0, 1fr)); 
    }
    
    .md-grid-cols-4 { 
        grid-template-columns: repeat(4, minmax(0, 1fr)); 
    }
}

@media (min-width: 1024px) {
    .lg-grid-cols-2 { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
    }
    
    .lg-grid-cols-3 { 
        grid-template-columns: repeat(3, minmax(0, 1fr)); 
    }
    
    .lg-grid-cols-4 { 
        grid-template-columns: repeat(4, minmax(0, 1fr)); 
    }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.1; }
.text-6xl { font-size: 3.75rem; line-height: 1.1; }

/* Responsive Typography */
@media (min-width: 768px) {
    .md-text-base { font-size: 1rem; line-height: 1.5rem; }
    .md-text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .md-text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md-text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md-text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md-text-5xl { font-size: 3rem; line-height: 1.1; }
    .md-text-6xl { font-size: 3.75rem; line-height: 1.1; }
}

@media (min-width: 1024px) {
    .lg-text-6xl { font-size: 3.75rem; line-height: 1.1; }
}

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: var(--white); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }
.p-24 { padding: 6rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

/* Responsive Padding */
@media (min-width: 768px) {
    .md-py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md-py-24 { padding-top: 6rem; padding-bottom: 6rem; }
}

@media (min-width: 1024px) {
    .lg-py-24 { padding-top: 6rem; padding-bottom: 6rem; }
}

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }

.m-4 { margin: 1rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }

.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }
.my-16 { margin-top: 4rem; margin-bottom: 4rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

/* Background Colors */
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-800 { background-color: var(--gray-800); }
.bg-gray-900 { background-color: var(--gray-900); }

/* Gradients */
.bg-primary-gradient { background: var(--primary-gradient); }
.bg-secondary-gradient { background: var(--secondary-gradient); }
.bg-success-gradient { background: var(--success-gradient); }
.bg-warning-gradient { background: var(--warning-gradient); }

/* Borders */
.border { border: 1px solid var(--gray-200); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* Responsive Display */
@media (min-width: 768px) {
    .md-block { display: block; }
    .md-hidden { display: none; }
    .md-flex { display: flex; }
}

/* Width & Height */
.w-full { width: 100%; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.h-full { height: 100%; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-2 { height: 0.5rem; }
.min-h-screen { min-height: 100vh; }

/* Max Width */
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* ========================================
   COMPONENT STYLES
======================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-family);
    line-height: var(--line-height-normal);
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
}

/* Mobile Button Adjustments */
@media (max-width: 767px) {
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-xl {
        padding: 1.125rem 2rem;
        font-size: 1.125rem;
    }
    
    .btn-full-mobile {
        width: 100%;
    }
}

/* Form Elements
-------------------------------------------------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
  color: var(--gray-700);
  font-family: var(--font-family);
  line-height: var(--line-height-normal);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  border: 2px solid rgba(209, 213, 219, 0.6);
  border-radius: 0.5rem;
  background-color: var(--white);
  color: var(--gray-800);
  font-family: var(--font-family);
  line-height: var(--line-height-normal);
  transition: all var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-100);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 0 20px rgba(102, 126, 234, 0.1);
}

.form-control:hover {
  border-color: rgba(102, 126, 234, 0.4);
}

.form-control::placeholder {
  color: var(--gray-400);
  font-size: var(--text-sm);
}

.form-select {
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar-nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.navbar-nav a:hover {
    color: var(--primary-100);
}

/* Active navigation state */
.navbar-nav a.active {
    color: var(--primary-100);
    font-weight: 600;
    position: relative;
}

.navbar-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 1px;
}

/* External link styling */
.navbar-nav a.external-link {
    color: var(--gray-600);
}

.navbar-nav a.external-link:hover {
    color: var(--primary-100);
}

/* Mobile menu active states */
.mobile-menu a.active {
    color: var(--primary-100);
    background: rgba(102, 126, 234, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 0 -1rem;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 60;
    padding: 6rem 2rem 4rem;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu a {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    margin: 0.75rem 0;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.mobile-menu a:hover {
    color: var(--primary-100);
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.mobile-menu a.active {
    color: var(--primary-100);
    background: rgba(102, 126, 234, 0.15);
}

/* Mobile menu buttons */
.mobile-menu .btn {
    margin: 0.5rem 0;
    min-width: 200px;
    justify-content: center;
}

.mobile-menu .flex {
    margin-top: 2rem;
    width: 100%;
    max-width: 250px;
}

.mobile-menu .flex-col {
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border: none;
    background: none;
    z-index: 70;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span {
    background: white;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Responsive Navigation */
@media (max-width: 767px) {
    .navbar-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-cta {
        display: none;
    }
    
    /* Hide desktop navigation on mobile */
    .navbar .flex.items-center.gap-3:not(.mobile-cta) {
        display: none;
    }
    
    /* Adjust navbar brand on mobile */
    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.08) 0%, 
        rgba(118, 75, 162, 0.08) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 5rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.06) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-100) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

/* Stats Counter */
.stats-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .stats-counter {
        font-size: 1rem;
        padding: 0.5rem 1.25rem;
    }
}

.stats-number {
    font-weight: 700;
    color: var(--primary-100);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Feature Grid */
.feature-card {
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

@media (max-width: 767px) {
    .feature-card {
        padding: 1.5rem;
    }
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    color: var(--white);
    transition: all var(--transition-normal);
}

@media (min-width: 768px) {
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2.25rem;
    }
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Test Cards */
.test-card {
    padding: 1.5rem;
    border: 2px solid var(--gray-100);
    border-radius: 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .test-card {
        padding: 2rem;
    }
}

.test-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.test-card:hover {
    border-color: var(--primary-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Pricing Cards */
.pricing-card {
    padding: 2rem;
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    position: relative;
    transition: all var(--transition-normal);
}

@media (max-width: 767px) {
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none !important;
        margin-top: 1rem;
    }
}



.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: var(--shadow-xl);
     border-color: var(--primary-100);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-2px);
     border-color: var(--primary-100);
}

/* FAQ */
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color var(--transition-fast);
}

@media (max-width: 767px) {
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    background: var(--gray-50);
    display: none;
    animation: slideDown var(--transition-normal);
}

@media (max-width: 767px) {
    .faq-answer {
        padding: 0 1rem 1rem;
    }
}

.faq-answer.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Floating Elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

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

/* Progress Bars */
.progress-bar {
    background: var(--gray-200);
    border-radius: 9999px;
    height: 0.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 1.5s ease-out;
}

/* Mobile Specific Improvements */
@media (max-width: 767px) {
    .hero {
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-features > div {
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Tablet Specific */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 2rem;
    }
}

/* Additional color classes */
.text-orange-500 { color: #f97316; }
.leading-relaxed { line-height: 1.625; }

/* Responsive width utilities */
@media (min-width: 768px) {
    .md-w-24 { width: 6rem; }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile menu close overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 55;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Better mobile button spacing */
@media (max-width: 767px) {
    .mobile-menu .btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        color: #000;
    }
    
    .mobile-menu form {
        width: 100%;
        max-width: 250px;
    }
    
    .mobile-menu form button {
        width: 100%;
    }
}

