/* ============================================
   LogiX AI - Modern Cyberpunk Theme Stylesheet
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    --primary-cyan: #00e5ff;
    --primary-magenta: #ff00ff;
    --dark-bg: #0f0f1e;
    --dark-bg-secondary: #1a1a2e;
    --dark-bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #c0c0d0;
    --text-muted: #8080a0;
    --accent-cyan: #00b4d8;
    --accent-purple: #9d4edd;
    --glass-bg: rgba(26, 26, 46, 0.7);
    --glass-border: rgba(0, 229, 255, 0.2);
    --shadow-glow-cyan: 0 0 20px rgba(0, 229, 255, 0.3);
    --shadow-glow-magenta: 0 0 20px rgba(255, 0, 255, 0.3);
}

/* === GLOBAL RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-magenta);
    text-shadow: var(--shadow-glow-magenta);
}

/* === HEADER & NAVIGATION === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.site-logo {
    height: 50px;
    width: auto;
}

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

.nav-menu li a {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: var(--shadow-glow-cyan);
}

.nav-menu li a.active {
    color: var(--primary-cyan);
    background: rgba(0, 229, 255, 0.15);
}

.nav-phone {
    color: var(--primary-cyan);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* === SECTIONS === */
section {
    padding: 6rem 2rem;
    position: relative;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

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

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/img_2100a122.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.9), rgba(26, 26, 46, 0.8));
    pointer-events: none;
}

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00e5ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent-cyan));
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.6);
    color: var(--dark-bg);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-magenta), var(--accent-purple));
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.6);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-outline:hover {
    background: var(--primary-cyan);
    color: var(--dark-bg);
}

/* === CARDS (Glass Morphism) === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta));
    pointer-events: none;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.3);
    border-color: var(--primary-cyan);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.card h3 {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* === SERVICES SECTION === */
.services {
    background: var(--dark-bg-secondary);
}

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

.service-card img {
    height: 250px;
}

/* === TESTIMONIALS === */
.testimonials {
    background: var(--dark-bg-tertiary);
}

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

.testimonial-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-cyan);
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-author {
    color: var(--primary-cyan);
    font-weight: 600;
}

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

/* === TEAM SECTION === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

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

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-cyan);
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-member:hover .team-photo {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-cyan);
}

.team-name {
    color: var(--primary-cyan);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--text-muted);
    font-size: 1rem;
}

/* === BLOG SECTION === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card img {
    height: 220px;
}

.blog-date {
    color: var(--primary-magenta);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* === CONTACT FORM === */
.contact-section {
    background: var(--dark-bg-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary-cyan);
    font-size: 1.5rem;
    margin-top: 0.3rem;
}

.contact-item h4 {
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

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

/* === MAP === */
.map-container {
    margin-top: 4rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* === FOOTER === */
footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
}

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

.footer-section h3 {
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

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

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

.footer-section ul li a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}

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

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-content p {
    margin: 0;
    color: var(--text-secondary);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    html { font-size: 14px; }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark-bg-secondary);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--glass-border);
    }

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

    .nav-phone {
        display: none;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    section {
        padding: 4rem 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

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

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

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.6), 0 0 30px rgba(255, 0, 255, 0.4);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

/* === AOS ANIMATION OVERRIDES === */
[data-aos] {
    pointer-events: auto;
}

/* === ACCESSIBILITY === */
:focus {
    outline: 2px solid var(--primary-cyan);
    outline-offset: 2px;
}

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