:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #a78bfa;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: rgba(15, 23, 42, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.1);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Top Bar */
.top-bar {
    background: var(--gradient);
    text-align: center;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: var(--glass);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.brand:hover {
    opacity: 0.8;
}

.brand-logo {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.brand:hover .brand-logo {
    transform: rotate(360deg);
}

.brand-dot {
    width: 12px;
    height: 12px;
    background: var(--gradient);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

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

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

.nav-btn {
    background: var(--gradient);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-btn .line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero-split {
    padding: 6rem 0;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

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

.hero-text {
    max-width: 600px;
}

.chip {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.display-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

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

.btn-ghost {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn.full-width {
    width: 100%;
}

.trust-indicator {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
}

.visual-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
    display: block;
    transition: transform 0.5s ease;
    background: var(--bg-card);
}

.visual-card:hover .hero-image {
    transform: scale(1.05);
}

/* Image loading states */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

.visual-placeholder {
    aspect-ratio: 6/7;
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.floating-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--gradient);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
    animation: float 3s ease-in-out infinite;
}

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

/* Ticker */
.ticker-wrap {
    overflow: hidden;
    background: var(--glass);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    padding: 0 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section */
.section {
    padding: 6rem 0;
    margin: 0;
}

.section-head {
    margin-bottom: 4rem;
}

.section-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-head p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

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

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.timeline-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

.timeline-image {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
}

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

.timeline-item:hover .timeline-image img {
    transform: scale(1.1);
}

.link-arrow {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow:hover {
    gap: 1rem;
}

/* Bento Grid */
.bento-section {
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    height: 600px;
}

.bento-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bento-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.box-large {
    grid-column: span 2;
    grid-row: span 1;
}

.box-small {
    grid-column: span 1;
    grid-row: span 1;
}

.box-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.box-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.bento-box p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.bento-visual {
    margin-top: auto;
    height: 200px;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
}

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

.bento-box:hover .bento-visual img {
    transform: scale(1.1);
}

.bento-image-small,
.bento-image-medium,
.bento-image-tall {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--bg-card);
    position: relative;
}

.bento-image-small {
    aspect-ratio: 4/3;
    max-height: 180px;
}

.bento-image-medium {
    aspect-ratio: 3/1;
    max-height: 150px;
}

.bento-image-tall {
    aspect-ratio: 3/4;
    max-height: 250px;
}

.bento-image-small img,
.bento-image-medium img,
.bento-image-tall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-box:hover .bento-image-small img,
.bento-box:hover .bento-image-medium img,
.bento-box:hover .bento-image-tall img {
    transform: scale(1.1);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s;
    font-size: 0.875rem;
}

.btn-sm:hover {
    transform: scale(1.05);
}

.icon-big {
    font-size: 4rem;
    text-align: center;
    margin-top: auto;
    opacity: 0.8;
}

.stats-preview {
    display: flex;
    gap: 2rem;
    margin-top: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Reviews */
.reviews-dark {
    background: var(--bg-dark);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-bubble {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-bubble:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.review-image {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
}

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

.review-bubble:hover .review-image img {
    transform: scale(1.1);
}

.review-bubble p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

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

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    position: relative;
}

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

.avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.avatar:hover::before {
    opacity: 0.2;
}

/* Contact Form */
.contact-minimal {
    background: radial-gradient(ellipse at bottom, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    margin-bottom: 0;
    padding-bottom: 4rem;
}

.contact-container {
    max-width: 600px;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

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

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

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

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    transform: translateY(-1.75rem) scale(0.875);
    color: var(--accent);
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s;
    background: var(--bg-card);
    padding: 0 0.5rem;
}

.input-group input::placeholder {
    opacity: 0;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.input-group input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.captcha-group {
    margin-bottom: 1.5rem;
}

.captcha-challenge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    padding: 1rem;
}

#captchaQuestion {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 100px;
}

.captcha-input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    max-width: 120px;
}

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

.captcha-input.error {
    border-color: #ef4444;
}

#captchaError {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-group label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
}

/* Footer */
.footer-simple {
    background: var(--bg-dark);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo .brand-logo {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.footer-logo:hover .brand-logo {
    transform: rotate(360deg);
}

.footer-logo .brand-dot {
    width: 12px;
    height: 12px;
    background: var(--gradient);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.footer-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s, transform 0.3s;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
}

.footer-link:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

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

.contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color 0.3s;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1000;
    max-width: 90%;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-banner.hidden {
    display: none;
}

.btn-xs {
    padding: 0.5rem 1.25rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.875rem;
    transition: transform 0.3s;
    white-space: nowrap;
}

.btn-xs:hover {
    transform: scale(1.05);
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 2001;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-window.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-window h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.modal-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-content h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.modal-content p {
    margin-bottom: 1rem;
}

.modal-content ul,
.modal-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.modal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-content ol {
    list-style-type: decimal;
}

.modal-content ol li {
    margin-left: 0.5rem;
}

.modal-content a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.modal-content a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.modal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }
    
    .box-large {
        grid-column: span 2;
    }
    
    .box-tall {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .burger-btn {
        display: flex;
    }
    
    .burger-btn.active .line:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger-btn.active .line:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .box-large,
    .box-tall,
    .box-medium {
        grid-column: span 1;
    }
    
    .form-card {
        padding: 2rem;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-indicator {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-simple {
        padding: 3rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Glass effect */
.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
}

/* Smooth scroll */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

