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

:root {
    --primary: #0f172a;
    --accent: #4f46e5;
    --accent-light: #eef2ff;
    --bg-main: #ffffff;
    --bg-subtle: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --card-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    --gradient-blue: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
}

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

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Enhanced Mesh Gradient Background */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(79, 70, 229, 0.03) 0px, transparent 50%);
    background-color: #ffffff;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

.btn-login-premium {
    background: var(--primary);
    color: white;
    padding: 0.8rem 2.2rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-login-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Hero Section - Using Sizes from Dark Version */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, #0f172a 40%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-muted);
    max-width: 850px;
    margin-bottom: 3.5rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-main {
    background: var(--gradient-blue);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.btn-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 1.25rem 3rem;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--primary);
}

/* Features - Using Padding/Sizes from Dark Version */
.section {
    padding: 140px 10%;
}

.section-label {
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 5rem;
    letter-spacing: -0.03em;
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: 40px;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.15, 0.85, 0.35, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: var(--card-shadow);
}

.icon-wrap {
    width: 70px;
    height: 70px;
    background: var(--bg-subtle);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    transition: all 0.3s;
}

.feature-card:hover .icon-wrap {
    background: var(--accent-light);
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    background: radial-gradient(circle at top right, #eef2ff 0%, #ffffff 60%);
    text-align: center;
}

.pricing-box {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 6rem 4rem;
    border-radius: 48px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.pricing-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.15, 0.85, 0.35, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .section h2 { font-size: 2.5rem; }
    .nav-links { display: none; }
}
