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

:root {
    /* Neon Color Palette */
    --neon-blue: #00ffff;
    --neon-pink: #ff0080;
    --neon-green: #00ff88;
    --neon-purple: #8000ff;
    --neon-yellow: #ffff00;
    --neon-orange: #ff8000;
    
    /* Dark Theme Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-accent: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    --gradient-secondary: linear-gradient(135deg, var(--neon-pink), var(--neon-orange));
    --gradient-tertiary: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    
    /* Shadows */
    --shadow-neon: 0 0 20px var(--neon-blue);
    --shadow-glow: 0 0 40px rgba(0, 255, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--shadow-neon);
}

h2 {
    font-size: 2.5rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

h3 {
    font-size: 1.8rem;
    color: var(--neon-green);
}

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

a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--neon-blue);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--neon-pink);
}

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

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

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-blue);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 5px var(--neon-blue));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
}

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

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

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--neon-blue);
    transition: var(--transition-fast);
    box-shadow: 0 0 5px var(--neon-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from { text-shadow: 0 0 20px var(--neon-blue); }
    to { text-shadow: 0 0 30px var(--neon-blue), 0 0 40px var(--neon-blue); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 20px var(--neon-blue));
    animation: float 6s ease-in-out infinite;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
}

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

.service-card {
    background: var(--bg-accent);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: var(--transition-slow);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--neon-blue);
}

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

.service-img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 10px var(--neon-green));
}

.service-title {
    margin-bottom: 1rem;
    color: var(--neon-green);
}

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

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: bold;
}

/* About Section */
.about-preview,
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

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

.about-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    filter: drop-shadow(0 0 15px var(--neon-purple));
}

/* Testimonials */
.testimonials {
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-accent);
    border: 1px solid rgba(255, 0, 128, 0.2);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--neon-pink);
    opacity: 0.3;
}

.testimonial-avatar {
    margin-bottom: 1rem;
}

.avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--neon-pink);
}

.stars {
    color: var(--neon-yellow);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.author-name {
    display: block;
    font-weight: 600;
    color: var(--neon-pink);
}

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

/* Blog Section */
.blog-preview,
.blog-articles {
    position: relative;
}

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

.blog-card {
    background: var(--bg-accent);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-normal);
}

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

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-normal);
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: var(--gradient-tertiary);
    color: var(--bg-primary);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-title {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-link {
    color: var(--neon-blue);
    font-weight: 600;
}

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

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Forms */
.contact-form,
.newsletter-form {
    background: var(--bg-accent);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-primary);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

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

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--neon-blue);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    border-radius: 50%;
    transition: var(--transition-fast);
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.footer-title {
    color: var(--neon-green);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--neon-blue);
}

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

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-accent);
    border-top: 2px solid var(--neon-blue);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: var(--transition-normal);
}

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

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

.cookie-content h3 {
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
}

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

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

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    padding: 2rem;
    overflow-y: auto;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: var(--bg-accent);
    border: 1px solid var(--neon-blue);
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--neon-blue);
    cursor: pointer;
    line-height: 1;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
}

.cookie-category h3 {
    margin-bottom: 0.5rem;
    color: var(--neon-green);
}

.cookie-category input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* Page Specific Styles */
.page-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

/* Thank You Page */
.thank-you {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
}

.thank-you-message {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.thank-you-info {
    background: var(--bg-accent);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
}

.thank-you-contact {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.phone-link {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-green);
    text-decoration: none;
    margin-top: 1rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.additional-services {
    background: var(--bg-secondary);
    padding: 3rem 0;
}

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

.service-preview {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.service-preview .service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Article Styles */
.article-hero {
    padding: 8rem 0 4rem;
    background: var(--bg-secondary);
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--neon-blue);
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-category {
    display: inline-block;
    background: var(--gradient-tertiary);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

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

.article-img {
    max-width: 600px;
    width: 100%;
    border-radius: 15px;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.3));
}

.article-content {
    padding: 4rem 0;
}

.article-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.article-body {
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-accent);
    border-left: 4px solid var(--neon-blue);
    border-radius: 8px;
}

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
}

.article-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--neon-pink);
}

.article-body ul,
.article-body ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.author-box,
.related-articles {
    background: var(--bg-accent);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--neon-blue);
}

.author-details h4 {
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
}

.author-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem;
    background: var(--bg-primary);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.related-item:hover {
    background: var(--bg-secondary);
}

.related-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

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

.article-cta {
    background: var(--bg-secondary);
    padding: 3rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-text h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

.legal-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
}

.legal-text h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--neon-pink);
}

.legal-text address {
    background: var(--bg-accent);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--neon-blue);
    font-style: normal;
    margin: 2rem 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-accent);
    border-radius: 8px;
    overflow: hidden;
}

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

.cookie-table th {
    background: var(--bg-primary);
    color: var(--neon-blue);
    font-weight: 600;
}

.cookie-table td {
    color: var(--text-secondary);
}

/* Newsletter */
.newsletter {
    background: var(--bg-secondary);
    padding: 3rem 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
}

.newsletter-privacy {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Company Pages */
.company-story,
.mission-values,
.team-section,
.company-stats,
.certifications {
    padding: 4rem 0;
}

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

.story-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.story-img {
    width: 100%;
    border-radius: 15px;
    filter: drop-shadow(0 0 15px var(--neon-purple));
}

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

.mission-card {
    background: var(--bg-accent);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.team-member {
    background: var(--bg-accent);
    border: 1px solid rgba(255, 0, 128, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.member-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--neon-pink);
    margin-bottom: 1rem;
}

.member-name {
    color: var(--neon-pink);
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--neon-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.cert-item {
    background: var(--bg-accent);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-cta {
    background: var(--bg-secondary);
    padding: 3rem 0;
    text-align: center;
}

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

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

/* Topics */
.related-topics {
    background: var(--bg-secondary);
    padding: 3rem 0;
}

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

.topic-card {
    background: var(--bg-accent);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
}

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

.topic-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition-normal);
        border-top: 1px solid var(--neon-blue);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content,
    .story-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .article-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .blog-card.featured {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-modal {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    border: 4px solid rgba(0, 255, 255, 0.1);
    border-left: 4px solid var(--neon-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 2rem; }

.hidden { display: none; }
.visible { display: block; }

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

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --bg-primary: #000000;
        --bg-secondary: #111111;
        --bg-accent: #222222;
        --text-primary: #ffffff;
        --neon-blue: #ffffff;
        --neon-green: #ffffff;
        --neon-pink: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .btn,
    .social-links {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: none !important;
        padding: 0 !important;
    }
}
