/* ===================================
       CSS CUSTOM PROPERTIES (DESIGN TOKENS)
       =================================== */
    :root {
      /* Primary Colors - Authority & Trust */
      --color-primary: #1a3989;
      --color-primary-dark: #0f2557;
      --color-primary-light: #2a4da3;
      
      /* Secondary Colors - Action & Interaction */
      --color-secondary: #2563eb;
      --color-secondary-dark: #1d4ed8;
      
      /* Semantic Colors */
      --color-success: #059669;
      --color-warning: #d97706;
      --color-danger: #dc2626;
      --color-info: #0284c7;
      
      /* Neutral Palette */
      --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;
      
      /* Spacing System (8px base) */
      --space-1: 0.5rem;
      --space-2: 1rem;
      --space-3: 1.5rem;
      --space-4: 2rem;
      --space-5: 2.5rem;
      --space-6: 3rem;
      --space-8: 4rem;
      
      /* Typography Scale */
      --text-xs: 0.75rem;
      --text-sm: 0.875rem;
      --text-base: 1rem;
      --text-lg: 1.125rem;
      --text-xl: 1.25rem;
      --text-2xl: 1.5rem;
      --text-3xl: 1.875rem;
      --text-4xl: 2.25rem;
      
      /* Border Radius */
      --radius-sm: 0.375rem;
      --radius-md: 0.5rem;
      --radius-lg: 0.75rem;
      --radius-xl: 1rem;
      --radius-full: 9999px;
      
      /* Shadows */
      --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
      --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
      --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
      --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
      --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
      
      /* Transitions */
      --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
      --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
      --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ===================================
       BASE STYLES & RESET
       =================================== */
    *, *::before, *::after { 
      box-sizing: border-box; 
      margin: 0;
      padding: 0;
    }
    
    html {
      scroll-behavior: smooth;
      width: 100%;
      overflow-x: hidden;
    }
    
    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
      font-size: var(--text-base);
      line-height: 1.5;
      color: var(--color-gray-900);
      background: var(--color-gray-50);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      min-height: 100vh;
      width: 100%;
      overflow-x: hidden;
    }

    h1 { 
      font-size: var(--text-4xl); 
      font-weight: 700;
      letter-spacing: -0.025em;
      line-height: 1.2;
      color: var(--color-gray-900);
    }

    h2 { 
      font-size: var(--text-2xl); 
      font-weight: 600;
      letter-spacing: -0.01em;
      line-height: 1.3;
      color: var(--color-gray-900);
    }

    h3 { 
      font-size: var(--text-xl); 
      font-weight: 600;
      line-height: 1.4;
      color: var(--color-gray-900);
    }

    p {
      color: var(--color-gray-600);
      line-height: 1.6;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button {
      font-family: inherit;
      cursor: pointer;
    }

    /* ===================================
       ACCESSIBILITY
       =================================== */
    .skip-link {
      position: absolute;
      top: -100px;
      left: var(--space-2);
      background: var(--color-primary);
      color: white;
      padding: var(--space-2) var(--space-4);
      border-radius: var(--radius-md);
      font-weight: 600;
      z-index: 100;
      transition: top var(--transition-fast);
    }

    .skip-link:focus {
      top: var(--space-2);
      outline: 3px solid var(--color-secondary);
      outline-offset: 2px;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Focus states */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible {
      outline: 3px solid var(--color-secondary);
      outline-offset: 2px;
      border-radius: var(--radius-sm);
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    /* ===================================
       LAYOUT CONTAINERS
       =================================== */
    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: var(--space-5) var(--space-3);
    }

    /* ===================================
       HERO SECTION (REDESIGNED)
       =================================== */
    .hero-section {
      width: 100%;
      background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
      color: white;
      padding: var(--space-8) var(--space-3);
      position: relative;
      overflow: hidden;
    }


    .hero-content {
      width: 100%;
      max-width: 800px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
      text-align: center;
      padding: 0 1rem;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      padding: var(--space-2) var(--space-4);
      border-radius: var(--radius-full);
      font-size: var(--text-sm);
      font-weight: 600;
      margin-bottom: var(--space-4);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-badge i {
      font-size: var(--text-lg);
    }

    .hero-section h1 {
      color: white;
      font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
      margin-bottom: var(--space-3);
      word-wrap: break-word;
    }

    .hero-subtitle {
      font-size: clamp(var(--text-base), 3vw, var(--text-lg));
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: var(--space-6);
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      word-wrap: break-word;
    }

    /* Search Bar */
    .hero-search {
      margin-bottom: var(--space-5);
      width: 100%;
    }

    .search-wrapper {
      width: 100%;
      background: white;
      border-radius: var(--radius-xl);
      padding: var(--space-1);
      box-shadow: var(--shadow-xl);
      display: flex;
      gap: var(--space-2);
      max-width: 700px;
      margin: 0 auto var(--space-3);
    }

    .search-input-group {
      display: flex;
      align-items: center;
      flex: 1;
      gap: var(--space-2);
      padding: 0 var(--space-3);
      min-width: 0;
    }

    .search-input-group i {
      color: var(--color-gray-400);
      font-size: var(--text-lg);
      flex-shrink: 0;
    }

    .search-input-group input {
      flex: 1;
      border: none;
      outline: none;
      font-size: var(--text-base);
      color: var(--color-gray-900);
      background: transparent;
      padding: var(--space-3) 0;
      min-width: 0;
      width: 100%;
    }

    .search-input-group input::placeholder {
      color: var(--color-gray-400);
    }

    .btn-search {
      background: var(--color-secondary);
      color: white;
      border: none;
      padding: var(--space-3) var(--space-5);
      border-radius: var(--radius-lg);
      font-weight: 600;
      font-size: var(--text-base);
      transition: all var(--transition-base);
      white-space: nowrap;
      flex-shrink: 0;
    }

    .btn-search:hover {
      background: var(--color-secondary-dark);
      transform: translateY(-1px);
      box-shadow: var(--shadow-md);
    }

    .btn-search:active {
      transform: translateY(0);
    }

    .search-hint {
      color: rgba(255, 255, 255, 0.8);
      font-size: var(--text-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-1);
      padding: 0 1rem;
      word-wrap: break-word;
      text-align: center;
    }

    .hero-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-3);
      flex-wrap: wrap;
      padding: 0 1rem;
    }

    .link-secondary {
      color: rgba(255, 255, 255, 0.9);
      font-size: var(--text-sm);
      font-weight: 500;
      transition: color var(--transition-base);
      text-decoration: underline;
      text-underline-offset: 4px;
      text-decoration-color: rgba(255, 255, 255, 0.3);
    }

    .link-secondary:hover {
      color: white;
      text-decoration-color: white;
    }

    /* ===================================
       TRUST INDICATORS BAR
       =================================== */
    .trust-bar {
      width: 100%;
      background: white;
      padding: var(--space-4) var(--space-3);
      box-shadow: var(--shadow-sm);
      border-bottom: 1px solid var(--color-gray-200);
    }

    .trust-items {
      width: 100%;
      max-width: 1000px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: var(--space-4);
      text-align: center;
    }

    .trust-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--space-1);
      padding: 0 0.5rem;
    }

    .trust-item i {
      font-size: var(--text-2xl);
      color: var(--color-secondary);
      margin-bottom: var(--space-1);
    }

    .trust-item strong {
      font-size: var(--text-sm);
      font-weight: 600;
      color: var(--color-gray-900);
      word-wrap: break-word;
    }

    .trust-item span {
      font-size: var(--text-xs);
      color: var(--color-gray-500);
      word-wrap: break-word;
    }

    /* ===================================
       FEATURES SECTION
       =================================== */
    .features-section {
      width: 100%;
      padding: var(--space-8) var(--space-3);
    }

    .section-header {
      text-align: center;
      margin-bottom: var(--space-6);
      padding: 0 1rem;
    }

    .section-label {
      display: inline-block;
      color: var(--color-secondary);
      font-size: var(--text-sm);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: var(--space-2);
    }

    .section-title {
      font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
      margin-bottom: var(--space-3);
      word-wrap: break-word;
    }

    .section-description {
      font-size: clamp(var(--text-base), 2.5vw, var(--text-lg));
      color: var(--color-gray-600);
      max-width: 700px;
      margin: 0 auto;
      word-wrap: break-word;
    }

    /* Feature Cards */
    .feature-grid {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
      gap: var(--space-4);
      max-width: 1280px;
      margin: 0 auto;
    }

    .feature-card {
      width: 100%;
      background: white;
      padding: var(--space-5);
      border-radius: var(--radius-xl);
      border: 2px solid var(--color-gray-200);
      transition: all var(--transition-base);
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--color-secondary);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform var(--transition-slow);
    }

    .feature-card:hover {
      border-color: var(--color-secondary);
      box-shadow: var(--shadow-lg);
      transform: translateY(-2px);
    }

    .feature-card:hover::before {
      transform: scaleX(1);
    }

    .feature-icon-wrapper {
      width: 56px;
      height: 56px;
      background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: var(--space-3);
      box-shadow: var(--shadow-sm);
      flex-shrink: 0;
    }

    .feature-icon-wrapper i {
      font-size: var(--text-2xl);
      color: white;
    }

    .feature-card h3 {
      margin-bottom: var(--space-2);
      color: var(--color-gray-900);
      word-wrap: break-word;
    }

    .feature-card p {
      color: var(--color-gray-600);
      line-height: 1.6;
      flex-grow: 1;
      margin-bottom: var(--space-3);
      word-wrap: break-word;
    }

    .feature-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: var(--space-3);
      border-top: 1px solid var(--color-gray-200);
      flex-wrap: wrap;
      gap: var(--space-2);
    }

    .meta-badge {
      display: inline-flex;
      align-items: center;
      gap: var(--space-1);
      background: var(--color-gray-100);
      color: var(--color-gray-700);
      font-size: var(--text-xs);
      font-weight: 600;
      padding: 0.375rem var(--space-2);
      border-radius: var(--radius-full);
    }

    .meta-badge::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--color-success);
      flex-shrink: 0;
    }

    .feature-arrow {
      color: var(--color-secondary);
      font-size: var(--text-lg);
      transition: transform var(--transition-base);
    }

    .feature-card:hover .feature-arrow {
      transform: translateX(4px);
    }

    /* ===================================
       STATUS BADGE SYSTEM
       =================================== */
    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.375rem;
      padding: 0.375rem var(--space-2);
      border-radius: var(--radius-full);
      font-size: var(--text-xs);
      font-weight: 600;
      line-height: 1;
    }

    .status-badge::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
      flex-shrink: 0;
    }

    .status-paid {
      background: #d1fae5;
      color: #065f46;
    }

    .status-pending {
      background: #fef3c7;
      color: #92400e;
    }

    .status-overdue {
      background: #fee2e2;
      color: #991b1b;
    }

    /* ===================================
       NOTICE BOX
       =================================== */
    .notice-section {
      width: 100%;
      padding: 0 var(--space-3) var(--space-6);
    }

    .notice-box {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      background: white;
      padding: var(--space-5);
      border-radius: var(--radius-xl);
      border-left: 4px solid var(--color-info);
      box-shadow: var(--shadow-sm);
    }

    .notice-header {
      display: flex;
      align-items: center;
      gap: var(--space-2);
      margin-bottom: var(--space-2);
      flex-wrap: wrap;
    }

    .notice-header i {
      font-size: var(--text-xl);
      color: var(--color-info);
      flex-shrink: 0;
    }

    .notice-header h4 {
      color: var(--color-info);
      font-size: var(--text-lg);
      font-weight: 600;
      word-wrap: break-word;
    }

    .notice-box p {
      color: var(--color-gray-600);
      line-height: 1.7;
      word-wrap: break-word;
    }

    /* ===================================
       RESPONSIVE DESIGN
       =================================== */
    
    /* Tablet */
    @media (max-width: 968px) {
      .trust-items {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
      }
    }

    /* Mobile Large */
    @media (max-width: 768px) {
      .container {
        padding: var(--space-4) 1rem;
      }

      .hero-section {
        padding: var(--space-6) 1rem;
      }

      .hero-content {
        padding: 0 0.5rem;
      }

      .hero-section h1 {
        font-size: clamp(1.5rem, 6vw, var(--text-3xl));
      }

      .hero-subtitle {
        font-size: clamp(0.9rem, 3.5vw, var(--text-base));
      }

      .hero-badge {
        font-size: clamp(0.7rem, 2.5vw, var(--text-sm));
        padding: 0.5rem 1rem;
      }

      .search-wrapper {
        flex-direction: column;
        padding: var(--space-3);
        margin: 0 0.5rem var(--space-3);
        max-width: calc(100% - 1rem);
      }

      .search-input-group {
        padding: 0;
      }

      .btn-search {
        width: 100%;
        padding: var(--space-3);
      }

      .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
      }

      .trust-item {
        padding: 0 0.25rem;
      }

      .trust-item strong {
        font-size: clamp(0.75rem, 2.5vw, var(--text-sm));
      }

      .trust-item span {
        font-size: clamp(0.65rem, 2vw, var(--text-xs));
      }

      .feature-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
      }

      .feature-card {
        padding: var(--space-4);
      }

      .section-title {
        font-size: clamp(1.25rem, 5vw, var(--text-2xl));
      }

      .section-header {
        padding: 0 0.5rem;
      }

      .hero-links {
        flex-direction: column;
        gap: var(--space-2);
        padding: 0 0.5rem;
      }

      .hero-links span[aria-hidden="true"] {
        display: none;
      }

      .notice-box {
        padding: var(--space-4);
      }
    }

    /* Mobile Small */
    @media (max-width: 480px) {
      .container {
        padding: var(--space-3) 0.75rem;
      }

      .hero-section {
        padding: var(--space-5) 0.75rem;
      }

      .hero-content {
        padding: 0;
      }

      .hero-section h1 {
        font-size: clamp(1.25rem, 7vw, var(--text-2xl));
      }

      .hero-subtitle {
        font-size: clamp(0.85rem, 4vw, 1rem);
      }

      .hero-badge {
        font-size: clamp(0.65rem, 3vw, var(--text-xs));
        padding: 0.4rem 0.8rem;
        gap: 0.375rem;
      }

      .hero-badge i {
        font-size: clamp(0.9rem, 3vw, 1rem);
      }

      .search-wrapper {
        padding: var(--space-2);
        margin: 0 0.25rem var(--space-3);
        max-width: calc(100% - 0.5rem);
      }

      .search-input-group input {
        font-size: clamp(0.85rem, 3.5vw, var(--text-sm));
        padding: var(--space-2) 0;
      }

      .btn-search {
        padding: var(--space-2);
        font-size: clamp(0.85rem, 3.5vw, var(--text-sm));
      }

      .search-hint {
        font-size: clamp(0.7rem, 3vw, var(--text-xs));
        padding: 0 0.5rem;
      }

      .trust-bar {
        padding: var(--space-3) 0.75rem;
      }

      .trust-items {
        grid-template-columns: 1fr;
        gap: var(--space-2);
      }

      .trust-item i {
        font-size: clamp(1.25rem, 5vw, var(--text-xl));
      }

      .features-section {
        padding: var(--space-6) 0.75rem;
      }

      .section-header {
        padding: 0;
        margin-bottom: var(--space-4);
      }

      .section-label {
        font-size: clamp(0.7rem, 3vw, var(--text-xs));
      }

      .feature-card {
        padding: var(--space-3);
      }

      .feature-icon-wrapper {
        width: 48px;
        height: 48px;
      }

      .feature-icon-wrapper i {
        font-size: clamp(1.125rem, 4vw, var(--text-xl));
      }

      .feature-card h3 {
        font-size: clamp(1rem, 4vw, var(--text-lg));
      }

      .feature-card p {
        font-size: clamp(0.875rem, 3.5vw, var(--text-base));
      }

      .meta-badge {
        font-size: clamp(0.7rem, 2.5vw, var(--text-xs));
      }

      .notice-section {
        padding: 0 0.75rem var(--space-5);
      }

      .notice-box {
        padding: var(--space-3);
      }

      .notice-header h4 {
        font-size: clamp(0.95rem, 4vw, 1rem);
      }

      .notice-box p {
        font-size: clamp(0.85rem, 3.5vw, var(--text-sm));
      }
    }

    /* Extra Small Mobile */
    @media (max-width: 360px) {
      .container {
        padding: var(--space-3) 0.5rem;
      }

      .hero-section,
      .features-section,
      .trust-bar,
      .notice-section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
      }

      .search-wrapper {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
      }

      .feature-grid {
        gap: var(--space-2);
      }
    }

    /* ===================================
       UTILITY CLASSES
       =================================== */
    .text-center {
      text-align: center;
    }

    .mt-4 {
      margin-top: var(--space-4);
    }

    .mb-4 {
      margin-bottom: var(--space-4);
    }

    /* Touch-friendly targets for mobile */
    @media (max-width: 768px) {
      button,
      a.feature-card {
        min-height: 44px;
        min-width: 44px;
      }
    }