/* Terms of Service Page Styles
   Built on the cyberpunk theme for legal documentation
-------------------------------------------------------------- */

/* Import cyberpunk variables from main styles */
:root {
  /* Color Palette - Cyberpunk Theme */
  --primary-blue: #1548ff;
  --dark-blue: #4e2bb3;
  --light-blue: #1548ff;
  --brand-blue: #1548ff;
  --neon-blue: #3b78ff;
  --cyberpunk-black: #0a0a14;
  --dark-cyberpunk: #060610;
  --cyber-grid: #1a1a2e;
  --primary-black: #0a0a14;
  --secondary-black: #1a1a2e;
  --light-gray: #2a2a3c;
  --medium-gray: #404058;
  --cyber-text: #e0e0ffcc;
  --white: #ffffff;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --font-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Main Container */
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 1rem 2rem;
    color: var(--cyber-text);
}

/* Header Section */
.terms-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(21, 72, 255, 0.1), rgba(26, 26, 46, 0.6));
    border-radius: 16px;
    border: 1px solid rgba(21, 72, 255, 0.3);
}

.terms-header h1 {
    color: var(--brand-blue);
    text-shadow: 0 0 15px rgba(21, 72, 255, 0.8);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: var(--font-secondary);
}

.terms-header p {
    color: var(--cyber-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Navigation Cards */
.terms-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

.terms-nav-card {
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(21, 72, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.terms-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), var(--neon-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.terms-nav-card:hover {
    border-color: var(--brand-blue);
    background: rgba(26, 26, 46, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 72, 255, 0.3);
}

.terms-nav-card:hover::before {
    transform: scaleX(1);
}

.terms-nav-card h3 {
    color: var(--light-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.terms-nav-card p {
    color: var(--cyber-text);
    font-size: 0.95rem;
    margin: 0;
}

/* Terms Sections */
.terms-section {
    margin-bottom: 2.5rem;
    background: rgba(10, 10, 20, 0.5);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(21, 72, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.terms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), var(--neon-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.terms-section:hover {
    border-color: rgba(21, 72, 255, 0.4);
    background: rgba(10, 10, 20, 0.7);
    box-shadow: 0 5px 15px rgba(21, 72, 255, 0.3);
}

.terms-section:hover::before {
    transform: scaleX(1);
}

.terms-section h2 {
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(21, 72, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-family: var(--font-secondary);
}

.terms-section h3 {
    color: var(--light-blue);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-secondary);
}

.terms-section h4 {
    color: var(--white);
    margin: 1rem 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.terms-section p {
    color: var(--cyber-text);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Lists */
.terms-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.terms-section li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    color: var(--cyber-text);
    font-size: 1.05rem;
}

.terms-section li::before {
    content: '▶';
    color: var(--brand-blue);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 0.1rem;
}

/* Links */
.terms-section a {
    color: var(--light-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.terms-section a:hover {
    color: var(--brand-blue);
    text-shadow: 0 0 10px rgba(21, 72, 255, 0.5);
    border-bottom-color: var(--brand-blue);
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, rgba(21, 72, 255, 0.15), rgba(26, 26, 46, 0.8));
    border: 1px solid rgba(21, 72, 255, 0.4);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
}

.highlight-box h3 {
    color: var(--white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Subscription Features Grid */
.subscription-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-card {
    background: rgba(26, 26, 46, 0.3);
    border: 1px solid rgba(21, 72, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-blue), var(--neon-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    border-color: var(--brand-blue);
    background: rgba(26, 26, 46, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(21, 72, 255, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card i {
    color: var(--brand-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 5px rgba(21, 72, 255, 0.5));
}

.feature-card h4 {
    color: var(--white);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.feature-card p {
    color: var(--cyber-text);
    font-size: 0.85rem;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(21, 72, 255, 0.2), rgba(26, 26, 46, 0.8));
    border: 2px solid rgba(21, 72, 255, 0.4);
    text-align: center;
    padding: 2rem;
}

.contact-section h2 {
    color: var(--white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.contact-section p {
    color: var(--cyber-text);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-section a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-section a:hover {
    color: var(--light-blue);
    text-shadow: 0 0 10px rgba(21, 72, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-container {
        padding: 80px 1rem 2rem;
    }
    
    .terms-header h1 {
        font-size: 2.2rem;
    }
    
    .terms-header {
        padding: 1.5rem;
    }
    
    .terms-nav {
        grid-template-columns: 1fr;
    }
    
    .terms-section {
        padding: 1.5rem;
    }
    
    .terms-section h2 {
        font-size: 1.4rem;
    }
    
    .subscription-features {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .terms-container {
        padding: 70px 0.75rem 2rem;
    }
    
    .terms-header h1 {
        font-size: 1.8rem;
    }
    
    .terms-section {
        padding: 1rem;
    }
    
    .terms-section h2 {
        font-size: 1.2rem;
        flex-direction: column;
        text-align: center;
    }
    
    .terms-section h3 {
        font-size: 1.1rem;
    }
    
    .feature-card {
        padding: 0.75rem;
    }
}

/* Animation Classes */
.terms-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.terms-section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll behavior for smooth navigation */
html {
    scroll-behavior: smooth;
}
