/* 
================================================================
Y3DATA LANDING PAGE STYLES (SANITIZED)
================================================================
Consolidated and tokenized for the Y3Data Design System.
Last Updated: June 2026
*/

/* --- Landing Page Layout Specifics --- */
.lp-hero {
    position: relative;
    padding: 120px 0 var(--y3-space-80);
    overflow: hidden;
    background: radial-gradient(circle at top right, var(--y3-primary-soft) 0%, transparent 60%);
}

.hero-grid-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--y3-space-40);
    align-items: center;
}

@media (max-width: 991px) {
    .hero-grid-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--y3-space-64);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--y3-space-24);
    color: var(--y3-text);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--y3-text-secondary);
    line-height: 1.8;
    max-width: 580px;
    margin-bottom: var(--y3-space-40);
}

@media (max-width: 991px) {
    .hero-sub { margin: 0 auto var(--y3-space-40); }
}

.hero-cta-group {
    display: flex;
    gap: var(--y3-space-16);
    margin-bottom: var(--y3-space-48);
}

@media (max-width: 991px) {
    .hero-cta-group { justify-content: center; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--y3-primary-soft);
    color: var(--y3-primary);
    padding: 8px 16px;
    border-radius: var(--y3-radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: var(--y3-space-20);
}

.hero-store-badges {
    display: flex;
    gap: var(--y3-space-12);
}

@media (max-width: 991px) {
    .hero-store-badges { justify-content: center; }
}

.store-badge-item img {
    height: 44px;
    transition: transform 0.3s var(--y3-ease-out);
}

.store-badge-item:hover img {
    transform: translateY(-2px);
}

/* --- Hero Visual & Floating Elements --- */
.visual-wrapper {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-inner {
    width: 80%;
    height: 80%;
    background: var(--y3-bg-alt);
    border-radius: var(--y3-radius-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--y3-border);
    box-shadow: var(--y3-shadow-lg);
}

.visual-placeholder {
    font-size: 5rem;
    color: var(--y3-primary);
    opacity: 0.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.visual-label {
    font-size: 1rem;
    font-weight: 700;
}

.hero-float-card {
    position: absolute;
    padding: 16px;
    border-radius: var(--y3-radius-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--y3-shadow-xl);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.float-1 { top: 15%; right: -5%; animation-delay: 0s; }
.float-2 { bottom: 15%; left: -5%; animation-delay: -3s; }

.hero-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.success-glow { background: var(--y3-success-soft); color: var(--y3-success); }
.warning-glow { background: var(--y3-warning-soft); color: var(--y3-warning); }

.float-text h4 { font-size: 0.85rem; font-weight: 800; margin: 0; }
.float-text span { font-size: 0.75rem; opacity: 0.7; }

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

/* --- Trust Stats --- */
.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--y3-space-24);
    background: var(--y3-bg);
    padding: var(--y3-space-40);
    border-radius: var(--y3-radius-2xl);
    border: 1px solid var(--y3-border);
}

@media (max-width: 768px) {
    .trust-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.trust-stat-item h2 { font-size: 2.25rem; font-weight: 900; margin-bottom: 4px; }
.trust-stat-item p { font-size: 0.875rem; color: var(--y3-text-muted); font-weight: 600; text-transform: uppercase; }

/* --- Section Headers --- */
.section-header { text-align: center; max-width: 700px; margin: 0 auto var(--y3-space-64); }
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 900; margin-bottom: var(--y3-space-16); }

/* --- Pricing Dynamic Grid --- */
.pricing-grid-dynamic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--y3-space-24);
}

@media (max-width: 1200px) { .pricing-grid-dynamic { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .pricing-grid-dynamic { grid-template-columns: 1fr; } }

/* --- Feature Icons --- */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--y3-space-20);
}

.feature-icon-blue { background: var(--y3-primary-soft); color: var(--y3-primary); }
.feature-icon-green { background: var(--y3-success-soft); color: var(--y3-success); }
.feature-icon-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.feature-icon-gold { background: var(--y3-warning-soft); color: var(--y3-warning); }

/* --- Steps Grid --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--y3-space-64);
    position: relative;
}

@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; gap: var(--y3-space-48); } }

.step-item { text-align: center; position: relative; }
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    margin: 0 auto var(--y3-space-20);
    font-size: 1.25rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* --- Referral Banner --- */
.referral-banner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: var(--y3-space-64) var(--y3-space-48);
    border-radius: var(--y3-radius-3xl);
    overflow: hidden;
    position: relative;
}

@media (max-width: 991px) {
    .referral-banner { flex-direction: column; text-align: center; }
}

.referral-earn-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    text-align: center;
    color: white;
    min-width: 180px;
    border: 1px solid rgba(255,255,255,0.2);
}

.referral-amount { font-size: 3rem; font-weight: 900; color: #fbbf24; line-height: 1; margin-bottom: 4px; }

/* --- App Section --- */
.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--y3-space-80);
    align-items: center;
}

@media (max-width: 991px) { .app-grid { grid-template-columns: 1fr; } }

.app-feature-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.app-feature-item { display: flex; align-items: center; gap: 12px; }
.app-feature-check { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; }

/* --- Public Footer --- */
.public-footer {
    background: var(--y3-bg);
    border-top: 1px solid var(--y3-border);
    margin-top: 100px;
    position: relative;
    padding: 0;
}

.footer-gradient-line {
    height: 4px;
    background: linear-gradient(90deg, var(--y3-primary), #8b5cf6, var(--y3-success), var(--y3-primary));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

.footer-inner { padding: 72px 0 32px; }
.footer-logo img { height: 45px; width: auto; margin-bottom: 24px; display: block; }
.footer-description { color: var(--y3-text-secondary); font-size: 14px; line-height: 1.7; }

.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--y3-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--y3-text-muted);
    border: 1px solid var(--y3-border);
    transition: all 0.3s var(--y3-ease-out);
}

.social-link:hover { background: var(--y3-primary); color: white; border-color: var(--y3-primary); transform: translateY(-3px); }
.social-link.whatsapp:hover { background: #25D366; border-color: #25D366; }

.footer-heading {
    font-size: 14px;
    font-weight: 800;
    color: var(--y3-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--y3-text-secondary); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--y3-primary); }

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

.copyright { font-size: 13px; color: var(--y3-text-muted); }
.footer-legal { display: flex; align-items: center; gap: 24px; }
.developer-credit { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--y3-text-muted); border-right: 1px solid var(--y3-border); padding-right: 24px; }
.legal-links { display: flex; gap: 16px; }
.legal-links a { font-size: 12px; color: var(--y3-text-muted); text-decoration: none; }
.legal-links a:hover { color: var(--y3-primary); }

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Misc Helper --- */
.text-gradient {
    background: linear-gradient(135deg, var(--y3-primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
