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

:root {
    --bg: #fffbfc;
    --fg: #1a0a10;
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-200: #fecdd3;
    --rose-300: #fda4af;
    --rose-400: #fb7185;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --pink-50: #fdf2f8;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --fuchsia-50: #fdf4ff;
    --fuchsia-500: #d946ef;
    --violet-50: #f5f3ff;
    --violet-500: #8b5cf6;
    --amber-50: #fffbeb;
    --amber-500: #f59e0b;
    --zinc-400: #a1a1aa;
    --zinc-500: #71717a;
    --zinc-600: #52525b;
    --zinc-900: #18181b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--fg);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background blobs */
.bg-blobs { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.bg-blobs .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.blob-1 { width: 384px; height: 384px; top: -160px; right: -160px; background: rgba(254, 205, 211, 0.22); }
.blob-2 { width: 384px; height: 384px; top: 33%; left: -160px; background: rgba(251, 207, 232, 0.22); }
.blob-3 { width: 384px; height: 384px; bottom: -160px; right: 25%; background: rgba(245, 208, 254, 0.16); }

/* Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
a { text-decoration: none; color: inherit; }

/* Animations */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-scale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 6s ease infinite;
}
.animate-heartbeat { animation: heartbeat 1.5s ease-in-out infinite; }
.animate-float { animation: float 4s ease-in-out infinite; }
.fade-up { animation: fade-up 0.8s ease forwards; }
.fade-scale { animation: fade-scale 0.5s ease forwards; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--rose-50); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--rose-300), var(--pink-400));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--rose-400), var(--pink-500));
}

/* ================================ */
/* Hero                             */
/* ================================ */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    padding: 5rem 1rem;
    text-align: center;
}

.floating-hearts {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.floating-hearts span {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.2;
}

.hero-inner { position: relative; z-index: 10; max-width: 56rem; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(254, 205, 211, 0.5);
    background: rgba(255, 241, 242, 0.8);
    font-size: 0.875rem;
    color: var(--rose-600);
    animation-delay: 0.2s;
}
.badge svg { animation: heartbeat 1.5s ease-in-out infinite; }

.hero h1 {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}
.hero h1 span {
    background: linear-gradient(to right, var(--rose-500), var(--pink-500), var(--fuchsia-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--zinc-600);
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    background: linear-gradient(to right, var(--rose-500), var(--pink-500));
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 25px -5px rgba(244, 63, 94, 0.25);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: linear-gradient(to right, var(--rose-600), var(--pink-600));
    box-shadow: 0 15px 30px -5px rgba(244, 63, 94, 0.3);
}
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    border: 1px solid var(--rose-200);
    color: var(--rose-600);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    background: transparent;
    cursor: pointer;
}
.btn-secondary:hover { background: var(--rose-50); }

/* ================================ */
/* Stats bar                        */
/* ================================ */
.stats-bar {
    border-top: 1px solid rgba(255, 225, 230, 0.3);
    border-bottom: 1px solid rgba(255, 225, 230, 0.3);
    background: rgba(255, 255, 255, 0.3);
    padding: 3rem 1rem;
}
.stats-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem 5rem;
    max-width: 64rem;
    margin: 0 auto;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}
.stat svg { color: var(--rose-400); }
.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--rose-500), var(--pink-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.875rem; color: var(--zinc-500); }

/* ================================ */
/* Features grid                    */
/* ================================ */
.features { padding: 5rem 1rem; }
.features-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 4rem;
}
.features-title span {
    background: linear-gradient(to right, var(--rose-500), var(--pink-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(255, 225, 230, 0.4);
    padding: 2rem;
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(244, 63, 94, 0.1);
}

.feature-card .orb {
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(32px);
    transition: opacity 0.3s;
}
.feature-card:hover .orb { opacity: 0.2; }

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    color: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--zinc-900);
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--zinc-600);
    flex: 1;
    margin-bottom: 1rem;
}
.feature-cta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--rose-500);
    transition: gap 0.2s;
}
.feature-card:hover .feature-cta { gap: 0.5rem; }

/* Card backgrounds */
.card-rose    { background: var(--rose-50); }
.card-violet  { background: var(--violet-50); }
.card-amber   { background: var(--amber-50); }
.card-pink    { background: var(--pink-50); }
.card-fuchsia { background: var(--fuchsia-50); }

/* Gradient helper classes */
.grad-rose-pink    { background: linear-gradient(135deg, var(--rose-500), var(--pink-500)); }
.grad-violet-fuchsia { background: linear-gradient(135deg, var(--violet-500), var(--fuchsia-500)); }
.grad-amber-rose   { background: linear-gradient(135deg, var(--amber-500), var(--rose-500)); }
.grad-pink-rose    { background: linear-gradient(135deg, var(--pink-500), var(--rose-500)); }
.grad-fuchsia-violet { background: linear-gradient(135deg, var(--fuchsia-500), var(--violet-500)); }

/* ================================ */
/* Footer                           */
/* ================================ */
footer {
    border-top: 1px solid rgba(255, 225, 230, 0.3);
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--zinc-400);
}

/* ================================ */
/* Responsive                       */
/* ================================ */
@media (max-width: 640px) {
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-inner { gap: 2rem; }
}

/* Stagger animation for feature cards */
.feature-card { opacity: 0; animation: fade-up 0.6s ease forwards; }
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }