/* RS Roofs.AI - Modern Landing Page Styles */

/* ==================== CSS Variables ==================== */
:root {
    /* Colors */
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-card: #1a1a24;
    --color-bg-card-hover: #22222e;

    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-primary-dark: #4f46e5;

    --color-accent: #22d3ee;
    --color-accent-light: #67e8f9;

    --color-text: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;

    --color-border: #27272a;
    --color-border-light: #3f3f46;

    --color-success: #22c55e;
    --color-error: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    --gradient-hero: radial-gradient(ellipse at top, #1e1e2e 0%, var(--color-bg) 70%);
    --gradient-card: linear-gradient(180deg, var(--color-bg-card) 0%, rgba(26, 26, 36, 0.5) 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==================== Reset & Base ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
}

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

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

.btn-full {
    width: 100%;
}

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    height: 72px;
}

.nav-container {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 24px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 8px 16px;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.logo-accent {
    color: var(--color-accent);
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
    color: var(--color-text);
    background: rgba(99, 102, 241, 0.12);
}

.nav-links .nav-cta {
    background: var(--gradient-primary);
    padding: 8px 18px;    
    color: white;
    margin-left: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.nav-links .nav-cta:hover {
    box-shadow: var(--shadow-glow);
    background: var(--gradient-primary);
    transform: translateY(-1px);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--color-text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    margin-left: 4px;
    transition: all var(--transition-fast);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-border-light);
}

.lang-option {
    transition: color var(--transition-fast);
}

.lang-option.active {
    color: var(--color-primary);
}

.lang-separator {
    color: var(--color-border-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg-secondary);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.1rem;
    padding: 12px 0;
    color: var(--color-text-secondary);
}

.mobile-lang {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.lang-btn {
    flex: 1;
    padding: 12px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover, .lang-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* ==================== App Banner ==================== */
.app-banner {
    position: relative;
    z-index: 100;
    margin-top: 70px;
    padding: 42px 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.app-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-banner-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.app-banner-logo {
    height: 156px;
    width: auto;
}

.app-banner-tagline {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.4;
    max-width: 320px;
}

.btn-app-launch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--color-primary);
    color: #ffffff;
    border: none;    
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-app-launch:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-app-launch svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ==================== Hero Section ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary-light);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.hero-visual {
    display: none;
}

/* ==================== Hero Showcase ==================== */
.hero-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.showcase-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(ellipse at center,
        rgba(99, 102, 241, 0.15) 0%,
        rgba(34, 211, 238, 0.06) 40%,
        transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    animation: showcase-glow-pulse 4s ease-in-out infinite;
}

@keyframes showcase-glow-pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

.showcase-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    perspective: 1000px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

/* Back cards (decorative depth) */
.showcase-carousel::before,
.showcase-carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    pointer-events: none;
}

.showcase-carousel::before {
    transform: translate(12px, 12px) scale(0.97);
    opacity: 0.3;
    z-index: 0;
}

.showcase-carousel::after {
    transform: translate(6px, 6px) scale(0.985);
    opacity: 0.5;
    z-index: 1;
}

.showcase-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 2;
    will-change: transform, opacity;
}

.showcase-slide.active {
    opacity: 1;
    z-index: 3;
}

/* ---------- Transition 1: 3D Cube Rotation ---------- */
.showcase-slide.exit-cube {
    animation: cube-out 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 4;
}
.showcase-slide.enter-cube {
    animation: cube-in 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 3;
}

@keyframes cube-out {
    0% { opacity: 1; transform: rotateY(0deg) scale(1); }
    100% { opacity: 0; transform: rotateY(-90deg) scale(0.85); }
}
@keyframes cube-in {
    0% { opacity: 0; transform: rotateY(90deg) scale(0.85); }
    100% { opacity: 1; transform: rotateY(0deg) scale(1); }
}

/* ---------- Transition 2: Swipe + Tilt ---------- */
.showcase-slide.exit-swipe {
    animation: swipe-out 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 4;
}
.showcase-slide.enter-swipe {
    animation: swipe-in 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 3;
}

@keyframes swipe-out {
    0% { opacity: 1; transform: translateX(0) rotate(0deg); }
    100% { opacity: 0; transform: translateX(-110%) rotate(-4deg); }
}
@keyframes swipe-in {
    0% { opacity: 0; transform: translateX(110%) rotate(4deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0deg); }
}

/* ---------- Transition 3: Zoom Through ---------- */
.showcase-slide.exit-zoom {
    animation: zoom-out 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 4;
}
.showcase-slide.enter-zoom {
    animation: zoom-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 3;
}

@keyframes zoom-out {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.8); }
}
@keyframes zoom-in {
    0% { opacity: 0; transform: scale(0.3) translateY(40px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Transition 4: Card Shuffle ---------- */
.showcase-slide.exit-shuffle {
    animation: shuffle-out 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 4;
}
.showcase-slide.enter-shuffle {
    animation: shuffle-in 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 3;
}

@keyframes shuffle-out {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    40% { opacity: 1; transform: translateY(-12px) scale(0.92); }
    100% { opacity: 0; transform: translateY(20px) scale(0.88); }
}
@keyframes shuffle-in {
    0% { opacity: 0; transform: translateY(60px) scale(0.92); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.showcase-frame {
    width: 100%;
    height: 100%;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 8px 30px -4px rgba(0, 0, 0, 0.35),
        0 20px 60px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.showcase-frame-dots {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.showcase-frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.showcase-frame-dots span:nth-child(1) { background: #ff5f57; }
.showcase-frame-dots span:nth-child(2) { background: #febc2e; }
.showcase-frame-dots span:nth-child(3) { background: #28c840; }

.showcase-frame img {
    display: block;
    width: 100%;
    flex: 1;
    object-fit: cover;
    object-position: top left;
}

/* Showcase navigation dots */
.showcase-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    z-index: 5;
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-border-light);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.showcase-dot:hover {
    background: var(--color-primary-light);
    transform: scale(1.2);
}

.showcase-dot.active {
    background: var(--color-primary);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
    width: 28px;
    border-radius: 5px;
}

/* ==================== Section Styles ==================== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

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

/* ==================== Benefits Section ==================== */
.benefits {
    background: var(--color-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-light);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary-light);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==================== How It Works Section ==================== */
.how-it-works {
    background: var(--color-bg-secondary);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.step.reverse .step-content {
    order: 2;
}

.step.reverse .step-visual {
    order: 1;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.08);
    line-height: 1;
    pointer-events: none;
}

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

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    box-shadow: var(--shadow-glow);
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.step-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.step-content p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.step-visual {
    display: flex;
    justify-content: center;
}

/* Step Screenshot Frame */
.step-screenshot {
    width: 100%;
    max-width: 500px;
}

.screenshot-frame {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 10px 30px -5px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.screenshot-frame:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 12px -2px rgba(0, 0, 0, 0.15),
        0 20px 40px -8px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.screenshot-frame-dots {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.screenshot-frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
}

.screenshot-frame-dots span:nth-child(1) {
    background: #ff5f57;
}

.screenshot-frame-dots span:nth-child(2) {
    background: #febc2e;
}

.screenshot-frame-dots span:nth-child(3) {
    background: #28c840;
}

.screenshot-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==================== Demo Section ==================== */
.demo {
    background: var(--color-bg);
}

.video-container {
    max-width: 1280px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--gradient-card);
}

.play-button {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-normal);
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.video-placeholder span {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

/* ==================== Screenshots Section ==================== */
.screenshots {
    background: var(--color-bg-secondary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.screenshot-card {
    cursor: pointer;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.screenshot-card:hover {
    transform: translateY(-6px);
}

.screenshot-card:hover .screenshot-frame-mini {
    box-shadow:
        0 12px 24px -4px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(99, 102, 241, 0.3);
}

.screenshot-frame-mini {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow:
        0 2px 8px -2px rgba(0, 0, 0, 0.1),
        0 4px 16px -4px rgba(0, 0, 0, 0.12);
    transition: box-shadow var(--transition-normal);
}

.screenshot-frame-mini .screenshot-frame-dots {
    display: flex;
    gap: 5px;
    padding: 7px 10px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.screenshot-frame-mini .screenshot-frame-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
}

.screenshot-frame-mini .screenshot-frame-dots span:nth-child(1) { background: #ff5f57; }
.screenshot-frame-mini .screenshot-frame-dots span:nth-child(2) { background: #febc2e; }
.screenshot-frame-mini .screenshot-frame-dots span:nth-child(3) { background: #28c840; }

.screenshot-frame-mini img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.screenshot-label {
    text-align: center;
    padding: 10px 8px 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2.5rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

/* ==================== Signup Section ==================== */
.signup {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.signup-content .section-badge,
.signup-content .section-title,
.signup-content .section-description {
    text-align: left;
    margin-left: 0;
}

.signup-benefits {
    list-style: none;
    margin-top: 32px;
}

.signup-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.signup-benefits li::before {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-success);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.signup-form-wrapper {
    position: relative;
}

.signup-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: var(--color-text-muted);
}

.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.checkbox-group {
    display: flex;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    display: flex;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.checkbox-custom {
    display: inline-block;
    flex-shrink: 0;
    min-width: 22px;
    width: 22px;
    height: 22px;
    border: 2px solid #71717a;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all var(--transition-fast);
}

.checkbox-label:hover .checkbox-custom {
    border-color: #a1a1aa;
    background: rgba(255, 255, 255, 0.1);
}

.checkbox-group.error .checkbox-custom {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.checkbox-group.error .checkbox-error {
    display: block;
}

.checkbox-error {
    display: none;
    color: #ef4444;
    font-size: 0.82rem;
    margin-top: 6px;
}

.checkbox-group input:checked + .checkbox-label .checkbox-custom {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-group input:checked + .checkbox-label .checkbox-custom::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

/* NIP/VATID Input Group */
.nip-input-group {
    display: flex;
    gap: 8px;
}

.nip-input-group input {
    flex: 1;
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.nip-input-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.nip-input-group input::placeholder {
    color: var(--color-text-muted);
}

.btn-nip-lookup {
    padding: 14px 20px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.btn-nip-lookup:hover {
    background: var(--color-primary-dark, #4f46e5);
    transform: translateY(-1px);
}

.btn-nip-lookup:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.nip-status {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    min-height: 1.2em;
}

.nip-status.success {
    color: var(--color-success);
}

.nip-status.error {
    color: #ef4444;
}

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

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 16px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.form-success.show {
    display: block;
}

.form-success .success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--color-success);
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--color-text-secondary);
}

.form-error {
    display: none;
    text-align: center;
    padding: 16px 24px;
    margin-top: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-lg);
    color: #ef4444;
}

.form-error.show {
    display: block;
}

/* ==================== Modes Section ==================== */
.modes {
    background: var(--color-bg);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.mode-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    transition: all var(--transition-normal);
}

.mode-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-light);
}

.mode-card.recommended {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--color-bg-card) 100%);
}

.mode-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mode-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.mode-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary-light);
}

.mode-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.mode-desc {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.mode-features {
    list-style: none;
}

.mode-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.mode-features li::before {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-success);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* ==================== Features Section ==================== */
.features {
    background: var(--color-bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-item {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary-light);
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ==================== Pricing Section ==================== */
.pricing {
    background: var(--color-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-light);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--color-bg-card) 100%);
}

.pricing-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--color-text-secondary);
}

.pricing-features li::before {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-success);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: bold;
}

.pricing-card.coming-soon {
    display: flex;
    flex-direction: column;
}

.pricing-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.pricing-placeholder svg {
    width: 64px;
    height: 64px;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.pricing-links {
    margin-top: auto;
}

/* ==================== Manufacturers Section ==================== */
.manufacturers {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.manufacturers-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.manufacturers-form-wrapper {
    position: relative;
}

.manufacturers-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.manufacturers-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: all var(--transition-fast);
}

.manufacturers-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.manufacturers-form textarea::placeholder {
    color: var(--color-text-muted);
}

.manufacturers-content {
    text-align: left;
}

.manufacturers-content .section-badge,
.manufacturers-content .section-title,
.manufacturers-content .section-description {
    text-align: left;
    margin-left: 0;
}

.manufacturers-benefits {
    list-style: none;
    margin-top: 32px;
}

.manufacturers-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.manufacturers-benefits li::before {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-success);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* ==================== Training Section ==================== */
.training {
    background: var(--color-bg-secondary);
}

.training-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.training-content .section-badge,
.training-content .section-title,
.training-content .section-description {
    text-align: left;
    margin-left: 0;
}

.training-features {
    list-style: none;
    margin-top: 24px;
}

.training-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--color-text-secondary);
}

.training-features li::before {
    content: '\2713';
    color: var(--color-success);
    font-weight: bold;
}

.training-cta {
    text-align: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.training-link {
    margin-top: 16px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==================== Feedback Section ==================== */
.feedback {
    background: var(--color-bg);
}

.feedback-form-wrapper {
    max-width: 80%;
    margin: 0 auto;
}

.feedback-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.star-rating {
    text-align: center;
    margin-bottom: 24px;
}

.rating-label {
    display: block;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.star {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: all var(--transition-fast);
}

.star svg {
    width: 40px;
    height: 40px;
    color: var(--color-border-light);
    transition: all var(--transition-fast);
}

.star:hover svg,
.star.active svg {
    color: #fbbf24;
    fill: #fbbf24;
}

.star:hover ~ .star svg {
    color: var(--color-border-light);
    fill: none;
}

.stars:hover .star svg {
    color: var(--color-border-light);
    fill: none;
}

.stars:hover .star:hover svg,
.stars:hover .star:hover ~ .star svg {
    color: var(--color-border-light);
    fill: none;
}

.stars:hover .star:hover svg {
    color: #fbbf24;
    fill: #fbbf24;
}

.stars .star:hover svg,
.stars .star:hover ~ .star svg {
    color: var(--color-border-light);
    fill: none;
}

.stars:hover .star:hover svg,
.stars:hover .star:has(~ .star:hover) svg {
    color: #fbbf24;
    fill: #fbbf24;
}

.feedback-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: all var(--transition-fast);
}

.feedback-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.feedback-form textarea::placeholder {
    color: var(--color-text-muted);
}

.feedback-form .btn {
    width: 100%;
    margin-top: 16px;
}

.feedback-success,
.feedback-error {
    display: none;
    text-align: center;
    padding: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.feedback-success.show,
.feedback-error.show {
    display: block;
}

.feedback-success .success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--color-success);
}

.feedback-error {
    border-color: var(--color-error);
}

.feedback-error p {
    color: var(--color-error);
}

/* ==================== Footer ==================== */
.footer {
    background: var(--color-bg-secondary);
    padding: 60px 0 24px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 1;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

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

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

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

/* ==================== Privacy Policy Page ==================== */
.privacy-policy {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-intro {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 24px auto 0;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 40px;
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.privacy-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-section p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.privacy-section ul li {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid rgba(39, 39, 42, 0.5);
}

.privacy-section ul li:last-child {
    border-bottom: none;
}

.privacy-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.privacy-updated {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.privacy-updated p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.footer-privacy-link {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.gdpr-link {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

/* ==================== Responsive Design ==================== */
@media (min-width: 1024px) {
    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        text-align: left;
    }

    .hero-content {
        max-width: none;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .hero-visual {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 1023px) {
    .step {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step.reverse .step-content,
    .step.reverse .step-visual {
        order: unset;
    }

    .step-number {
        font-size: 5rem;
    }

    .signup-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .signup-content .section-badge,
    .signup-content .section-title,
    .signup-content .section-description {
        text-align: center;
        margin: 0 auto;
    }

    .signup-benefits {
        display: inline-block;
        text-align: left;
    }

    .manufacturers-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .manufacturers-content {
        text-align: center;
        order: -1;
    }

    .manufacturers-content .section-badge,
    .manufacturers-content .section-title,
    .manufacturers-content .section-description {
        text-align: center;
        margin: 0 auto;
    }

    .manufacturers-benefits {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .logo-img {
        height: 32px;
    }

    .logo {
        font-size: 1.15rem;
    }

    .app-banner {
        padding: 20px 0;
    }

    .app-banner-inner {
        flex-direction: column;
        gap: 20px;
        padding: 24px 20px;
        text-align: center;
    }

    .app-banner-brand {
        flex-direction: column;
        gap: 12px;
    }

    .app-banner-logo {
        height: 100px;
    }

    .app-banner-tagline {
        font-size: 0.9rem;
    }

    .btn-app-launch {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

    .hero-showcase {
        max-width: 380px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

    .step-content h3 {
        font-size: 1.4rem;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .signup-form {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 1023px) {
    .training-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .training-content .section-badge,
    .training-content .section-title,
    .training-content .section-description {
        text-align: center;
        margin: 0 auto;
    }

    .training-features {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .modes-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .manufacturers-form {
        padding: 24px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

    .star svg {
        width: 32px;
        height: 32px;
    }

    .mode-card {
        padding: 24px;
    }

    .feedback-form {
        padding: 24px;
    }

    .privacy-policy {
        padding: 100px 0 60px;
    }

    .privacy-section {
        padding: 20px;
        margin-bottom: 24px;
    }

    .privacy-section h2 {
        font-size: 1.1rem;
    }
}
