/* ==================== Falora Web - Global Styles ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #1e1e3a;
    --bg-card-hover: #252550;
    --purple-primary: #8b5cf6;
    --purple-light: #a855f7;
    --purple-dark: #7c3aed;
    --purple-glow: rgba(139, 92, 246, 0.3);
    --purple-glow-strong: rgba(139, 92, 246, 0.5);
    --gold: #f0a500;
    --gold-light: #fbbf24;
    --gold-dark: #d4a017;
    --pink: #ec4899;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(139, 92, 246, 0.2);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-gold: linear-gradient(135deg, #f0a500 0%, #fbbf24 100%);
    --gradient-bg: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ==================== Stars Background ==================== */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration, 3s) ease-in-out infinite;
    opacity: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: var(--max-opacity, 0.7); }
}

/* ==================== Navbar ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.navbar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

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

.navbar-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: var(--purple-light);
}

.navbar-cta {
    padding: 10px 24px;
    background: var(--gradient-purple);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--purple-glow-strong);
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ==================== Container ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--purple-glow);
    border-radius: 50px;
    font-size: 13px;
    color: var(--purple-light);
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #f0a500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-purple);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--purple-glow-strong);
    color: white;
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid var(--purple-glow);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--purple-primary);
    color: white;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* ==================== Crystal Ball ==================== */
.crystal-ball {
    width: 180px;
    height: 180px;
    margin: 0 auto 40px;
    position: relative;
}

.crystal-ball .orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.4), rgba(139, 92, 246, 0.2) 40%, rgba(15, 15, 26, 0.8));
    border: 2px solid var(--purple-glow);
    box-shadow: 0 0 60px var(--purple-glow), inset 0 0 60px rgba(139, 92, 246, 0.1);
    animation: float 6s ease-in-out infinite;
}

.crystal-ball .base {
    width: 80px;
    height: 20px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
    border-radius: 50%;
    margin: -10px auto 0;
    box-shadow: 0 4px 15px rgba(240, 165, 0, 0.3);
}

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

/* ==================== Features Section ==================== */
.section {
    position: relative;
    padding: 100px 0;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-glow-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--purple-light); }
.feature-icon.gold { background: rgba(240, 165, 0, 0.15); color: var(--gold); }
.feature-icon.pink { background: rgba(236, 72, 153, 0.15); color: var(--pink); }
.feature-icon.blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ==================== Scroll Reveal ==================== */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

.features-grid .reveal-element:nth-child(2) { transition-delay: 0.1s; }
.features-grid .reveal-element:nth-child(3) { transition-delay: 0.2s; }
.features-grid .reveal-element:nth-child(4) { transition-delay: 0.3s; }
.features-grid .reveal-element:nth-child(5) { transition-delay: 0.4s; }
.features-grid .reveal-element:nth-child(6) { transition-delay: 0.5s; }

/* ==================== CTA Section ==================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    z-index: 1;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 64px;
    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, var(--purple-glow) 0%, transparent 50%);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

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

.cta-box h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 16px;
    position: relative;
}

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

.store-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.store-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--purple-primary);
    transform: translateY(-2px);
    color: white;
}

.store-btn svg {
    width: 28px;
    height: 28px;
}

.store-btn .store-text {
    text-align: left;
}

.store-btn .store-text small {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
}

.store-btn .store-text span {
    font-weight: 600;
    font-size: 16px;
}

/* ==================== Footer ==================== */
.footer {
    position: relative;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    z-index: 1;
}

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

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--purple-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--purple-primary);
    border-color: var(--purple-primary);
    color: white;
}

/* ==================== Page Header (Sub-pages) ==================== */
.page-hero {
    padding: 140px 24px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== Content Sections (Sub-pages) ==================== */
.content-section {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 24px;
}

.content-card h2 {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--purple-light);
}

.content-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.content-card p, .content-card li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.content-card ul, .content-card ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.content-card a {
    color: var(--purple-light);
}

.content-card a:hover {
    text-decoration: underline;
}

/* ==================== FAQ Accordion ==================== */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--purple-glow-strong);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--purple-light);
}

.faq-question .icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: var(--purple-primary);
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ==================== Contact Box ==================== */
.contact-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.contact-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    margin-bottom: 12px;
}

.contact-box p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-purple);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--purple-glow-strong);
    color: white;
}

/* ==================== Delete Account Steps ==================== */
.steps-list {
    counter-reset: step;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
}

.step-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
}

.warning-box h4 {
    font-family: 'Inter', sans-serif;
    color: #ef4444;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-box p, .warning-box li {
    font-size: 14px;
    color: #fca5a5;
    line-height: 1.7;
}

.warning-box ul {
    padding-left: 20px;
    margin-top: 8px;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    /* Mobile menu */
    .navbar-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }

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

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .content-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
}
