/*
Theme Name: Anyang Nusu Theme
Theme URI: https://anyang.forcing.co.kr
Description: 안양누수탐지 전용 테마 - DM Sans, 네이비 다크, 패럴랙스, 플로팅 헤더, 마키 효과
Version: 1.0.0
Author: Forcing
Author URI: https://forcing.co.kr
Text Domain: anyang-nusu
*/

/* ===== Google Fonts - DM Sans ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ===== CSS Variables ===== */
:root {
    --primary-color: #12c2e9;
    --primary-light: #5dd9f5;
    --primary-dark: #0a9bc4;
    --secondary-color: #667eea;
    --accent-color: #f093fb;

    --navy-dark: #0a1628;
    --navy-medium: #0f2744;
    --navy-light: #1a3a5c;
    --navy-lighter: #2a4f73;

    --text-white: #ffffff;
    --text-light: #b8c5d6;
    --text-muted: #7a8da3;
    --text-dark: #1a1a2e;

    --bg-dark: var(--navy-dark);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-white: #ffffff;
    --bg-gray: #f4f7fa;

    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.15);

    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-dark: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-medium) 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(18, 194, 233, 0.3);

    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 50px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    --container-width: 1200px;
    --header-height: 80px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-light);
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===== Floating Header ===== */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: var(--container-width);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-md);
}

.site-header.scrolled {
    top: 10px;
}

.site-header.scrolled .header-inner {
    background: rgba(10, 22, 40, 0.95);
    padding: 12px 30px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
}

.site-logo svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color);
}

.site-logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--border-radius-full);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-white);
    background: rgba(18, 194, 233, 0.15);
}

/* Header CTA Button */
.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    color: var(--text-white);
    background: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.btn-outline svg {
    width: 18px;
    height: 18px;
}

.btn-filled {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-filled:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section with Parallax ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: var(--gradient-dark);
    z-index: -2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 20s infinite linear;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
}

.hero-glow-1 {
    top: -200px;
    right: -100px;
    background: var(--primary-color);
}

.hero-glow-2 {
    bottom: -200px;
    left: -100px;
    background: var(--secondary-color);
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    background: rgba(18, 194, 233, 0.1);
    border: 1px solid rgba(18, 194, 233, 0.3);
    border-radius: var(--border-radius-full);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    margin-bottom: 25px;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.stat-number span {
    color: var(--primary-color);
}

.stat-label {
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Infinite Scroll Marquee ===== */
.marquee-section {
    padding: 30px 0;
    background: rgba(18, 194, 233, 0.05);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-wrapper:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 40px;
    white-space: nowrap;
}

.marquee-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
}

.marquee-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.marquee-divider {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ===== Parallax Section ===== */
.parallax-section {
    position: relative;
    padding: 120px 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--navy-dark) 0%, rgba(10, 22, 40, 0.9) 50%, var(--navy-dark) 100%);
}

.parallax-content {
    position: relative;
    z-index: 1;
}

/* ===== Section Styles ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: var(--navy-medium);
}

.section-gradient {
    background: var(--gradient-dark);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    background: rgba(18, 194, 233, 0.1);
    border: 1px solid rgba(18, 194, 233, 0.2);
    border-radius: var(--border-radius-full);
}

.section-badge svg {
    width: 14px;
    height: 14px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ===== News Cards ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(18, 194, 233, 0.3);
    transform: translateY(-5px);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-white);
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

.news-card-content {
    padding: 25px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-card-meta svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary-color);
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-title {
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title a:hover {
    color: var(--primary-color);
}

.news-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.news-card-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.news-card-link:hover svg {
    transform: translateX(5px);
}

/* ===== Service Cards ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    padding: 40px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(18, 194, 233, 0.3);
    transform: translateY(-5px);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 194, 233, 0.1);
    border: 1px solid rgba(18, 194, 233, 0.2);
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    background: var(--gradient-primary);
    border-color: transparent;
}

.service-card-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
    transition: var(--transition);
}

.service-card:hover .service-card-icon svg {
    stroke: var(--text-white);
}

.service-card-title {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card-description {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===== Process Section ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-card {
    position: relative;
    padding: 30px 25px;
    text-align: center;
}

.process-card::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.process-card:last-child::after {
    display: none;
}

.process-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(18, 194, 233, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.process-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
}

.process-title {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.process-description {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    padding: 25px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-image-float-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.about-image-float-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.about-content h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.about-features {
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 194, 233, 0.1);
    border: 1px solid rgba(18, 194, 233, 0.2);
    border-radius: 12px;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
}

.about-feature-content h4 {
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.about-feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== Testimonials ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 35px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(18, 194, 233, 0.3);
}

.testimonial-quote {
    margin-bottom: 25px;
    font-size: 3rem;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-text {
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    background: var(--gradient-primary);
    border-radius: 50%;
}

.testimonial-info h5 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== FAQ Section ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(18, 194, 233, 0.3);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(18, 194, 233, 0.05);
}

.faq-question h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-white);
}

.faq-question h4 span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(18, 194, 233, 0.15);
    border-radius: 8px;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.faq-toggle svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background: var(--primary-color);
}

.faq-item.active .faq-toggle svg {
    stroke: var(--text-white);
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 25px 25px;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 30px 30px;
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-white);
}

.cta-description {
    margin-bottom: 35px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-phone {
    display: block;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--text-white);
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    background: transparent;
    border: 2px solid var(--text-white);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-white-outline:hover {
    color: var(--primary-color);
    background: var(--text-white);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--navy-medium);
    border-top: 1px solid var(--border-color);
}

.footer-main {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand p {
    margin: 20px 0;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-light);
}

.footer-social a:hover svg {
    stroke: var(--text-white);
}

.footer-column h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links a svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-contact li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    stroke: var(--primary-color);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* ===== Page Header ===== */
.page-header {
    padding: 160px 0 80px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--bg-dark));
}

.page-header h1 {
    margin-bottom: 15px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
}

/* ===== Blog Layout ===== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    padding: 80px 0;
}

.blog-main {
    min-width: 0;
}

.blog-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

/* Sidebar Widgets */
.widget {
    padding: 30px;
    margin-bottom: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.widget h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.widget ul li {
    margin-bottom: 12px;
}

.widget ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.widget ul li a:hover {
    color: var(--primary-color);
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
}

.pagination a:hover {
    color: var(--text-white);
    border-color: var(--primary-color);
}

.pagination .current {
    color: var(--text-white);
    background: var(--gradient-primary);
    border-color: transparent;
}

/* ===== Single Post ===== */
.single-post-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 50px;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 2;
}

.entry-content h2 {
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.entry-content h3 {
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.entry-content li {
    margin-bottom: 10px;
    list-style: disc;
    color: var(--text-light);
}

/* ===== Contact Form ===== */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(18, 194, 233, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===== 404 Page ===== */
.error-404-content {
    text-align: center;
    padding: 100px 0;
}

.error-404-number {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .news-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-card::after {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        top: 10px;
        width: calc(100% - 20px);
    }

    .header-inner {
        padding: 12px 20px;
    }

    .header-cta {
        display: none;
    }

    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
    }

    .news-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cta-phone {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-outline,
    .hero-buttons .btn-filled {
        width: 100%;
        justify-content: center;
    }

    .single-post-content,
    .contact-form {
        padding: 30px 20px;
    }
}

/* ===== Light Section for Content ===== */
.section-light {
    background: var(--bg-white);
    color: var(--text-dark);
}

.section-light h2,
.section-light h3,
.section-light h4 {
    color: var(--text-dark);
}

.section-light p {
    color: #666;
}
