﻿/* Neon-Modernist Design - Dark Theme with Blue/Purple Accents */

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #151520;
    --text-primary: #e8e8f0;
    --text-secondary: #b8b8c8;
    --accent-blue: #00d4ff;
    --accent-purple: #9d4edd;
    --accent-blue-glow: rgba(0, 212, 255, 0.3);
    --accent-purple-glow: rgba(157, 78, 221, 0.3);
    --border-color: rgba(157, 78, 221, 0.2);
    --hover-blue: #00b8e6;
    --hover-purple: #7b2cbf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    text-rendering: optimizeLegibility;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Header Styles */
header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px var(--accent-blue-glow));
}

nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

nav ul li {
    flex-shrink: 0;
}

nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
    font-size: 0.95rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-blue);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--accent-blue);
}

nav ul li a.active::after {
    width: 100%;
}

.mobile-menu ul li a.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--accent-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.mobile-menu.active {
    max-height: 600px;
    opacity: 1;
    padding: 2rem;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu ul li a:hover {
    color: var(--accent-blue);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(157, 78, 221, 0.1));
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

.card,
.card:hover,
.card:focus,
.card:visited,
.card:active {
    text-decoration: none !important;
    outline: none;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px var(--accent-blue-glow);
}

.card h2 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card h3 {
    color: var(--accent-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card .card-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
    pointer-events: none;
}

.card:hover .card-link {
    color: var(--hover-blue);
}

/* Content Sections */
.content-section {
    margin: 3rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.content-section h1 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    line-height: 1.3;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.content-section h2 {
    font-size: 2.2rem;
    margin: 3rem 0 1.8rem;
    line-height: 1.4;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.content-section h3 {
    font-size: 1.6rem;
    color: var(--accent-purple);
    margin: 2.5rem 0 1.2rem;
    line-height: 1.5;
    font-weight: 600;
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    line-height: 1.9;
    font-size: 1.05rem;
    text-align: left;
    hyphens: auto;
    max-width: 100%;
}

.content-section > p:first-of-type {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.content-section ul, .content-section ol {
    margin: 2rem 0;
    padding-left: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.content-section li {
    margin-bottom: 1rem;
    line-height: 1.9;
    padding-left: 0.5rem;
}

.content-section strong {
    color: var(--accent-blue);
}

/* Images */
.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px var(--accent-blue-glow);
}

@media (min-width: 768px) {
    .content-section {
        overflow: hidden;
    }
    
    .content-section img {
        float: left;
        max-width: 48%;
        margin: 0 2rem 1.5rem 0;
        shape-outside: margin-box;
    }
    
    .content-section img:nth-of-type(even) {
        float: right;
        margin: 0 0 1.5rem 2rem;
    }
    
    .content-section::after {
        content: '';
        display: table;
        clear: both;
    }
    
    .content-section p {
        text-align: left;
    }
    
    .content-section p {
        text-align: justify;
    }
}

/* Form Styles */
.form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue-glow);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none !important;
    display: inline-block;
}

.btn,
.btn:hover,
.btn:focus,
.btn:visited,
.btn:active {
    text-decoration: none !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--accent-blue-glow);
}

.btn:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    z-index: 10000;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.active {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
    color: var(--text-secondary);
}

.cookie-banner-text a {
    color: var(--accent-blue);
    text-decoration: none;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
}

.cookie-btn-essential {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-blue-glow);
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--accent-blue);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    box-shadow: 0 5px 20px var(--accent-blue-glow);
    z-index: 10001;
    display: none;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.active {
    display: block;
}

/* Push Notification (Manual, not browser API) */
.push-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 90%;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 10002;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.push-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.push-notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.push-notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.push-notification-success {
    border-left: 4px solid var(--accent-blue);
}

.push-notification-success .push-notification-icon {
    background: var(--accent-blue);
    color: var(--bg-dark);
}

.push-notification-error {
    border-left: 4px solid #ff6b6b;
}

.push-notification-error .push-notification-icon {
    background: #ff6b6b;
    color: white;
}

.push-notification-message {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.push-notification-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.push-notification-close:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .push-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: calc(100% - 20px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    nav ul li a {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    nav ul {
        gap: 0.8rem;
    }
    
    nav ul li a {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .notification {
        right: 1rem;
        left: 1rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .content-section h3 {
        font-size: 1.5rem;
    }
    
    .content-section img {
        float: none !important;
        max-width: 100% !important;
        margin: 1.5rem 0 !important;
        display: block;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* Additional utility classes for replacing inline styles */
.btn-inline {
    display: inline-block;
    width: auto;
    margin-top: 2rem;
}

.btn-contact {
    display: inline-block;
    width: auto;
    margin-top: 1rem;
}

.required-field {
    color: var(--accent-blue);
}

.form-hint {
    color: var(--text-secondary);
    display: block;
    margin-top: 0.25rem;
}

.policy-link {
    color: var(--accent-blue);
}

.section-spacing {
    margin-top: 3rem;
}

.card-grid-spacing {
    margin-top: 2rem;
}

.content-image-spacing {
    margin-top: 2rem;
}

.contact-link {
    color: var(--accent-blue);
}

