/* ============================================================ VDPL GLOBAL DESIGN SYSTEM v2.0 Design: Ultra-Modern SaaS / Engineering Rigor Performance: Core Web Vitals Optimized (99+ Target) ============================================================ */ :root {
  /* --- TYPOGRAPHY (REM ONLY) --- */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Font Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 600;

  /* Responsive Type Scale (clamp-based) */
  --font-size-h1: 48px;                                     /* 48px */
  --font-size-h2: 2.25rem;                                  /* 36px */
  --font-size-h3: clamp(1.5rem, 3vw + 0.5rem, 1.75rem);     /* 24px to 28px */
  --font-size-h4: clamp(1.25rem, 2vw + 0.5rem, 1.375rem);   /* 20px to 22px */
  --font-size-h5: clamp(1.125rem, 1vw + 0.5rem, 1.125rem);  /* Refined H5 */
  --font-size-body: 1rem;                                   /* 16px */
  --font-size-small: 0.875rem;                              /* 14px */

  /* Refined Text Scale */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.8125rem;  /* 13px - reduced from 14px */
  --text-base: 0.9375rem; /* 15px - reduced from 16px */

  /* Legacy Mappings */
  --h1-size: var(--font-size-h1);
  --h2-size: var(--font-size-h2);
  --h3-size: var(--font-size-h3);
  --body-size: var(--font-size-body);
  --lh-body: var(--lh-base);

  /* Line Heights (Optimized for Readability) */
  --lh-heading: 1.3;
  --lh-base: 1.7;
  --lh-tight: 1.1;

  /* --- COLORS --- */
  --color-primary: #6366F1;
  --color-primary-dark: #4F46E5;
  --color-primary-light: #818CF8;
  --color-primary-subtle: rgba(99, 102, 241, 0.1);

  /* Gradient: SaaS Modern */
  --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);

  /* Neutral Scale */
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;

  /* Status Colors */
  --color-success: #10B981;
  --color-error: #EF4444;

  /* --- SPACING (8px Base Scale) --- */
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem; /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-6: 1.5rem; /* 24px */
  --space-8: 2rem; /* 32px */
  --space-12: 3rem; /* 48px */
  --space-16: 4rem; /* 64px */
  --space-20: 5rem; /* 80px */
  --space-24: 6rem; /* 96px */
  --space-32: 8rem; /* 128px */

  /* --- UI TOKENS --- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Modern Minimal Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* --- PERFORMANCE ANIMATIONS --- */
  --saas-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --saas-timing: 0.4s;
  --transition-base: var(--saas-timing) var(--saas-ease);
  --transition-fast: 0.2s var(--saas-ease);

  /* --- SAAS BRAND SHADOWS --- */
  --saas-border-premium: rgba(0, 0, 0, 0.08);
  --saas-shadow-premium: 0 4px 30px rgba(0, 0, 0, 0.03);
  --saas-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.06);
  --saas-shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.12);

  /* --- LAYOUT --- */
  --container-max-width: 1200px;
  --header-height: 88px;
  --section-padding-y: var(--space-20);
}
 /* ============================================================ BASE RESET ============================================================ */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
 html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
 body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: var(--fw-regular);
  color: var(--color-gray-900);
  background-color: var(--color-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
 img, svg { display: block; max-width: 100%; height: auto; }
 a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
 /* ============================================================ TYPOGRAPHY ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-gray-900);
  line-height: var(--lh-heading);
  letter-spacing: -0.025em;
  margin-top: 0;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: 600;
  margin-bottom: var(--space-6);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-3);
}

h5 {
  font-size: var(--font-size-h5);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-2);
}

h6 {
  font-size: var(--font-size-body);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-4);
  font-weight: var(--fw-regular);
}

.text-small, 
small {
  font-size: var(--font-size-small);
  font-weight: var(--fw-regular);
}
 .text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
 .text-muted { color: var(--color-gray-500); }
 /* ============================================================ LAYOUT SYSTEM (GRID ONLY) ============================================================ */ .container { width: 100%; max-width: var(--container-max-width); margin-left: auto; margin-right: auto; padding-left: var(--space-6); padding-right: var(--space-6); }
  .container--wide { max-width: 1440px; }
  .hide-mobile { display: none; }
  @media (min-width: 1025px) { .hide-mobile { display: flex; } }
 .section { padding-top: var(--space-16); padding-bottom: var(--space-16); }
 @media (min-width: 1024px) { .section { padding-top: var(--space-24); padding-bottom: var(--space-24); }
 }
 .grid { display: grid; gap: var(--space-6); }
 .grid-cols-2 { grid-template-columns: repeat(1, 1fr); }
 .grid-cols-3 { grid-template-columns: repeat(1, 1fr); }
 .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
 @media (min-width: 768px) { .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
 .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
 .grid-cols-4 { grid-template-columns: repeat(3, 1fr); }
 }
 @media (min-width: 1024px) { .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
 .grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
 }
 /* ============================================================ HEADER / NAVIGATION ============================================================ */ .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; height: var(--header-height); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-gray-100); z-index: 1000; transition: all var(--transition-base); }
 .site-header .container { height: 100%; }
 .header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
 .header__logo { text-decoration: none; display: flex; align-items: center; }
.header__logo img, .custom-logo { height: 38px; width: auto; max-width: 180px; display: block; object-fit: contain; }
.footer-logo { height: 28px; width: auto; display: block; opacity: 1; }
@media (max-width: 768px) { .header__logo img, .custom-logo { height: 30px; max-width: 140px; } .footer-logo { height: 24px; } }
/* --- MODERN CODED LOGO --- */
.vdpl-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.vdpl-logo__icon { width: 34px; height: 34px; background: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vdpl-logo__icon svg { width: 18px; height: 18px; }
.vdpl-logo__text { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: #000; letter-spacing: -0.04em; line-height: 1; text-transform: lowercase; }
.vdpl-logo--footer .vdpl-logo__text { color: #000; }
@media (max-width: 768px) { .vdpl-logo__icon { width: 28px; height: 28px; } .vdpl-logo__text { font-size: 20px; } }
 .header__nav { display: flex; align-items: center; gap: var(--space-1); }
 @media (min-width: 1200px) { .header__nav { gap: var(--space-2); }
 }
 .nav-dropdown { position: relative; }
 .nav-link-with-icon, .nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--color-gray-600);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
 @media (min-width: 1100px) { .nav-link-with-icon, .nav-dropdown__trigger { padding: var(--space-2) var(--space-3); gap: var(--space-2); }
 }
 .nav-link-with-icon:hover, .nav-dropdown:hover .nav-dropdown__trigger { background: var(--color-gray-100); color: var(--color-gray-900); }
 .nav-dropdown__chevron { transition: transform 0.2s ease; opacity: 0.5; }
 .nav-dropdown:hover .nav-dropdown__chevron { transform: rotate(180deg); }
/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 20px; /* Offset from left edge */
  transform: translateY(10px);
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  min-width: 800px;
  max-width: calc(100vw - 40px); /* Prevent overflow with offset */
}
 .nav-dropdown:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
 .mega-menu__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
 .mega-menu__category { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-gray-400); margin-bottom: var(--space-4); opacity: 0.8; }
 .mega-menu__column { display: flex; flex-direction: column; gap: var(--space-1); }
 .mega-menu__item { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); transition: background 0.2s ease; }
 .mega-menu__item:hover { background: var(--color-gray-50); }
 .mega-menu__item-icon { flex-shrink: 0; width: 18px; height: 18px; color: var(--color-primary); margin-top: 2px; }
 .mega-menu__item-title {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-900);
}
 .mega-menu__item-desc { display: block; font-size: 0.75rem; color: var(--color-gray-500); line-height: 1.4; }
 .header__actions { display: flex; align-items: center; gap: var(--space-4); }
 /* Mobile Toggle */ .menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; }
 .menu-toggle span { width: 24px; height: 2px; background: var(--color-gray-900); border-radius: 2px; }
  @media (max-width: 1024px) { 
  .header__nav { 
      display: none !important; 
      flex-direction: column; 
      position: fixed; 
      top: 64px; 
      left: 0; 
      width: 100%; 
      height: calc(100vh - 64px); 
      background: #FFFFFF; 
      z-index: 999; 
      padding: 0; 
      transform: translateY(-100%); 
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease; 
      overflow-y: auto; 
      -webkit-overflow-scrolling: touch;
      align-items: flex-start;
      border-bottom: 1px solid var(--color-gray-100);
      box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .header__nav.open { display: flex !important; transform: translateY(0); opacity: 1; visibility: visible; }
  .mobile-menu-integrated-header { display: none; }
  .mobile-menu-integrated-inner { 
      display: flex; 
      justify-content: space-between; 
      align-items: center; 
  }
  .mobile-menu-integrated-actions { display: flex; align-items: center; gap: 15px; }
  .mobile-menu-close-trigger { 
      background: var(--color-gray-200); 
      border: none; 
      color: var(--color-gray-900); 
      cursor: pointer; 
      padding: 10px; 
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
      width: 44px;
      height: 44px;
      flex-shrink: 0;
  }
  .mobile-menu-close-trigger svg { width: 24px; height: 24px; display: block; }
  .mobile-menu-close-trigger:hover { background: var(--color-gray-300); transform: rotate(90deg); }
  
  .menu-toggle { display: flex; padding: 10px; margin-right: -10px; position: relative; z-index: 1001; }
  .hide-mobile { display: none !important; }
  .site-header { height: 64px !important; }
  .site-header .container { padding-left: 24px !important; padding-right: 24px !important; }
  .header__inner { justify-content: space-between !important; display: flex !important; flex-direction: row !important; align-items: center !important; }
  .header__logo { margin-right: auto !important; margin-left: 0 !important; display: flex !important; align-items: center !important; }
  .custom-logo-link, .vdpl-logo { display: flex !important; align-items: center !important; margin-left: 0 !important; }
  .header__actions { gap: var(--space-2); margin-left: auto; display: flex !important; align-items: center !important; }
  .site-header .container { padding-left: var(--space-4); padding-right: var(--space-4); }

  /* Mobile Nav Links */
  .header__nav .nav-link-with-icon, 
  .header__nav .nav-dropdown { width: 100%; }
  .header__nav .nav-dropdown__trigger { width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 15px; font-size: 1.125rem; }
  .header__nav .nav-link-with-icon { width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 15px; font-size: 1.125rem; }
  .header__nav .nav-dropdown__chevron { margin-left: auto; }
  
  /* Mobile Mega Menu (Collapsible) */
  .mega-menu { 
      position: static !important; 
      transform: none !important; 
      width: 100% !important; 
      min-width: 0 !important; 
      max-width: none !important; 
      display: none; 
      opacity: 1 !important; 
      visibility: visible !important; 
      box-shadow: none !important; 
      border: none !important; 
      padding: 10px 15px !important; 
  }
  .nav-dropdown.active .mega-menu { display: block; }
  .mega-menu__inner { grid-template-columns: 1fr !important; gap: 20px !important; }
  }
 .mobile-menu-integrated-header { display: none; }
 /* ============================================================ HERO ADJUSTMENT ============================================================ */ .saas-hero { padding-top: calc(var(--header-height) + var(--space-12)); }
 /* ============================================================ COMPONENTS - BUTTONS ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  gap: var(--space-2);
}
 .btn:active { transform: scale(0.98); }
 .btn-primary { background: var(--color-primary); color: var(--color-white); }
 .btn-primary:hover { background: var(--color-primary-dark); box-shadow: 0 0 20px rgba(79, 70, 229, 0.2); }
 .btn-secondary { background: var(--color-white); color: var(--color-primary); border-color: var(--color-gray-200); }
 .btn-secondary:hover { border-color: var(--color-primary-light); background: var(--color-gray-50); }
 .btn-gradient { background: var(--gradient-primary); color: var(--color-white); }
 .btn-gradient:hover { box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.3); opacity: 0.95; }
 .btn--header-sleek { background: var(--color-primary); color: var(--color-white) !important; padding: var(--space-2) var(--space-4); font-size: var(--text-sm); font-weight: var(--fw-semibold); border-radius: var(--radius-md); }
 /* ============================================================ COMPONENTS - CARDS (GLASS EFFECT) ============================================================ */ .card { background: var(--color-white); border: 1px solid var(--color-gray-100); border-radius: var(--radius-lg); padding: var(--space-6); transition: all 0.3s ease; position: relative; overflow: hidden; }
 .card-glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); }
 .card:hover { transform: translateY(-4px); border-color: var(--color-primary-light); box-shadow: var(--shadow-lg); }
 /* ============================================================ COMPONENTS - FORMS ============================================================ */ .form-group { margin-bottom: var(--space-4); }
 .form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--space-2);
}
 .form-input { width: 100%; padding: var(--space-3) var(--space-4); background: var(--color-white); border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); font-family: var(--font-body); font-size: var(--text-base); transition: all 0.2s ease; color: var(--color-gray-900); }
 .form-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); }
 .form-input::placeholder { color: var(--color-gray-400); }
 /* ============================================================ UTILITIES ============================================================ */ .text-center { text-align: center; }
 .mx-auto { margin-left: auto; margin-right: auto; }
 .mb-1 { margin-bottom: var(--space-1); }
 .mb-2 { margin-bottom: var(--space-2); }
 .mb-4 { margin-bottom: var(--space-4); }
 .mb-8 { margin-bottom: var(--space-8); }
 .flex { display: flex; }
 .items-center { align-items: center; }
 .justify-between { justify-content: space-between; }
 .gap-4 { gap: var(--space-4); }
 /* ============================================================ ANIMATIONS (LIGHTWEIGHT) ============================================================ */ [data-animate] { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-primary);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.mt-16 { margin-top: var(--space-16); }
.mt-8 { margin-top: var(--space-8); }
.ml-2 { margin-left: var(--space-2); }

/* ============================================================ 
   MOBILE HERO ENHANCEMENTS 
   ============================================================ */
@media (max-width: 768px) {
    .saas-hero__title { 
        font-size: 42px !important; 
        line-height: 1.1 !important; 
        letter-spacing: -0.04em !important; 
        margin-bottom: var(--space-6) !important;
        font-weight: 800 !important;
    }
    
    .saas-hero__desc { 
        font-size: 17px !important; 
        line-height: 1.6 !important; 
        color: var(--color-gray-600) !important;
        margin-bottom: var(--space-8) !important;
    }
    
    .hero-badge {
        font-size: 10px !important;
        letter-spacing: 0.12em !important;
        padding: 8px 20px !important;
        margin-bottom: var(--space-6) !important;
        background: var(--color-white) !important;
        border: 1px solid var(--color-gray-100) !important;
    }

    .saas-hero__actions {
        flex-direction: column !important;
        gap: var(--space-3) !important;
    }

    .saas-hero__actions .btn {
        width: 100% !important;
    }
}

