/* ========================================
   TechnoElectro España - Cyberpunk Theme
   Modern Electronics & Automation Website
   ======================================== */

/* === ROOT VARIABLES === */
:root {
    --primary-color: #00e5ff;
    --secondary-color: #ff00ff;
    --accent-color: #7000ff;
    --bg-dark: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --text-muted: #8a8a9e;
    --border-color: rgba(0, 229, 255, 0.3);
    --glow-primary: 0 0 20px rgba(0, 229, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(255, 0, 255, 0.5);
}

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

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

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

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

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

a:hover {
    color: var(--secondary-color);
}

/* === SKIP LINK === */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 10000;
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.skip-link:focus {
    top: 20px;
}

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

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

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

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.site-logo {
    width: 45px;
    height: 45px;
    filter: drop-shadow(var(--glow-primary));
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    pointer-events: none;
}

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

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

.header-phone {
    display: none;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .header-phone {
        display: block;
    }
}

.header-phone:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: var(--glow-primary);
}

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

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
    color: var(--bg-dark);
}

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

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

.btn-service {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 229, 255, 0.15), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 0, 255, 0.15), transparent 50%),
                linear-gradient(180deg, var(--bg-dark), var(--bg-secondary));
    pointer-events: none;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(0, 229, 255, 0.03) 0px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, rgba(0, 229, 255, 0.03) 0px, transparent 1px, transparent 40px);
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-image {
    display: none;
}

@media (min-width: 1024px) {
    .hero-section .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .hero-image {
        display: block;
        position: relative;
    }

    .hero-image img {
        border-radius: 10px;
        border: 2px solid var(--border-color);
        box-shadow: 0 20px 60px rgba(0, 229, 255, 0.2);
    }
}

/* === PAGE HERO === */
.page-hero {
    position: relative;
    padding: 150px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-hero-content h1 {
    margin-bottom: 1rem;
}

/* === SECTIONS === */
section {
    padding: 80px 0;
    position: relative;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* === SERVICES SECTION === */
.services-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05), transparent 70%);
    pointer-events: none;
}

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

.service-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    pointer-events: none;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

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

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

/* === ABOUT PREVIEW === */
.about-preview-section {
    padding: 100px 0;
}

.about-preview-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-preview-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-features {
    list-style: none;
    margin: 2rem 0;
}

.about-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.about-preview-image img {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.15);
}

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

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

.testimonial-card {
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.testimonial-rating {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* === BLOG PREVIEW === */
.blog-preview-section {
    background: var(--bg-secondary);
}

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

.blog-preview-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.2);
}

.blog-preview-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

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

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

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* === BLOG PAGE === */
.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    gap: 3rem;
}

.blog-article-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .blog-article-card {
        grid-template-columns: 400px 1fr;
    }
}

.blog-article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-content {
    padding: 2rem;
}

.blog-article-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-article-content h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-article-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-category {
    background: rgba(0, 229, 255, 0.2);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-read-time {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === ARTICLE PAGE === */
.article-page {
    padding-top: 70px;
}

.article-hero {
    position: relative;
    padding: 80px 0 60px;
    background: var(--bg-secondary);
    overflow: hidden;
}

.article-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    background: rgba(0, 229, 255, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.article-author,
.article-date,
.article-read-time {
    font-size: 0.95rem;
}

.article-content {
    padding: 60px 0;
}

.article-content .container {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .article-content .container {
        grid-template-columns: 1fr 300px;
    }
}

.article-body {
    max-width: 800px;
}

.article-featured-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
}

.article-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.author-box,
.related-articles,
.cta-box {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
}

.author-info {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.author-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.author-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.author-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.related-articles ul {
    list-style: none;
    margin-top: 1rem;
}

.related-articles li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.related-articles li:last-child {
    border-bottom: none;
}

.cta-box h3 {
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* === CONTACT PAGE === */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

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

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    margin-bottom: 1rem;
}

.contact-form {
    margin-top: 2rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: rgba(0, 229, 255, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    color: #ff6b6b;
    display: block;
}

/* Contact Info */
.contact-info-box {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.contact-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-details,
.schedule-list {
    list-style: none;
}

.contact-details li,
.schedule-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details li:last-child,
.schedule-list li:last-child {
    border-bottom: none;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.1);
}

/* === COMPANY STORY === */
.company-story-section {
    padding: 80px 0;
}

.story-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

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

.story-content h2 {
    margin-bottom: 1.5rem;
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-image img {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.15);
}

/* === VALUES SECTION === */
.values-section {
    background: var(--bg-tertiary);
}

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

.value-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.2);
}

.value-icon {
    margin-bottom: 1.5rem;
}

.value-icon img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

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

/* === TEAM SECTION === */
.team-section {
    padding: 80px 0;
}

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

.team-member {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.2);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-color);
    margin: 1.5rem 1rem 0.5rem;
}

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

.team-bio {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* === STATS SECTION === */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(255, 0, 255, 0.05));
    padding: 80px 0;
}

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

.stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.2);
}

.stat-number-large {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label-large {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* === LEGAL PAGES === */
.legal-section {
    padding: 100px 0 80px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3rem;
}

.legal-content h1 {
    margin-bottom: 0.5rem;
}

.legal-update {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

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

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

.footer-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

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

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

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

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    padding: 0.5rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.footer-contact li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact li:last-child {
    border-bottom: none;
}

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

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--primary-color);
    padding: 1.5rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

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

.cookie-content p {
    margin: 0;
    color: var(--text-secondary);
    flex: 1;
    min-width: 300px;
}

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

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.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 === */
@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

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

    .services-grid,
    .testimonials-grid,
    .blog-preview-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }
}

/* === ANIMATIONS === */
[data-aos] {
    pointer-events: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === PSEUDO-ELEMENTS POINTER FIX === */
*::before,
*::after {
    pointer-events: none;
}

/* Allow pointer events on specific elements that need it */
.form-group input::placeholder,
.form-group textarea::placeholder {
    pointer-events: auto;
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* === PRINT STYLES === */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .btn,
    .cta-section {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
