/* AnyDesk Site 2 - Dark Business Style */
/* Color Palette */
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #E53E3E;
    --accent-orange: #F6AD55;
    --text: #ffffff;
    --text-muted: #a0aec0;
    --border: rgba(255, 255, 255, 0.1);
    --card-bg: #16213e;
    --gradient-start: #1a1a2e;
    --gradient-end: #0f0f23;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

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

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

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: #c53030;
    border-color: #c53030;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: #1e2d4d;
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-icon {
    font-size: 18px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.logo img {
    height: 36px;
    width: auto;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.header-cta {
    padding: 10px 20px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--accent-orange);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 36px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.hero-note {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
}

.hero-img {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(229, 62, 62, 0.2);
}

.feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Scenarios Section */
.scenarios {
    padding: 100px 0;
    background: var(--primary);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.scenario-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
}

.scenario-large {
    grid-column: span 2;
    grid-row: span 2;
}

.scenario-img {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.scenario-card:hover .scenario-img {
    transform: scale(1.05);
}

.scenario-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.scenario-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.scenario-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.scenario-placeholder {
    padding: 40px 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

/* Specs Section */
.specs {
    padding: 100px 0;
    background: var(--secondary);
}

.specs-table-wrapper {
    overflow-x: auto;
    margin-bottom: 32px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
}

.specs-table th,
.specs-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.specs-table th {
    background: rgba(229, 62, 62, 0.1);
    font-weight: 600;
    color: var(--accent);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-table td {
    font-size: 14px;
    color: var(--text-muted);
}

.specs-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.specs-note {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.specs-note p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.specs-note p:last-child {
    margin-bottom: 0;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-featured {
    border-color: var(--accent);
    box-shadow: 0 8px 40px rgba(229, 62, 62, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
}

.period {
    font-size: 16px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
}

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

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

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

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: var(--primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.review-stars {
    color: var(--accent-orange);
    font-size: 20px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.author-name {
    font-weight: 600;
    font-size: 16px;
}

.author-title {
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent) 0%, #c53030 100%);
}

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

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scenario-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .features-grid,
    .scenarios-grid,
    .pricing-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-large {
        grid-column: span 1;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.scenario-card,
.pricing-card,
.review-card {
    animation: fadeIn 0.6s ease forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }
