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

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

:root {
    --primary-dark: #1A1433;
    --primary-purple: #534AB7;
    --mid-purple: #7F77DD;
    --light-purple: #EEEDFE;
    --gold: #EF9F27;
    --text: #1A1433;
    --text-secondary: #6B6B8A;
    --bg: #FFFFFF;
    --bg-secondary: #F8F7FF;
}

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

/* NAV */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(83,74,183,0.1);
    padding: 0 24px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-dark);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    font-family: 'Times New Roman', serif;
}

.logo-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-dark);
}

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

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

.nav-links a:hover {
    color: var(--primary-purple);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2D1B6B 100%);
    color: white;
    padding: 100px 24px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #A89EFF;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin: 0 auto 40px;
}

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

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

/* FEATURES */
.section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: 12px;
}

.section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 56px;
}

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

.feature-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(83,74,183,0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--light-purple);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA */
.cta-section {
    background: var(--primary-dark);
    padding: 80px 24px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.65);
    font-size: 16px;
    margin-bottom: 36px;
}

/* LEGAL PAGES */
.legal-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2D1B6B 100%);
    color: white;
    padding: 64px 24px;
    text-align: center;
}

.legal-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 12px;
}

.legal-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 64px 24px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 40px 0 12px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 15px;
    color: #444;
    margin-bottom: 14px;
    line-height: 1.75;
}

.legal-content ul {
    margin: 0 0 14px 20px;
}

.legal-content ul li {
    font-size: 15px;
    color: #444;
    margin-bottom: 6px;
    line-height: 1.65;
}

.legal-content a {
    color: var(--primary-purple);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-divider {
    border: none;
    border-top: 1px solid #EBEBEB;
    margin: 40px 0;
}

/* SUPPORT */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.support-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(83,74,183,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}

.support-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(83,74,183,0.12);
}

.support-card .icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.support-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.support-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* FOOTER */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.5);
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 13px;
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
