@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'Briarwood Heavy';
    src: url('fonts/briarwood-heavy-webfont.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-blue: #0ea5e9;
    --secondary-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-white: #d8d0eb;
    --dark-bg: #0a0a0a;
    --dark-card: #111111;
    --dark-border: #1f1f1f;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --gradient-primary: linear-gradient(135deg, #0ec7ff 0%, #3bb2f6 50%, #0408f7 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-gray: linear-gradient(90deg, #ffffff 0%, #797979 100%);
    --success-green: #10b981;
    --danger-red: #ef4444;
    --gold: #fbbf24;
    --orange: #ffa500;
    --orange-gradient: linear-gradient(45deg, #ffa500, #ff6b35);
    --shadow-light: 0 4px 20px rgba(14, 165, 233, 0.15);
    --shadow-medium: 0 10px 30px rgba(14, 165, 233, 0.2);
    --shadow-heavy: 0 20px 50px rgba(14, 165, 233, 0.3);
    --font-briarwood: 'Briarwood Heavy', 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    overflow-x: hidden;
}

html, body {
    scroll-restoration: manual;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section-title,
.hero-title,
.cta-title,
h1, h2 {
    font-family: var(--font-briarwood);
    font-weight: 900;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
    position: relative;
}

/* Navigation Styles - POPRAWIONE */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    padding: 15px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Kontener przycisków - NOWY */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1002;
}

/* Poprawiony hamburger - PIONOWO */
.menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-weight: 600;
    position: relative;
    z-index: 1001;
}

.menu-toggle:hover {
    border-color: var(--primary-blue);
    background: rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

/* Hamburger kontainer - NOWY */
.hamburger-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 16px;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 24px;
    background: linear-gradient(135deg, rgba(5, 5, 5, 1) 0%, rgba(0, 0, 0, 1) 100%);
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 16px;
    padding: 20px;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 4px;
}

.nav-link:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.nav-link:hover {
    background: rgba(14, 165, 233, 0.2);
    border-left-color: var(--primary-blue);
    transform: translateX(5px);
    color: var(--primary-blue);
}

/* Divider w menu */
.nav-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 12px 0;
}

/* Linki na dole menu - bez kolorów */
.nav-link.nav-link-bottom {
    background: none !important;
    border-left: 3px solid transparent !important;
    color: white !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.nav-link.nav-link-bottom:last-child,
.nav-link.nav-link-bottom.dashboard-link:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.nav-link.nav-link-bottom:hover {
    background: rgba(14, 165, 233, 0.2) !important;
    border-left: 3px solid var(--primary-blue) !important;
    color: var(--primary-blue) !important;
}

/* Dashboard link w menu mobilnym - POPRAWIONE */
.nav-link.dashboard-link {
    background: none !important;
    border-left: 3px solid transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    margin-top: 0;
    margin-bottom: 4px;
    font-weight: 500 !important;
    color: white !important;
    display: none;
}

.nav-link.dashboard-link.show-when-logged {
    display: block !important;
}

.nav-link.dashboard-link:hover {
    background: rgba(14, 165, 233, 0.2) !important;
    border-left: 3px solid var(--primary-blue) !important;
    color: var(--primary-blue) !important;
    transform: translateX(5px);
}

.nav-link.dashboard-link i {
    color: var(--primary-blue);
    margin-right: 8px;
}

/* Przycisk logowania - POPRAWIONY */
.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1002;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.login-btn.hidden-when-logged {
    display: none !important;
}

/* Dashboard Navigation Button - używa tych samych stylów co login-btn */
.dashboard-nav-btn {
    display: none;
}

.dashboard-nav-btn.show-when-logged {
    display: flex !important;
}

.dashboard-nav-btn i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, rgba(15, 15, 15, 0.7) 100%),
        url('bg.png') center/cover no-repeat,
        radial-gradient(ellipse at top, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, var(--dark-bg) 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-attachment: fixed;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: float-particle 10s linear infinite;
    opacity: 0.6;
}

.particle:nth-child(odd) {
    background: var(--accent-white);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 0.5s; }
.particle:nth-child(10) { left: 15%; animation-delay: 8s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 0.8;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(-10vh) scale(0);
        opacity: 0;
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: clamp(20px, 2vw, 32px);
    opacity: 0.3;
    animation: float-icon 15s ease-in-out infinite;
    color: var(--primary-blue);
}

.floating-icon:nth-child(even) {
    color: var(--accent-white);
}

.floating-icon.dollar1 { top: 15%; left: 8%; animation-delay: 0s; }
.floating-icon.crypto1 { top: 25%; right: 12%; animation-delay: 2s; }
.floating-icon.ai1 { top: 40%; left: 5%; animation-delay: 4s; }
.floating-icon.chart1 { top: 60%; right: 8%; animation-delay: 6s; }
.floating-icon.rocket1 { top: 75%; left: 15%; animation-delay: 8s; }

@keyframes float-icon {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.05;
    }
    25% {
        transform: translateY(-40px) rotate(10deg) scale(1.1);
        opacity: 0.15;
    }
    50% { 
        transform: translateY(-80px) rotate(-10deg) scale(0.9); 
        opacity: 0.08;
    }
    75% {
        transform: translateY(-40px) rotate(5deg) scale(1.05);
        opacity: 0.12;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 32px;
    width: fit-content;
    animation: pulse-badge 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
        border-color: rgba(14, 165, 233, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(14, 165, 233, 0.4);
        border-color: rgba(14, 165, 233, 0.6);
    }
}

.hero-badge i {
    color: var(--gold);
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-family: var(--font-briarwood);
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: -130px;
    margin-top: -20px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    z-index: 3;
}

.hero-video {
    position: relative;
    margin: -55px auto 0;
    z-index: 100;
    width: 100%;
    max-width: 800px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 101;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    border-radius: 32px;
    transition: all 0.4s ease;
    z-index: 2;
}

@keyframes hero-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(0.5deg) scale(1.01);
    }
    50% { 
        transform: translateY(-25px) rotate(0deg) scale(1.02);
    }
    75% {
        transform: translateY(-15px) rotate(-0.5deg) scale(1.01);
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    transition: transform 0.6s ease;
    filter: none;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    min-width: 160px;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-medium);
    border-color: rgba(14, 165, 233, 0.5);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    transition: all 0.4s ease;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-large {
    padding: 24px 48px;
    font-size: 1.125rem;
    font-weight: 700;
}

.btn-danger {
    background: rgb(7, 7, 7);
}

.btn-success {
    background: var(--orange-gradient);
    color: white;
    border: 2px solid var(--orange);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
}

.btn-success:hover {
    background: linear-gradient(45deg, #ff6b35, var(--orange));
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.4);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 24px 48px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 40px;
    box-shadow: var(--shadow-medium);
}

.hero-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.card-header .card-icon:hover {
    transform: rotateY(360deg) scale(1.1);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: gray;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.tool-header i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    filter: white;
}

.tool-header h2 {
    font-size: 2rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
}

.tool-block:nth-child(odd) .tool-header {
    order: 1;
    grid-column: 1;
}

.tool-block:nth-child(even) .tool-header {
    order: 2;
    grid-column: 2;
}

.section-title {
    font-family: var(--font-briarwood);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--text-primary);
}

.three-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.steps-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #111111 100%);
}

.step-card {
    position: relative;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 24px;
    overflow: visible;
    border: 1px solid rgba(14, 165, 233, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.step-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.3);
    border-color: rgba(14, 165, 233, 0.4);
}

.card-header {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(14, 165, 233, 0.2) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.step-card:nth-child(1) .card-header {
    background-image: url('p1-1.png');
}

.step-card:nth-child(2) .card-header {
    background-image: url('p1-2.png');
}

.step-card:nth-child(3) .card-header {
    background-image: url('p1-3.png');
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    z-index: 11;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.5);
}

.model-card .card-icon {
    margin: 0 auto 12px;
}

.card-header .card-icon {
    margin: 20px auto 12px;
    z-index: 2;
    position: relative;
}

.card-header .card-title {
    position: relative;
    z-index: 2;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    max-width: 320px;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.card-separator {
    width: 90%;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(14, 165, 233, 0.1) 0%, 
        rgba(14, 165, 233, 0.4) 10%,
        rgba(14, 165, 233, 1) 50%, 
        rgba(14, 165, 233, 0.4) 90%,
        rgba(14, 165, 233, 0.1) 100%);
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.5);
}

.card-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content .card-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.highlight-text {
    color: var(--primary-blue);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

.tools-section {
    min-height: 100vh;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, rgba(15, 15, 15, 0.7) 100%),
        url('bg.png') center/cover no-repeat,
        radial-gradient(ellipse at top, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, var(--dark-bg) 0%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-attachment: fixed;
    padding: 80px 0;
}

.timeline-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 3px;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 6px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    height: 0%;
    transition: height 0.3s ease;
    z-index: 2;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.6);
}

.timeline-arrow {
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid var(--primary-blue);
    transform: translateX(-50%) translateY(-8px);
    transition: top 0.3s ease;
    z-index: 3;
    filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.8));
}

.timeline-arrow::before {
    content: '';
    position: absolute;
    top: -14px;
    left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid white;
}

.tool-block {
    position: relative;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 30px 60px;
    align-items: start;
    min-height: 400px;
    z-index: 4;
}

.split-content {
    padding: 40px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 24px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    transition: all 0.4s ease;
}

.split-content:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.feature-list strong {
    font-weight: 700;
}

.split-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool-block:nth-child(odd) .split-visual {
    order: 3;
    grid-column: 2;
    grid-row: 2;
}

.tool-block:nth-child(even) .split-visual {
    order: 1;
    grid-column: 1;
    grid-row: 2;
}

.tool-block:nth-child(odd) .split-content {
    order: 2;
    grid-column: 1;
    grid-row: 2;
}

.tool-block:nth-child(even) .split-content {
    order: 3;
    grid-column: 2;
    grid-row: 2;
}

.split-image {
    width: 300px;
    height: 300px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.split-image:hover img {
    transform: scale(1.1);
}

.timeline-point {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border: 4px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.5);
}

.timeline-point.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(14, 165, 233, 1);
    transform: translate(-50%, -50%) scale(1.4);
    border-width: 5px;
}

.year-section {
    background: black;
    padding: 80px 0;
}

.year-content {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-content {
    padding: 0;
}

.text-content .section-subtitle {
    color: gray;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.year-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 40px;
    line-height: 1.1;
    font-weight: 900;
    font-family: var(--font-briarwood);
}

.year-description {
    margin-bottom: 25px;
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.image-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.year-image {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
}

.year-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.year-image:hover img {
    transform: scale(1.05);
}

.question-section {
    background: black;
    padding: 80px 0;
}

.question-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.question-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 40px;
    line-height: 1.1;
    font-weight: 900;
    font-family: var(--font-briarwood);
}

.question-description {
    margin-bottom: 25px;
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.question-image {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
}

.question-image img {
    height: 400px;
    object-fit: contain;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.question-image:hover img {
    transform: scale(1.05);
}

/* Models Timeline Section */
.models-timeline-container {
    position: relative;
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 24px;
}

.models-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, 
        #0ea5e9 0%, 
        #0ea5e9 10%, 
        #3b9eff 15%,
        #5ba3ff 20%,
        #7dadff 25%,
        #7dadff 30%,
        #ff8c5a 35%,
        #ff7a49 40%,
        #ff6b35 45%,
        #ff6b35 50%,
        #ff7a49 55%,
        #ff8c5a 60%,
        #ff8c5a 65%,
        #1fc58a 70%,
        #10b981 75%, 
        #10b981 100%);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.models-timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, 
        #0ea5e9 0%, 
        #0ea5e9 10%, 
        #3b9eff 15%,
        #5ba3ff 20%,
        #7dadff 25%,
        #7dadff 30%,
        #ff8c5a 35%,
        #ff7a49 40%,
        #ff6b35 45%,
        #ff6b35 50%,
        #ff7a49 55%,
        #ff8c5a 60%,
        #ff8c5a 65%,
        #1fc58a 70%,
        #10b981 75%, 
        #10b981 100%);
    transform: translateX(-50%);
    height: 100%;
    z-index: 2;
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.models-timeline-arrow {
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid #0ea5e9;
    transform: translateX(-50%) translateY(-8px);
    transition: top 0.3s ease, border-top-color 0.3s ease;
    z-index: 3;
    filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.8));
}

.models-timeline-arrow::before {
    content: '';
    position: absolute;
    top: -14px;
    left: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid white;
}

.model-block {
    position: relative;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 400px;
    z-index: 4;
}

.model-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.model-visual .model-image {
    width: 100%;
    max-width: 750px;
    height: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0.3;
}

.model-visual .model-image:hover {
    transform: none;
}

.model-visual .model-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.model-content {
    padding: 40px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 24px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    transition: all 0.4s ease;
}

.model-content:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.model-content-title {
    font-family: var(--font-briarwood);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.model-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.model-feature-list li {
    margin-bottom: 20px;
    padding-left: 35px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.model-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.model-feature-list strong {
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0;
    line-height: 1.2;
    padding-bottom: 0;
}

.model-feature-list .feature-detail {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.3;
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding-top: 0;
    font-weight: 400;
}

.two-paths-section {
    position: relative;
    background: #000000;
    overflow: hidden;
    padding: 80px 0;
}

.two-paths-section .section-header {
    z-index: 10;
    position: relative;
    margin-bottom: 60px;
}

.paths-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.decision-point {
    text-align: center;
    margin-bottom: 60px;
    z-index: 5;
    position: relative;
}

.decision-image {
    max-height: 900px;
    width: 100%;
    padding-bottom: 200px;
}

.paths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 3;
}

.path-card {
    position: relative;
    border-radius: 0;
    padding: 40px 20px;
    backdrop-filter: none;
    border: none;
    transition: all 0.5s ease;
    z-index: 3;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.path-card::before {
    display: none;
}

.path-card:hover {
    transform: none;
}

.path-left {
    border: none;
    background: transparent;
}

.path-left:hover {
    border: none;
    box-shadow: none;
}

.path-left:hover .path-title {
    text-shadow: 0 0 20px rgba(255, 51, 51, 0.6);
}

.path-right {
    border: none;
    background: transparent;
}

.path-right:hover {
    border: none;
    box-shadow: none;
}

.path-right:hover .price {
    text-shadow: 0 0 30px rgba(0, 207, 255, 0.8);
}

.path-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.features-list {
    margin: 30px 0;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.path-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 25px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.price-display {
    text-align: center;
    margin: 25px 0;
    position: relative;
    z-index: 2;
}

.path-card .btn {
    position: relative;
    z-index: 2;
    margin-top: auto;
    align-self: center;
    width: 100%;
    max-width: 100%;
}

.arrow-container {
    display: none;
}

.path-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 800;
    opacity: 1;
}

.path-left .path-status {
    color: #ff3333;
}

.path-right .path-status {
    color: #00cfff;
}

.path-title {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.path-left .path-title {
    color: #ff3333;
}

.path-right .path-title {
    color: #ffffff;
}

.path-right .path-title.price {
    background: linear-gradient(135deg, #00baff 0%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: none;
    filter: drop-shadow(0 0 25px rgba(0, 207, 255, 0.6));
}

.path-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 1;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.choices-section {
    background: black;
    padding: 80px 0;
    backdrop-filter: blur(5px);
}

.choices-section .path-card {
    background-image: url('p8-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.choices-section .path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.85) 30%,
        rgba(40, 40, 40, 0.75) 70%,
        rgba(80, 80, 80, 0.6) 100%);
    border-radius: 24px;
    z-index: 1;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #00b3ff;
    text-shadow: 0 0 25px rgba(0, 179, 255, 0.5);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.feature-item i {
    margin-right: 15px;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.path-left .feature-item i {
    color: #ff3333;
}

.path-right .feature-item i {
    color: #00b3ff;
}

.result-card {
    text-align: center;
}

.testimonial-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    background: black;
    padding: 2px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.testimonial-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.testimonial-image:hover img {
    transform: scale(1.1);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.earnings-highlight {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 20px;
}

.faq-section {
    background: linear-gradient(135deg, #0f0f0f 0%, var(--dark-bg) 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    margin: 16px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    background: rgba(14, 165, 233, 0.05);
    border-color: var(--primary-blue);
    transform: translateX(10px) scale(1.02);
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    padding: 32px;
    padding-right: 60px;
    position: relative;
}

.faq-item h3::after {
    content: "+";
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.faq-item.active h3::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 32px;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding: 0 32px 32px 32px;
}

.faq-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-subtext {
    margin-top: 20px;
    opacity: 0.7;
    font-size: 1rem;
    color: var(--text-secondary);
}

.section-cta {
    text-align: center;
    margin-top: 60px;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(14, 165, 233, 0.2);
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin-loader 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin-loader {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden {
    display: none !important;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.modal-content {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(0, 0, 0, 0.95) 100%);
    margin: 5% auto;
    padding: 2rem;
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-blue);
}

.modal h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.google-btn {
    background: #fff;
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.google-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: #ccc;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(14, 165, 233, 0.3);
    z-index: 1;
}

.divider span {
    background: rgba(0, 0, 0, 0.95);
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.user-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: none;
}

.user-info {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.profile-icon {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.dashboard-btn {
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-btn:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.logout-btn {
    background: none;
    border: none;
    color: var(--danger-red);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.back-to-top i {
    animation: bounce-arrow 2s ease-in-out infinite;
}

.btn-gray {
    background: #000000;
    color: #ffffff;
    border: 2px solid #222222;
    box-shadow: none;
}

.btn-gray:hover {
    background: #111111;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.3);
    border-color: #ff3333;
}

.btn-gradient-blue {
    background: linear-gradient(135deg, #00cfff 0%, #7b61ff 100%);
    color: white;
    border: none;
    box-shadow: 0 0 30px rgba(0, 207, 255, 0.5);
}

.btn-gradient-blue:hover {
    background: linear-gradient(135deg, #7b61ff 0%, #00cfff 100%);
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 207, 255, 0.7);
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.paths-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.animated-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.path-line {
    stroke-width: 1;
    stroke-dashoffset: 1000;
    animation: drawPath 2s ease-in-out forwards;
    filter: drop-shadow(0 0 8px currentColor);
}

.path-line.delay-1 { animation-delay: 1s; }
.path-line.delay-2 { animation-delay: 1.5s; }
.path-line.delay-3 { animation-delay: 2s; }

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

.junction-point {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
    filter: drop-shadow(0 0 6px currentColor);
}

.junction-point.delay-1 { animation-delay: 2.3s; }
.junction-point.delay-2 { animation-delay: 2.6s; }
.junction-point.delay-3 { animation-delay: 2.9s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

.vs-enhanced {
    position: relative;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.6));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.6));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(14, 165, 233, 0.8));
    }
}

/* ============================================
   RESPONSIVE - TYLKO MOBILE (bez zmian desktop)
   ============================================ */

@media (max-width: 1200px) {
    .paths-grid {
        gap: 40px;
    }
    
    .tool-block:nth-child(odd) .split-visual,
    .tool-block:nth-child(even) .split-visual {
        margin-left: 300px;
        margin-right: 300px;
    }
}

@media (max-width: 1024px) {
    .tool-block,
    .model-block,
    .year-content,
    .question-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .models-timeline-line,
    .models-timeline-arrow {
        display: none;
    }

    .hero-image-container {
        max-width: 600px;
    }

    .hero-video {
        margin: -40px auto 0;
    }

    .year-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .year-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .question-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .question-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .paths-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vs-circle {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        margin: 20px auto;
        display: flex;
    }
}

@media (max-width: 992px) {
    .two-paths-section {
        padding: 60px 0;
    }

    .two-paths-section .section-header {
        margin-bottom: 40px;
    }

    .decision-point {
        margin-bottom: 50px;
    }

    .paths-grid {
        gap: 30px;
        margin-top: 0;
    }

    .vs-circle {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        margin: 30px auto;
    }

    .tool-block {
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 60px;
        min-height: auto;
        grid-template-columns: 1fr !important;
    }
    
    .model-block {
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 60px;
        min-height: auto;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .model-visual {
        order: 1 !important;
        margin-bottom: 20px;
    }
    
    .model-content {
        order: 2 !important;
        margin: 0 10px;
        padding: 30px 20px;
    }
    
    .model-visual .model-image {
        max-width: 100%;
    }
    
    .model-content-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .model-feature-list li {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    
    .model-feature-list .feature-detail {
        font-size: 0.8rem;
    }

    .tool-header {
        order: 1 !important;
        grid-column: auto !important;
    }

    .split-content {
        margin: 0 20px 10px 20px;
        order: 2 !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .split-visual {
        flex: none;
        max-width: none;
        margin: 0 auto !important;
        padding: 0;
        order: 3 !important;
        grid-column: auto !important;
        grid-row: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .split-image {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .timeline-line,
    .timeline-progress,
    .timeline-arrow,
    .timeline-point {
        display: none;
    }
}

/* ============================================
   MOBILE 768px - GŁÓWNE POPRAWKI
   ============================================ */
@media (max-width: 768px) {
    /* Navigation - MOBILE */
    .main-nav {
        padding: 10px 0;
        min-height: 60px;
    }
    
    .nav-container {
        padding: 0 15px;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .menu-toggle {
        order: 1;
        flex: 0 0 auto;
        padding: 8px 12px;
        font-size: 0.85rem;
        gap: 8px;
    }

    .hamburger-container {
        width: 18px;
        height: 14px;
        gap: 3px;
    }

    .hamburger {
        height: 2px;
    }

    .nav-buttons {
        order: 2;
        width: auto;
        margin-top: 0;
        margin-left: auto;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .login-btn,
    .dashboard-nav-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        flex: 0 0 auto;
        max-width: none;
        white-space: nowrap;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, rgba(5, 5, 5, 1) 0%, rgba(0, 0, 0, 1) 100%);
        border: 2px solid rgba(14, 165, 233, 0.3);
        border-radius: 0 0 16px 16px;
        padding: 15px;
        min-width: auto;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    /* Hero Section - MOBILE */
    .hero-section {
        min-height: auto !important;
        height: auto;
        padding: 80px 15px 40px;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 20px 0 30px;
        margin-top: 0;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 16px;
        margin-bottom: 15px;
        gap: 6px;
    }
    
    .hero-title {
        font-size: 2.8rem !important;
        line-height: 0.95;
        margin-bottom: -60px;
    }
    
    .hero-visual {
        margin: 0;
    }
    
    .hero-video {
        margin: -220px auto 0;
        max-width: 100%;
    }
    
    .hero-image-container {
        max-width: 100%;
        width: 100%;
        aspect-ratio: 1/1;
        margin: 0 auto -20px;
    }
    
    .hero-image {
        max-height: none;
        height: auto;
    }
    
    .hero-image img {
        max-height: 300px;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-stats {
        gap: 12px;
        flex-direction: column;
        align-items: center;
        margin: 15px 0;
    }

    .stat-item {
        min-width: 150px;
        max-width: 190px;
        width: 100%;
        padding: 14px 18px;
        margin: 0 auto;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }

    .hero-cta,
    .btn-large {
        padding: 16px 28px;
        font-size: 0.9rem;
        margin-top: 30px;
        gap: 8px;
    }

    .floating-elements,
    .particles {
        display: none;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .three-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Steps */
    .step-card {
        min-height: 500px;
        margin-top: 32px;
    }

    .card-header {
        height: 220px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        top: -25px;
        border-width: 3px;
    }

    .card-header .card-title {
        font-size: 1.4rem;
        max-width: 300px;
        padding: 0 15px;
    }

    .card-content {
        padding: 32px 24px;
    }

    .card-description {
        font-size: 1rem;
    }

    /* Tools */
    .tool-header h2 {
        font-size: 1.5rem;
    }

    .tool-header i {
        font-size: 2rem;
    }

    /* Year & Question */
    .year-section,
    .question-section {
        padding: 60px 0;
    }

    .year-title,
    .question-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .year-description,
    .question-description {
        margin-bottom: 20px;
        font-size: 1rem;
    }

    .year-image,
    .question-image {
        max-width: 400px;
    }

    .year-image img,
    .question-image img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }

    /* Paths */
    .decision-image {
        max-width: 350px;
        max-height: 350px;
        padding-bottom: 0;
    }

    .paths-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .path-card {
        min-height: auto;
        padding: 32px 20px;
        border: 1px solid rgba(14, 165, 233, 0.2);
        border-radius: 24px;
        background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(0, 0, 0, 0.9) 100%);
    }

    .path-title {
        font-size: 1.75rem;
    }

    .path-subtitle {
        font-size: 1rem;
    }

    .path-description {
        font-size: 0.95rem;
    }

    .price {
        font-size: 2.75rem;
    }

    .feature-item {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }

    .feature-item i {
        font-size: 1rem;
        margin-right: 12px;
    }

    /* FAQ */
    .faq-item h3 {
        padding: 24px;
        padding-right: 50px;
        font-size: 1rem;
    }

    .faq-item h3::after {
        right: 24px;
        font-size: 1.3rem;
    }

    .faq-content p {
        font-size: 0.95rem;
    }

    /* Modals */
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 90%;
    }

    .modal h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .form-group input {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .google-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .auth-buttons {
        gap: 0.875rem;
    }

    .divider {
        margin: 1.25rem 0;
        font-size: 0.9rem;
    }

    .divider span {
        padding: 0 0.875rem;
    }

    /* User menu */
    .user-info {
        padding: 8px 16px;
        gap: 8px;
    }
    
    .dashboard-btn,
    .logout-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    #userEmail {
        font-size: 0.8rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Back to top */
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }

    .paths-overlay {
        display: none;
    }

    .animated-lines {
        display: none;
    }

    .dashboard-nav-btn span {
        display: none;
    }
    
    .dashboard-nav-btn {
        min-width: 44px;
        justify-content: center;
    }
}

/* ============================================
   EXTRA SMALL MOBILE 480px
   ============================================ */
@media (max-width: 480px) {
    .main-nav {
        padding: 8px 0;
        min-height: 55px;
    }

    .nav-container {
        padding: 0 12px;
        gap: 6px;
    }

    .menu-toggle {
        padding: 6px 10px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .menu-toggle .menu-text {
        display: none;
    }

    .hamburger-container {
        width: 16px;
        height: 12px;
        gap: 2px;
    }

    .nav-buttons {
        gap: 6px;
    }

    .login-btn,
    .dashboard-nav-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .login-btn span,
    .dashboard-nav-btn span {
        display: none;
    }

    .nav-menu {
        top: 55px;
        max-height: calc(100vh - 55px);
        padding: 12px;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 70px 12px 30px;
    }

    .hero-content {
        padding: 15px 0 20px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
        gap: 4px;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        margin-bottom: -50px;
    }
    
    .hero-image img {
        max-height: 250px;
    }

    .hero-stats {
        gap: 10px;
    }

    .stat-item {
        min-width: 130px;
        max-width: 170px;
        padding: 12px 16px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .btn,
    .hero-cta {
        padding: 14px 24px;
        font-size: 0.85rem;
        gap: 8px;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 0.875rem;
    }

    /* Sections */
    .section {
        padding: 35px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 0.75rem;
    }

    .section-header {
        margin-bottom: 32px;
    }

    /* Cards */
    .card {
        padding: 16px;
    }
    
    .card-content {
        padding: 24px 16px;
    }

    .card-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
        margin-bottom: 16px;
    }

    .card-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .card-description {
        font-size: 0.9rem;
    }

    /* Steps */
    .step-card {
        min-height: 450px;
        margin-top: 24px;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        top: -22px;
        border-width: 3px;
    }

    .card-header {
        height: 180px;
    }
    
    .card-header .card-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .card-header .card-title {
        font-size: 1.1rem;
        max-width: 240px;
        padding: 0 10px;
    }

    .card-separator {
        height: 3px;
    }

    /* Tools */
    .tool-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .tool-header h2 {
        font-size: 1.25rem;
    }
    
    .tool-header i {
        font-size: 1.75rem;
    }

    .split-content {
        padding: 24px 18px;
        margin: 0 10px 10px 10px;
    }

    .feature-list {
        margin: 20px 0;
    }

    .feature-list li {
        margin-bottom: 14px;
        padding-left: 24px;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .feature-list li::before {
        font-size: 1.1rem;
    }

    .split-image {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    /* Year & Question */
    .year-section,
    .question-section {
        padding: 50px 0;
    }

    .year-title,
    .question-title {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .year-description,
    .question-description {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .year-image,
    .question-image {
        max-width: 300px;
    }
    
    .year-image img,
    .question-image img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: contain;
    }
    
    .year-content,
    .question-content {
        gap: 30px;
    }

    /* Models */
    .model-image {
        height: 180px;
    }

    /* Paths */
    .decision-point {
        margin-bottom: 30px;
    }

    .decision-image {
        max-width: 280px;
        max-height: 280px;
    }

    .path-card {
        padding: 24px 16px;
        min-height: auto;
    }

    .path-header {
        margin-bottom: 20px;
    }

    .path-status {
        font-size: 0.65rem;
        margin-bottom: 10px;
        letter-spacing: 1.5px;
    }

    .path-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .path-subtitle {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .path-description {
        font-size: 0.85rem;
        margin: 16px 0;
        line-height: 1.5;
    }

    .price {
        font-size: 2rem;
    }

    .price-display {
        margin: 16px 0;
    }

    .features-list {
        margin: 20px 0;
    }

    .feature-item {
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .feature-item i {
        font-size: 0.9rem;
        margin-right: 10px;
    }

    /* FAQ */
    .faq-item {
        margin: 10px 0;
    }

    .faq-item h3 {
        font-size: 0.9rem;
        padding: 20px 40px 20px 20px;
    }

    .faq-item h3::after {
        right: 16px;
        font-size: 1.2rem;
    }

    .faq-content {
        padding: 0 20px;
    }

    .faq-item.active .faq-content {
        padding: 0 20px 20px 20px;
        max-height: 400px;
    }

    .faq-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .section-cta {
        margin-top: 40px;
    }

    .cta-subtext {
        font-size: 0.85rem;
        margin-top: 12px;
    }

    /* Modal */
    .modal-content {
        margin: 15% auto;
        padding: 1.25rem;
        width: 95%;
    }

    .modal h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .google-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .auth-buttons {
        gap: 0.75rem;
    }

    .divider {
        margin: 1rem 0;
        font-size: 0.85rem;
    }

    /* Back to top */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 0.9rem;
    }
}

/* ============================================
   LANDSCAPE MODE
   ============================================ */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto !important;
        padding: 60px 15px 30px;
    }
    
    .hero-content {
        padding: 30px 0;
    }
    
    .hero-image img {
        max-height: 250px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .stat-item {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 120px;
        max-width: 160px;
    }

    .step-card {
        min-height: 400px;
    }

    .card-header {
        height: 160px;
    }
}

/* Hide SVG on smaller screens */
@media (max-width: 1024px) {
    .animated-lines { 
        display: none; 
    }
}

@media (max-width: 768px) {
    .paths-overlay { 
        display: none; 
    }
}