/* Terms & Conditions - Youth-Friendly Styling */
/* ============================================= */

/* CSS Variables matching the site theme */
:root {
    --terms-primary: #6366f1;
    --terms-primary-dark: #4f46e5;
    --terms-secondary: #64748b;
    --terms-accent: #f59e0b;
    --terms-success: #22c55e;
    --terms-danger: #ef4444;
    --terms-warning: #f59e0b;
    --terms-info: #3b82f6;
    
    --terms-bg-primary: #ffffff;
    --terms-bg-secondary: #f8fafc;
    --terms-bg-light: #f1f5f9;
    
    --terms-text-primary: #1e293b;
    --terms-text-secondary: #64748b;
    --terms-text-muted: #94a3b8;
    
    --terms-border: #e2e8f0;
    --terms-border-light: #f1f5f9;
    
    --terms-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --terms-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --terms-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --terms-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    --terms-radius-sm: 0.375rem;
    --terms-radius-md: 0.5rem;
    --terms-radius-lg: 0.75rem;
    --terms-radius-xl: 1rem;
    --terms-radius-2xl: 1.5rem;
    
    --terms-transition: all 0.3s ease;
  }
  
  /* Hero Section */
  .terms-hero {
    background: linear-gradient(135deg, var(--terms-primary) 0%, var(--terms-primary-dark) 100%);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
  }
  
  .terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="20" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
  }
  
  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
  }
  
  .stat-item i {
    color: var(--terms-accent);
  }
  
  /* Sidebar Navigation */
  .sidebar-nav {
    top: 120px;
  }
  
  .nav-card {
    background: var(--terms-bg-primary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--terms-shadow-sm);
    transition: var(--terms-transition);
  }
  
  .nav-card:hover {
    box-shadow: var(--terms-shadow-lg);
    border-color: var(--terms-primary);
  }
  
  .nav-title {
    color: var(--terms-text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--terms-border);
  }
  
  .nav-title i {
    color: var(--terms-primary);
  }
  
  .sidebar-nav .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--terms-text-secondary);
    text-decoration: none;
    border-radius: var(--terms-radius-lg);
    transition: var(--terms-transition);
    font-weight: 500;
    font-size: 0.875rem;
  }
  
  .sidebar-nav .nav-link:hover,
  .sidebar-nav .nav-link.active {
    color: var(--terms-primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(0.5rem);
  }
  
  .sidebar-nav .nav-link.active {
    border-left: 3px solid var(--terms-primary);
  }
  
  .sidebar-nav .nav-link i {
    color: var(--terms-primary);
    min-width: 18px;
    font-size: 1rem;
  }
  
  /* Help Card */
  .help-card {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--terms-bg-secondary) 0%, var(--terms-bg-light) 100%);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    text-align: center;
  }
  
  .help-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--terms-primary) 0%, var(--terms-primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
    box-shadow: var(--terms-shadow-sm);
  }
  
  .help-card h6 {
    color: var(--terms-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .help-card p {
    color: var(--terms-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  
  /* Notice Cards */
  .notice-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--terms-radius-xl);
    margin: 1.5rem 0;
    border: 1px solid;
    position: relative;
    overflow: hidden;
  }
  
  .notice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
  }
  
  .notice-icon {
    font-size: 1.25rem;
    min-width: 24px;
    margin-top: 2px;
    flex-shrink: 0;
  }
  
  .notice-content h5 {
    margin-bottom: 0.5rem;
    font-weight: 700;
  }
  
  .notice-content p {
    margin-bottom: 0.5rem;
  }
  
  .notice-content p:last-child {
    margin-bottom: 0;
  }
  
  .notice-card.important {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--terms-primary);
    color: var(--terms-primary);
  }
  
  .notice-card.info {
    background: rgba(59, 130, 246, 0.05);
    border-color: var(--terms-info);
    color: var(--terms-info);
  }
  
  .notice-card.warning {
    background: rgba(245, 158, 11, 0.05);
    border-color: var(--terms-warning);
    color: var(--terms-warning);
  }
  
  .notice-card.danger {
    background: rgba(239, 68, 68, 0.05);
    border-color: var(--terms-danger);
    color: var(--terms-danger);
  }
  
  /* Terms Sections */
  .terms-section {
    background: var(--terms-bg-primary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--terms-transition);
    position: relative;
    overflow: hidden;
  }
  
  .terms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--terms-primary);
    opacity: 0;
    transition: opacity var(--terms-transition);
  }
  
  .terms-section:hover::before {
    opacity: 1;
  }
  
  .terms-section:hover {
    transform: translateY(-4px);
    box-shadow: var(--terms-shadow-xl);
    border-color: rgba(99, 102, 241, 0.2);
  }
  
  .section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--terms-border);
  }
  
  .section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--terms-primary), var(--terms-accent));
    color: white;
    border-radius: var(--terms-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--terms-shadow-sm);
  }
  
  .section-header h2 {
    color: var(--terms-text-primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
  }
  
  .section-header p {
    color: var(--terms-text-secondary);
    margin: 0;
    font-size: 0.875rem;
  }
  
  /* TL;DR Grid */
  .tldr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .tldr-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--terms-bg-secondary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-lg);
    transition: var(--terms-transition);
  }
  
  .tldr-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--terms-shadow-md);
    border-color: var(--terms-primary);
  }
  
  .tldr-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  
  .tldr-item strong {
    display: block;
    color: var(--terms-text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .tldr-item span {
    color: var(--terms-text-secondary);
    font-size: 0.875rem;
  }
  
  /* Content Blocks */
  .content-block {
    margin: 1.5rem 0;
  }
  
  .content-block h4 {
    color: var(--terms-text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .content-block p {
    color: var(--terms-text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
  }
  
  .content-block p:last-child {
    margin-bottom: 0;
  }
  
  /* Lists */
  .check-list,
  .x-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
  }
  
  .check-list li,
  .x-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--terms-text-secondary);
  }
  
  .check-list li:last-child,
  .x-list li:last-child {
    margin-bottom: 0;
  }
  
  .check-list i,
  .x-list i {
    margin-top: 0.125rem;
    flex-shrink: 0;
  }
  
  /* Do's and Don'ts Cards */
  .dos-card,
  .donts-card {
    background: var(--terms-bg-primary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    overflow: hidden;
    height: 100%;
  }
  
  .dos-card .card-header {
    background: rgba(34, 197, 94, 0.1);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    padding: 1.5rem;
  }
  
  .donts-card .card-header {
    background: rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
    padding: 1.5rem;
  }
  
  .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .card-header i {
    font-size: 1.5rem;
  }
  
  .card-header h4 {
    margin: 0;
    font-weight: 700;
    color: var(--terms-text-primary);
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .do-item,
  .dont-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--terms-border-light);
  }
  
  .do-item:last-child,
  .dont-item:last-child {
    border-bottom: none;
  }
  
  .do-item i,
  .dont-item i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
    color: var(--terms-text-secondary);
  }
  
  .do-item strong,
  .dont-item strong {
    display: block;
    color: var(--terms-text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .do-item span,
  .dont-item span {
    color: var(--terms-text-secondary);
    font-size: 0.875rem;
  }
  
  /* Process Flow */
  .process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
  }
  
  .flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 160px;
  }
  
  .step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--terms-primary), var(--terms-accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: var(--terms-shadow-sm);
  }
  
  .step-content h5 {
    color: var(--terms-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
  }
  
  .step-content p {
    color: var(--terms-text-secondary);
    font-size: 0.875rem;
    margin: 0;
  }
  
  .flow-arrow {
    color: var(--terms-text-muted);
    font-size: 1.5rem;
    margin: 0 0.5rem;
  }
  
  /* Payment Grid */
  .payment-grid {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .payment-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--terms-bg-secondary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-lg);
    transition: var(--terms-transition);
  }
  
  .payment-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--terms-shadow-md);
    border-color: var(--terms-primary);
  }
  
  .payment-method i {
    font-size: 1.5rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
  }
  
  .payment-method strong {
    display: block;
    color: var(--terms-text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .payment-method span {
    display: block;
    color: var(--terms-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
  }
  
  .payment-method small {
    color: var(--terms-text-muted);
    font-size: 0.75rem;
  }
  
  /* Refund Scenarios */
  .refund-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .scenario-card {
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    overflow: hidden;
    background: var(--terms-bg-primary);
  }
  
  .refund-yes {
    border-left: 4px solid var(--terms-success);
  }
  
  .refund-no {
    border-left: 4px solid var(--terms-danger);
  }
  
  .scenario-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--terms-border);
  }
  
  .refund-yes .scenario-header {
    background: rgba(34, 197, 94, 0.05);
  }
  
  .refund-no .scenario-header {
    background: rgba(239, 68, 68, 0.05);
  }
  
  .scenario-header i {
    font-size: 1.5rem;
  }
  
  .scenario-header h4 {
    margin: 0;
    font-weight: 700;
    color: var(--terms-text-primary);
  }
  
  .scenario-card ul {
    padding: 1.5rem;
    margin: 0;
    list-style: none;
  }
  
  .scenario-card li {
    color: var(--terms-text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
  }
  
  .scenario-card li:last-child {
    margin-bottom: 0;
  }
  
  .scenario-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--terms-text-muted);
  }
  
  /* Responsibility Grid */
  .responsibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .responsibility-item {
    padding: 1.5rem;
    background: var(--terms-bg-secondary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    text-align: center;
    transition: var(--terms-transition);
  }
  
  .responsibility-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--terms-shadow-lg);
    border-color: var(--terms-primary);
  }
  
  .responsibility-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .responsibility-item h5 {
    color: var(--terms-text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .responsibility-item p {
    color: var(--terms-text-secondary);
    margin: 0;
    line-height: 1.6;
  }
  
  /* Liability Limit */
  .liability-limit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--terms-bg-secondary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    margin: 1.5rem 0;
  }
  
  .limit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--terms-warning), #f97316);
    color: white;
    border-radius: var(--terms-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  
  .limit-content h5 {
    color: var(--terms-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .limit-content p {
    color: var(--terms-text-secondary);
    margin: 0;
    line-height: 1.6;
  }
  
  /* Notification Flow */
  .notification-flow {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .notification-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--terms-bg-secondary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-lg);
  }
  
  .notification-step i {
    font-size: 1.25rem;
    color: var(--terms-primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
  }
  
  .notification-step strong {
    display: block;
    color: var(--terms-text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .notification-step span {
    color: var(--terms-text-secondary);
    font-size: 0.875rem;
  }
  
  /* Contact Grid */
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .contact-method {
    padding: 1.5rem;
    background: var(--terms-bg-primary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    text-align: center;
    transition: var(--terms-transition);
  }
  
  .contact-method:hover {
    transform: translateY(-4px);
    box-shadow: var(--terms-shadow-lg);
    border-color: var(--terms-primary);
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--terms-primary), var(--terms-accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: var(--terms-shadow-sm);
  }
  
  .contact-method h5 {
    color: var(--terms-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .contact-method p {
    color: var(--terms-text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
  }
  
  /* Support Promise */
  .support-promise {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(59, 130, 246, 0.05));
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    margin: 2rem 0;
  }
  
  .promise-icon {
    font-size: 2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
  }
  
  .promise-content h5 {
    color: var(--terms-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .promise-content p {
    color: var(--terms-text-secondary);
    margin: 0;
    line-height: 1.6;
  }
  
  /* Feature Highlights */
  .feature-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(245, 158, 11, 0.05));
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    margin: 2rem 0;
  }
  
  .highlight-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--terms-primary), var(--terms-accent));
    color: white;
    border-radius: var(--terms-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--terms-shadow-sm);
  }
  
  .highlight-content h5 {
    color: var(--terms-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .highlight-content p {
    color: var(--terms-text-secondary);
    margin: 0;
    line-height: 1.6;
  }
  
  /* Tip Cards */
  .tip-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid var(--terms-warning);
    border-left: 4px solid var(--terms-warning);
    border-radius: var(--terms-radius-xl);
    margin: 1.5rem 0;
  }
  
  .tip-icon {
    color: var(--terms-warning);
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
  }
  
  .tip-content h6 {
    color: var(--terms-warning);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .tip-content p {
    color: var(--terms-text-secondary);
    margin: 0;
    line-height: 1.6;
  }
  
  /* FAQ Section */
  .faq-section {
    padding: 4rem 0;
    background: var(--terms-bg-light);
  }
  
  .faq-title {
    color: var(--terms-text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2.5rem;
  }
  
  .faq-subtitle {
    color: var(--terms-text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
  }
  
  .accordion-item {
    background: var(--terms-bg-primary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl) !important;
    margin-bottom: 1rem;
    overflow: hidden;
  }
  
  .accordion-button {
    background: transparent;
    color: var(--terms-text-primary);
    border: none;
    padding: 1.5rem 2rem;
    font-weight: 600;
    border-radius: var(--terms-radius-xl) !important;
    box-shadow: none;
    transition: var(--terms-transition);
  }
  
  .accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.05);
    color: var(--terms-text-primary);
    box-shadow: none;
  }
  
  .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236366f1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }
  
  .accordion-button:hover {
    background: rgba(99, 102, 241, 0.05);
  }
  
  .accordion-body {
    padding: 0 2rem 1.5rem;
    color: var(--terms-text-secondary);
    line-height: 1.6;
  }
  
  .accordion-button i {
    color: var(--terms-primary);
  }
  
  /* Final CTA */
  .final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--terms-primary) 0%, var(--terms-primary-dark) 100%);
    color: white;
  }
  
  .cta-content {
    text-align: center;
  }
  
  .cta-icon {
    width: 80px;
    height: 80px;
    background: var(--terms-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .cta-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--terms-radius-xl);
  }
  
  /* Last Updated */
  .last-updated {
    padding: 2rem 0;
  }
  
  .updated-card {
    padding: 1rem 2rem;
    background: var(--terms-bg-secondary);
    border: 1px solid var(--terms-border);
    border-radius: var(--terms-radius-xl);
    color: var(--terms-text-secondary);
    font-size: 0.875rem;
  }
  
  /* Responsive Design */
  @media (max-width: 991.98px) {
    .sidebar-nav {
      position: static;
      margin-bottom: 2rem;
    }
    
    .terms-hero {
      padding: 4rem 0 3rem;
    }
    
    .hero-title {
      font-size: 2.5rem;
    }
    
    .section-header {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
    }
    
    .section-header h2 {
      font-size: 1.5rem;
    }
    
    .terms-section {
      padding: 1.5rem;
    }
    
    .process-flow {
      flex-direction: column;
    }
    
    .flow-arrow {
      transform: rotate(90deg);
    }
    
    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }
    
    .cta-buttons .btn {
      width: 100%;
      max-width: 300px;
    }
  }
  
  @media (max-width: 767.98px) {
    .terms-hero {
      padding: 3rem 0 2rem;
    }
    
    .hero-title {
      font-size: 2rem;
    }
    
    .hero-subtitle {
      font-size: 1rem;
    }
    
    .hero-stats {
      flex-direction: column;
      gap: 1rem;
    }
    
    .tldr-grid,
    .responsibility-grid,
    .contact-grid {
      grid-template-columns: 1fr;
    }
    
    .refund-scenarios {
      grid-template-columns: 1fr;
    }
    
    .accordion-button {
      padding: 1rem 1.5rem;
      font-size: 0.9rem;
    }
    
    .accordion-body {
      padding: 0 1.5rem 1rem;
    }
    
    .cta-content h2 {
      font-size: 2rem;
    }
    
    .cta-content p {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 575.98px) {
    .terms-section {
      padding: 1rem;
    }
    
    .section-header {
      gap: 0.75rem;
    }
    
    .section-icon {
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }
    
    .hero-stats {
      font-size: 0.8rem;
    }
    
    .notice-card,
    .feature-highlight,
    .support-promise,
    .liability-limit {
      flex-direction: column;
      text-align: center;
    }
    
    .process-flow .flow-step {
      min-width: auto;
    }
  }
  
  /* Print Styles */
  @media print {
    .sidebar-nav,
    .final-cta,
    .faq-section {
      display: none;
    }
    
    .terms-section {
      break-inside: avoid;
      border: 1px solid #000;
      background: white;
      color: #000;
      margin-bottom: 1rem;
    }
    
    .section-header h2 {
      color: #000;
    }
    
    .terms-section p,
    .terms-section li {
      color: #000;
    }
  }
  
  /* Accessibility */
  .terms-section:focus-within,
  .sidebar-nav .nav-link:focus {
    outline: 2px solid var(--terms-primary);
    outline-offset: 2px;
  }
  
  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    .terms-section,
    .tldr-item,
    .responsibility-item,
    .contact-method,
    .sidebar-nav .nav-link {
      transition: none;
    }
    
    .terms-section:hover,
    .tldr-item:hover,
    .responsibility-item:hover,
    .contact-method:hover {
      transform: none;
    }
  }