/* KarateTrack marketing site — CONTOSO SRL */

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

:root {
    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --hero-bg: #16213e;
    --hero-bg-accent: #1a1a2e;
    --text: #1a1a2e;
    --text-muted: #5a6474;
    --accent: #c0392b;
    --accent-hover: #a93226;
    --border: #e4e4ea;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --max-width: 1100px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === Nav === */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}
.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.nav-brand:hover { text-decoration: none; color: var(--text); }
.nav-brand-accent { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.lang-toggle {
    border: 1px solid var(--border);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, var(--hero-bg-accent), var(--hero-bg));
    color: #fff;
    padding: 5rem 0 6rem;
    text-align: center;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.hero h1 .accent { color: var(--accent); }
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.hero-cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.05rem;
    transition: background 0.15s, transform 0.15s;
}
.hero-cta:hover {
    background: var(--accent-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* === Generic section === */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
}
.section-lede {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* === Features grid === */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.feature-card {
    background: var(--bg);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* === Pricing === */
.pricing-box {
    max-width: 520px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 2px solid var(--accent);
    text-align: center;
}
.pricing-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.pricing-box p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* === Contact === */
.contact-cta { text-align: center; }
.contact-cta .email-link {
    display: inline-block;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--accent);
}

/* === Footer === */
.site-footer {
    background: var(--hero-bg-accent);
    color: rgba(255, 255, 255, 0.7);
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer p { margin-bottom: 0.4rem; }
.footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0 !important;
}
.footer-brand .accent { color: var(--accent); }

@media (max-width: 600px) {
    .nav-inner { padding: 0.75rem 1rem; }
    .nav-links { gap: 0.75rem; }
    .nav-links a:not(.lang-toggle) { display: none; }
    .section { padding: 3rem 0; }
    .hero { padding: 4rem 0 5rem; }
}
