:root {
    --bg: #F5F5F7;
    --surface: #FFFFFF;
    --text-main: #1D1D1F;
    --text-sub: #86868B;
    --accent: #0066CC;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    --brand-font: 'Playfair Display', serif;
    --ui-font: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--ui-font);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    position: sticky;
    top: 0;
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--brand-font);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-main);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

.btn-login {
    background: var(--text-main);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Header & Hero */
header {
    padding: 140px 8% 100px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

h1 {
    font-family: var(--brand-font);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

h1 i {
    font-style: italic;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.3rem;
    color: var(--text-sub);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Grid System */
.grid-container {
    padding: 0 8% 120px;
    max-width: 1400px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
    opacity: 0;
}

.card {
    background: var(--surface);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-brand {
    font-family: var(--brand-font);
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card-brand span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: var(--text-sub);
    font-family: var(--ui-font);
    font-weight: 300;
}

.features {
    list-style: none;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

.features li {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #EBF5FF;
    color: var(--accent);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 60px;
    color: var(--text-sub);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
    background: #fff;
}

/* --- Add this to the end of style.css --- */
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}