/* ============================================================
   Concierge IT — Shared Site Styles
   Used by index.html and download.html.
   Page-specific styles live inline in each HTML file.
   ============================================================ */

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

:root {
    --blue: #0071e3;
    --blue-dark: #005bb5;
    --blue-light: #e8f2ff;
    --dark: #1d1d1f;
    --gray: #6e6e73;
    --gray-light: #f5f5f7;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0071e3 0%, #34c759 100%);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.3s;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo:hover {
    text-decoration: none;
    color: var(--dark);
}

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

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

.nav-links a {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--dark);
    text-decoration: none;
}

.nav-links a.active {
    color: var(--blue);
}

.nav-cta {
    background: var(--blue);
    color: white !important;
    padding: 10px 20px;
    border-radius: 980px;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--blue-dark);
    text-decoration: none;
    color: white !important;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* ---------- HERO (shared base; page-specific decorations inline) ---------- */
.hero {
    padding: 160px 24px 100px;
    text-align: center;
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #34c759;
    border-radius: 50%;
    animation: pulse 2s infinite;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero h1 .gradient-text,
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(18px, 2.2vw, 22px);
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    background: var(--blue);
    color: white;
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--blue-dark);
    text-decoration: none;
    color: white;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    border: 1.5px solid var(--blue);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--blue-light);
    text-decoration: none;
    color: var(--blue-dark);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    padding: 14px 28px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--blue);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--blue);
    color: white;
    text-decoration: none;
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-white:hover {
    background: var(--gray-light);
    text-decoration: none;
    color: var(--dark);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-white:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--white);
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 100px 24px;
}

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

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

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

/* ---------- FOOTER (light base; .footer-dark modifier for index) ---------- */
.footer {
    padding: 40px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-weight: 600;
    margin-bottom: 8px;
}

.footer p {
    color: var(--gray);
    font-size: 14px;
}

.footer-dark {
    background: var(--dark);
    border-top: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 48px 24px;
}

.footer-dark .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-dark .footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.footer-dark p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ---------- DOWNLOAD CARDS (used on download.html) ---------- */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--dark);
    transition: all 0.2s;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
    text-decoration: none;
}

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

.download-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-card .filename {
    font-size: 14px;
    color: var(--gray);
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    margin-bottom: 28px;
}

/* ---------- STEPS (used on download.html) ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    list-style: none;
    counter-reset: step;
    padding: 0;
}

.steps li {
    counter-increment: step;
    padding: 28px 24px;
    background: var(--gray-light);
    border-radius: var(--radius);
    position: relative;
}

.steps li::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
}

.steps li strong {
    display: block;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.steps li span {
    font-size: 15px;
    color: var(--gray);
}

/* ---------- RESPONSIVE (nav only) ---------- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-mobile-toggle {
        display: block;
    }
}