/* ========================================
   FORM - Professional Design System CSS
   Updated with Muted Blue Professional Scheme
   ======================================== */

/* === DESIGN TOKENS === */
:root {
    /* UPDATED COLOR PALETTE - MUTED PROFESSIONAL BLUE SCHEME */
    --brand-blue: #3E5B76;          /* Muted Professional Blue - Primary */
    --brand-blue-muted: #5A7B9C;    /* Muted Slate Blue */
    --brand-blue-light: #F0F4F8;    /* Very light slate blue for backgrounds */
    --restore-blue: #007AFF;        /* Standard CTA Blue */
    --linen: #F8F9FA;               /* Cleaner background (Google Gray 50) */
    --card-white: #FFFFFF;          /* Card backgrounds */
    --charcoal: #202124;            /* Google Primary Text */
    --sage-gray: #5F6368;           /* Google Secondary Text */
    --light-gray: #DADCE0;          /* Google Tertiary Text/Border */
    --success-green: #1E8E3E;       /* Google Success Green */
    --warning-orange: #F9AB00;      /* Google Warning Yellow/Orange */
    --error-red: #D93025;           /* Google Error Red */
    
    /* Legacy color mappings - now point to professional blue */
    --refined-gold: var(--brand-blue);
    --bright-yellow: var(--brand-blue-muted);
    --warm-blue: var(--restore-blue);
    --warm-blue-dark: #0062CC;
    
    /* SEMANTIC COLOR MAPPINGS */
    --bg-primary: var(--linen);
    --bg-secondary: #F8F9FA;
    --bg-card: var(--card-white);
    --text-primary: var(--charcoal);
    --text-secondary: var(--sage-gray);
    --text-tertiary: var(--light-gray);
    --border-light: #E8E8E8;
    --border-medium: #D1D5DB;
    --border-strong: #9CA3AF;
    --border-focus: var(--brand-blue);
    --border-error: var(--error-red);
    --border-success: var(--success-green);
    
    /* Legacy Apple Variables - Mapped to professional blue */
    --apple-blue: var(--restore-blue);
    --apple-blue-dark: var(--warm-blue-dark);
    --apple-blue-light: #6BA3E8;
    --brand-yellow: var(--brand-blue-muted);
    --brand-yellow-dark: #2D4255;
    --brand-yellow-light: var(--brand-blue-light);
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F4;
    --gray-200: #E8EAED;
    --gray-300: #DADCE0;
    --gray-400: #BDC1C6;
    --gray-500: var(--sage-gray);
    --gray-600: #80868B;
    --gray-700: #5F6368;
    --gray-800: #3C4043;
    --gray-900: var(--charcoal);
    
    /* Trimble Variables - Updated to professional blue */
    --trimble-blue: var(--restore-blue);
    --trimble-blue-dark: var(--warm-blue-dark);
    --trimble-blue-light: #6BA3E8;
    --trimble-yellow: var(--brand-blue);
    --trimble-yellow-dark: #2D4255;
    
    /* Background Colors */
    --bg-overlay: rgba(32, 33, 36, 0.5);
    --bg-hover: rgba(62, 91, 118, 0.1);
    --bg-pressed: rgba(62, 91, 118, 0.2);
    
    /* Text Colors */
    --text-inverse: var(--card-white);
    --text-link: var(--warm-blue);
    --text-success: var(--success-green);
    --text-warning: var(--warning-orange);
    --text-error: var(--error-red);
    
    /* SPACING SYSTEM */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */
    
    /* BORDER RADIUS */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.375rem;  /* 6px */
    --radius-lg: 0.5rem;    /* 8px */
    --radius-xl: 0.75rem;   /* 12px */
    --radius-2xl: 1rem;     /* 16px */
    --radius-3xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;
    
    /* SHADOWS */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
    
    /* Typography Scale */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    --font-size-7xl: 4.5rem;    /* 72px */
    --font-size-8xl: 6rem;      /* 96px */
    --font-size-9xl: 8rem;      /* 128px */
    
    /* 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;
    --font-weight-black: 900;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* TRANSITIONS & ANIMATIONS */
    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    --duration-700: 700ms;
    --duration-1000: 1000ms;
    
    --ease-linear: linear;
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-refined: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Z-INDEX SCALE */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  /* Prevent content from being cut off by mobile browser UI */
  padding-bottom: env(safe-area-inset-bottom);
}

/* Mobile-first responsive design */
html {
  font-size: 16px; /* Base font size for mobile */
}

/* Ensure proper viewport handling */
@media screen and (max-width: 480px) {
  html {
    font-size: 14px; /* Slightly smaller base font for very small screens */
  }
  * {
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  
  /* Enhanced dynamic text scaling for very small screens */
  h1, .h1 {
    font-size: clamp(1.25rem, 7vw, 2.5rem) !important;
  }
  
  h2, .h2, .section-title {
    font-size: clamp(1.1rem, 5.5vw, 2rem) !important;
  }
  
  h3, .h3 {
    font-size: clamp(1rem, 4.5vw, 1.5rem) !important;
  }
  
  h4, .h4 {
    font-size: clamp(0.95rem, 4vw, 1.375rem) !important;
  }
  
  h5, .h5 {
    font-size: clamp(0.85rem, 3.5vw, 1.2rem) !important;
  }
  
  h6, .h6 {
    font-size: clamp(0.8rem, 3vw, 1.1rem) !important;
  }
  
  p, body, .body-text {
    font-size: clamp(0.8rem, 2.2vw, 0.95rem) !important;
  }
  
  .pricing-plan-name, .pricing-price {
    font-size: clamp(0.9rem, 3.5vw, 1.4rem) !important;
  }
  
  .pricing-period {
    font-size: clamp(0.7rem, 1.8vw, 0.85rem) !important;
  }
  
  .btn, .btn-primary, .btn-secondary {
    font-size: clamp(0.8rem, 2.2vw, 0.95rem) !important;
  }
  
  .nav-menu a, .mobile-menu-item {
    font-size: clamp(0.85rem, 2.2vw, 0.95rem) !important;
  }
  
  .feature-title, .card-title {
    font-size: clamp(0.95rem, 3.5vw, 1.4rem) !important;
  }
  
  .feature-description, .card-description {
    font-size: clamp(0.8rem, 2.2vw, 0.95rem) !important;
  }
  
  .footer a, .footer p {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem) !important;
  }
}

/* === MOBILE-SPECIFIC FIXES === */

/* Prevent word hyphenation on mobile devices */
@media (max-width: 768px) {
  * {
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  
  /* Dynamic text scaling for mobile - scales down when needed */
  h1, .h1 {
    font-size: clamp(1.5rem, 8vw, 3rem) !important;
  }
  
  h2, .h2, .section-title {
    font-size: clamp(1.25rem, 6vw, 2.25rem) !important;
  }
  
  h3, .h3 {
    font-size: clamp(1.125rem, 5vw, 1.75rem) !important;
  }
  
  h4, .h4 {
    font-size: clamp(1rem, 4vw, 1.5rem) !important;
  }
  
  h5, .h5 {
    font-size: clamp(0.9rem, 3.5vw, 1.25rem) !important;
  }
  
  h6, .h6 {
    font-size: clamp(0.85rem, 3vw, 1.125rem) !important;
  }
  
  p, body, .body-text {
    font-size: clamp(0.875rem, 2.5vw, 1rem) !important;
  }
  
  .pricing-plan-name, .pricing-price {
    font-size: clamp(1rem, 4vw, 1.5rem) !important;
  }
  
  .pricing-period {
    font-size: clamp(0.75rem, 2vw, 0.9rem) !important;
  }
  
  .btn, .btn-primary, .btn-secondary {
    font-size: clamp(0.875rem, 2.5vw, 1rem) !important;
  }
  
  /* Navigation text scaling */
  .nav-menu a, .mobile-menu-item {
    font-size: clamp(0.9rem, 2.5vw, 1rem) !important;
  }
  
  /* Card titles and content */
  .feature-title, .card-title {
    font-size: clamp(1rem, 4vw, 1.5rem) !important;
  }
  
  .feature-description, .card-description {
    font-size: clamp(0.875rem, 2.5vw, 1rem) !important;
  }
  
  /* Footer text */
  .footer a, .footer p {
    font-size: clamp(0.8rem, 2vw, 0.95rem) !important;
  }
}

/* Mobile breakpoints */
@media (max-width: 768px) {
  /* Hero section mobile fixes */
  .hero {
    min-height: 100vh;
    padding: 20px 0;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero-content {
    padding: 20px;
    margin-top: 60px; /* Account for mobile header */
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    word-break: keep-all;
    hyphens: none;
    overflow-wrap: break-word;
  }
  
  .hero-badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .btn, .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
    min-height: 48px; /* Larger touch targets */
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Content sections mobile fixes */
  .content-section {
    padding: 3rem 1rem;
    text-align: center;
  }
  
  .section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .section-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
  }
  
  /* Feature cards mobile fixes */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  
  .feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }
  
  .feature-list li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: left;
  }
  
  /* Bento grid mobile fixes */
  .bento-bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .bento-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  
  .bento-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }
  
  .bento-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }
  
  /* Pricing mobile fixes */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  
  .pricing-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-align: center;
  }
  
  .pricing-price {
    font-size: clamp(2rem, 8vw, 3rem);
    text-align: center;
  }
  
  /* Reviews mobile fixes */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  
  .review-text {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }
  
  /* FAQ mobile fixes */
  .faq-list {
    gap: 1rem;
  }
  
  .faq-item {
    padding: 1rem;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
    padding: 0 1rem 1rem 1rem;
  }
  
  /* Header mobile fixes */
  .header {
    height: 60px;
    padding: 0 1rem;
  }
  
  .logo-img {
    height: 28px;
  }
  
  /* Container mobile fixes */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* Footer mobile fixes */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .footer-section {
    min-width: auto;
    flex: none;
  }
  
  /* Prevent content overflow */
  .page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Ensure proper spacing for mobile browser UI */
  .hero-section,
  .section {
    padding-bottom: 2rem;
    text-align: center;
  }
  
  /* Additional mobile centering fixes */
  .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .section-overline {
    text-align: center;
  }
  
  /* Fix for any remaining stacked content */
  .bento-grid,
  .features-grid,
  .comparison-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  /* Ensure all cards are centered */
  .bento-card,
  .feature-card,
  .pricing-card,
  .review-card {
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Fix stats container mobile layout */
  .stats-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    width: 100%;
  }
  
  .stat-item {
    width: 100%;
    max-width: 200px;
    text-align: center;
    margin: 0 auto;
  }
  
  /* Fix FORM bento layout mobile */
  .bento-card[style*="flex-direction: row"] {
    flex-direction: column !important;
    padding: 2rem !important;
  }
  
  .bento-card[style*="flex-direction: row"] > div:first-child {
    flex: 1 1 auto !important;
    padding: 2rem !important;
    width: 100% !important;
  }
  
  .bento-card[style*="flex-direction: row"] > div:last-child {
    flex: 1 1 auto !important;
    height: 300px !important;
    width: 100% !important;
    border-radius: 0 0 36px 36px !important;
  }
  
  /* Fix flex containers for mobile */
  div[style*="display: flex"][style*="gap: 50px"] {
    flex-direction: column !important;
    gap: 2rem !important;
    align-items: center !important;
  }
  
  div[style*="display: flex"][style*="gap: 50px"] > div {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }
  
  /* Fix images in FORM page */
  .bento-card img,
  .bento-card[style*="background: url"] {
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
  }
  
  /* Fix FORM page hero images */
  .hero-device {
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 1rem !important;
  }
  
  .hero-device video {
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  .hero-overlap-left,
  .hero-overlap-center {
    display: none !important;
  }
  
  .mobile-images-container {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    width: 100% !important;
  }
  
  .mobile-images-container img {
    width: 80px !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
  }
  
  /* Fix FORM page left image to be dynamic */
  .hero-device img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 200px !important;
    object-fit: contain !important;
    aspect-ratio: auto !important;
  }
  
  /* Fix pricing cards on FORM page */
  .pricing-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  
  .pricing-card {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }
  
  /* Fix plan cards mobile */
  .pricing-card,
  .feature-card {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto 1rem auto !important;
    padding: 1.5rem !important;
  }
  
  /* Fix workflow sections */
  .content-section {
    padding: 2rem 1rem !important;
  }
  
  /* Fix specific sections that stack incorrectly */
  .content-section[style*="background: linear-gradient"] {
    padding: 2rem 1rem !important;
  }
  
  /* Fix any flex containers that should stack on mobile */
  .content-section > div[style*="display: flex"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }
  
  /* Fix any grid layouts that should stack */
  .content-section .grid,
  .content-section [class*="grid"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  
  /* Fix any remaining horizontal layouts */
  .content-section > div > div[style*="display: flex"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  
  /* Fix any remaining horizontal overflow */
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Fix download FORM button on mobile */
  .runlemonade-server-badge-btn {
    width: 100% !important;
    max-width: 280px !important;
    padding: 16px 24px !important;
    font-size: 0.9rem !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  .runlemonade-server-badge-btn img {
    height: 14px !important;
    margin-right: 6px !important;
  }
  
  .badge-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  /* Fix button sizing for consistent layout */
  .runlemonade-server-badge-btn {
    padding: 16px 28px !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
    min-height: 48px !important;
  }
  
  /* FORM card button mobile sizing */
  .bento-card .runlemonade-server-badge-btn {
    padding: 14px 20px !important;
    font-size: 0.9rem !important;
    min-height: 44px !important;
  }
  
  .bento-card .runlemonade-server-badge-btn img {
    height: 16px !important;
    width: auto !important;
  }
  

  
  /* Ensure bento cards display properly on mobile */
  .bento-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 2rem !important;
  }
  
  /* Bento cards container - mobile layout */
  .bento-cards-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  .bento-cards-container .bento-card {
    width: 100% !important;
    margin-bottom: 0 !important;
    flex: none !important;
    min-width: auto !important;
  }
  
  /* Desktop layout for bento cards */
  @media (min-width: 769px) {
    .bento-cards-container {
      display: flex !important;
      flex-direction: row !important;
      gap: 50px !important;
      align-items: stretch !important;
      width: 100% !important;
    }
    
    .bento-cards-container .bento-card {
      flex: 1 1 0 !important;
      min-width: 300px !important;
      margin-bottom: 0 !important;
      width: calc(50% - 25px) !important;
    }
  }
  
  /* Force desktop layout with higher specificity */
  @media (min-width: 900px) {
    .bento-cards-container {
      display: flex !important;
      flex-direction: row !important;
      gap: 50px !important;
      align-items: stretch !important;
    }
    
    .bento-cards-container > div {
      flex: 1 1 0 !important;
      min-width: 300px !important;
      margin-bottom: 0 !important;
    }
  }
  
  /* Fix modal popup for mobile */
  #free-trial-modal > div {
    max-width: 95vw !important;
    width: 95vw !important;
    padding: 2rem 1rem !important;
    margin: 1rem !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
  
  #free-trial-modal h2 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }
  
  #free-trial-modal p {
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }
  
  /* Hide only the video iframe on mobile, not the signup form */
  #free-trial-modal div[style*="margin-bottom:24px;text-align:center;"] iframe {
    display: none !important;
  }
  
  /* Ensure signup form is always visible on mobile */
  #free-trial-modal #ghost-signup-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 1rem !important;
    position: static !important;
    z-index: 999 !important;
  }
  
  /* Ensure signup form is visible on mobile */
  #free-trial-modal #ghost-signup-container {
    display: block !important;
    margin-bottom: 1rem !important;
  }
  
  #free-trial-modal #ghost-signup-container > div {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Force signup form to show on mobile */
  #ghost-signup-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  #ghost-signup-container > div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Additional force rules for signup form */
  #free-trial-modal #ghost-signup-container,
  #free-trial-modal #ghost-signup-container > div,
  #ghost-signup-container,
  #ghost-signup-container > div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Force any Ghost signup elements to show */
  [id*="ghost"],
  [class*="ghost"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Ensure Ghost signup form is visible on mobile */
  #ghost-signup-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Force the signup form container to always be visible */
  #free-trial-modal #ghost-signup-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 24px !important;
  }
  
  /* Fix modal content spacing */
  #free-trial-modal .ghost-signup-container {
    margin-bottom: 1rem !important;
  }
  
  /* Fix meet the developer page mobile alignment */
  .developer-section {
    text-align: center !important;
    padding: 2rem 1rem !important;
  }
  
  .developer-content {
    text-align: center !important;
    max-width: 100% !important;
  }
  
  .credentials-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  
  .credential-item {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-content {
    padding: 1rem;
    margin-top: 50px;
    text-align: center;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    text-align: center;
    word-break: keep-all;
    hyphens: none;
    overflow-wrap: break-word;
    line-height: 1.3;
  }
  
  .btn, .btn-primary, .btn-secondary {
    min-height: 52px; /* Even larger touch targets for small screens */
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .content-section {
    padding: 2rem 0.75rem;
    text-align: center;
  }
  
  .feature-card,
  .bento-card,
  .pricing-card,
  .review-card {
    padding: 1.25rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    text-align: center;
  }
  
  /* Prevent text overflow */
  .hero-title,
  .section-title,
  .feature-title,
  .bento-card h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
  }
  
  /* Ensure all content is centered */
  .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
  .hero-content {
    padding: 0.75rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: clamp(1.25rem, 6vw, 2rem);
    text-align: center;
  }
  
  .btn, .btn-primary, .btn-secondary {
    min-height: 56px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .content-section {
    padding: 1.5rem 0.5rem;
    text-align: center;
  }
  
  .feature-card,
  .bento-card,
  .pricing-card,
  .review-card {
    padding: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Ensure everything is centered */
  .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Additional fixes for extra small screens */
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .hero-cta {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  
  .hero-cta a {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
  }
  
  /* Override inline styles for mobile stacking */
  div[style*="display: flex"][style*="gap: 20px"][style*="justify-content: center"] {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center !important;
  }
  
  div[style*="display: flex"][style*="gap: 20px"][style*="justify-content: center"] > a {
    width: 100% !important;
    max-width: 300px !important;
    justify-content: center !important;
  }
  
  /* Force mobile stacking for hero buttons */
  @media (max-width: 768px) {
    .hero .container .hero-cta {
      flex-direction: column !important;
      align-items: center !important;
      gap: 16px !important;
    }
    
    .hero .container .hero-cta > a {
      width: 100% !important;
      max-width: 300px !important;
      justify-content: center !important;
    }
  }
  
  /* Fix any remaining overflow issues */
  .hero-content,
  .content-section {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  /* Additional mobile fixes for extra small screens */
  .runlemonade-server-badge-btn {
    font-size: 0.85rem !important;
    padding: 14px 20px !important;
  }
  
  .badge-text {
    font-size: 0.85rem !important;
  }
  
  /* Fix any text overflow in buttons */
  .runlemonade-server-badge-btn,
  .btn,
  .btn-primary,
  .btn-secondary {
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center !important;
  }
  
  /* Stack hero buttons on mobile only */
  .hero div[style*="display: flex"][style*="gap: 24px"],
  .hero div[style*="display: flex"][style*="gap: 20px"],
  .hero div[style*="justify-content: center"] {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center !important;
  }
  
  .hero div[style*="display: flex"][style*="gap: 24px"] > a,
  .hero div[style*="display: flex"][style*="gap: 24px"] > button,
  .hero div[style*="display: flex"][style*="gap: 20px"] > a,
  .hero div[style*="display: flex"][style*="gap: 20px"] > button,
  .hero div[style*="justify-content: center"] > a,
  .hero div[style*="justify-content: center"] > button {
    width: 100% !important;
    max-width: 300px !important;
    justify-content: center !important;
  }
  
  /* Direct targeting of hero button container */
  .hero .container > div:last-child {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center !important;
  }
  
  .hero .container > div:last-child > a {
    width: 100% !important;
    max-width: 300px !important;
    justify-content: center !important;
  }
  
  /* Simple class-based targeting */
  .hero-buttons {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center !important;
  }
  
  .hero-buttons > a {
    width: 100% !important;
    max-width: 300px !important;
    justify-content: center !important;
  }
  
  /* Prevent hyphenation - move words to next line instead */
  * {
    hyphens: none !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }
  
  /* Specific fixes for long words */
  .developer-intro,
  .section-title,
  .hero-title,
  .card-title,
  .feature-title {
    word-break: normal !important;
    hyphens: none !important;
  }
}

/* Landscape mobile fixes */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: 10px 0;
    text-align: center;
  }
  
  .hero-content {
    margin-top: 40px;
    padding: 10px;
    text-align: center;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
  }
  
  .content-section {
    padding: 2rem 1rem;
    text-align: center;
  }
}

/* Ensure proper viewport height handling for mobile browsers */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
  }
  
  /* Prevent content from being hidden behind mobile browser UI */
  body {
    padding-bottom: env(safe-area-inset-bottom);
    padding-top: env(safe-area-inset-top);
  }
  
  .header {
    padding-top: env(safe-area-inset-top);
  }
}

/* Fix for iOS Safari viewport issues */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
}

/* Additional mobile fixes for specific issues shown in screenshots */
@media (max-width: 768px) {
  /* Fix for content being cut off at bottom */
  .page-container {
    padding-bottom: 2rem;
  }
  
  /* Ensure proper spacing for mobile browser UI */
  .hero-section,
  .section {
    margin-bottom: 2rem;
  }
  
  /* Fix for large text overflow */
  .hero-title,
  .section-title {
    word-break: break-word;
    hyphens: auto;
  }
  
  /* Improve button layout on mobile */
  .hero-cta {
    margin-bottom: 3rem;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }
  
  .hero-cta > a {
    width: 100% !important;
    max-width: 300px !important;
    justify-content: center !important;
  }
  
  /* Fix for card content overflow */
  .bento-card,
  .feature-card,
  .pricing-card {
    overflow: hidden;
  }
  
  /* Ensure images don't overflow */
  .bento-card img,
  .feature-card img {
    max-width: 100%;
    height: auto;
  }
  
  /* Fix for mobile menu overlay */
  .mobile-menu-overlay {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  /* Improve touch targets */
  .mobile-menu-item,
  .nav-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  /* Fix for footer on mobile */
  .footer {
    margin-top: 2rem;
    padding: 2rem 0 1rem 0;
  }
  
  .footer-bottom {
    padding: 1rem 0;
  }
}

/* Extra fixes for very small screens */
@media (max-width: 360px) {
  .hero-content {
    padding: 0.5rem;
  }
  
  .hero-title {
    font-size: clamp(1.25rem, 6vw, 2rem);
    line-height: 1.1;
  }
  
  .section-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }
  
  /* Ensure content fits within viewport */
  .bento-card,
  .feature-card,
  .pricing-card {
    margin-bottom: 1rem;
    padding: 1rem;
  }
  
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Fix for mobile browser address bar */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

html, body, h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, .btn, .btn-primary, .btn-secondary, .runlemonade-server-badge-btn, .badge-text, .badge-download, .badge-title, .section-title, .section-subtitle, .feature-title, .feature-header, .pricing-title, .pricing-subtitle, .pricing-features, .pricing-plan-name, .pricing-price, .pricing-period, .review-text, .review-author, .review-role, .faq-question, .faq-answer, .footer, .footer-section, .footer-bottom {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* === GLOBAL RESET & BASE STYLES === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1;
    margin: 0;
    padding: 0;
}

.hero {
    margin-top: 0;
    padding-top: 50px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: var(--space-6);
    z-index: 2;
    margin-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-2) var(--space-4);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-8);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
    font-weight: 700;
    line-height: 1.08333;
    letter-spacing: -0.003em;
    margin-bottom: var(--space-6);
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

/* === REFINED BUTTON SYSTEM === */
/* Base button styles (single source of truth) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-tight);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-refined);
    user-select: none;
    white-space: nowrap;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(62, 91, 118, 0.15);
}

.btn:disabled,
.btn.disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Primary Button - Professional Blue */
.btn-primary {
    background: var(--restore-blue);
    color: white !important;
    border-color: var(--restore-blue);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
    background: #0062CC;
    border-color: #0056B3;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Bright Button - Muted Slate Blue */
.btn-bright {
    background: var(--brand-blue-muted);
    color: white !important;
    border-color: var(--brand-blue-muted);
    box-shadow: var(--shadow-sm);
    font-weight: var(--font-weight-semibold);
}

.btn-bright:hover:not(:disabled) {
    background: #4A6B8C;
    border-color: #4A6B8C;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--brand-blue) !important;
    border-color: var(--brand-blue);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Blue Button */
.btn-blue {
    background: var(--warm-blue);
    color: var(--text-inverse) !important;
    border-color: var(--warm-blue);
    box-shadow: var(--shadow-sm);
}

.btn-blue:hover:not(:disabled) {
    background: var(--warm-blue-dark);
    border-color: var(--warm-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Success Button */
.btn-success {
    background: var(--success-green);
    color: var(--text-inverse) !important;
    border-color: var(--success-green);
    box-shadow: var(--shadow-sm);
}

.btn-success:hover:not(:disabled) {
    background: #229954;
    border-color: #229954;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Warning Button */
.btn-warning {
    background: var(--warning-orange);
    color: var(--text-inverse) !important;
    border-color: var(--warning-orange);
    box-shadow: var(--shadow-sm);
}

.btn-warning:hover:not(:disabled) {
    background: #D35400;
    border-color: #D35400;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Error Button */
.btn-error,
.btn-danger {
    background: var(--error-red);
    color: var(--text-inverse) !important;
    border-color: var(--error-red);
    box-shadow: var(--shadow-sm);
}

.btn-error:hover:not(:disabled),
.btn-danger:hover:not(:disabled) {
    background: #C0392B;
    border-color: #C0392B;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Legacy Button Mappings - Now Muted Blue */
.btn-yellow {
    background: var(--brand-blue-muted);
    color: white !important;
    border-color: var(--brand-blue-muted);
    box-shadow: var(--shadow-sm);
    font-weight: var(--font-weight-semibold);
}

.btn-yellow:hover:not(:disabled) {
    background: #4A6B8C;
    border-color: #4A6B8C;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Cohesive CTA button to match hero badge sizing */
.btn-cta {
    background: var(--brand-blue) !important;
    color: white !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 14px !important; /* match hero badge */
    padding: 14px 26px !important;
    min-height: 56px; /* visual parity with blue CTA */
    font-weight: var(--font-weight-extrabold) !important;
    box-shadow: 0 10px 30px rgba(62,91,118,0.22);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    gap: 2px;
}

.btn-cta:hover:not(:disabled) {
    background: #2D4255 !important;
    border-color: rgba(0,0,0,0.08) !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(62,91,118,0.28);
}

.btn-cta .sublabel {
    font-size: 0.78rem;
    font-weight: var(--font-weight-semibold);
    opacity: 0.95;
}

.btn-cta .price {
    font-size: 1.25rem;
    font-weight: var(--font-weight-black);
    letter-spacing: -0.01em;
}

/* Green variant to match site success color - styled like blue buttons */
.btn-cta--green {
    background: var(--success-green) !important;
    color: var(--text-inverse) !important;
    border-color: var(--success-green) !important;
    box-shadow: 0 10px 30px rgba(39,174,96,0.22);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 26px !important;
    min-height: 56px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    flex-direction: row !important;
    line-height: 1.5 !important;
    gap: 0 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    border-radius: 14px !important;
}

.btn-cta--green:hover:not(:disabled) {
    background: #229954 !important;
    border-color: #229954 !important;
    box-shadow: 0 14px 36px rgba(39,174,96,0.28);
    transform: translateY(-1px);
}

.btn-green {
    background: var(--success-green);
    color: var(--text-inverse) !important;
    border-color: var(--success-green);
    box-shadow: var(--shadow-sm);
}

.btn-green:hover:not(:disabled) {
    background: #229954;
    border-color: #229954;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.runlemonade-server-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 28px 8px 18px;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 14px;
    box-shadow: none;
    font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
    color: #fff;
    text-decoration: none;
    transition: box-shadow 0.18s, border-color 0.18s, background 0.18s;
    min-height: 44px;
    font-size: 1.08rem;
    font-weight: 500;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
}
.runlemonade-server-badge-btn:hover, .runlemonade-server-badge-btn:focus {
    box-shadow: 0 2px 8px rgba(245,193,37,0.10);
    border-color: #fff;
    background: rgba(255,255,255,0.18);
    color: #fff;
}
.runlemonade-server-badge-btn img {
    height: 22px;
    width: auto;
    min-width: unset;
    min-height: unset;
    max-height: 22px;
    max-width: unset;
    display: inline-block;
    vertical-align: middle;
    filter: grayscale(1) brightness(1.2) contrast(0.8);
    margin-right: 10px;
}
.runlemonade-server-badge-btn .badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}
.runlemonade-server-badge-btn .badge-download {
    font-size: 0.93rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.runlemonade-server-badge-btn .badge-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
    margin-top: 1px;
}

.pricing {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    text-align: center;
    padding: var(--space-20) var(--space-6);
}

.pricing-header {
    margin-bottom: var(--space-16);
}

.pricing-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.08333;
    margin-bottom: var(--space-4);
}

.pricing-subtitle {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    margin-bottom: var(--space-6);
}

.pricing-description {
    font-size: var(--font-size-base);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: #fff;
    border: 1.5px solid #e5e5f0;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    transition: transform 0.3s var(--ease-out);
    box-shadow: 0 4px 24px rgba(33, 150, 243, 0.06);
    color: #111 !important;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    background: #fff;
    border-color: var(--warm-blue);
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.10);
}

.pricing-card .pricing-plan-name {
    font-size: 1.08rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    color: #111 !important;
}

.pricing-card .pricing-price {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2px;
    color: #111 !important;
}

.pricing-card .pricing-period {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-600) !important;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}

.pricing-card .pricing-features {
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--gray-700) !important;
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-card a.btn {
    margin-top: 18px;
}

.content-section {
    padding: var(--space-20) var(--space-6);
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-overline {
    font-size: 1.02rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--apple-blue);
    margin-bottom: 8px;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
    color: #111;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 24px rgba(33,150,243,0.06);
    padding: var(--space-8) var(--space-6);
    margin: 0 auto var(--space-8) auto;
    text-align: left;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: unset;
    display: block;
}

.feature-card:hover {
    transform: translateY(-4px) scale(1.02);
}

.feature-card.featured {
    border: 2px solid var(--apple-blue);
    box-shadow: 0 8px 32px rgba(33,150,243,0.10);
}

.feature-header {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--gray-700);
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.6;
}

.feature-list li {
    margin-bottom: 8px;
    padding-left: 0;
}

.bento-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.bento-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 24px rgba(33,150,243,0.06);
    padding: var(--space-8) var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 220px;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    margin-bottom: 0;
    position: relative;
}

.bento-card img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: var(--radius-lg);
    margin-bottom: 18px;
    object-fit: cover;
    display: block;
}

/* For horizontal bento cards (row layout), ensure image fills height */
.bento-card[style*="flex-direction: row"] img,
.bento-card.horizontal img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 0;
}

.bento-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.bento-card p {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 0;
}

@media (min-width: 900px) {
    .bento-bento-grid {
        grid-auto-flow: dense;
    }
    .bento-card:nth-child(1) {
        grid-row: span 2;
    }
    .bento-card:nth-child(3) {
        grid-row: span 2;
    }
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.review-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 24px rgba(33,150,243,0.06);
    padding: var(--space-8) var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 220px;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    margin-bottom: 0;
    position: relative;
}

.review-card:hover {
    transform: translateY(-4px) scale(1.02);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.stars {
    color: var(--brand-yellow);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.review-text {
    font-size: 1.08rem;
    color: var(--gray-800);
    margin-bottom: 18px;
    line-height: 1.6;
    font-weight: 500;
}

.review-author {
    font-size: 1.08rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 2px;
}

.review-role {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0;
}

.faq {
    padding: var(--space-20) var(--space-6);
    background: #fff;
    max-width: 900px;
    margin: 0 auto var(--space-16) auto;
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 24px rgba(33,150,243,0.06);
}

.faq-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: #111;
    text-align: center;
    margin-bottom: var(--space-8);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(33,150,243,0.04);
    padding: var(--space-6) var(--space-6) var(--space-4) var(--space-6);
    transition: box-shadow 0.18s;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--apple-blue);
    cursor: pointer;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.18s;
}

.faq-question:hover {
    color: var(--apple-blue-dark);
}

.faq-answer {
    font-size: 1.08rem;
    color: var(--gray-700);
    font-weight: 500;
    line-height: 1.6;
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
    opacity: 1;
}

.faq-item.collapsed .faq-answer {
    max-height: 0;
    opacity: 0;
    padding: 0;
} 

/* Apple-like header and menu */
.header {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(33,150,243,0.08);
  box-shadow: 0 2px 12px 0 rgba(60,60,60,0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.18s, box-shadow 0.18s;
}

.nav {
  max-width: none;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: 0;
  padding-right: 0;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 0 !important;
  margin-right: 0;
  padding-left: 0 !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  color: #23272a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
}

.nav-menu > li > a:hover, .nav-menu > li > a.active {
  color: #23272a;
  background: rgba(60,60,60,0.07);
}

/* Dropdowns: Apple-style glassy look, open on hover */
.has-dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin-top: 0;
  z-index: 10001;
  border-radius: 14px;
  box-shadow: 0 8px 32px 0 rgba(60,60,60,0.10), 0 1.5px 6px 0 rgba(60,60,60,0.04);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(60,60,60,0.10);
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1);
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 12px 18px 10px 18px;
  color: #23272a;
  text-decoration: none;
  transition: background 0.16s, color 0.16s;
  border-bottom: 1px solid rgba(33,150,243,0.06);
  font-size: 0.95rem;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover, .dropdown-item:focus {
  background: rgba(60,60,60,0.07);
  color: #23272a;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-title {
  font-weight: 700;
  font-size: 1.01rem;
  color: #23272a;
}
.dropdown-subtitle {
  font-size: 0.93rem;
  color: #3A3328;
  opacity: 0.82;
}

/* Mobile Menu Overlay (glassy, full screen) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 80px 32px 32px;
    overflow-y: auto;
    pointer-events: none;
    display: block;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
@media (min-width: 900px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

.mobile-menu-content {
    max-width: 400px;
    margin: 0 auto;
}
.mobile-menu-section {
    margin-bottom: 48px;
}
.mobile-menu-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #23272a;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.mobile-menu-item {
    display: block;
    padding: 24px 0;
    color: #3A3328;
    text-decoration: none;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: color 0.2s ease;
    font-weight: 600;
}
.mobile-menu-item:hover {
    color: #F5C125;
}
.mobile-menu-item:last-child {
    border-bottom: none;
}

/* Hamburger menu button: only show on mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    background: none;
    border: none;
}
.hamburger-line {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: 0.3s;
    border-radius: 1px;
}
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        display: none;
    }
    
    /* Mobile menu improvements */
    .mobile-menu-overlay {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .mobile-menu-content {
        padding: 2rem 1rem;
        max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        overflow-y: auto;
    }
    
    .mobile-menu-item {
        padding: 1rem;
        font-size: 1.1rem;
        min-height: 48px;
    }
}

@media (min-width: 900px) {
  .nav-menu {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10001 !important;
    outline: none !important;
  }
}

@media (max-width: 900px) {
  .header {
    height: 56px;
  }
  .logo-img {
    height: 45px;
    width: auto;
  }
}

.logo {
  text-decoration: none;
}

.logo span {
    color: #23272a;
}

.logo-img {
  height: 34px;
  width: auto;
  border-radius: 6px;
  display: inline-block;
  vertical-align: middle;
  filter: none;
  margin-right: 8px;
} 

/* Prevent header/menu shift on dropdown open */
.nav-menu > li {
  /* Reserve space for dropdown arrow, but do not change size on hover */
  position: relative;
}

.has-dropdown:hover,
.has-dropdown:focus-within {
  /* No margin, padding, or size changes */
} 

/* Match header nav container to main .container */
.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
} 

/* Ensure logo is always flush with the left edge of the nav/container */
.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
}

/* Navigation Right Container */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Header CTA Button */
.header-cta {
  display: flex;
  align-items: center;
}

.header-cta .btn {
  white-space: nowrap;
}

.header-cta .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,122,255,0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}

.nav-toggle.active svg rect:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active svg rect:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active svg rect:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-toggle svg rect {
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
  .nav-menu {
    display: none;
  }
}

@media (max-width: 1200px) {
  .nav, .container, .hero-video-large-content {
    padding-left: 16px;
    padding-right: 16px;
  }
} 

.footer {
  background: rgba(245,245,247,0.92);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-top: 1px solid rgba(33,150,243,0.08);
  box-shadow: 0 -2px 12px 0 rgba(33,150,243,0.04);
  width: 100%;
  padding: 32px 0 0 0;
  margin-top: 64px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding: 0 32px;
}

.footer-section {
  min-width: 180px;
  flex: 1 1 180px;
  margin-bottom: 32px;
}

.footer-section h4 {
  font-size: 1.01rem;
  font-weight: 700;
  color: #23272a;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-section a {
  display: block;
  color: #23272a;
  text-decoration: none;
  font-size: 0.97rem;
  margin-bottom: 10px;
  transition: color 0.18s;
}
.footer-section a:hover {
  color: #1976d2;
}

.footer-bottom {
  text-align: center;
  color: #888;
  font-size: 0.95rem;
  padding: 18px 0 12px 0;
  border-top: 1px solid rgba(33,150,243,0.06);
  background: none;
  margin-top: 0;
} 

/* Coming Soon Popup Styles */
.coming-soon-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.coming-soon-popup.active {
    opacity: 1;
    visibility: visible;
}

.coming-soon-content {
    background: white;
    border-radius: 24px;
    padding: 48px;
    max-width: 480px;
    width: 90vw;
    text-align: center;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.coming-soon-popup.active .coming-soon-content {
    transform: scale(1);
}

.coming-soon-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffc107 0%, #ffd54f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
}

.coming-soon-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    opacity: 0.9;
}

.coming-soon-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.coming-soon-message {
    font-size: 1.1rem;
    color: #515154;
    margin-bottom: 32px;
    line-height: 1.5;
}

.coming-soon-button {
    background: linear-gradient(135deg, #2196f3 0%, #4f8cff 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.25);
    text-decoration: none;
    display: inline-block;
}

.coming-soon-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(33, 150, 243, 0.35);
}

.coming-soon-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #86868b;
    transition: color 0.3s ease;
}

.coming-soon-close:hover {
    color: #1d1d1f;
}

/* Coming soon item styling */
.coming-soon-item {
    opacity: 0.7;
    position: relative;
}

.coming-soon-item::after {
    content: 'Coming Soon';
    position: absolute;
    top: 8px;
    right: 12px;
    background: linear-gradient(135deg, #515154 0%, #636366 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}

.coming-soon-item:hover {
    opacity: 1;
} 

/* === PROFESSIONAL MICRO-INTERACTIONS === */

/* 1. Smooth state transitions */
.state-transition {
    transition: all var(--duration-200) var(--ease-refined);
}

/* 2. Enhanced focus states */
.context-glow:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(62, 91, 118, 0.15);
}

/* 3. Professional tooltips */
.tooltip-enhanced {
    position: relative;
}

.tooltip-enhanced::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: var(--space-2) var(--space-3);
    background: var(--charcoal);
    color: var(--card-white);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--duration-200) var(--ease-out);
    z-index: var(--z-tooltip);
}

.tooltip-enhanced:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* 4. Loading skeleton states */
.skeleton {
    background: linear-gradient(90deg, 
        var(--border-light) 25%, 
        var(--bg-secondary) 50%, 
        var(--border-light) 75%);
    background-size: 200% 100%;
    animation: skeletonWave 2s infinite ease-in-out;
    border-radius: var(--radius-md);
}

@keyframes skeletonWave {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* === ENHANCED BUTTON SYSTEM === */

/* PRIMARY BUTTON - Now uses refined gold */
.btn-primary {
    background: var(--refined-gold);
    color: var(--text-primary);
    border-color: var(--refined-gold);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
    background: #D4BE7A;
    border-color: #D4BE7A;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* NEW FEATURED BUTTON - For premium/featured actions */
.btn-bright {
    background: var(--bright-yellow);
    color: var(--charcoal);
    border-color: var(--bright-yellow);
    box-shadow: var(--shadow-sm);
    font-weight: var(--font-weight-semibold);
}

.btn-bright:hover:not(:disabled) {
    background: #F6DC5E;
    border-color: #F6DC5E;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* === ENHANCED FORM ELEMENTS === */

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: inherit;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--duration-200) var(--ease-refined);
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(62, 91, 118, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-tertiary);
}

/* === PROFESSIONAL CARD SYSTEM === */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--duration-200) var(--ease-refined);
}

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

/* === LIBRARY ITEMS ENHANCEMENT === */

.library-item {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: center;
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-refined);
    position: relative;
}

.library-item:hover {
    border-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.library-item.selected {
    border-color: var(--warm-blue);
    background: rgba(74, 144, 226, 0.05);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

/* === GLASS EFFECTS === */

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glassy-dropdown {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
}

/* === ANIMATION UTILITIES === */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-refined);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s var(--ease-refined);
}

.stagger-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-hover {
    transition: all 0.4s var(--ease-refined);
    position: relative;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    border-radius: var(--radius-3xl);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

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

/* === PREMIUM SHADOWS === */

.premium-shadow {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 4px 16px rgba(62, 91, 118, 0.12);
}

.premium-shadow:hover {
    box-shadow: 0 32px 120px rgba(0,0,0,0.08), 0 12px 48px rgba(62, 91, 118, 0.12);
}

/* === GENTLE PULSE ANIMATION === */

.gentle-pulse {
    animation: gentlePulse 2s ease-in-out infinite;
}

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

/* === PROFESSIONAL INTERACTION JAVASCRIPT === */