/* Rizz Pop - Shared Styles */

:root {
    --bg: #0a0a0f;
    --surface: #13131a;
    --surface-2: #1c1c26;
    --text: #ffffff;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --primary: #ff2d78;
    --primary-2: #ff6b35;
    --accent: #ff2d78;
    --accent-glow: rgba(255, 45, 120, 0.35);
    --success: #22c55e;
    --danger: #ef4444;
    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 32px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 60px rgba(255, 45, 120, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Background texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 45, 120, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(255, 107, 53, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.15;
    font-weight: 800;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(255, 45, 120, 0.25);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #ff8fab 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 100px;
    transition: all 0.25s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-links .btn-small {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    padding: 10px 22px;
    margin-left: 8px;
}

.nav-links .btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    box-shadow: 0 8px 28px rgba(255, 45, 120, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255, 45, 120, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero */
.hero {
    padding: 100px 0 120px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 45, 120, 0.12);
    border: 1px solid rgba(255, 45, 120, 0.25);
    border-radius: 100px;
    color: #ff8fab;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-2), #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 320px;
    height: 320px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow), var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
}

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

/* Section headers */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* Features */
.features {
    padding: 100px 0;
    position: relative;
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 45, 120, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 45, 120, 0.3);
    box-shadow: var(--shadow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card.feature-large {
    grid-column: span 2;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 45, 120, 0.2), rgba(255, 107, 53, 0.15));
    border-radius: 16px;
    font-size: 1.75rem;
    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* How it works */
.how-it-works {
    padding: 100px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: rgba(255, 45, 120, 0.25);
    transform: translateY(-6px);
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 18px;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(255, 45, 120, 0.3);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA section */
.cta-section {
    padding: 80px 0 120px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(255, 45, 120, 0.15), rgba(255, 107, 53, 0.1));
    border: 1px solid rgba(255, 45, 120, 0.2);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 45, 120, 0.08) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

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

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 32px;
    position: relative;
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .brand {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Legal pages */
.legal-page {
    padding: 64px 0 100px;
}

.legal-header {
    text-align: center;
    margin-bottom: 56px;
}

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.legal-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.legal-content {
    max-width: 880px;
    margin: 0 auto;
}

.legal-section {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
}

.legal-section h2 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text);
}

.legal-section h3 {
    font-size: 1.1rem;
    margin: 24px 0 12px;
    color: #ff8fab;
    font-weight: 700;
}

.legal-section p {
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.8;
}

.legal-section ul {
    list-style-type: disc;
    list-style-position: inside;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-section li strong {
    color: var(--text);
    font-weight: 600;
}

.contact-box {
    background: var(--surface-2);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
}

.contact-box ul {
    list-style: none;
    margin: 0;
}

.contact-box li {
    margin-bottom: 8px;
}

.back-home {
    text-align: center;
    margin-top: 48px;
}

/* Delete page */
.delete-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 45, 120, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.08) 0%, transparent 45%);
}

.delete-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    box-shadow: var(--shadow);
}

.delete-card .brand {
    justify-content: center;
    margin-bottom: 8px;
}

.delete-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.warning-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 28px rgba(239, 68, 68, 0.35);
}

.delete-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.delete-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: var(--surface-2);
    color: var(--text);
    transition: all 0.25s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 45, 120, 0.05);
}

.delete-btn {
    width: 100%;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.35);
}

.delete-btn:disabled {
    background: var(--text-dim);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 36px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: var(--shadow);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: white;
    font-size: 1.75rem;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.modal-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

.modal-buttons .btn {
    flex: 1;
}

/* Success state */
.success-state {
    display: none;
}

.success-state.show {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #22c55e, #4ade80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35);
}

.success-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 12px;
}

.success-text {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Utility */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

    .feature-card.feature-large {
        grid-column: span 2;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-logo {
        width: 240px;
        height: 240px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.feature-large {
        grid-column: span 1;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-box h2 {
        font-size: 1.85rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .legal-header h1 {
        font-size: 2.25rem;
    }

    .delete-card {
        padding: 32px 24px;
    }
}
