/* ========================================
   华吉奥GEO - 纯HTML+CSS样式
   优化SEO和GEO友好性
   ======================================== */

/* CSS Variables - GEO科技蓝主题 */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #f1f5f9;
    --accent: #06b6d4;
    --background: #ffffff;
    --foreground: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --card: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 0.5rem;
    --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ========================================
   Header
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text h1 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.2;
}

/* Navigation */
.nav {
    display: none;
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    transition: all 0.2s;
}

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

/* Header Contact */
.header-contact {
    display: none;
}

@media (min-width: 1024px) {
    .header-contact {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .header-contact .phone {
        font-size: 0.875rem;
        color: var(--muted);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background: var(--secondary);
}

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

.btn-white:hover {
    background: #f8fafc;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-title .text-primary {
    color: var(--primary);
    display: block;
    margin-top: 0.5rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.feature-item .check {
    color: var(--primary);
    font-weight: 700;
}

/* Hero Visual */
.hero-visual {
    display: none;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
    }
}

.hero-card {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-radius: 1rem;
    padding: 2rem;
    animation: pulseGlow 2s ease-in-out infinite;
}

.hero-card-inner {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.brain-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.hero-card-inner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-card-inner p {
    color: var(--muted);
}

/* ========================================
   Section Header
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
}

.section-header p {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .services {
        padding: 6rem 0;
    }
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card:hover .service-icon {
    background: rgba(37, 99, 235, 0.2);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .service-link {
    opacity: 1;
}

/* ========================================
   Advantages Section
   ======================================== */
.advantages {
    padding: 4rem 0;
    background: #f8fafc;
}

@media (min-width: 768px) {
    .advantages {
        padding: 6rem 0;
    }
}

.advantages-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.advantages-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .advantages-content h2 {
        font-size: 2rem;
    }
}

.advantages-content > p {
    color: var(--muted);
    margin-bottom: 2rem;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advantage-item {
    display: flex;
    gap: 1rem;
}

.advantage-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.advantage-text h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.advantage-text p {
    font-size: 0.875rem;
    color: var(--muted);
}

/* Coverage Card */
.coverage-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
}

.coverage-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.coverage-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.coverage-item .check {
    color: var(--primary);
    font-weight: 700;
}

.coverage-note {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* ========================================
   Cases Section
   ======================================== */
.cases {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .cases {
        padding: 6rem 0;
    }
}

.cases-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-card {
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.case-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-stats {
    font-size: 0.875rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--muted);
}

.stat-value {
    color: var(--foreground);
}

.stat-value.highlight {
    color: var(--primary);
    font-weight: 500;
}

.stat-result {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    margin-top: 0.75rem;
}

.stat-result span:first-child {
    color: var(--muted);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: 4rem 0;
    background: #f8fafc;
}

@media (min-width: 768px) {
    .faq {
        padding: 6rem 0;
    }
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.faq-item h3 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-icon {
    color: var(--primary);
}

.faq-item p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ========================================
   Contact Form Section
   ======================================== */
.contact-form-section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .contact-form-section {
        padding: 6rem 0;
    }
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contact-info h2 {
        font-size: 2rem;
    }
}

.contact-info > p {
    color: var(--muted);
    margin-bottom: 2rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-feature {
    display: flex;
    gap: 1rem;
}

.contact-feature .feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-feature .feature-text h3 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-family: inherit;
    background: var(--background);
    color: var(--foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-note {
    font-size: 0.75rem;
    color: var(--muted);
    text-align: center;
}

.form-note a {
    color: var(--primary);
    text-decoration: underline;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

@media (min-width: 768px) {
    .cta {
        padding: 6rem 0;
    }
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.75;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 3rem 0 1.5rem;
    background: #0f172a;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

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

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.footer-logo span {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-links h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.875rem;
}

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.5);
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .header,
    .mobile-menu-btn,
    .hero-visual,
    .cta,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
    }
}
