/* ================================
   MINIMALIST DARK THEME
   Clean lines, white space, subtle elegance
   ================================ */

/* CSS Variables */
:root {
    /* Colors - Minimalist Dark Palette */
    --color-bg-primary: #0d0d0d;
    --color-bg-secondary: #171717;
    --color-bg-tertiary: #1f1f1f;
    --color-bg-card: #1a1a1a;
    --color-accent: #ffffff;
    --color-accent-muted: #a0a0a0;
    --color-border: #2a2a2a;
    --color-text-primary: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-text-muted: #707070;
    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* ================================
   BASE STYLES
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text-secondary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

    .nav-links a {
        color: var(--color-text-secondary);
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        transition: var(--transition-fast);
    }

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

/* ================================
   CONTAINER & LAYOUT
   ================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

main {
    margin-top: 80px;
}

section {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%), var(--color-bg-primary);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   BUTTONS
   ================================ */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg-primary);
    border-color: var(--color-accent);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-border);
}

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

/* ================================
   SECTION HEADERS
   ================================ */

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* ================================
   SERVICES GRID
   ================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition-normal);
}

    .service-card:hover {
        border-color: var(--color-accent-muted);
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

.service-icon {
    width: 100%;
    height: 200px;
    background: var(--color-bg-tertiary);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 1px solid var(--color-border);
    overflow: hidden;
    color: transparent;
    position: relative;
}

    .service-icon::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80px;
        height: 80px;
        border: 2px solid var(--color-border);
        border-radius: 50%;
    }

    .service-icon::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        background: var(--color-accent-muted);
        opacity: 0.1;
        border-radius: 50%;
    }

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

    .service-link:hover {
        gap: 0.5rem;
    }

/* ================================
   FEATURES GRID
   ================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ================================
   CTA SECTION
   ================================ */

.cta-section {
    padding: 6rem 2rem;
    background: var(--color-bg-secondary);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

    .cta-box h2 {
        margin-bottom: 1rem;
        font-size: clamp(1.75rem, 3vw, 2.5rem);
    }

    .cta-box p {
        font-size: 1.1rem;
        color: var(--color-text-muted);
        margin-bottom: 2rem;
    }

/* ================================
   FOOTER
   ================================ */

footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.footer-section a {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: var(--transition-fast);
}

    .footer-section a:hover {
        color: var(--color-text-primary);
        padding-left: 0.25rem;
    }

.footer-section p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

    .footer-bottom p {
        color: var(--color-text-muted);
        font-size: 0.85rem;
    }

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1rem;
}

    .footer-links a {
        color: var(--color-text-muted);
        font-size: 0.85rem;
        transition: var(--transition-fast);
    }

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

/* ================================
   HIGHLIGHT BOXES
   ================================ */

.highlight-box {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
}

/* ================================
   LEGAL PAGES
   ================================ */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

    .legal-content h1 {
        margin-bottom: 2rem;
    }

    .legal-content h2 {
        margin-top: 3rem;
        margin-bottom: 1rem;
        font-size: 1.75rem;
    }

    .legal-content h3 {
        margin-top: 2rem;
        margin-bottom: 0.75rem;
    }

    .legal-content p {
        margin-bottom: 1.5rem;
    }

    .legal-content ul,
    .legal-content ol {
        margin-left: 2rem;
        margin-bottom: 1.5rem;
        color: var(--color-text-secondary);
    }

    .legal-content li {
        margin-bottom: 0.5rem;
    }

    .legal-content table {
        width: 100%;
        margin: 2rem 0;
        border-collapse: collapse;
    }

    .legal-content th,
    .legal-content td {
        padding: 1rem;
        text-align: left;
        border: 1px solid var(--color-border);
    }

    .legal-content th {
        background: var(--color-bg-tertiary);
        font-weight: 600;
        color: var(--color-text-primary);
    }

.legal-header {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

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

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

    .fade-in:nth-child(1) {
        animation-delay: 0.1s;
    }

    .fade-in:nth-child(2) {
        animation-delay: 0.2s;
    }

    .fade-in:nth-child(3) {
        animation-delay: 0.3s;
    }

    .fade-in:nth-child(4) {
        animation-delay: 0.4s;
    }

    .fade-in:nth-child(5) {
        animation-delay: 0.5s;
    }

    .fade-in:nth-child(6) {
        animation-delay: 0.6s;
    }

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero {
        min-height: 80vh;
        padding: 6rem 1rem 3rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .service-card,
    .feature {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */

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

.text-muted {
    color: var(--color-text-muted);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}
