/* =========================================
   RED HEAT-TECH EXTERMINATION THEME
   ========================================= */

:root {
    --primary-red: #E11D35;
    --deep-red: #B5122A;
    --hot-coral: #FF4658;
    --dark-bg: #171416;
    --secondary-dark: #251C20;
    --light-bg: #FFFDFD;
    --soft-pink: #FFF0F1;
    --card-bg: #FFFFFF;
    --main-text: #211B1D;
    --muted-text: #74696C;
    --border-color: #F0DADD;
    --thermal-highlight: #FF795E;
    --shadow-soft: 0 10px 30px rgba(225, 29, 53, 0.1);
    --shadow-hover: 0 20px 40px rgba(225, 29, 53, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--main-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--main-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--muted-text); }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--deep-red));
    color: white;
    box-shadow: 0 4px 15px rgba(225, 29, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 29, 53, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-red);
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 253, 253, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--main-text);
}

.logo-text { color: var(--deep-red); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--main-text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--primary-red);
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--deep-red); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--main-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--soft-pink) 100%);
    overflow: hidden;
}

.thermal-rings {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    pointer-events: none;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--hot-coral);
    opacity: 0.3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 { width: 100%; height: 100%; animation: pulse-ring 4s infinite; }
.ring-2 { width: 70%; height: 70%; animation: pulse-ring 4s infinite 1s; }
.ring-3 { width: 40%; height: 40%; animation: pulse-ring 4s infinite 2s; }

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; border-color: var(--primary-red); }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.2; border-color: var(--thermal-highlight); }
    100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; border-color: var(--primary-red); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    color: var(--dark-bg);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.css-heater {
    width: 200px;
    height: 280px;
    background: var(--secondary-dark);
    border-radius: 16px;
    position: relative;
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 40px rgba(225, 29, 53, 0.3);
}

.heater-core {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: repeating-linear-gradient(
        90deg,
        var(--deep-red) 0px,
        var(--deep-red) 8px,
        var(--secondary-dark) 8px,
        var(--secondary-dark) 16px
    );
    border-radius: 8px;
    animation: heat-glow 2s infinite alternate;
}

@keyframes heat-glow {
    0% { box-shadow: inset 0 0 20px var(--deep-red); }
    100% { box-shadow: inset 0 0 40px var(--hot-coral); }
}

.heat-waves {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.heat-waves span {
    display: block;
    width: 4px;
    height: 30px;
    background: var(--thermal-highlight);
    border-radius: 4px;
    animation: wave 1.5s infinite ease-in-out;
}

.heat-waves span:nth-child(2) { animation-delay: 0.2s; height: 40px; }
.heat-waves span:nth-child(3) { animation-delay: 0.4s; height: 25px; }

@keyframes wave {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-15px); opacity: 1; }
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

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

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

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--hot-coral));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.card-icon {
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    margin: 20px 0;
}

.service-card li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    color: var(--muted-text);
    font-size: 0.95rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.learn-more {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more:hover { gap: 12px; }

/* Heat Feature Section */
.heat-feature {
    padding: 100px 0;
    background: var(--dark-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

.heat-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(225, 29, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.heat-feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.heat-feature h2 { color: white; }
.heat-feature p { color: #b0a8ab; font-size: 1.1rem; }

.thermal-gauge {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gauge-ring {
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary-red);
    border-right-color: var(--hot-coral);
    animation: spin 3s linear infinite;
}

.gauge-ring:first-child { width: 100%; height: 100%; }
.gauge-ring.inner { width: 70%; height: 70%; animation-direction: reverse; animation-duration: 2s; border-top-color: var(--thermal-highlight); }

.gauge-temp {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hot-coral);
    letter-spacing: 2px;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background: var(--soft-pink);
}

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

.trust-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.trust-indicator {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--hot-coral));
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
}

.trust-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.5; }
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-red), var(--border-color));
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 3px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-red);
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--light-bg);
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    flex: 1;
    box-shadow: var(--shadow-soft);
}

/* Showcase Section */
.showcase-section {
    padding: 80px 0;
    background: var(--secondary-dark);
}

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

.showcase-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(225, 29, 53, 0.3);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    color: white;
}

.showcase-card h3 { color: white; margin-top: 20px; }
.showcase-card p { color: #b0a8ab; }

.abstract-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 { background: radial-gradient(circle, var(--primary-red), transparent); }
.shape-2 { background: radial-gradient(circle, var(--hot-coral), transparent); width: 150px; height: 150px; }
.shape-3 { background: radial-gradient(circle, var(--thermal-highlight), transparent); width: 80px; height: 80px; }

/* Article Section */
.article-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.seo-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.seo-article h2 {
    color: var(--deep-red);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 24px;
    margin-top: 40px;
}

.seo-article h2:first-child { margin-top: 0; }

.seo-article h3 {
    color: var(--main-text);
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.35rem;
}

.seo-article p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--main-text);
}

.seo-article a {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seo-article a:hover { color: var(--deep-red); }

.faq-preview {
    background: var(--soft-pink);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid var(--primary-red);
}

.faq-preview p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.faq-preview p:last-child { margin-bottom: 0; }

.faq-preview strong { color: var(--deep-red); }

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--soft-pink);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-soft);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--main-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: var(--transition);
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 24px 24px;
    margin: 0;
    color: var(--muted-text);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--dark-bg);
    color: white;
}

.contact-section .section-header h2 { color: white; }
.contact-section .section-header p { color: #b0a8ab; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.contact-card h3 {
    color: var(--hot-coral);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-card p, .contact-card a {
    color: white;
    font-size: 1.1rem;
    margin: 0;
}

.contact-card a:hover { color: var(--hot-coral); }

.hours-list {
    list-style: none;
    margin-top: 12px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0a8ab;
}

.hours-list li span { color: white; font-weight: 500; }

.cta-card {
    background: linear-gradient(135deg, var(--primary-red), var(--deep-red));
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.cta-card h3 { color: white; font-size: 1.75rem; margin-bottom: 16px; }
.cta-card p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin-bottom: 32px; }

.cta-card .btn-primary {
    background: white;
    color: var(--primary-red);
}

.cta-card .btn-primary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    color: #b0a8ab;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p { margin: 0; font-size: 0.9rem; }

/* Responsive Design */
@media (max-width: 968px) {
    .hero-visual { display: none; }
    .heat-feature-content { grid-template-columns: 1fr; text-align: center; }
    .contact-grid { grid-template-columns: 1fr; }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--light-bg);
        flex-direction: column;
        padding: 40px 20px;
        gap: 24px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { transform: translateY(0); }
    .mobile-menu-toggle { display: flex; }
}

@media (max-width: 640px) {
    .hero-ctas { flex-direction: column; }
    .btn { width: 100%; }
    .timeline::before { left: 20px; }
    .timeline-number { width: 40px; height: 40px; font-size: 1rem; }
    .seo-article { padding: 24px; }
}

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