﻿/* Reset & Base Styles */
:root {
    /* Color Theme: Cloud / Off-White & Bright Light Orange */
    --primary-color: #f97316; /* Bright professional orange */
    --primary-hover: #ea580c; /* Slightly darker orange for hover */
    --bg-main: #f8fafc; /* Cloud / Off-white background */
    --bg-card: #ffffff; /* Pure white for cards */
    --bg-alt: #f1f5f9; /* Subtle gray for alternate sections */
    
    /* High Contrast Text */
    --text-main: #0f172a; /* Very dark slate for primary text */
    --text-muted: #334155; /* Medium dark slate for secondary text */
    --border-color: #cbd5e1; /* Clear but soft border color */
    --highlight: #f97316;
}

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

html {
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img, svg {
    max-width: 100%;
    display: block;
}

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

.section-padding {
    padding: 100px 0;
}

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

.bg-alt {
    background-color: var(--bg-alt);
}

/* Buttons (Highlight effects & clear clickability) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 44px; /* Mobile tap target */
    min-width: 44px;
    border: 2px solid transparent; /* Clear boundary */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Base shadow */
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-hover);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px); /* Highlight floating effect */
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.4);
    border-color: #c2410c; /* Deepen border on hover */
}

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

.btn-outline:hover {
    background-color: #fff7ed; /* Very light orange tint */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.15);
}

.btn-large {
    padding: 14px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

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

.brand-logo svg {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links > a:not(.btn) {
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links > a:not(.btn):hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.nav-toggle, .nav-toggle-label {
    display: none;
}

/* Hero Section (Fullpage Effect & Bright Theme) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px; /* Offset for navbar */
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative giant shield silhouettes to reinforce the 'CyberGuard' theme */
.hero::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    min-width: 500px;
    min-height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f97316'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.04;
    transform: rotate(-15deg);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    min-width: 400px;
    min-height: 400px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f97316'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    transform: rotate(20deg);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 800px;
    position: relative;
    z-index: 1; /* Keep content above decorative gradients */
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 30px;
    border: 2px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.05);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    line-height: 1.8;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    justify-content: center;
}

/* Sections Global */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--text-main);
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(249, 115, 22, 0.3);
}

.feature-card .icon-wrapper {
    width: 64px;
    height: 64px;
    background: #fff7ed;
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text-main);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.price-card.recommended {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
    transform: scale(1.05);
}

.price-card.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.recommended-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-color);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
}

.price-header h3 {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.price-header .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.price-header .price span:first-child {
    font-size: 1.5rem;
    vertical-align: super;
}

.price-header .period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.billing-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.price-features {
    list-style: none;
    margin-bottom: 35px;
}

.price-features li {
    padding: 12px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    font-weight: 500;
    border-bottom: 1px solid var(--bg-alt);
}

.price-features li::before {
    content: "鉁?;
    color: var(--primary-color);
    font-weight: 900;
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Why Choose SEO Section */
.seo-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.seo-content h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
}

.seo-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.seo-content strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Marquee Section */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main), transparent);
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: marquee 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    width: 380px;
    margin: 0 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.stars {
    color: var(--highlight);
    margin-bottom: 16px;
    letter-spacing: 3px;
    font-size: 1.2rem;
}

.review-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.7;
}

.reviewer {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    padding: 24px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-main);
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: "鈭?;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    background-color: var(--bg-alt);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 320px;
    font-size: 1.05rem;
}

.footer-links {
    display: flex;
    gap: 35px;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.2s;
}

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

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

/* --- Fade In / Fade Out Animation Utilities --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items (cards, etc.) */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Responsive (Media Queries) */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .price-card.recommended {
        transform: scale(1);
    }
    
    .price-card.recommended:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    /* Mobile Nav */
    .nav-toggle-label {
        display: flex;
        align-items: center;
        width: 30px;
        height: 20px;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-main); /* Dark lines for light nav */
        height: 3px;
        width: 100%;
        position: absolute;
        transition: all 0.3s;
        border-radius: 2px;
    }

    .nav-toggle-label span::before { content: ""; top: -8px; }
    .nav-toggle-label span::after { content: ""; bottom: -8px; }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
    }

    .nav-toggle:checked ~ .nav-links {
        transform: translateY(0);
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    /* Rest of Mobile Adjustments */
    .hero {
        padding-top: 100px;
        min-height: auto; /* Fallback for smaller mobile screens */
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Blog Hub & Article Pages --- */
.blog-header { padding-top: 140px; padding-bottom: 60px; text-align: center; background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 50%, #f1f5f9 100%); position: relative;}
.blog-header h1 { font-size: 2.75rem; color: var(--text-main); margin-bottom: 20px; font-weight: 800; }
.blog-header p { font-size: 1.15rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; line-height: 1.8; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 60px 0; }
.article-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: var(--primary-color); }
.article-card h2 { font-size: 1.35rem; margin-bottom: 15px; color: var(--text-main); font-weight: 700; line-height: 1.4; }
.article-card p { color: var(--text-muted); flex-grow: 1; margin-bottom: 20px; line-height: 1.6; }
.article-card .read-more { color: var(--primary-color); font-weight: 700; }
.breadcrumbs { padding: 20px 0; font-size: 0.95rem; color: var(--text-muted); border-bottom: 1px solid var(--border-color); background: var(--bg-card); }
.breadcrumbs a { color: var(--primary-color); font-weight: 500; }
.breadcrumbs a:hover { text-decoration: underline; }
.article-content { max-width: 760px; margin: 0 auto; padding: 60px 20px 100px; }
.article-content h1 { font-size: 2.5rem; color: var(--text-main); margin-bottom: 24px; font-weight: 800; line-height: 1.3;}
.article-content .meta { color: var(--text-muted); margin-bottom: 40px; font-size: 0.95rem; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.article-content h2 { font-size: 1.8rem; margin: 50px 0 20px; color: var(--text-main); font-weight: 700; }
.article-content h3 { font-size: 1.4rem; margin: 35px 0 15px; color: var(--text-main); font-weight: 700; }
.article-content p { font-size: 1.15rem; line-height: 1.8; margin-bottom: 24px; color: var(--text-muted); }
.article-content a { color: var(--primary-color); text-decoration: underline; font-weight: 500; }
.article-content ul, .article-content ol { margin-bottom: 24px; padding-left: 24px; font-size: 1.15rem; color: var(--text-muted); line-height: 1.8; }
.article-content li { margin-bottom: 10px; }
.legal-content { max-width: 800px; margin: 0 auto; padding: 140px 20px 80px; }
.legal-content h1 { font-size: 2.5rem; margin-bottom: 30px; color: var(--text-main); }
.legal-content h2 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--text-main); }
.legal-content p { margin-bottom: 15px; color: var(--text-muted); line-height: 1.7; font-size: 1.1rem; }
@media (max-width: 768px) { .blog-grid { grid-template-columns: 1fr; } .article-content h1 { font-size: 2rem; } .blog-header h1 { font-size: 2.25rem; } }
