/* Hearted - Landing Page Styles */
/* Open, spacious design with generous whitespace */

:root {
    --color-primary: #E11D48;
    --color-primary-dark: #BE123C;
    --color-bg: #0A0A0A;
    --color-surface: #141414;
    --color-surface-hover: #1E1E1E;
    --color-text: #FFFFFF;
    --color-text-muted: #8B8B8B;
    --color-border: #262626;
    --gradient-primary: linear-gradient(135deg, #E11D48 0%, #F43F5E 100%);
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

    /* Generous spacing scale */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;
    --space-3xl: 180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 17px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: var(--space-xl);
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-icon {
    font-size: 1.6rem;
}

.nav-link {
    color: var(--color-text-muted) !important;
    transition: color 0.2s ease;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--color-text) !important;
}

.navbar-nav {
    align-items: center;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(225, 29, 72, 0.35);
}

.btn-primary:disabled {
    opacity: 0.7;
    transform: none;
}

.btn-outline-light {
    border-width: 2px;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    background: radial-gradient(ellipse at top right, rgba(225, 29, 72, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(244, 63, 94, 0.08) 0%, transparent 50%),
                var(--color-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: -0.03em;
}

.hero .lead {
    font-size: 1.35rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

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

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

    .hero .lead {
        font-size: 1.15rem;
    }
}

/* Hero Label */
.hero-label {
    display: inline-block;
    background: rgba(225, 29, 72, 0.15);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(225, 29, 72, 0.3);
}

/* Access Form */
.access-form-wrapper {
    max-width: 520px;
}

.access-form-wrapper--centered {
    margin: 0 auto;
}

.access-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.access-form--stacked {
    flex-direction: column;
    align-items: stretch;
}

.access-input {
    flex: 1;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    color: var(--color-text);
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.access-input:focus {
    background: var(--color-surface);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.15);
    color: var(--color-text);
    outline: none;
}

.access-input::placeholder {
    color: var(--color-text-muted);
}

.access-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.access-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(225, 29, 72, 0.4);
}

.access-btn:active {
    transform: translateY(0);
}

.access-btn i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.access-btn:hover i {
    transform: translateX(3px);
}

.hero-fine-print {
    margin-top: var(--space-md);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-fine-print i {
    color: var(--color-primary);
}

/* Access Response States */
.access-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-top: var(--space-sm);
}

.access-success i {
    color: #22C55E;
    font-size: 1.5rem;
}

.access-success span {
    font-weight: 600;
    font-size: 1.1rem;
    color: #22C55E;
}

.access-success p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.access-error {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 14px;
    padding: 1rem 1.5rem;
    margin-top: var(--space-sm);
}

.access-error i {
    color: #EF4444;
    font-size: 1.25rem;
}

.access-error span {
    color: #EF4444;
    font-weight: 500;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--color-surface);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    animation: float 4s ease-in-out infinite;
    border: 1px solid var(--color-border);
}

.floating-card i {
    opacity: 0.9;
}

.card-1 {
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 10%;
    right: 10%;
    animation-delay: 0.7s;
    color: #E60023;
}

.card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 1.4s;
}

.card-3 i {
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #FCAF45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-4 {
    bottom: 20%;
    right: 12%;
    animation-delay: 2.1s;
}

.mj-icon {
    font-weight: 700;
    font-size: 1.5rem;
}

.heart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 0 80px rgba(225, 29, 72, 0.5);
    animation: pulse 2.5s ease-in-out infinite;
}

.heart-center i {
    line-height: 1;
    display: block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 80px rgba(225, 29, 72, 0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.06);
        box-shadow: 0 0 100px rgba(225, 29, 72, 0.65);
    }
}

/* Features Section */
.features {
    background: var(--color-bg);
    padding: var(--space-3xl) 0;
}

.feature-card {
    background: var(--color-surface);
    border-radius: 24px;
    padding: var(--space-lg);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

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

.feature-card p {
    color: var(--color-text-muted);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.65;
}

kbd {
    background: var(--color-surface-hover);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.25rem 0.6rem;
    font-size: 0.9rem;
    font-family: var(--font-family);
}

/* Platforms Section */
.platforms {
    background: var(--color-surface);
    padding: var(--space-3xl) 0;
}

.platform-card {
    background: var(--color-bg);
    border-radius: 24px;
    padding: var(--space-lg);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.platform-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
}

.platform-card i {
    font-size: 3rem;
}

.platform-card span {
    font-weight: 500;
    font-size: 1.1rem;
}

.platform-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.5;
    margin-top: -0.5rem;
}

.mj-icon-large {
    display: block;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Section */
.cta {
    background: radial-gradient(ellipse at center, rgba(225, 29, 72, 0.12) 0%, transparent 70%),
                var(--color-bg);
    padding: var(--space-3xl) 0;
}

.cta .section-title {
    margin-bottom: var(--space-md);
}

.cta .lead {
    color: var(--color-text-muted);
    font-size: 1.25rem;
}


/* Footer */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg) 0;
}

.footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--color-text) !important;
}

/* Utility */
.text-muted {
    color: var(--color-text-muted) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.25rem;
    }

    .features,
    .platforms,
    .cta {
        padding: var(--space-2xl) 0;
    }
}

@media (max-width: 768px) {
    .hero-visual {
        height: 350px;
        margin-top: var(--space-lg);
    }

    .floating-card {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        border-radius: 16px;
    }

    .heart-center {
        width: 90px;
        height: 90px;
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: var(--space-lg);
    }

    .features,
    .platforms,
    .cta {
        padding: var(--space-xl) 0;
    }

    .feature-card,
    .platform-card {
        padding: var(--space-md);
    }

    .access-form {
        flex-direction: column;
    }

    .access-btn {
        width: 100%;
    }

    .hero-fine-print {
        justify-content: center;
    }
}
