/* 
 * AnyDesk Official Standard Theme
 * Style: Authentic, Clean, Red/White Branding
 * Colors: Official Red (#EF4444), Dark Grey (#333), Light Grey (#F9F9F9)
 */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --ad-red: #EF4444;
    --ad-red-hover: #D93434;
    --ad-dark: #2D3748;
    --ad-text: #4A5568;
    --ad-bg-light: #F7FAFC;
    --ad-border: #E2E8F0;
    --ad-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--ad-text);
    line-height: 1.6;
    background-color: white;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

/* Utility */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--ad-bg-light); }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 30px; font-weight: 500;
    border-radius: 4px; font-size: 16px; cursor: pointer; transition: 0.3s;
    text-align: center;
}
.btn-primary {
    background: var(--ad-red); color: white; border: 1px solid var(--ad-red);
}
.btn-primary:hover {
    background: var(--ad-red-hover); border-color: var(--ad-red-hover);
}
.btn-outline {
    background: transparent; border: 1px solid var(--ad-text); color: var(--ad-text);
}
.btn-outline:hover {
    border-color: var(--ad-red); color: var(--ad-red);
}

/* Navbar */
.navbar {
    height: 72px; border-bottom: 1px solid var(--ad-border);
    position: sticky; top: 0; background: white; z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.navbar .container {
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
    font-size: 24px; font-weight: 700; color: var(--ad-dark);
    display: flex; align-items: center; gap: 8px;
}
.nav-brand i { color: var(--ad-red); font-size: 28px; }
.nav-menu { display: flex; gap: 30px; }
.nav-link { font-weight: 500; color: var(--ad-dark); font-size: 15px; }
.nav-link:hover { color: var(--ad-red); }
.nav-actions { display: flex; gap: 15px; }

/* Hero */
.hero {
    padding: 100px 0; display: flex; align-items: center;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-title {
    font-size: 48px; line-height: 1.2; color: var(--ad-dark); margin-bottom: 20px;
}
.hero-sub {
    font-size: 18px; margin-bottom: 40px; color: var(--ad-text);
}
.hero-img img {
    width: 100%; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Trust Bar */
.trust-bar {
    padding: 40px 0; background: white; border-bottom: 1px solid var(--ad-border);
}
.trust-logos {
    display: flex; justify-content: center; gap: 50px; opacity: 0.5; font-size: 30px;
}

/* Feature Grid */
.feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.feature-card {
    background: white; padding: 40px 30px; text-align: center;
    border: 1px solid transparent; transition: 0.3s;
}
.feature-card:hover {
    border-color: var(--ad-border); box-shadow: var(--ad-shadow); transform: translateY(-5px);
}
.feature-icon {
    font-size: 40px; color: var(--ad-red); margin-bottom: 20px;
}
.feature-title {
    font-size: 20px; font-weight: 700; color: var(--ad-dark); margin-bottom: 10px;
}

/* Download Section */
.dl-card {
    background: white; border: 1px solid var(--ad-border); border-radius: 8px;
    padding: 40px; margin-bottom: 20px; display: flex; align-items: center;
    justify-content: space-between; transition: 0.3s;
}
.dl-card:hover { border-color: var(--ad-red); box-shadow: var(--ad-shadow); }
.dl-icon { font-size: 32px; color: var(--ad-dark); margin-right: 20px; }
.dl-info h3 { font-size: 18px; color: var(--ad-dark); margin-bottom: 5px; }

/* Footer */
.footer {
    background: var(--ad-dark); color: white; padding: 60px 0 30px;
}
.footer-cols {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px;
}
.footer h4 { font-size: 16px; margin-bottom: 20px; color: white; }
.footer a { color: #A0AEC0; font-size: 14px; display: block; margin-bottom: 10px; }
.footer a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid #4A5568; padding-top: 30px; text-align: center; font-size: 14px; color: #A0AEC0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .feature-grid { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .dl-card { flex-direction: column; text-align: center; gap: 20px; }
}
