/* =====================================================
   QuickSett ORIGIN 2.0 - go4snowboard
   Styles & Winter Theme
   ===================================================== */

/* =====================================================
   CSS VARIABLES & THEME
   ===================================================== */
:root {
    /* Light Theme */
    --background: #ffffff;
    --foreground: #0a0a0a;
    --accent: #4a90d9;
    --accent-hover: #3a7bc8;
    --accent-foreground: #ffffff;
    --secondary: #f5f7fa;
    --secondary-foreground: #1a1a2e;
    --muted: #94a3b8;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    --card: #ffffff;
    --card-foreground: #0a0a0a;
    
    /* Gradients */
    --gradient-winter: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-frost: linear-gradient(180deg, rgba(74, 144, 217, 0.1) 0%, rgba(74, 144, 217, 0) 100%);
    --gradient-snow: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-accent: 0 10px 40px -10px rgba(74, 144, 217, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

.dark {
    --background: #0a0a0f;
    --foreground: #f8fafc;
    --accent: #60a5fa;
    --accent-hover: #3b82f6;
    --accent-foreground: #0a0a0f;
    --secondary: #1e1e2e;
    --secondary-foreground: #f8fafc;
    --muted: #475569;
    --muted-foreground: #94a3b8;
    --border: #2d2d3a;
    --card: #141420;
    --card-foreground: #f8fafc;
    
    --gradient-winter: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    --gradient-frost: linear-gradient(180deg, rgba(96, 165, 250, 0.15) 0%, rgba(96, 165, 250, 0) 100%);
    --shadow-accent: 0 10px 40px -10px rgba(96, 165, 250, 0.4);
}

/* =====================================================
   BASE STYLES
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* =====================================================
   WINTER BACKGROUND EFFECTS
   ===================================================== */
.winter-bg {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

/* Animated Aurora Effect */
.aurora {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(96, 165, 250, 0.15), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.1), transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 20%, rgba(56, 189, 248, 0.08), transparent 50%);
    animation: aurora-drift 30s ease-in-out infinite;
}

@keyframes aurora-drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 1%) rotate(1deg); }
    50% { transform: translate(-1%, 2%) rotate(-1deg); }
    75% { transform: translate(1%, -1%) rotate(0.5deg); }
}

/* Floating Light Orbs */
.light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float-orb 20s ease-in-out infinite;
}

.light-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.light-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.light-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    bottom: 20%;
    left: 40%;
    animation-delay: -14s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    33% { transform: translate(30px, -20px) scale(1.05); opacity: 0.5; }
    66% { transform: translate(-20px, 30px) scale(0.95); opacity: 0.35; }
}

/* Geometric Patterns - Winter Crystals */
.crystal-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L32 28 L55 30 L32 32 L30 55 L28 32 L5 30 L28 28 Z' fill='none' stroke='rgba(148,163,184,0.08)' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    opacity: 0.5;
}

/* Snow Particles */
.snow-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
    animation: snowfall linear infinite;
    pointer-events: none;
}

@keyframes snowfall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* Hide falling stars/snowflakes on mobile to avoid background clutter */
@media (max-width: 768px) {
    .snow-container {
        display: none;
    }
}

/* Light Rays */
.light-rays {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, rgba(96, 165, 250, 0.03) 0%, transparent 30%),
        linear-gradient(215deg, transparent 40%, rgba(139, 92, 246, 0.02) 50%, transparent 60%),
        linear-gradient(145deg, transparent 40%, rgba(56, 189, 248, 0.02) 50%, transparent 60%);
    animation: ray-pulse 8s ease-in-out infinite;
}

@keyframes ray-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Frost Edge Effect */
.frost-edge {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        rgba(255,255,255,0.02) 0%, 
        transparent 5%, 
        transparent 95%, 
        rgba(255,255,255,0.02) 100%
    );
    pointer-events: none;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.bg-accent { background-color: var(--accent); }
.text-accent { color: var(--accent); }
.text-accent-foreground { color: var(--accent-foreground); }
.bg-secondary { background-color: var(--secondary); }
.text-secondary-foreground { color: var(--secondary-foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.border-border { border-color: var(--border); }
.bg-card { background-color: var(--card); }

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-base);
}

@media (min-width: 1024px) {
    .header {
        background: rgba(var(--background), 0.8);
    }
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 1024px) {
    .nav { height: 5rem; }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
}

.nav-link {
    position: relative;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    opacity: 0.85;
    transition: all var(--transition-fast);
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--accent);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
}

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

.nav-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .nav-cta { display: flex; }
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.lang-switch:hover {
    background: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    color: #ffffff;
}

.mobile-menu-close {
    padding: 0;
    margin-bottom: 1.5rem;
    margin-left: -2px; /* Kompensacja dla lepszego wyrównania wizualnego */
}

@media (min-width: 1024px) {
    .mobile-menu-btn { display: none; }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 240px;
    background: var(--card);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 150;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 140;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-foreground);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

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

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-icon {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero { padding: 10rem 0 8rem; }
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

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

@media (min-width: 1024px) {
    .hero-content { text-align: left; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 540px;
    margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 1.25rem;
        margin: 0 0 2rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-actions { flex-direction: row; }
}

@media (min-width: 1024px) {
    .hero-actions { justify-content: flex-start; }
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@media (min-width: 1024px) {
    .hero-stats { justify-content: flex-start; }
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-stat-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 0.5rem;
    color: var(--accent);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-product {
    position: relative;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

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

.hero-product-wrapper {
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a2e 100%);
    border: 1px solid var(--border);
    padding: 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-product-wrapper { padding: 3rem; }
}

.hero-product-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    opacity: 0.2;
    top: -2rem;
    right: -2rem;
}

.hero-glow-2 {
    width: 200px;
    height: 200px;
    background: #a78bfa;
    opacity: 0.15;
    bottom: -3rem;
    left: -3rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

@media (min-width: 1024px) {
    .scroll-indicator { display: flex; }
}

.scroll-indicator-track {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-indicator-dot {
    width: 0.25rem;
    height: 0.5rem;
    background: var(--muted-foreground);
    border-radius: 9999px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* =====================================================
   EXCLUSIVE DISTRIBUTOR SECTION
   ===================================================== */
.exclusive-distributor {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(30, 30, 46, 0.6) 50%, rgba(251, 191, 36, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.exclusive-distributor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.exclusive-distributor::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.distributor-badge {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.95) 0%, rgba(20, 20, 35, 0.98) 100%);
    border-radius: 1.5rem;
    border: 2px solid rgba(251, 191, 36, 0.3);
    box-shadow: 
        0 0 40px rgba(251, 191, 36, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.distributor-badge:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 
        0 0 60px rgba(251, 191, 36, 0.25),
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.distributor-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
    animation: distributor-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes distributor-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.distributor-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.distributor-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
    animation: icon-glow 2s ease-in-out infinite;
}

@keyframes icon-glow {
    0%, 100% { box-shadow: 0 0 25px rgba(251, 191, 36, 0.4); }
    50% { box-shadow: 0 0 35px rgba(251, 191, 36, 0.6); }
}

.distributor-icon svg {
    width: 30px;
    height: 30px;
    color: var(--background);
    stroke: var(--background);
}

.distributor-text {
    flex: 1;
    text-align: left;
}

.distributor-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.distributor-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}



.distributor-subtitle {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.distributor-badge-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.distributor-badge-icon svg {
    width: 40px;
    height: 40px;
    color: #22c55e;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.4));
}

/* Responsive dla exclusive distributor */
@media (max-width: 768px) {
    .exclusive-distributor {
        padding: 1.5rem 0;
    }
    
    .distributor-badge {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    
    .distributor-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .distributor-icon {
        width: 50px;
        height: 50px;
    }
    
    .distributor-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .distributor-text {
        text-align: center;
    }
    
    .distributor-title {
        font-size: 1.2rem;
    }
    
    .distributor-subtitle {
        font-size: 0.8rem;
    }
    
    .distributor-badge-icon {
        width: 40px;
        height: 40px;
    }
    
    .distributor-badge-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* =====================================================
   SECTIONS COMMON
   ===================================================== */
.section {
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .section { padding: 8rem 0; }
}

.section-alt {
    background: rgba(var(--secondary), 0.3);
}

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

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

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

/* =====================================================
   PRODUCT SHOWCASE
   ===================================================== */
.product-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.product-image-wrapper {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--secondary) 0%, #0a0a0f 100%);
    border-radius: 1rem;
    border: 1px solid var(--border);
    padding: 2rem;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ring-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.ring-selector {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--border);
    text-align: left;
    transition: all var(--transition-fast);
    background: transparent;
    color: var(--foreground);
}

.ring-selector:hover {
    border-color: rgba(96, 165, 250, 0.5);
}

.ring-selector.active {
    border-color: var(--accent);
    background: rgba(96, 165, 250, 0.1);
}

.ring-name {
    font-weight: 500;
}

.ring-guide-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.ring-guide-item {
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--background);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ring-guide-ring {
    font-weight: 700;
    font-size: 1rem;
}

.ring-guide-brand {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .ring-guide-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-steps {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.product-step-number {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 165, 250, 0.2);
    border-radius: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.875rem;
}

/* =====================================================
   FEATURES GRID
   ===================================================== */
/* Legacy features grid (kept for compatibility) */
.features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* =====================================================
   FEATURE ROWS (Horizontal Layout)
   ===================================================== */

.features-rows {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .feature-row-reverse {
        direction: rtl;
    }
    
    .feature-row-reverse > * {
        direction: ltr;
    }
}

.feature-row-image {
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(30, 30, 46, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-row-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.feature-row:hover .feature-row-image img {
    transform: scale(1.03);
}

.feature-row-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-row-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .feature-row-title {
        font-size: 2rem;
    }
}

.feature-row-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.feature-image {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform var(--transition-base);
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-image img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-base);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: background var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background: rgba(96, 165, 250, 0.2);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* =====================================================
   TECHNOLOGY TABS
   ===================================================== */
.tech-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tech-tab {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background: var(--background);
    color: var(--foreground);
    transition: all var(--transition-fast);
}

.tech-tab:hover {
    background: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

.tech-tab.active {
    background: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

.tech-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .tech-content { grid-template-columns: 1fr 1fr; }
}

.tech-info h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.tech-info p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tech-image-wrapper {
    background: linear-gradient(135deg, var(--secondary) 0%, #0a0a0f 100%);
    border-radius: 1rem;
    border: 1px solid var(--border);
    padding: 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
}

/* =====================================================
   VIDEO SECTIONS
   ===================================================== */
.video-section {
    padding: 4rem 0;
}

.video-card {
    max-width: 800px;
    margin: 0 auto;
}

.video-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--secondary);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.video-link:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(251, 191, 36, 0.1);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-link:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(251, 191, 36, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-play-button svg {
    width: 32px;
    height: 32px;
    color: var(--background);
    margin-left: 4px;
}

.video-link:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

.video-duration {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.video-info {
    padding: 1.5rem 2rem;
    text-align: center;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.video-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
}

@media (max-width: 768px) {
    .video-play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-play-button svg {
        width: 24px;
        height: 24px;
    }
    
    .video-info {
        padding: 1rem 1.5rem;
    }
    
    .video-title {
        font-size: 1.25rem;
    }
    
    .video-description {
        font-size: 0.875rem;
    }
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-wrapper {
    max-width: 896px;
    margin: 0 auto;
    position: relative;
    min-height: 280px;
    overflow-anchor: none; /* Prevent scroll anchoring issues */
}

@media (min-width: 768px) {
    .testimonials-wrapper {
        min-height: 260px;
    }
}

@media (min-width: 1024px) {
    .testimonials-wrapper {
        min-height: 240px;
    }
}

.testimonial-slide {
    transition: opacity var(--transition-slow);
}

.testimonial-slide.hidden {
    opacity: 0;
    position: absolute;
    inset: 0;
    pointer-events: none;
    visibility: hidden; /* Prevents focus/tabbing issues */
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .testimonial-card { padding: 3rem; }
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--accent);
}

.testimonial-text {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .testimonial-text { font-size: 1.5rem; }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 165, 250, 0.2);
    border-radius: 50%;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.125rem;
}

.testimonial-name {
    font-weight: 700;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--border);
    transition: all var(--transition-base);
    padding: 0;
    border: none;
}

.testimonial-dot.active {
    width: 2rem;
    background: var(--accent);
}

/* =====================================================
   PRICING SECTION
   ===================================================== */
.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
    position: relative;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: rgba(96, 165, 250, 0.05);
    box-shadow: var(--shadow-accent);
}

.pricing-badge {
    position: absolute;
    top: -0.875rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.pricing-currency {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-left: 0.25rem;
}

.pricing-btn {
    width: 100%;
    margin-bottom: 1.5rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.pricing-feature svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* =====================================================
   STRIPE CHECKOUT SECTION
   ===================================================== */
.checkout-section {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    padding: 2rem;
    margin-top: 4rem;
}

@media (min-width: 1024px) {
    .checkout-section { padding: 3rem; }
}

.checkout-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .checkout-grid { grid-template-columns: 1fr 1fr; }
}

.checkout-product {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.checkout-product-image {
    width: 120px;
    height: 120px;
    background: var(--secondary);
    border-radius: 0.75rem;
    padding: 0.5rem;
    flex-shrink: 0;
}

.checkout-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.checkout-product-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.checkout-variants {
    margin-top: 1rem;
}

.checkout-variants label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.checkout-variants select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-size: 0.875rem;
    cursor: pointer;
}

.checkout-variants select:focus {
    outline: none;
    border-color: var(--accent);
}

.checkout-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.checkout-summary-row:last-of-type {
    border-bottom: none;
}

.checkout-summary-label {
    color: var(--muted-foreground);
}

.checkout-summary-value {
    font-weight: 600;
}

.checkout-summary-total {
    font-size: 1.5rem;
    color: var(--accent);
}

.checkout-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1rem;
}

.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.checkout-secure svg {
    width: 1rem;
    height: 1rem;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(96, 165, 250, 0.15), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.15);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item[open] {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.25), 
                0 0 0 1px var(--accent);
}

.faq-item[open]::before {
    opacity: 1;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: all var(--transition-fast);
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    opacity: 0.5;
}

.faq-item[open] .faq-question::after {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 1;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--accent);
    background: rgba(96, 165, 250, 0.03);
}

.faq-question:hover span {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.faq-icon {
    flex-shrink: 0;
    transition: all var(--transition-base);
    color: var(--accent);
    filter: drop-shadow(0 0 0 transparent);
}

.faq-question:hover .faq-icon {
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
    transform: scale(1.1);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.8));
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 0.9375rem;
    animation: fadeInDown 0.4s ease-out;
    transform-origin: top;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    margin-bottom: 0.75rem;
    animation: slideIn 0.3s ease-out backwards;
}

.faq-answer p:nth-child(1) { animation-delay: 0.05s; }
.faq-answer p:nth-child(2) { animation-delay: 0.1s; }
.faq-answer p:nth-child(3) { animation-delay: 0.15s; }

.faq-answer p strong {
    color: var(--accent);
    font-weight: 700;
}

/* Dodatkowe odstępy dla nagłówków marek w długich listach */
.faq-answer p:has(strong) {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(96, 165, 250, 0.1);
}

.faq-answer p:has(strong):first-of-type {
    margin-top: 0.5rem;
    padding-top: 0;
    border-top: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.25rem;
    list-style: none;
}

.faq-answer li {
    margin-bottom: 0.4rem;
    padding-left: 1.25rem;
    position: relative;
    animation: slideIn 0.3s ease-out backwards;
    line-height: 1.6;
}

.faq-answer li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.faq-answer li:nth-child(1) { animation-delay: 0.1s; }
.faq-answer li:nth-child(2) { animation-delay: 0.15s; }
.faq-answer li:nth-child(3) { animation-delay: 0.2s; }
.faq-answer li:nth-child(4) { animation-delay: 0.25s; }
.faq-answer li:nth-child(5) { animation-delay: 0.3s; }
.faq-answer li:nth-child(6) { animation-delay: 0.35s; }
.faq-answer li:nth-child(7) { animation-delay: 0.4s; }
.faq-answer li:nth-child(8) { animation-delay: 0.45s; }
.faq-answer li:nth-child(9) { animation-delay: 0.5s; }
.faq-answer li:nth-child(10) { animation-delay: 0.55s; }

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
    transition: all var(--transition-fast);
    position: relative;
}

.faq-answer a::before {
    content: '';
    position: absolute;
    inset: -2px -4px;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 4px;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: -1;
}

.faq-answer a:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

.faq-answer a:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .faq-question::after {
        left: 1.25rem;
        right: 1.25rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem 1rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .faq-icon {
        width: 20px;
        height: 20px;
    }
    
    /* Lżejsze efekty glow na mobile dla oszczędności baterii */
    .faq-item:hover {
        box-shadow: 0 2px 8px rgba(96, 165, 250, 0.1);
    }
    
    .faq-item[open] {
        box-shadow: 0 4px 16px rgba(96, 165, 250, 0.15), 
                    0 0 0 1px var(--accent);
    }
    
    .faq-question:hover span {
        text-shadow: none;
    }
    
    .faq-question:hover .faq-icon {
        filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.4));
    }
    
    .faq-item[open] .faq-icon {
        filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.6));
    }
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .cta-section { padding: 8rem 0; }
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
    filter: blur(60px);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 896px;
    margin: 0 auto;
}

.cta-title {
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .cta-actions { flex-direction: row; }
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.cta-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.cta-stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

@media (min-width: 1024px) {
    .footer { padding: 4rem 0; }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); }
}

.footer-brand {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .footer-brand { grid-column: span 1; }
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 1rem 0;
    max-width: 280px;
}

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

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: rgba(96, 165, 250, 0.2);
    color: var(--accent);
}

.footer-column h3 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-link {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* =====================================================
   FOCUS & ACCESSIBILITY
   ===================================================== */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--accent-foreground);
    border-radius: 0.5rem;
    z-index: 9999;
    transition: top var(--transition-fast);
}

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

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

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    .winter-bg,
    .header,
    .footer,
    .mobile-menu,
    .mobile-menu-overlay,
    .scroll-indicator,
    .cta-section,
    button {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section { padding: 2rem 0; }
}

/* =====================================================
   LOADING STATES
   ===================================================== */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   PRODUCT CONFIGURATOR & CHECKOUT COMBINED
   ===================================================== */
.product-checkout-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .product-checkout-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Product Display */
.product-display {
    position: relative;
}

@media (min-width: 1024px) {
    .product-display {
        position: sticky;
        top: 6rem;
    }
}

.product-image-container {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--secondary) 0%, #0a0a0f 100%);
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    padding: 1rem;
    overflow: hidden;
    position: relative;
}

.product-display-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity var(--transition-base);
}

.product-display-label {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent);
}

/* Product Configurator */
.product-configurator {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.configurator-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .configurator-section {
        padding: 2rem;
    }
}

.configurator-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.configurator-step {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--accent-foreground);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Package Selector */
.package-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.package-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    color: var(--foreground);
}

.package-option:hover {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(96, 165, 250, 0.05);
}

.package-option.active {
    border-color: var(--accent);
    background: rgba(96, 165, 250, 0.1);
}

.package-badge {
    position: absolute;
    top: -0.625rem;
    left: 1rem;
    padding: 0.125rem 0.5rem;
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.package-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.package-desc {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.package-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

/* Ring Selector Enhanced */
.ring-selector {
    padding: 1rem;
    border-radius: 0.75rem;
    border: 2px solid var(--border);
    text-align: left;
    transition: all var(--transition-fast);
    background: var(--background);
    color: var(--foreground);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
}

.ring-selector:hover {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(96, 165, 250, 0.05);
}

.ring-selector.active {
    border-color: var(--accent);
    background: rgba(96, 165, 250, 0.1);
}

.ring-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.ring-compat {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Checkout Summary Box */
.checkout-summary-box {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.checkout-summary-row:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.checkout-total-row {
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.checkout-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.checkout-value {
    font-weight: 600;
    font-size: 0.875rem;
}

.checkout-free {
    color: var(--accent);
}

.checkout-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.checkout-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn svg {
    flex-shrink: 0;
}

.checkout-btn .spinner {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

/* Checkout Features */
.checkout-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.checkout-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.checkout-feature svg {
    width: 1rem;
    height: 1rem;
    color: var(--accent);
    flex-shrink: 0;
}

/* Checkout Secure Badge */
.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(96, 165, 250, 0.05);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.checkout-secure svg {
    width: 1rem;
    height: 1rem;
    color: var(--accent);
}

/* =====================================================
   MOBILE RESPONSIVE STYLES
   ===================================================== */

/* Small devices (phones) */
@media (max-width: 480px) {
    /* Ciemniejszy overlay na tło dla lepszej czytelności na mobile */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.7);
        pointer-events: none;
        z-index: 0;
    }
    
    /* Zapewnienie że zawartość jest ponad overlay */
    body > * {
        position: relative;
        z-index: 1;
    }
    
    /* Hero section mobile */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .hero-actions {
        gap: 0.75rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .hero-stat {
        font-size: 0.8125rem;
    }
    
    /* Section headers mobile */
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 0.9375rem;
    }
    
    /* Feature rows mobile */
    .features-rows {
        gap: 2.5rem;
    }
    
    .feature-row {
        gap: 1rem;
    }
    
    .feature-row-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-row-description {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    .feature-row-image {
        border-radius: 0.75rem;
    }
    
    /* Technology tabs mobile */
    .tech-tabs {
        gap: 0.25rem;
        flex-wrap: wrap;
    }
    
    .tech-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
        flex: 1;
        min-width: auto;
    }
    
    .tech-info h3 {
        font-size: 1.25rem;
    }
    
    .tech-info p {
        font-size: 0.9375rem;
    }
    
    /* Testimonials mobile */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .testimonial-name {
        font-size: 0.9375rem;
    }
    
    .testimonial-role {
        font-size: 0.75rem;
    }
    
    /* Product checkout mobile */
    .product-image-container {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 280px;
    }
    
    .product-display-img {
        max-height: 250px;
        object-fit: contain;
    }
    
    .product-display-label {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .configurator-section {
        padding: 1rem;
    }
    
    .configurator-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .configurator-step {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
    }
    
    .package-option {
        padding: 0.875rem 1rem;
    }
    
    .package-name {
        font-size: 0.875rem;
    }
    
    .package-desc {
        font-size: 0.6875rem;
    }
    
    .package-price {
        font-size: 1rem;
    }
    
    .ring-selector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .ring-selector {
        padding: 0.75rem;
    }
    
    .ring-name {
        font-size: 0.8125rem;
    }
    
    .ring-compat {
        font-size: 0.6875rem;
    }
    
    .checkout-summary-box {
        padding: 0.875rem;
    }
    
    .checkout-total {
        font-size: 1.25rem;
    }
    
    .checkout-btn {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }
    
    .checkout-features {
        margin: 1rem 0;
    }
    
    .checkout-feature {
        font-size: 0.75rem;
    }
    
    /* CTA section mobile */
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 0.9375rem;
    }
    
    .cta-stats {
        gap: 1rem;
    }
    
    .cta-stat-value {
        font-size: 1.25rem;
    }
    
    .cta-stat-label {
        font-size: 0.6875rem;
    }
    
    /* Footer mobile */
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-brand p {
        font-size: 0.875rem;
    }
    
    .footer-column h3 {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-link {
        font-size: 0.8125rem;
        padding: 0.375rem 0;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* Medium mobile devices */
@media (max-width: 640px) {
    /* Ciemniejszy overlay na tło dla lepszej czytelności na mobile */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.7);
        pointer-events: none;
        z-index: 0;
    }
    
    /* Zapewnienie że zawartość jest ponad overlay */
    body > * {
        position: relative;
        z-index: 1;
    }
    
    /* Container padding */
    .container {
        padding: 0 1rem;
    }
    
    /* Section padding */
    .section {
        padding: 4rem 0;
    }
    
    /* Ring selector grid - 2 columns on smaller tablets */
    .ring-selector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* CTA stats - wrap */
    .cta-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Tablets and larger mobile */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-row-title {
        font-size: 1.5rem;
    }
    
    /* 3 columns for ring selector on tablets */
    .ring-selector-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

