:root {
    --primary: #e53e3e;
    --primary-dark: #c53030;
    --accent: #ed8936;
    --text: #2d3748;
    --text-light: #718096;
    --background: #fff5f5;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .header {
    background: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-top {
    background: var(--primary-dark);
    padding: 8px 0;
    color: white;
    font-size: 0.9rem;
  }

  .header-top .container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
  }

  .header-top a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
  }

  .header-top a:hover {
    opacity: 0.8;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
  }

  .logo {
    color: var(--primary);
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .terms-hero {
    background: linear-gradient(135deg, #fff5f5 0%, #fffaf0 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .terms-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1600&h=900&fit=crop") center/cover;
    opacity: 0.1;
    z-index: 0;
  }

  .terms-hero-content {
    position: relative;
    z-index: 1;
  }

  .terms-hero h1 {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .terms-hero p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
  }

  .terms-nav {
    background: white;
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .terms-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .terms-nav a {
    color: var(--text);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
    white-space: nowrap;
  }

  .terms-nav a:hover,
  .terms-nav a.active {
    background: var(--primary);
    color: white;
  }

  .terms-section {
    padding: 60px 0;
    scroll-margin-top: 140px;
  }

  .terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .terms-card {
    background: var(--background);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s;
    cursor: pointer;
  }

  .terms-card:hover {
    transform: translateY(-5px);
  }

  .terms-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .terms-card h3::before {
    content: "📋";
  }

  .terms-illustration {
    width: 100%;
    max-width: 400px;
    margin: 40px auto;
    display: block;
    border-radius: 15px;
  }

  .footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 0;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 12px;
  }
  
  .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .footer-links a:hover {
    color: white;
  }
  
  .copyright {
    text-align: center;
    padding: 20px;
    background: #151a23;
    color: var(--text-light);
    margin-top: 40px;
  }

  @media (max-width: 768px) {
    .terms-hero h1 {
      font-size: 2rem;
    }

    .terms-nav {
      top: 60px;
    }

    .footer-grid {
      grid-template-columns: 1fr;
    }
  }