@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    min-height: 100vh;
    line-height: 1.5;
  }

  img,
  picture,
  video,
  canvas {
    display: block;
    max-width: 100%;
  }

  button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  ul,
  ol {
    list-style: none;
  }
}

@layer tokens {
  :root {
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --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);
    --shadow-glow: 0 0 30px rgb(124 58 237 / 0.4);

    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    --gradient-accent: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --gradient-dark: linear-gradient(180deg, #1e1b4b 0%, #0f0a2e 100%);

    --color-background: #0f0a2e;
    --color-surface: #1e1b4b;
    --color-surface-elevated: #2e2868;
    --color-primary: #7c3aed;
    --color-primary-hover: #6d28d9;
    --color-accent: #a855f7;
    --color-accent-bright: #c084fc;
    --color-text-primary: #f3f4f6;
    --color-text-secondary: #d1d5db;
    --color-text-muted: #9ca3af;
    --color-border: #374151;
    --color-error: #ef4444;
    --color-success: #10b981;
  }

  /* Light Theme Overrides (Actually Lighter Dark Theme) */
  .light-theme {
    /* Shifting everything up by one "tone" or level */
    --color-background: #1e1b4b; /* Previously surface color */
    --color-surface: #2e2868;    /* Previously elevated color */
    --color-surface-elevated: #4338ca; /* New lighter indigo */
    
    /* Text remains light as the background is still dark */
    --color-text-primary: #ffffff;
    --color-text-secondary: #e2e8f0;
    --color-text-muted: #cbd5e1;
    
    --color-border: #4b5563;
    
    --gradient-dark: linear-gradient(180deg, #2e2868 0%, #1e1b4b 100%);
    --shadow-glow: 0 0 35px rgb(124 58 237 / 0.5);
  }
}

@layer base {
  body {
    background: var(--gradient-dark);
    color: var(--color-text-primary);
    font-family: system-ui, -apple-system, sans-serif;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Fugaz One", system-ui, sans-serif;
    line-height: 1.2;
    font-weight: 400;
  }

  h1 {
    font-size: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  }

  h2 {
    font-size: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  }

  h3 {
    font-size: clamp(1.5rem, 1.125rem + 1.5vw, 2.25rem);
  }

  h4 {
    font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  }

  p {
    line-height: 1.6;
  }

  .skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-md);
    z-index: 9999;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-sm);
  }

  .skip-link:focus {
    top: var(--space-sm);
  }
}

@layer layout {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-lg);
    /* Added relative positioning for mobile nav dropdown */
    position: relative;
  }

  .brand-area {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    /* Ensure brand stays on top */
    z-index: 10;
  }

  .brand-logo {
    width: auto;
    height: 64px;
    border-radius: var(--radius-sm);
  }

  .brand-name {
    font-family: "Fugaz One", sans-serif;
    font-size: 1.5rem;
    color: var(--color-accent-bright);
  }

  .primary-nav {
    display: none;
  }

  @media (min-width: 768px) {
    .primary-nav {
      display: block;
      flex: 1;
    }
  }

  .nav-list {
    display: flex;
    gap: var(--space-md);
    align-items: center;
  }

  .nav-link {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    color: var(--color-text-secondary);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--color-accent-bright);
    background: rgba(168, 85, 247, 0.1);
  }

  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
    /* Ensure toggle is accessible and on top */
    z-index: 1002;
    position: relative;
  }

  @media (min-width: 768px) {
    .mobile-nav-toggle {
      display: none;
    }
  }

  .burger-line {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: transform 0.3s, opacity 0.3s;
  }

  /* Added burger animation states */
  .mobile-nav-toggle[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-nav-toggle[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile navigation dropdown styles */
  @media (max-width: 767px) {
    .primary-nav {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(15, 10, 46, 0.98);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--color-border);
      padding: var(--space-md);
      display: none;
      z-index: 1001;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .primary-nav[data-visible="true"] {
      display: block;
    }

    .nav-list {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }

    .nav-list li {
      border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    }

    .nav-list li:last-child {
      border-bottom: none;
    }

    .nav-link {
      display: block;
      padding: var(--space-md);
      width: 100%;
      text-align: left;
    }
  }

  .header-actions {
    display: flex;
    gap: var(--space-sm);
    /* Hide on small mobile to prevent overflow */
  }

  @media (max-width: 640px) {
    .header-actions {
      display: none;
    }
  }

  @media (min-width: 641px) and (max-width: 767px) {
    .header-actions .btn-secondary {
      padding: 0.5rem 1rem;
      font-size: 0.875rem;
    }

    .header-actions .btn-primary {
      padding: 0.5rem 1rem;
      font-size: 0.875rem;
    }
  }

  section {
    padding: var(--space-3xl) var(--space-lg);
  }

  @media (max-width: 767px) {
    section {
      padding: var(--space-xl) var(--space-md);
    }
  }

  .hero-container,
  .highlights-container,
  .why-container,
  .steps-container,
  .security-container,
  .trust-container,
  .cta-container,
  .license-container,
  .contact-container,
  .footer-container,
  .impact-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Added footer-column class to ensure proper styling */
  .footer-column {
    min-width: 0;
  }
}

@layer components {
  .btn-primary,
  .btn-secondary,
  .btn-hero,
  .btn-cta,
  .btn-submit {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
  }

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

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgb(124 58 237 / 0.6);
  }

  .btn-secondary {
    background: rgba(168, 85, 247, 0.1);
    color: var(--color-accent-bright);
    border: 1px solid var(--color-accent);
  }

  .btn-secondary:hover {
    background: rgba(168, 85, 247, 0.2);
  }

  .btn-hero,
  .btn-cta {
    background: var(--gradient-accent);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    box-shadow: var(--shadow-glow);
  }

  .btn-hero:hover,
  .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgb(168 85 247 / 0.6);
  }

  .btn-submit {
    background: var(--gradient-primary);
    color: white;
    width: 100%;
  }

  .btn-submit:hover {
    background: var(--gradient-accent);
  }

  .hero-section {
    position: relative;
    overflow: hidden;
  }

  .hero-container {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
  }

  @media (min-width: 768px) {
    .hero-container {
      grid-template-columns: 1fr 1fr;
    }
  }

  .hero-title {
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #f3f4f6 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-lead {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
  }

  .visual-circle {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 0 60px rgb(124 58 237 / 0.5), inset 0 0 40px rgb(168 85 247 / 0.3);
    border: 3px solid rgba(168, 85, 247, 0.3);
  }

  .visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .highlights-section {
    background: rgba(30, 27, 75, 0.5);
  }

  .highlights-container {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .highlight-card {
    display: flex;
    justify-content: center;
  }

  .highlight-circle {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #c084fc, #7c3aed, #4c1d95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .highlight-icon {
    display: none;
  }

  .highlight-title {
    font-family: "Fugaz One", sans-serif;
    font-size: 1.35rem;
    font-weight: bold;
    font-style: italic;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .highlight-text {
    font-size: 0.9rem;
    color: #f3f4f6;
    line-height: 1.4;
    max-width: 90%;
  }

  .section-heading {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-accent-bright);
  }

  .features-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .feature-tile {
    background: rgba(46, 40, 104, 0.5);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.3s;
  }

  .feature-tile:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgb(124 58 237 / 0.3);
  }

  .feature-icon-wrap {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
  }

  .feature-desc {
    color: var(--color-text-secondary);
    line-height: 1.6;
  }

  /* Why Section Specific Styles */
  .why-section .feature-tile {
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
    box-shadow: none;
  }
  
  .why-section .feature-tile:hover {
    transform: translateY(-5px);
    border: none;
    box-shadow: none;
  }

  .why-section .feature-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #c084fc, #7c3aed, #4c1d95);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
  }

  .why-section .feature-title {
    font-weight: bold;
    font-style: italic;
    color: white;
  }

  .why-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }

  .why-section .section-heading {
    text-align: left;
    margin-bottom: 0;
    color: white;
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    max-width: 800px;
  }

  .section-subheading {
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 500px;
  }

  @media (min-width: 768px) {
    .why-header {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-end;
    }
    
    .section-subheading {
      text-align: right;
      margin-bottom: 0.5rem;
    }
  }

  .steps-layout {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
  }

  @media (min-width: 768px) {
    .steps-layout {
      grid-template-columns: 1fr 1fr;
    }
  }

  .step-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  .step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fugaz One", sans-serif;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glow);
  }

  .step-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
  }

  .step-desc {
    color: var(--color-text-secondary);
  }

  /* Security Section Specific Styles */
  .security-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
  }

  .header-decoration {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .arrows-decoration {
    color: white;
    font-size: 0.8rem;
    letter-spacing: 0.5rem;
    text-align: right;
    margin-top: var(--space-sm);
  }

  @media (min-width: 768px) {
    .security-header {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
    }

    .header-decoration {
      align-items: flex-end;
      text-align: right;
    }
    
    .security-section .section-heading {
      text-align: left;
      margin-bottom: 0;
      color: white;
      font-style: italic;
    }
  }

  .security-row {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
  }

  @media (min-width: 768px) {
    .security-row {
      grid-template-columns: 1fr 1fr;
    }
    
    .security-row.reverse .security-content {
      order: 1;
    }
    
    .security-row.reverse .security-visual-large {
      order: 2;
    }
  }

  .security-visual-large {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.4);
    border: 2px solid rgba(168, 85, 247, 0.3);
  }

  .security-list-styled {
    list-style: none;
    padding: 0;
  }

  .security-list-styled li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    color: var(--color-text-secondary);
  }

  .security-list-styled li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #a855f7;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
  }
  
  .bottom-gradient-bar {
    height: 10px;
    width: 300px;
    background: linear-gradient(90deg, white 0%, #7c3aed 50%, transparent 100%);
    border-radius: var(--radius-full);
    margin-top: var(--space-xl);
  }

  /* Trust Section Styles */
  .trust-section .section-heading {
    font-style: italic;
    margin-bottom: var(--space-xl);
  }

  .metrics-bar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    background: linear-gradient(90deg, #d946ef 0%, #7c3aed 50%, #4c1d95 100%);
    border-radius: 2.5rem;
    padding: 3rem 2rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
  }

  @media (min-width: 768px) {
    .metrics-bar {
      flex-direction: row;
      justify-content: space-around;
      align-items: center;
      padding: 4rem 3rem;
    }
  }

  .metric-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    flex: 1;
  }

  .metric-number {
    font-family: "Fugaz One", sans-serif;
    font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
    margin-bottom: var(--space-xs);
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }

  .metric-label {
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  }

  .cta-section {
    background: rgba(30, 27, 75, 0.5);
  }

  .cta-container {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
  }

  @media (min-width: 768px) {
    .cta-container {
      grid-template-columns: 1fr 1fr;
    }
  }

  .cta-heading {
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    margin-bottom: var(--space-md);
  }

  .cta-text {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
  }

  .license-layout {
    display: grid;
    gap: var(--space-xl);
  }

  @media (min-width: 768px) {
    .license-layout {
      grid-template-columns: 1fr 1fr;
    }
  }

  .license-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-accent-bright);
  }

  .license-list {
    list-style: none;
    padding: 0;
  }

  .license-list li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--color-text-secondary);
  }

  .license-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent-bright);
    font-size: 1.5rem;
  }

  .license-desc {
    color: var(--color-text-secondary);
    line-height: 1.6;
  }

  .inline-link {
    color: var(--color-accent-bright);
    text-decoration: underline;
  }

  .inline-link:hover {
    color: var(--color-accent);
  }

  .contact-form {
    max-width: 600px;
    margin: 0 auto;
  }

  .form-group {
    margin-bottom: var(--space-lg);
  }

  .form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--color-text-primary);
  }

  .form-input,
  .form-textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: rgba(46, 40, 104, 0.5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: all 0.3s;
  }

  .form-input:focus,
  .form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
  }

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

  .form-checkbox-group {
    margin-top: var(--space-lg);
  }

  .checkbox-label {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    cursor: pointer;
  }

  .form-checkbox {
    margin-top: 0.25rem;
    flex-shrink: 0;
  }

  .checkbox-text {
    color: var(--color-text-secondary);
    line-height: 1.5;
  }

  .form-error {
    display: block;
    margin-top: var(--space-xs);
    color: var(--color-error);
    font-size: 0.875rem;
  }

  .form-success {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--color-success);
    border-radius: var(--radius-sm);
    color: var(--color-success);
    display: none;
  }

  .form-success.visible {
    display: block;
  }

  .site-footer {
    background: linear-gradient(90deg, #D700FF 0%, #D100FC 20%, #C000F3 40%, #A400E4 60%, #7E00D0 80%, #7600CC 100%);
    padding: var(--space-3xl) var(--space-lg) var(--space-xl);
    color: white;
  }

  .footer-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
  }

  @media (min-width: 768px) {
    .footer-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .footer-heading {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: white;
    font-weight: 700;
  }

  .footer-list li {
    margin-bottom: var(--space-sm);
  }

  .footer-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
  }

  .footer-link:hover {
    color: white;
    text-decoration: underline;
  }

  .footer-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
  }

  .footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-disclaimer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
  }

  .logo-column {
     display: flex;
     flex-direction: column;
     align-items: flex-start;
  }
  
  .footer-logo-wrapper {
     margin-bottom: var(--space-xs);
  }
  
  .brand-name {
     font-family: 'Fugaz One', cursive;
     font-size: 1.2rem;
     line-height: 1.2;
     margin-bottom: var(--space-md);
     color: white;
  }

  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(15, 10, 46, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform 0.3s;
  }

  .cookie-banner:not([aria-hidden="true"]) {
    transform: translateY(0);
  }

  .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    justify-content: space-between;
  }

  .cookie-text {
    flex: 1;
    min-width: 250px;
    color: var(--color-text-secondary);
  }

  .cookie-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
  }

  .btn-cookie {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s;
  }

  .btn-accept-all {
    background: var(--gradient-primary);
    color: white;
  }

  .btn-accept-all:hover {
    background: var(--gradient-accent);
  }

  .btn-necessary {
    background: rgba(168, 85, 247, 0.1);
    color: var(--color-accent-bright);
    border: 1px solid var(--color-accent);
  }

  .btn-necessary:hover {
    background: rgba(168, 85, 247, 0.2);
  }

  .btn-settings {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
  }

  .btn-settings:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-bright);
  }

  .cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
  }

  .cookie-modal:not([aria-hidden="true"]) {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
  }

  .modal-dialog {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: var(--shadow-xl);
  }

  .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
  }

  .modal-title {
    font-size: 1.5rem;
    color: var(--color-accent-bright);
  }

  .modal-close {
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-muted);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
  }

  .modal-close:hover {
    background: rgba(168, 85, 247, 0.1);
    color: var(--color-accent-bright);
  }

  .modal-body {
    padding: var(--space-lg);
  }

  .cookie-option {
    margin-bottom: var(--space-lg);
  }

  .cookie-toggle-label {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
    margin-bottom: var(--space-xs);
  }

  .cookie-toggle {
    position: relative;
    width: 48px;
    height: 24px;
    appearance: none;
  }

  /* User Cabinet Modal Styles */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .modal.active {
    opacity: 1;
    visibility: visible;
  }

  .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 10, 46, 0.85);
    backdrop-filter: blur(5px);
  }

  .modal-container {
    position: relative;
    background: var(--color-surface);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    padding: var(--space-xl);
    z-index: 10000;
    transform: translateY(20px);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal.active .modal-container {
    transform: translateY(0);
  }

  .modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
  }

  .modal-close:hover {
    color: var(--color-accent-bright);
  }

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

  .modal-header h2 {
    font-size: 1.75rem;
    color: var(--color-text-primary);
  }

  .modal-content form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .form-footer {
    text-align: center;
    margin-top: var(--space-md);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
  }

  .form-footer a {
    color: var(--color-accent-bright);
    text-decoration: underline;
  }

  .profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  .profile-avatar {
    position: relative;
    width: 100px;
    height: 100px;
  }

  .profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
  }

  .profile-avatar button {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .profile-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .profile-details p {
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-xs);
  }

  .profile-details strong {
    color: var(--color-text-primary);
  }

  /* Impact Section Specific Styles */
  .impact-section {
    position: relative;
    overflow: hidden;
  }

  .impact-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    text-align: center;
  }

  .impact-heading {
    font-family: "Fugaz One", system-ui, sans-serif;
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    color: white;
    line-height: 1.2;
  }

  .impact-subheading {
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
  }

  .impact-grid {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    background: rgba(46, 40, 104, 0.3);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(168, 85, 247, 0.1);
    transition: all 0.3s ease;
  }

  .impact-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    background: rgba(46, 40, 104, 0.6);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
  }

  .impact-icon-circle {
    width: 100px;
    height: 100px;
    margin-bottom: var(--space-md);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #c084fc, #7c3aed, #4c1d95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
  }

  .impact-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }

  .impact-title {
    font-family: "Fugaz One", sans-serif;
    font-size: 1.25rem;
    color: white;
    margin-bottom: var(--space-sm);
  }

  .impact-text {
    color: var(--color-text-secondary);
    line-height: 1.5;
    font-size: 0.95rem;
  }

  @media (min-width: 768px) {
    .impact-header {
      margin-bottom: var(--space-2xl);
    }
  }

  /* Support Section Styles */
  .support-section {
    position: relative;
    overflow: hidden;
  }

  .support-container {
    display: grid;
    gap: var(--space-xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
  }

  @media (min-width: 768px) {
    .support-container {
      grid-template-columns: 1fr 1fr;
    }
  }

  .support-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .support-heading {
    font-family: "Fugaz One", system-ui, sans-serif;
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    color: white;
    line-height: 1.2;
    margin-bottom: var(--space-md);
  }

  .support-text {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
    max-width: 600px;
  }
  
  .support-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Lottery Info Bar Styles */
  .lottery-info-section {
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 10;
  }

  .lottery-info-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }

  .lottery-info-bar {
    background: linear-gradient(90deg, #d946ef, #9333ea, #4c1d95);
    border-radius: 999px;
    padding: var(--space-lg) var(--space-xl);
    color: white;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    justify-content: center;
    align-items: center;
  }

  .info-row-primary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-xl);
    font-size: 1rem;
    line-height: 1.5;
  }

  .info-row-secondary {
    font-size: 1rem;
    font-weight: 600;
  }

  .info-item strong {
    color: white;
    font-weight: 700;
  }

  .info-item {
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
  }

  @media (max-width: 992px) {
    .lottery-info-bar {
      border-radius: var(--radius-lg);
      padding: var(--space-md);
      flex-direction: column;
    }
    
    .info-row-primary {
      flex-direction: column;
      gap: var(--space-sm);
      white-space: normal;
    }
    
    .info-item {
      white-space: normal;
    }
  }
}
