/* ==========================================
   CodeForge Auto Solutions - Cyberpunk Theme
   Modern Glass Morphism Design System
   ========================================== */

/* ===== CSS Variables ===== */
:root {
    /* Cyberpunk Color Palette */
    --primary-cyan: #00e5ff;
    --primary-magenta: #ff00ff;
    --primary-blue: #0078ff;
    --dark-bg: #0a0a1e;
    --dark-bg-2: #12122a;
    --dark-bg-3: #1a1a3e;
    --text-light: #ffffff;
    --text-gray: #b0b0c8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', var(--font-primary);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.3);
    --shadow-glow-magenta: 0 0 20px rgba(255, 0, 255, 0.3);
}

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

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

body {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 50%, var(--dark-bg-3) 100%);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cyberpunk Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

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

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

/* ===== Utility Classes ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.lead {
    font-size: 1.25rem;
    color: var(--text-gray);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-cyan);
    color: var(--dark-bg);
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* ===== Glass Morphism Effect ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, transparent 50%, rgba(255, 0, 255, 0.1) 100%);
    pointer-events: none;
}

.glass-frame {
    position: relative;
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
}

/* ===== Header & Navigation ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

.site-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

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

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

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

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

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

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

.header-phone {
    color: var(--primary-cyan);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-cyan);
    border-radius: 8px;
    transition: var(--transition);
}

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

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-cyan);
    transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    text-decoration: none;
}

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

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

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

.btn-secondary:hover {
    background: var(--primary-magenta);
    color: var(--text-light);
    box-shadow: var(--shadow-glow-magenta);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    color: var(--primary-cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--primary-magenta);
    transform: translateX(5px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255, 0, 255, 0.1));
    pointer-events: none;
}

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

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    text-align: left;
}

.hero-benefits li {
    color: var(--primary-cyan);
    font-weight: 500;
}

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

/* ===== Page Hero (Internal Pages) ===== */
.page-hero {
    padding: 6rem 20px 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(255, 0, 255, 0.05));
    border-bottom: 1px solid var(--glass-border);
}

/* ===== Stats Section ===== */
.stats-section {
    padding: var(--section-padding);
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-cyan);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1.125rem;
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-light), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Services Section ===== */
.services-section {
    padding: var(--section-padding);
}

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

.service-card {
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

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

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

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

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

/* ===== About Preview Section ===== */
.about-preview {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.02);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

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

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    border-radius: 12px;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: var(--section-padding);
}

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

.testimonial-card {
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-magenta);
}

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

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

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

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

.author-name {
    font-weight: 600;
    color: var(--text-light);
}

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

/* ===== Blog Sections ===== */
.blog-preview-section,
.blog-listing-section {
    padding: var(--section-padding);
}

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

.blog-card {
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.blog-image {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin: -2rem -2rem 0 -2rem;
}

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

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

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

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-date {
    color: var(--text-gray);
}

.blog-category {
    color: var(--primary-magenta);
    font-weight: 600;
}

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

.blog-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* Article Page Styles */
.article-page {
    padding-bottom: 4rem;
}

.article-hero {
    padding: 4rem 20px 2rem;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

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

.article-featured-image {
    padding: 2rem 20px;
}

.article-featured-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 16px;
}

.article-content {
    padding: 3rem 20px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

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

.article-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.article-body p {
    color: var(--text-gray);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

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

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

.article-body strong {
    color: var(--primary-cyan);
}

.related-articles {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.related-articles h2 {
    margin-bottom: 2rem;
}

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

.related-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h3 {
    padding: 1rem;
    font-size: 1.125rem;
    color: var(--text-light);
}

.article-cta {
    padding: 4rem 20px;
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.02);
}

.newsletter-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: var(--text-gray);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(255, 0, 255, 0.05));
}

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

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

.cta-content p {
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ===== Company Story Section ===== */
.company-story {
    padding: var(--section-padding);
}

.story-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

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

/* ===== Mission & Vision ===== */
.mission-vision {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.02);
}

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

.mv-card {
    padding: 2.5rem;
    text-align: center;
}

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

.mv-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== Team Section ===== */
.team-section {
    padding: var(--section-padding);
}

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

.team-member {
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.member-image {
    margin-bottom: 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid var(--primary-cyan);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.member-role {
    color: var(--primary-cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* ===== Values Section ===== */
.values-section {
    padding: var(--section-padding);
}

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

.value-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-magenta);
}

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

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

.value-card p {
    color: var(--text-gray);
}

/* ===== Contact Section ===== */
.contact-section {
    padding: var(--section-padding);
}

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

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

.contact-form-wrapper p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

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

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-label span {
    color: var(--text-gray);
    font-size: 0.9375rem;
}

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

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

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

.contact-info-card {
    padding: 2rem;
}

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

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

.info-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.info-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.info-content p,
.info-content a {
    color: var(--text-gray);
    margin-bottom: 0;
}

.contact-cta {
    margin-top: 2rem;
    padding: 2rem;
    text-align: center;
}

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

.contact-cta p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Map Section */
.map-section {
    padding: var(--section-padding);
}

.map-container {
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

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

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background: rgba(255, 255, 255, 0.02);
}

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

.faq-item {
    padding: 2rem;
}

.faq-item h3 {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== Legal Content ===== */
.legal-content {
    padding: var(--section-padding);
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
}

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

.legal-text h3 {
    color: var(--text-light);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text p,
.legal-text li {
    color: var(--text-gray);
    line-height: 1.8;
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

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

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

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

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

.footer-section p {
    color: var(--text-gray);
    line-height: 1.8;
}

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

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

.footer-section a {
    color: var(--text-gray);
    transition: var(--transition);
}

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

.footer-contact li {
    color: var(--text-gray);
    margin-bottom: 0.75rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-gray);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-gray);
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 30, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem;
    z-index: 9999;
    transition: bottom 0.5s ease;
}

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

.cookie-content {
    max-width: var(--container-width);
    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-gray);
    flex: 1;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 30, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        border-right: 1px solid var(--glass-border);
    }

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

    .header-phone {
        display: none;
    }

    .hero {
        min-height: 80vh;
    }

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

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

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

    .about-content,
    .story-content {
        grid-template-columns: 1fr;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .article-body {
        padding: 2rem 1rem;
    }

    .legal-text {
        padding: 2rem 1rem;
    }
}

/* ===== Loading States & Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cta-section {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .glass {
        background: white;
        border: 1px solid #ccc;
    }
}
