/* Privacy Page - Complete Self-Contained CSS (Updated to Match Home Page) */

/* =================================================================
   BACKGROUND ELEMENTS
   ================================================================= */
   .background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-behind);
    pointer-events: none;
  }
  
  .background-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/bg_light_blur.gif') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
  }
  
  .background-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
  }
  
  .background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: var(--bg-grid-size) var(--bg-grid-size);
    opacity: 0.5;
  }
  
  @keyframes backgroundFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
  }
  
  /* =================================================================
     NAVBAR COMPONENT (Matching Home Page)
     ================================================================= */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-floating);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-primary);
    transition: all var(--duration-normal) var(--ease-out);
  }
  
  .navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
  }
  
  .navbar-brand {
    display: flex;
    align-items: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
  }
  
  .navbar-brand:hover {
    transform: scale(1.05);
  }
  
  .brand-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    position: relative;
    overflow: hidden;
  }
  
  .navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--duration-normal) var(--ease-out);
  }
  
  .navbar-toggle:hover {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
  }
  
  .hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
    transform-origin: center;
  }
  
  .hamburger-line:not(:last-child) {
    margin-bottom: 4px;
  }
  
  .navbar-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  
  .navbar-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }
  
  .navbar-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  
  .navbar-menu {
    display: flex;
    align-items: center;
  }
  
  .navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .nav-section-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: var(--font-weight-semibold);
  }
  
  /* Current page section styling */
  .nav-section--current .nav-section-label {
    color: #e67e22;
  }
  
  .nav-section--current .nav-link--current {
    color: #e67e22;
    background: rgba(230, 126, 34, 0.1);
  }
  
  .nav-section--current .nav-link--current:hover {
    color: #d35400;
    background: rgba(230, 126, 34, 0.2);
  }
  
  /* Other pages section styling */
  .nav-section--other .nav-section-label {
    color: #3498db;
  }
  
  .nav-section--other .nav-link--other {
    color: #3498db;
  }
  
  .nav-section--other .nav-link--other:hover {
    color: #2980b9;
    background: rgba(52, 152, 219, 0.1);
  }
  
  .nav-section-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-link {
    position: relative;
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--duration-normal) var(--ease-out);
    overflow: hidden;
  }
  
  .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: all var(--duration-normal) var(--ease-out);
    transform: translateX(-50%);
  }
  
  .nav-link:hover::before {
    width: 80%;
  }
  
  .nav-link:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  
  /* Mobile navbar styles */
  @media (max-width: 1023px) {
    .navbar-toggle {
      display: flex;
    }
    
    .navbar-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.95);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--color-border-primary);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all var(--duration-normal) var(--ease-out);
    }
    
    .navbar-menu.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    
    .navbar-nav {
      flex-direction: column;
      padding: var(--space-xl);
      gap: var(--space-xl);
      width: 100%;
    }
    
    .nav-section {
      width: 100%;
      align-items: stretch;
      gap: var(--space-md);
    }
    
    .nav-section-label {
      text-align: center;
      padding-bottom: var(--space-sm);
      border-bottom: 1px solid var(--color-border-secondary);
    }
    
    .nav-section-links {
      flex-direction: column;
      gap: var(--space-sm);
    }
    
    .nav-link {
      width: 100%;
      padding: var(--space-lg);
      text-align: center;
      border-radius: var(--radius-lg);
      font-size: var(--font-size-lg);
    }
    
    .nav-link::before {
      display: none;
    }
    
    .nav-link:hover {
      transform: translateX(5px);
    }
  }
  
  /* =================================================================
     BUTTON COMPONENT (From Home Page)
     ================================================================= */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    user-select: none;
    white-space: nowrap;
  }
  
  .btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  
  .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }
  
  .btn--primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
  }
  
  .btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s var(--ease-out);
  }
  
  .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-lg);
  }
  
  .btn--primary:hover::before {
    left: 100%;
  }
  
  .btn--primary:active {
    transform: translateY(0);
  }
  
  .btn--outline {
    background: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-border-primary);
  }
  
  .btn--outline:hover {
    background: var(--color-bg-card);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  .btn--outline:active {
    transform: translateY(0);
  }
  
  /* =================================================================
     LAYOUT COMPONENTS
     ================================================================= */
  .container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
  }
  
  main {
    position: relative;
    z-index: var(--z-base);
  }
  
  /* =================================================================
     SECTION COMPONENTS
     ================================================================= */
  .section {
    padding: var(--space-6xl) 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-slow) var(--ease-out);
  }
  
  .section.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  
  .section:first-of-type {
    padding-top: 0;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: var(--space-5xl);
  }
  
  .section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-lg);
    line-height: var(--line-height-tight);
  }
  
  .section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
  }
  
  /* =================================================================
     PRIVACY PAGE SPECIFIC STYLES
     ================================================================= */
  .privacy-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: var(--z-raised);
  }
  
  .privacy-text {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl);
    backdrop-filter: blur(10px);
    margin-bottom: var(--space-3xl);
    transition: all var(--duration-normal) var(--ease-out);
  }
  
  .privacy-text:hover {
    border-color: var(--color-border-accent);
    box-shadow: var(--shadow-md);
  }
  
  .privacy-section {
    margin-bottom: var(--space-4xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease-out);
  }
  
  .privacy-section.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  
  .privacy-section:last-child {
    margin-bottom: 0;
  }
  
  .privacy-section h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-lg);
    position: relative;
  }
  
  .privacy-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0.8;
  }
  
  @media (max-width: 600px) {
    .privacy-section h2::after {
      height: 2px;
      opacity: 1;
    }
  }
  
  .privacy-section h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-accent);
    margin: var(--space-xl) 0 var(--space-md);
  }
  
  .privacy-section p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-lg);
  }
  
  .privacy-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-lg);
  }
  
  .privacy-section li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    transition: all var(--duration-normal) var(--ease-out);
  }
  
  .privacy-section li:hover {
    color: var(--color-text-primary);
    transform: translateX(5px);
  }
  
  .privacy-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: var(--font-size-lg);
    transition: all var(--duration-normal) var(--ease-out);
  }
  
  .privacy-section li:hover::before {
    color: var(--color-text-accent);
    transform: scale(1.2);
  }
  
  .contact-info {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-lg);
    backdrop-filter: blur(10px);
    transition: all var(--duration-normal) var(--ease-out);
  }
  
  .contact-info:hover {
    transform: translateY(-3px);
    border-color: var(--color-border-accent);
    box-shadow: var(--shadow-md);
  }
  
  .contact-info p {
    margin-bottom: var(--space-sm);
  }
  
  .contact-info a {
    color: var(--color-text-accent);
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
  }
  
  .contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--duration-normal) var(--ease-out);
  }
  
  .contact-info a:hover {
    color: var(--color-primary);
  }
  
  .contact-info a:hover::after {
    width: 100%;
  }
  
  .privacy-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-3xl);
  }
  
  /* =================================================================
     FOOTER COMPONENT (Matching Home Page)
     ================================================================= */
  .footer {
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-border-primary);
    padding: var(--space-3xl) 0;
    margin-top: var(--space-6xl);
    position: relative;
    z-index: var(--z-raised);
  }
  
  .footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
  }
  
  .footer-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .footer-text p {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
    line-height: var(--line-height-normal);
  }
  
  .footer-links {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
  }
  
  .footer-link {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color var(--duration-normal) var(--ease-out);
    white-space: nowrap;
  }
  
  .footer-link:hover {
    color: var(--color-text-accent);
  }
  
  /* =================================================================
     UTILITY CLASSES
     ================================================================= */
  .text-center { text-align: center; }
  .text-left { text-align: left; }
  .text-right { text-align: right; }
  
  .text-muted { color: var(--color-text-muted); }
  
  .skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: var(--radius-md);
  }
  
  .skip-link:focus {
    top: 6px;
  }
  
  /* =================================================================
     ANIMATIONS
     ================================================================= */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* =================================================================
     RESPONSIVE DESIGN
     ================================================================= */
  
  /* Prevent zoom and horizontal scroll on mobile */
  @media (max-width: 600px) {
    html {
      -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }
    
    body {
      overflow-x: hidden;
      min-width: 320px;
    }
    
    * {
      max-width: 100%;
      box-sizing: border-box;
    }
    
    /* Increase card opacity and improve text readability on mobile only */
    .privacy-text,
    .contact-info {
      background: rgba(255, 255, 255, 0.40);
    }
    
    /* Make text more readable on mobile */
    .privacy-section p,
    .privacy-section li {
      color: var(--color-text-primary);
    }
    
    .section-subtitle {
      color: var(--color-text-secondary);
    }
    
    .privacy-text {
      padding: var(--space-2xl);
    }
    
    .privacy-actions {
      flex-direction: column;
      align-items: center;
    }
    
    .section-title {
      font-size: var(--font-size-3xl);
    }
    
    .section-subtitle {
      font-size: var(--font-size-base);
    }
    
    .footer {
      padding: var(--space-2xl) 0 var(--space-xl);
      margin-top: var(--space-4xl);
    }
    
    .footer-content {
      flex-direction: column;
      gap: var(--space-lg);
      text-align: center;
      padding: 0 var(--space-lg);
    }
    
    .footer-links {
      gap: var(--space-lg);
      justify-content: center;
    }
    
    .container {
      padding: 0 var(--space-lg);
      width: 100%;
      max-width: 100%;
    }
    
    .section {
      padding: var(--space-3xl) 0;
    }
  }
  
  @media (min-width: 640px) {
    .section-title {
      font-size: var(--font-size-5xl);
    }
    
    .section-subtitle {
      font-size: var(--font-size-xl);
    }
  }
  
  @media (min-width: 768px) {
    .footer-content {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      text-align: left;
    }
    
    .footer-links {
      justify-content: flex-end;
    }
  }
  
  @media (min-width: 1024px) {
    .section-title {
      font-size: var(--font-size-6xl);
    }
  }