:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --dark: #0f172a;
    --light: #f8fafc;
    --grey: #64748b;
    --white: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

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

/* Header */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--grey);
}

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

.nav-actions,
.nav-actions-logged-in {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-logout,
.btn-signup,
.btn-start {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-start,
.btn-signup:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-start {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #000000;
}

.btn-login {
    color: var(--dark);
    background: transparent;
}

.btn-login:hover {
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--grey);
    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--dark);
}

.btn-large {
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #e0e7ff 0%, #f8fafc 50%);
}

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

.tagline {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: #e0e7ff;
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    background: linear-gradient(to right, var(--dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--grey);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--light);
    border-radius: var(--radius);
    transition: transform 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: #e2e8f0;
    box-shadow: var(--shadow-lg);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.feature-card p {
    color: var(--grey);
}

.like-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: 1px solid #f1f5f9;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--grey);
    font-size: 1.3rem;
    padding: 0;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    outline: none;
}

.like-btn:hover {
    transform: scale(1.15);
    color: var(--secondary);
    border-color: #ffe4e6;
    background: #fff5f7;
    box-shadow: var(--shadow-md);
}

.like-btn.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.like-btn.active:hover {
    background: #db2777;
    border-color: #db2777;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--grey);
    font-size: 0.9rem;
    border-top: 1px solid #f1f5f9;
    background: var(--white);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }
}