/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #14101F;
    --bg-secondary: #1E1730;
    --text-primary: #F1EDE4;
    --text-secondary: #A79BC9;
    --accent-cyan: #2DD4BF;
    --accent-red: #FF6B6B;
    --accent-purple: #8B5CF6;
    --accent-yellow: #FBBF24;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Halftone Pattern Background */
.halftone-bg {
    background-image: radial-gradient(circle, var(--text-secondary) 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.1;
}

/* Diagonal Section Divider */
.diagonal-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    transform: skewX(-20deg);
    margin: 4rem 0;
}

/* Diagonal Cut Card */
.diagonal-card {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
    border: 2px solid var(--accent-cyan);
    background: var(--bg-secondary);
    padding: 2rem;
    transition: all 0.2s ease;
}

.diagonal-card:hover {
    transform: translateX(5px);
    border-color: var(--accent-purple);
    box-shadow: 4px 4px 0 var(--accent-purple);
}

/* Diagonal Button */
.btn-diagonal {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
}

.btn-diagonal:hover {
    background: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 var(--accent-red);
}

.btn-diagonal:active {
    transform: translateY(0);
}

/* Glitch Effect on Hover */
.glitch-hover {
    position: relative;
}

.glitch-hover:hover {
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

/* Badge Style */
.badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 16, 31, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--accent-cyan), transparent) 1;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo img {
    width: 128px;
    height: 128px;
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    position: relative;
}

nav a:hover {
    color: var(--accent-cyan);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--accent-cyan);
    margin: 6px 0;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-primary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(45, 212, 191, 0.1), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-badge {
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: inline-block;
}

/* Themed Atmosphere Block */
.themed-atmosphere {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.themed-atmosphere .diagonal-card {
    border-color: var(--accent-purple);
    text-align: center;
    padding: 3rem;
}

.themed-atmosphere h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-purple);
}

.themed-atmosphere p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.themed-atmosphere .highlight {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Sections */
section {
    padding: 8rem 2rem;
}

section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--accent-cyan);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

/* Warning Block */
.warning-block {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.warning-block .diagonal-card {
    border-color: var(--accent-red);
}

.warning-block p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 4rem 2rem 2rem;
    position: relative;
    clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--text-secondary);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Forms */
form {
    max-width: 600px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-primary);
    border: 2px solid var(--text-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 2px solid var(--accent-cyan);
    padding: 1.5rem 2rem;
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.cookie-banner-content {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0;
    color: var(--text-primary);
    flex: 1;
    font-size: 0.95rem;
}

.cookie-banner a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: var(--accent-purple);
}

.cookie-banner .btn-diagonal {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
    border: 2px solid var(--accent-cyan);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.modal-close {
    margin-top: 2rem;
    background: var(--accent-red);
}

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

.img-diagonal {
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

/* Gallery */
.gallery-item {
    padding: 0.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-cyan);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
    transition: all 0.2s ease;
}

.gallery-item:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
    box-shadow: 4px 4px 0 var(--accent-purple);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

/* SVG Icons */
.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.icon-lg {
    width: 48px;
    height: 48px;
}

/* Anchor Menu */
.anchor-menu {
    top: 80px;
    background: var(--bg-secondary);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent-cyan);
}

.anchor-menu ul {
    list-style: none;
}

.anchor-menu li {
    margin-bottom: 0.5rem;
}

.anchor-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.anchor-menu a:hover {
    color: var(--accent-cyan);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--text-secondary);
}

.comparison-table th {
    background: var(--bg-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table .recommended {
    background: rgba(45, 212, 191, 0.1);
    border-left: 3px solid var(--accent-cyan);
}

.comparison-table tr:hover {
    background: rgba(139, 92, 246, 0.05);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
    border: 2px solid var(--accent-purple);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-purple);
    font-family: 'Oswald', sans-serif;
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-bottom: 2px solid var(--accent-cyan);
    }
    
    nav ul.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-diagonal {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
