/**
 * Main Styles - Fanbase Lab
 * DESIGN SYSTEM APPLIED - v2.0
 *
 * Standardized Design Tokens:
 * - Typography: 2 fonts, 6 sizes, 3 weights
 * - Colors: 5 main + semantic
 * - Spacing: 8px base scale
 * - Shadows: 3 levels
 * - Border-radius: 3 sizes
 *
 * Table of Contents:
 * 1. Reset & Base
 * 2. Design System Variables
 * 3. Typography
 * 4. Layout & Container
 * 5. Grain Overlay
 * 6. Navigation
 * 7. Hero Section
 * 8. Buttons
 * 9. Service Cards
 * 10. About Section
 * 11. Process Section
 * 12. Glass Box Component
 * 13. CTA Section
 * 14. Pricing Section
 * 15. Circle Photo Component
 * 16. Footer
 * 17. Animations
 * 18. Accessibility & Focus States
 * 19. Responsive Styles
 *
 * Design Tokens Reference:
 * Colors: --color-primary, --color-secondary, --color-success, --color-warning
 * Text: --text-xs through --text-6xl (8 sizes)
 * Spacing: --space-1 through --space-32 (8px scale)
 * Shadows: --shadow-sm, --shadow-md, --shadow-lg, --shadow-xl, --shadow-card
 * Radius: --radius-sm(4px), --radius-md(8px), --radius-lg(12px), --radius-xl(16px)
 */

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   2. DESIGN SYSTEM VARIABLES
   ========================================================================== */

:root {
    /* ==================== COLORS ==================== */
    /* Primary Palette */
    --color-primary: #4338CA;
    --color-primary-hover: #3730A3;
    --color-primary-light: #E0E7FF;

    /* Secondary/Accent */
    --color-secondary: #6366f1;
    --color-secondary-light: rgba(99, 102, 241, 0.1);

    /* Semantic Colors */
    --color-success: #059669;
    --color-warning: #F59E0B;
    --color-error: #DC2626;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-bg-light: #F8FAFC;
    --color-bg-dark: #0F172A;

    /* Text Colors */
    --color-text-primary: #0F172A;
    --color-text-secondary: #334155;
    --color-text-muted: #64748B;
    --color-text-light: rgba(255, 255, 255, 0.9);
    --color-text-on-dark: rgba(255, 255, 255, 0.8);

    /* Borders */
    --color-border-light: #E2E8F0;
    --color-border-medium: #CBD5E0;

    /* Legacy aliases (for backwards compatibility) */
    --primary-bg: var(--color-white);
    --secondary-bg: var(--color-bg-light);
    --dark-bg: var(--color-bg-dark);
    --text-primary: var(--color-text-primary);
    --text-secondary: var(--color-text-secondary);
    --text-muted: var(--color-text-muted);
    --accent-primary: var(--color-primary);
    --accent-hover: var(--color-primary-hover);
    --accent-subtle: var(--color-primary-light);
    --border-light: var(--color-border-light);
    --border-medium: var(--color-border-medium);
    --accent-innovation: var(--color-secondary);
    --accent-success: var(--color-success);
    --accent-warm: var(--color-warning);

    /* ==================== TYPOGRAPHY ==================== */
    /* Font Families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Font Sizes (Standardized Scale) */
    --text-xs: 0.75rem;      /* 12px - captions, labels */
    --text-sm: 0.875rem;     /* 14px - small text, meta */
    --text-base: 1rem;       /* 16px - body text */
    --text-lg: 1.125rem;     /* 18px - large body */
    --text-xl: 1.25rem;      /* 20px - lead text */
    --text-2xl: 1.5rem;      /* 24px - h4 */
    --text-3xl: 1.75rem;     /* 28px - h3 */
    --text-4xl: 2.25rem;     /* 36px - h2 */
    --text-5xl: 3rem;        /* 48px - h1 */
    --text-6xl: 3.5rem;      /* 56px - display */

    /* Font Weights (3 values only) */
    --font-normal: 400;
    --font-medium: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.2;
    --leading-snug: 1.4;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    /* ==================== SPACING ==================== */
    /* 8px base unit scale */
    --space-0: 0;
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-16: 4rem;        /* 64px */
    --space-20: 5rem;        /* 80px */
    --space-24: 6rem;        /* 96px */
    --space-32: 8rem;        /* 128px */

    /* Legacy spacing aliases */
    --space-xs: var(--space-2);
    --space-sm: var(--space-4);
    --space-md: var(--space-6);
    --space-lg: var(--space-12);
    --space-xl: var(--space-20);
    --space-2xl: var(--space-32);

    /* ==================== BORDERS & RADIUS ==================== */
    --radius-none: 0;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* ==================== SHADOWS ==================== */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 4px 14px rgba(67, 56, 202, 0.25);
    --shadow-primary-lg: 0 8px 24px rgba(67, 56, 202, 0.3);

    /* Card shadows (layered) */
    --shadow-card:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 6px 16px rgba(0, 0, 0, 0.06);
    --shadow-card-hover:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 12px 32px rgba(0, 0, 0, 0.1);

    /* ==================== TRANSITIONS ==================== */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ==================== Z-INDEX ==================== */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;

    /* ==================== LAYOUT ==================== */
    --container-max: 1140px;
    --container-wide: 1280px;
    --nav-height: 80px;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

body {
    font-family: var(--font-primary);
    font-size: clamp(1.0625rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--primary-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: var(--text-primary);
}

h2 {
    font-size: clamp(2.25rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
}

/* ==========================================================================
   4. LAYOUT & CONTAINER
   ========================================================================== */

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

section {
    padding: var(--space-2xl) 0;
    scroll-margin-top: 20px;
}

section + section {
    margin-top: 0;
}

/* ==========================================================================
   5. GRAIN OVERLAY
   ========================================================================== */

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */

nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 6px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Active page link */
.nav-links a.active {
    color: var(--accent-primary);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
    background: var(--accent-primary);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown .dropdown-toggle svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    vertical-align: middle;
}

.nav-dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: var(--secondary-bg);
    color: var(--accent-primary);
}

.dropdown-menu li a::after {
    display: none;
}

.nav-cta {
    background: var(--accent-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.25);
    animation: pulse-cta 2.5s ease-in-out infinite;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 56, 202, 0.35);
    animation: none;
}

@keyframes pulse-cta {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(67, 56, 202, 0.25);
    }
    50% {
        box-shadow: 0 4px 20px rgba(67, 56, 202, 0.45);
    }
}

.hamburger {
    display: none;
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */

.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding-top: 60px;
    background: radial-gradient(circle at 100% 0%, rgba(219, 234, 254, 0.4) 0%, transparent 40%),
                radial-gradient(circle at 0% 100%, rgba(243, 232, 255, 0.4) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-proof {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--accent-subtle);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-proof .number {
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-visual {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    border: 1px solid white;
    padding: 2rem;
    position: relative;
    animation: fadeIn 1s ease 0.4s forwards;
    opacity: 0;
    box-shadow:
        0 4px 20px rgba(67, 56, 202, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-innovation));
    border-radius: var(--radius-lg);
    opacity: 0.1;
    z-index: -1;
}

/* ==========================================================================
   8. BUTTONS
   ========================================================================== */

.btn-primary {
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--accent-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.25);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 56, 202, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--border-medium);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-white {
    background: white;
    color: var(--accent-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   9. SERVICE CARDS
   ========================================================================== */

.services {
    padding: var(--space-2xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 8px 30px rgba(0, 0, 0, 0.06),
        0 20px 50px rgba(0, 0, 0, 0.04);
}

.service-card:nth-child(1) { grid-column: span 7; }
.service-card:nth-child(2) { grid-column: span 5; }
.service-card:nth-child(3) { grid-column: span 5; }
.service-card:nth-child(4) { grid-column: span 7; }

.service-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 16px 50px rgba(0, 0, 0, 0.08),
        0 30px 70px rgba(0, 0, 0, 0.06);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: var(--accent-subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(6deg);
    background: linear-gradient(135deg, var(--accent-subtle), rgba(139, 92, 246, 0.1));
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.2);
}

.service-card h3 {
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.service-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: var(--space-md);
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent-success);
    font-weight: 700;
}

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

.section-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   10. ABOUT SECTION
   ========================================================================== */

.about {
    background: var(--dark-bg);
    color: white;
    padding: var(--space-2xl) 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.about h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.about p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.highlight {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.highlight:hover {
    background: rgba(255, 255, 255, 0.1);
}

.highlight strong {
    display: block;
    color: var(--accent-warm);
    font-family: var(--font-mono);
    margin-bottom: 0.25rem;
}

.highlight span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.about-image {
    position: relative;
}

.about-content {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   11. PROCESS SECTION
   ========================================================================== */

.process {
    padding: var(--space-2xl) 0;
    background: var(--secondary-bg);
}

.process-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 8px 30px rgba(0, 0, 0, 0.06),
        0 20px 50px rgba(0, 0, 0, 0.04);
}

.process-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 16px 50px rgba(0, 0, 0, 0.08),
        0 30px 70px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   12. GLASS BOX COMPONENT
   ========================================================================== */

.glass-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 8px 30px rgba(0, 0, 0, 0.06),
        0 20px 50px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-box.highlighted {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid rgba(67, 56, 202, 0.1);
}

/* ==========================================================================
   13. CTA SECTION
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-innovation));
    color: white;
    padding: var(--space-2xl) 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-section p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   14. PRICING SECTION
   ========================================================================== */

.pricing {
    padding: var(--space-2xl) 0;
    background: var(--secondary-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(67, 56, 202, 0.1);
    border-color: var(--accent-primary);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(67, 56, 202, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}

.pricing-header h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    line-height: 1;
}

.price-currency {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent-success);
    font-weight: 700;
    font-size: 1.125rem;
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 56, 202, 0.3);
}

.pricing-card.featured .pricing-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-innovation));
}

/* ==========================================================================
   15. CIRCLE PHOTO COMPONENT
   ========================================================================== */

.circle-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-ring {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.glow-ring-1 {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.1), rgba(139, 92, 246, 0.1));
    animation: pulse 3s ease-in-out infinite;
}

.glow-ring-2 {
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.15), rgba(139, 92, 246, 0.15));
    animation: pulse 3s ease-in-out infinite 0.5s;
}

.circle-inner {
    position: relative;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.circle-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.floating-badge {
    position: absolute;
    bottom: 8%;
    right: 8%;
    background: linear-gradient(135deg, #2563EB, #8B5CF6);
    color: white;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(67, 56, 202, 0.5);
    z-index: 2;
    white-space: nowrap;
}

.stats {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: none;
    pointer-events: none;
}

.circle-frame:hover .stats {
    display: block;
    animation: fadeIn 0.3s ease;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563EB;
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: 4px;
}

.stats-label {
    font-size: 0.75rem;
    color: #4A5568;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.circle-outer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
}

.circle-progress {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */

footer {
    background: var(--dark-bg);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 2;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social h4 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.social-icons svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   17. ANIMATIONS
   ========================================================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.6;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active,
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   18. ACCESSIBILITY & FOCUS STATES
   ========================================================================== */

/* Globalne style fokus dla nawigacji klawiaturą */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Fokus dla linków */
a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Fokus dla przycisków */
.btn:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(67, 56, 202, 0.2);
}

.btn-primary:focus-visible {
    outline-color: white;
    box-shadow: 0 0 0 6px rgba(67, 56, 202, 0.4);
}

/* Fokus dla formularzy */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.15);
}

/* Fokus dla kart */
.service-card:focus-within,
.advantage-card:focus-within,
.article-card:focus-within {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

/* Skip to content link (dostępność) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    z-index: 10000;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 1rem;
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Zwiększony kontrast dla preferencji */
@media (prefers-contrast: high) {
    :root {
        --text-secondary: #1f2937;
        --border-light: #6b7280;
    }

    .btn-secondary {
        border-width: 2px;
    }
}

/* ==========================================================================
   19. RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .services-grid .service-card {
        grid-column: span 12 !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--border-light);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -8px);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
