/* ===== DESIGN TOKENS ===== */
:root {
    /* Colors - Romantic palette */
    --clr-primary: #e84393;
    --clr-primary-light: #fd79a8;
    --clr-primary-dark: #c0392b;
    --clr-secondary: #6c5ce7;
    --clr-secondary-light: #a29bfe;
    --clr-accent: #ff6b81;
    --clr-accent-warm: #ff9a76;

    --clr-bg-dark: #0f0a1a;
    --clr-bg-section: #150e24;
    --clr-bg-card: rgba(255, 255, 255, 0.04);
    --clr-bg-glass: rgba(255, 255, 255, 0.06);

    --clr-text: #f0e6f6;
    --clr-text-muted: #b8a9c9;
    --clr-text-dim: #7a6b8a;

    --clr-border: rgba(255, 255, 255, 0.08);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #e84393, #6c5ce7);
    --grad-warm: linear-gradient(135deg, #ff6b81, #e84393);
    --grad-hero: linear-gradient(180deg, #0f0a1a 0%, #1a0e2e 50%, #2d1b4e 100%);
    --grad-glow: radial-gradient(circle at 50% 50%, rgba(232, 67, 147, 0.15), transparent 70%);

    /* Typography */
    --ff-heading: 'Outfit', sans-serif;
    --ff-body: 'Inter', sans-serif;

    --fs-hero: clamp(2.5rem, 6vw, 4.5rem);
    --fs-h2: clamp(1.8rem, 4vw, 3rem);
    --fs-h3: clamp(1.2rem, 2.5vw, 1.5rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-glow: 0 0 40px rgba(232, 67, 147, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-float: 0 20px 60px rgba(0, 0, 0, 0.4);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ff-body);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input {
    font-family: inherit;
    outline: none;
    border: none;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 6px 16px;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    font-size: var(--fs-small);
    color: var(--clr-primary-light);
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: var(--fs-body);
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ANIMATED BACKGROUND PARTICLES ===== */
.bg-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(15, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--grad-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--clr-text-muted);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--clr-text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-ghost {
    background: transparent;
    color: var(--clr-text);
    border: 1px solid var(--clr-border);
}

.btn-ghost:hover {
    background: var(--clr-bg-glass);
    border-color: var(--clr-primary-light);
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-large {
    padding: 14px 36px;
    font-size: var(--fs-body);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-3xl) 0 var(--space-2xl);
    background: var(--grad-hero);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-glow);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px 18px;
    background: rgba(232, 67, 147, 0.12);
    border: 1px solid rgba(232, 67, 147, 0.25);
    border-radius: 50px;
    font-size: var(--fs-small);
    color: var(--clr-primary-light);
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-md);
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--clr-primary);
    border-radius: var(--radius-full);
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-hero);
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--ff-heading);
    font-size: 1.8rem;
    font-weight: var(--fw-bold);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--fs-small);
    color: var(--clr-text-dim);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 67, 147, 0.25), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.floating-card {
    position: absolute;
    background: rgba(15, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    animation: floatCard 6s ease-in-out infinite;
    z-index: 2;
}

.floating-card.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 15%;
    left: -5%;
    animation-delay: 2s;
}

.floating-card .card-icon {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.floating-card .card-text {
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--clr-text-muted);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-primary-light), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-primary);
    opacity: 0;
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 67, 147, 0.3);
    box-shadow: 0 20px 40px rgba(232, 67, 147, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: rgba(232, 67, 147, 0.15);
    border-color: rgba(232, 67, 147, 0.3);
}

.feature-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-xs);
}

.feature-desc {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* ===== BENEFITS / HOW IT WORKS ===== */
.benefits {
    padding: var(--space-3xl) 0;
    background: var(--clr-bg-section);
    position: relative;
}

.benefits .container {
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.benefit-item {
    display: flex;
    gap: var(--space-md);
    text-align: left;
    padding: var(--space-lg);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.benefit-item:hover {
    background: var(--clr-bg-glass);
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-4px);
}

.benefit-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-heading);
    font-weight: var(--fw-bold);
    font-size: 1.1rem;
}

.benefit-content h3 {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-xs);
}

.benefit-content p {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.testimonial-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: left;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: rgba(232, 67, 147, 0.2);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-bold);
    font-size: var(--fs-small);
}

.testimonial-info .name {
    font-weight: var(--fw-semibold);
    font-size: var(--fs-small);
}

.testimonial-info .location {
    font-size: 0.75rem;
    color: var(--clr-text-dim);
}

/* ===== AUTH SECTION (Login / Signup) ===== */
.auth-section {
    padding: var(--space-3xl) 0;
    background: var(--clr-bg-section);
    position: relative;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-secondary-light), transparent);
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.auth-info {
    padding-right: var(--space-xl);
}

.auth-info h2 {
    font-family: var(--ff-heading);
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-md);
}

.auth-info p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--clr-text-muted);
    font-size: var(--fs-small);
}

.auth-feature .check-icon {
    width: 24px;
    height: 24px;
    background: rgba(232, 67, 147, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary-light);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.auth-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
}

.auth-tabs {
    display: flex;
    background: var(--clr-bg-glass);
    border-radius: 50px;
    padding: 4px;
    margin-bottom: var(--space-lg);
}

.auth-tab {
    flex: 1;
    padding: 10px 20px;
    background: transparent;
    color: var(--clr-text-muted);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    border-radius: 50px;
    transition: var(--transition-fast);
}

.auth-tab.active {
    background: var(--grad-primary);
    color: white;
}

.auth-tab:hover:not(.active) {
    color: var(--clr-text);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--clr-text-muted);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    color: var(--clr-text);
    font-size: var(--fs-body);
    transition: var(--transition-fast);
}

.form-group input::placeholder {
    color: var(--clr-text-dim);
}

.form-group input:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.15);
}

.form-group .input-icon {
    position: absolute;
    left: 14px;
    top: 38px;
    color: var(--clr-text-dim);
    font-size: 1rem;
    pointer-events: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-small);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--clr-text-muted);
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--clr-primary);
}

.forgot-link {
    color: var(--clr-primary-light);
    font-weight: var(--fw-medium);
    transition: var(--transition-fast);
}

.forgot-link:hover {
    color: var(--clr-primary);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--grad-primary);
    color: white;
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    margin-top: var(--space-xs);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.divider {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--clr-border);
}

.divider span {
    font-size: var(--fs-small);
    color: var(--clr-text-dim);
}

.social-login {
    display: flex;
    gap: var(--space-sm);
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 10px;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    color: var(--clr-text-muted);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--clr-bg-card);
    border-color: var(--clr-primary-light);
    color: var(--clr-text);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
}

.cta-card {
    background: var(--grad-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05), transparent 50%);
    pointer-events: none;
}

.cta-card h2 {
    font-family: var(--ff-heading);
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-card .btn {
    position: relative;
    z-index: 1;
    background: white;
    color: var(--clr-primary);
    font-weight: var(--fw-bold);
}

.cta-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--clr-bg-section);
    border-top: 1px solid var(--clr-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .nav-logo {
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-family: var(--ff-heading);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-md);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-column ul a {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    transition: var(--transition-fast);
}

.footer-column ul a:hover {
    color: var(--clr-primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--clr-border);
    font-size: var(--fs-small);
    color: var(--clr-text-dim);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ===== ABOUT / TEAM SECTION ===== */
.about {
    padding: var(--space-3xl) 0;
    background: var(--clr-bg-section);
    text-align: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.about-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 67, 147, 0.3);
    box-shadow: 0 16px 40px rgba(232, 67, 147, 0.1);
}

.about-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-sm);
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.about-card h3 {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
    margin-bottom: 4px;
}

.about-role {
    display: block;
    font-size: var(--fs-small);
    color: var(--clr-primary-light);
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-sm);
}

.about-card p {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    line-height: 1.7;
}

.about-contact {
    padding: var(--space-lg);
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.about-contact h3 {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-md);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 8px 20px;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    transition: var(--transition-fast);
}

.contact-item:hover {
    border-color: var(--clr-primary-light);
    color: var(--clr-text);
    background: rgba(232, 67, 147, 0.1);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== AUTH FORM VISIBILITY ===== */
.auth-form-panel {
    display: none;
}

.auth-form-panel.active {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    animation: fadeInUp 0.3s ease-out;
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 10, 26, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--clr-bg-section);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 440px;
    width: 90%;
    text-align: center;
    animation: fadeInUp 0.4s ease-out;
}

.modal-content .modal-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.modal-content h3 {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-xs);
}

.modal-content p {
    color: var(--clr-text-muted);
    font-size: var(--fs-small);
    margin-bottom: var(--space-md);
}

.modal-close-btn {
    padding: 10px 28px;
    background: var(--grad-primary);
    color: white;
    border-radius: 50px;
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===== PASSWORD TOGGLE ===== */
.password-toggle {
    position: absolute;
    right: 14px;
    top: 38px;
    background: none;
    color: var(--clr-text-dim);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.password-toggle:hover {
    color: var(--clr-text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 10, 26, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-lg);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto var(--space-lg);
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-info {
        padding-right: 0;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .nav-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .social-login {
        flex-direction: column;
    }
}


/* ===================================================================
   DASHBOARD / APP PAGES STYLES
   =================================================================== */

/* ===== APP BODY ===== */
.app-body {
    padding-top: 80px;
}

.nav-links a.active {
    color: var(--clr-primary-light);
}

.nav-links a.active::after {
    width: 100%;
}

.user-greeting {
    font-size: var(--fs-small);
    color: var(--clr-primary-light);
    font-weight: var(--fw-medium);
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard {
    min-height: calc(100vh - 160px);
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.dash-header {
    margin-bottom: var(--space-xl);
}

.dash-welcome {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.dash-avatar {
    width: 72px;
    height: 72px;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    border: 3px solid rgba(232, 67, 147, 0.4);
    overflow: hidden;
}

.dash-header h1 {
    font-family: var(--ff-heading);
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    line-height: 1.2;
}

.dash-subtitle {
    color: var(--clr-text-muted);
    font-size: var(--fs-body);
    margin-top: 4px;
}

/* ===== DASHBOARD GRID ===== */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.dash-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.dash-card:hover {
    border-color: rgba(232, 67, 147, 0.2);
    box-shadow: 0 8px 24px rgba(232, 67, 147, 0.08);
}

.dash-card-wide {
    grid-column: span 2;
}

.dash-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.dash-card-icon {
    width: 40px;
    height: 40px;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.dash-card-header h3 {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: var(--fw-semibold);
}

.dash-card-hint {
    font-size: var(--fs-small);
    color: var(--clr-text-dim);
    margin-top: var(--space-sm);
}

/* ===== DASH INPUT ===== */
.dash-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    color: var(--clr-text);
    font-size: var(--fs-body);
    transition: var(--transition-fast);
}

.dash-input:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.15);
}

.dash-input::placeholder {
    color: var(--clr-text-dim);
}

/* ===== PARTNER CODE ===== */
.partner-code-display {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 20px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px dashed rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-md);
}

.partner-code {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    letter-spacing: 4px;
    color: var(--clr-secondary-light);
}

.copy-btn {
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.copy-btn:hover {
    background: rgba(108, 92, 231, 0.2);
}

/* ===== LINK PARTNER ===== */
.link-partner-form {
    display: flex;
    gap: var(--space-sm);
}

.link-partner-form .dash-input {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--fw-semibold);
}

.partner-status {
    font-size: var(--fs-small);
    color: var(--clr-text-dim);
    margin-top: var(--space-sm);
}

.partner-status.linked {
    color: var(--clr-primary-light);
}

/* ===== COUNTDOWN ===== */
.countdown-setup label {
    display: block;
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
    margin-bottom: var(--space-xs);
}

.countdown-input-row {
    display: flex;
    gap: var(--space-sm);
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-number {
    font-family: var(--ff-heading);
    font-size: 3rem;
    font-weight: var(--fw-extrabold);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.countdown-label {
    font-size: var(--fs-small);
    color: var(--clr-text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-display {
    text-align: center;
}

.btn-small {
    padding: 8px 16px;
    font-size: var(--fs-small);
}

/* ===== MOOD SYNC ===== */
.mood-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.mood-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-spring);
    cursor: pointer;
}

.mood-btn:hover {
    border-color: var(--clr-primary);
    background: rgba(232, 67, 147, 0.1);
    transform: scale(1.1);
}

.mood-btn.active {
    border-color: var(--clr-primary);
    background: rgba(232, 67, 147, 0.2);
    box-shadow: 0 0 12px rgba(232, 67, 147, 0.3);
}

.mood-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-md);
    background: var(--clr-bg-glass);
    border-radius: var(--radius-md);
}

.mood-you,
.mood-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mood-label {
    font-size: var(--fs-small);
    color: var(--clr-text-dim);
}

.mood-emoji {
    font-size: 2rem;
}

.mood-heart {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

/* ===== VIRTUAL HUG ===== */
.hug-section {
    text-align: center;
}

.hug-btn {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background: var(--grad-primary);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 auto var(--space-md);
    transition: var(--transition-spring);
    cursor: pointer;
    color: white;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-small);
    position: relative;
    overflow: hidden;
}

.hug-btn .hug-emoji {
    font-size: 2.5rem;
    transition: var(--transition-spring);
}

.hug-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(232, 67, 147, 0.4);
}

.hug-btn:active {
    transform: scale(0.95);
}

.hug-btn.sending {
    animation: hugPulse 1.5s ease-in-out;
}

.hug-btn.sent {
    background: linear-gradient(135deg, #22c55e, #10b981);
}

@keyframes hugPulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hug-status {
    font-size: var(--fs-small);
    color: var(--clr-text-muted);
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 16px;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-size: var(--fs-small);
    color: var(--clr-text);
}

.quick-action-btn:hover {
    background: rgba(232, 67, 147, 0.1);
    border-color: rgba(232, 67, 147, 0.3);
    transform: translateX(4px);
}

/* ===== PROFILE PAGE ===== */
.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.profile-avatar-card {
    text-align: center;
}

.profile-avatar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.profile-avatar-large {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-full);
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 4px solid rgba(232, 67, 147, 0.3);
    overflow: hidden;
}

.avatar-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 10px 20px;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    font-size: var(--fs-small);
    color: var(--clr-text);
    cursor: pointer;
    transition: var(--transition-fast);
}

.avatar-upload-btn:hover {
    background: rgba(232, 67, 147, 0.15);
    border-color: var(--clr-primary);
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--clr-text-dim);
}

.profile-form-group {
    margin-bottom: var(--space-md);
}

.profile-form-group label {
    display: block;
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--clr-text-muted);
    margin-bottom: 6px;
}

.profile-meta {
    color: var(--clr-text-dim);
    font-size: var(--fs-small);
}

.btn-full {
    width: 100%;
}

.save-status {
    font-size: var(--fs-small);
    margin-top: var(--space-sm);
    min-height: 20px;
}

/* ===== PHOTO DIARY ===== */
.diary-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.diary-upload-card {
    margin-bottom: var(--space-lg);
}

.diary-upload-card .dash-card-header {
    position: relative;
}

.close-upload-btn {
    position: absolute;
    right: 0;
    top: 0;
    background: var(--clr-bg-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-upload-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    border: 2px dashed var(--clr-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    transition: var(--transition-fast);
    text-align: center;
    cursor: pointer;
}

.upload-dropzone.drag-over {
    border-color: var(--clr-primary);
    background: rgba(232, 67, 147, 0.05);
}

.dropzone-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.dropzone-browse {
    color: var(--clr-primary-light);
    cursor: pointer;
    text-decoration: underline;
}

.upload-preview {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    max-height: 300px;
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.photo-upload-form .upload-hint {
    color: var(--clr-text-dim);
    font-size: 0.75rem;
}

/* ===== DIARY GALLERY ===== */
.diary-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.diary-photo-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.diary-photo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 67, 147, 0.3);
    box-shadow: 0 12px 32px rgba(232, 67, 147, 0.1);
}

.diary-photo-img {
    height: 220px;
    overflow: hidden;
}

.diary-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.diary-photo-card:hover .diary-photo-img img {
    transform: scale(1.05);
}

.diary-photo-info {
    padding: var(--space-sm) var(--space-md);
}

.diary-photo-caption {
    font-size: var(--fs-small);
    color: var(--clr-text);
    margin-bottom: 4px;
}

.diary-photo-date {
    font-size: 0.75rem;
    color: var(--clr-text-dim);
}

/* ===== DIARY EMPTY STATE ===== */
.diary-empty {
    grid-column: span 3;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.diary-empty h3 {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    margin-bottom: var(--space-sm);
}

.diary-empty p {
    color: var(--clr-text-muted);
    max-width: 400px;
    margin: 0 auto var(--space-lg);
}

/* ===== COMPACT FOOTER ===== */
.footer-compact {
    padding: var(--space-md) 0;
}

.footer-compact .footer-bottom {
    padding: 0;
    border: none;
}


/* ===== RESPONSIVE — APP PAGES ===== */
@media (max-width: 768px) {
    .dash-grid {
        grid-template-columns: 1fr;
    }

    .dash-card-wide {
        grid-column: span 1;
    }

    .dash-welcome {
        flex-direction: column;
        text-align: center;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .diary-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .diary-empty {
        grid-column: span 2;
    }

    .diary-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .countdown-grid {
        gap: var(--space-md);
    }

    .countdown-number {
        font-size: 2rem;
    }

    .link-partner-form {
        flex-direction: column;
    }

    .countdown-input-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .diary-gallery {
        grid-template-columns: 1fr;
    }

    .diary-empty {
        grid-column: span 1;
    }

    .mood-picker {
        justify-content: center;
    }

    .partner-code {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
}