/* ================================
   ETHARIQ - HYBRID DESIGN
   ================================ */

/* ================================
   CSS VARIABLES
   ================================ */
:root {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: #e5e5e5;
    --border-hover: #d4d4d4;
    
    /* Accent */
    --accent-color: #000000;
    --accent-hover: #1a1a1a;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Layout */
    --max-width: 1200px;
    --narrow-width: 800px;
    
    /* Transitions */
    --transition: 0.3s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-tertiary: #737373;
    --border-color: #262626;
    --border-hover: #404040;
    --accent-color: #ffffff;
    --accent-hover: #e5e5e5;
}

/* ================================
   RESET & BASE
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
   NAVIGATION
   ================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Logo looks good on both light and dark backgrounds - no filter needed */

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.btn-nav {
    padding: 8px 16px;
    background: var(--accent-color);
    color: var(--bg-primary) !important;
    border-radius: 6px;
    font-size: 14px;
    transition: all var(--transition);
}

.btn-nav:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--border-hover);
}

.theme-toggle svg {
    color: var(--text-primary);
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

/* ================================
   HERO WITH BACKGROUND IMAGE
   ================================ */
.hero-image-bg {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 64px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.hero-content-image {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: var(--space-3xl) 0;
}

.hero-title-large {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    color: #ffffff;
}

.hero-subtitle-large {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: var(--space-xl);
    font-weight: var(--font-weight-normal);
}

/* ================================
   BUTTONS
   ================================ */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent-color);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    border-radius: 6px;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* White button for dark hero */
.hero-image-bg .btn-primary {
    background: #ffffff;
    color: #000000;
}

.hero-image-bg .btn-primary:hover {
    background: #f5f5f5;
}

/* Hero CTA Buttons Container */
.hero-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Distinct styling for Get in Touch button in hero */
.hero-image-bg .btn-contact {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-image-bg .btn-contact:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta-buttons .btn-large {
        width: 100%;
        text-align: center;
    }
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--border-hover);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.link-button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    font: inherit;
    transition: color var(--transition);
}

.link-button:hover {
    color: var(--text-primary);
}

/* ================================
   SECTIONS
   ================================ */
.section {
    padding: var(--space-4xl) 0;
}

.section-alt {
    background: var(--bg-secondary);
}

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

.container-narrow {
    max-width: var(--narrow-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.section-title-large {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.section-header-center {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

/* ================================
   PLATFORM
   ================================ */
.platform-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* ================================
   IMAGE SPLIT SECTION 
   ================================ */
.section-split {
    padding: 0;
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.split-image {
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.split-content:hover .split-image {
    transform: scale(1.05);
}

.split-text {
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-secondary);
}

.split-text h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.split-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.split-text p:last-child {
    margin-bottom: 0;
}

/* ================================
   HOW WE HELP
   ================================ */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.help-card {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-color);
}

.help-card h4 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.help-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================================
   ABOUT
   ================================ */
.about-content-detailed {
    margin-top: var(--space-xl);
}

.about-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.about-text-large {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    font-weight: var(--font-weight-medium);
}

.about-text-normal {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.locations-minimal {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.location-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.location-item strong {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.location-item span {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ================================
   CTA
   ================================ */
.cta-section {
    padding: var(--space-4xl) 0;
    text-align: center;
}

.cta-content-minimal {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title-large {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* ================================
   FOOTER
   ================================ */
.footer-minimal {
    padding: var(--space-2xl) 0 var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.footer-content-minimal {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.footer-left {
    max-width: 300px;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: var(--space-sm);
}

/* Smaller footer logo (favicon) */
.footer-logo-small {
    height: 20px;
    width: auto;
    margin-bottom: var(--space-sm);
}

/* Bottom-left corner logo */
.footer-logo-corner {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    opacity: 0.4;
    transition: opacity var(--transition);
}

.footer-logo-corner:hover {
    opacity: 0.7;
}

.footer-logo-corner img {
    height: 16px;
    width: auto;
    display: block;
}

.footer-minimal {
    position: relative;
}

/* Green logos look good on both light and dark backgrounds - no filter needed */

.footer-description {
    font-size: 14px;
    color: var(--text-tertiary);
}

.footer-locations {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: var(--space-xs);
    opacity: 0.8;
}

.footer-links-group {
    display: flex;
    gap: var(--space-2xl);
}

.footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-sm);
    font-weight: var(--font-weight-semibold);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--space-xs);
}

.footer-col a,
.footer-col button {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition);
}

.footer-col a:hover,
.footer-col button:hover {
    color: var(--text-primary);
}

.footer-bottom-minimal {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-bottom-minimal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom-minimal a:hover {
    color: var(--text-primary);
}

/* ================================
   COOKIE BANNER
   ================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-lg);
    z-index: 2000;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.cookie-banner.active {
    transform: translateY(0);
}

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

.cookie-text h3 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

/* ================================
   COOKIE MODAL
   ================================ */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    padding: var(--space-lg);
}

.cookie-modal.active {
    opacity: 1;
    pointer-events: all;
}

.cookie-modal-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.cookie-modal-header h3 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

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

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

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.cookie-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.cookie-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    border-radius: 4px;
    font-weight: var(--font-weight-semibold);
}

.cookie-option-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-left: 26px;
}

.cookie-modal-footer {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.cookie-modal-footer button {
    flex: 1;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-image-bg {
        min-height: 70vh;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .split-content {
        grid-template-columns: 1fr;
    }
    
    .split-image {
        min-height: 400px;
    }
    
    .split-text {
        padding: var(--space-xl);
    }
    
    .locations-minimal {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .footer-content-minimal {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .footer-links-group {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .footer-bottom-minimal {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-actions {
        width: 100%;
    }
    
    .cookie-actions button {
        flex: 1;
    }
}

/* ================================
   ACCESSIBILITY
   ================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================
   LEGAL PAGES (PRIVACY, TERMS)
   Modular Design Elements
   ================================ */

/* Legal Hero */
.legal-hero {
    padding: calc(64px + var(--space-3xl)) 0 var(--space-2xl);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.legal-header {
    text-align: center;
}

.legal-meta {
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.legal-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.legal-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Table of Contents */
.legal-toc-section {
    padding: var(--space-xl) 0;
}

.legal-toc {
    padding: var(--space-lg);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.legal-toc h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
    font-weight: var(--font-weight-semibold);
}

.legal-toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
}

.legal-toc li {
    counter-increment: toc-counter;
    margin-bottom: var(--space-sm);
}

.legal-toc li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    padding: var(--space-xs) 0;
    transition: color var(--transition);
}

.legal-toc li a::before {
    content: counter(toc-counter) ".";
    margin-right: var(--space-sm);
    color: var(--text-tertiary);
    font-weight: var(--font-weight-semibold);
}

.legal-toc li a:hover {
    color: var(--accent-color);
}

/* Legal Content */
.legal-content-section {
    padding: var(--space-2xl) 0 var(--space-4xl);
}

.legal-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-section {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-section p {
    margin-bottom: var(--space-md);
}

.legal-section ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.legal-section li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-xs);
}

.legal-section li::marker {
    color: var(--text-tertiary);
}

/* Legal Callout */
.legal-callout {
    background: var(--bg-secondary);
    border-left: 3px solid var(--accent-color);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    border-radius: 4px;
}

.legal-callout strong {
    display: block;
    font-size: 1.0625rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.legal-callout p {
    margin: 0;
    font-size: 15px;
}

.legal-callout a {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* Legal Contact */
.legal-contact {
    background: var(--bg-tertiary);
    padding: var(--space-lg);
    border-radius: 8px;
    margin-top: var(--space-md);
}

.legal-contact p {
    margin-bottom: var(--space-xs);
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

.legal-contact a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: border-color var(--transition);
}

.legal-contact a:hover {
    border-color: var(--accent-color);
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-hero {
        padding: calc(64px + var(--space-2xl)) 0 var(--space-xl);
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-intro {
        font-size: 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
}

/* ================================
   SCROLL TO TOP BUTTON
   ================================ */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* LinkedIn Icon Link */
.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-top: var(--space-xs);
    transition: color var(--transition);
}

.linkedin-link:hover {
    color: var(--text-primary);
}

.linkedin-link svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 24px;
        right: 24px;
        width: 44px;
        height: 44px;
    }
}
