/* Core styles for the 6 Harf marketing site */
:root {
    --bg: #07070f;
    --primary: #3f5dff;
    --accent: #2dd8a3;
    --text: #f5f7ff;
    --muted: rgba(245, 247, 255, 0.7);
    --card: rgba(18, 20, 32, 0.72);
    --border: rgba(255, 255, 255, 0.08);
    --max-width: 960px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

header {
    padding: 32px 20px 16px;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05rem;
}

.hero {
    padding: 60px 20px 40px;
}

.hero__content {
    display: grid;
    gap: 24px;
}

.hero__title {
    font-size: clamp(2.4rem, 5vw, 3.3rem);
    font-weight: 700;
    line-height: 1.15;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-primary,
.cta-secondary {
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #05060d;
}

.cta-secondary {
    border: 1px solid var(--border);
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
}

.features {
    padding: 50px 20px 36px;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.98rem;
}

.legal-wrapper {
    padding: 60px 20px;
    flex: 1;
}

.legal-wrapper h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 20px;
}

.legal-section {
    margin-bottom: 28px;
}

.legal-section h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.legal-section p,
.legal-section ul {
    color: var(--muted);
    font-size: 0.98rem;
}

.legal-section ul {
    list-style: disc inside;
    margin-top: 8px;
}

footer {
    padding: 32px 20px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

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

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 0.96rem;
    color: var(--muted);
}

.footer-copy {
    font-size: 0.96rem;
    color: var(--muted);
}

@media (max-width: 640px) {
    .nav {
        flex-direction: column;
        gap: 12px;
    }

    .cta-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
