/* Modern Landing Page Design */
.landing-page {
    min-height: 100vh;
    background: #0F172A;
}

.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 25s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: #6366F1;
    top: -250px;
    left: -250px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #8B5CF6;
    bottom: -200px;
    right: -200px;
    animation-delay: -8s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: #EC4899;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -60px) scale(1.1); }
    66% { transform: translate(-60px, 60px) scale(0.9); }
}

.landing-nav {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #F1F5F9;
}

.landing-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.landing-nav-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.landing-nav-links a:hover {
    color: #6366F1;
}

.hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 5%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #94A3B8;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-btn {
    padding: 0.875rem 1.75rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border-color: transparent;
}

.cta-btn.large {
    padding: 1.125rem 2.25rem;
    font-size: 1.1rem;
}

.cta-btn.huge {
    padding: 1.375rem 2.75rem;
    font-size: 1.2rem;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
}

.live-stats {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2.5rem 5%;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: #6366F1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #94A3B8;
    font-size: 0.95rem;
}

.features-section, 
.plans-section, 
.stats-section {
    padding: 5rem 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(30, 41, 59, 0.7);
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #94A3B8;
    line-height: 1.6;
}

.landing-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-plan-card {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.landing-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.landing-plan-card.featured {
    border-color: #6366F1;
    background: rgba(99, 102, 241, 0.05);
}

.plan-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    padding: 0.625rem 1.75rem;
    border-radius: 24px;
    font-weight: 700;
    font-size: 0.9rem;
}

.plan-type {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-apy-big {
    font-size: 3.25rem;
    font-weight: 900;
    color: #6366F1;
    margin-bottom: 0.5rem;
}

.plan-monthly {
    color: #94A3B8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.plan-features-list li {
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.plan-features-list li:last-child {
    border-bottom: none;
}

.plan-features-list i {
    color: #10B981;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.stats-card:hover {
    background: rgba(30, 41, 59, 0.7);
    transform: translateY(-6px);
}

.stats-card i {
    font-size: 2.75rem;
    color: #6366F1;
    margin-bottom: 1rem;
}

.stats-number {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #F1F5F9;
}

.stats-label {
    color: #94A3B8;
}

.cta-section {
    padding: 6rem 5%;
    text-align: center;
    background: rgba(99, 102, 241, 0.05);
}

.cta-section h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #94A3B8;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.landing-footer {
    background: rgba(30, 41, 59, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #6366F1;
}

.footer-copy {
    color: #64748B;
}

/* Auth Modal Enhancements */
.auth-modal-content {
    max-width: 520px;
}

.auth-form {
    padding: 1rem 0;
}

.auth-description {
    color: #94A3B8;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

.auth-btn {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: #94A3B8;
}

.auth-switch a {
    color: #6366F1;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        padding: 3rem 4%;
    }
    
    .features-section,
    .plans-section,
    .stats-section,
    .cta-section {
        padding: 4rem 4%;
    }
    
    .features-grid,
    .landing-plans-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 1rem 4%;
    }

    .landing-nav-links {
        display: none;
    }

    .hero-content {
        padding: 2.5rem 4%;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .live-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 4%;
    }

    .features-section,
    .plans-section,
    .stats-section,
    .cta-section {
        padding: 3.5rem 4%;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 2.5rem;
    }

    .features-grid,
    .landing-plans-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .landing-plan-card {
        padding: 2rem;
    }
    
    .landing-plan-card .plan-features-list {
        margin-bottom: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .auth-modal-content {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .landing-nav {
        padding: 1rem 3%;
    }
    
    .landing-nav .nav-brand {
        font-size: 1.1rem;
    }

    .hero-content {
        padding: 2rem 3%;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.75rem;
    }
    
    .cta-btn.large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .cta-btn.huge {
        padding: 1.125rem 1.75rem;
        font-size: 1.05rem;
    }

    .live-stats {
        padding: 1.75rem 3%;
        gap: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }

    .features-section,
    .plans-section,
    .stats-section,
    .cta-section {
        padding: 3rem 3%;
    }

    .section-title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .landing-plan-card {
        padding: 1.75rem;
    }

    .plan-apy-big {
        font-size: 2.75rem;
    }
    
    .plan-type {
        font-size: 1.4rem;
    }
    
    .plan-monthly {
        font-size: 1rem;
    }

    .stats-card {
        padding: 1.75rem;
    }

    .stats-number {
        font-size: 2.25rem;
    }
    
    .stats-card i {
        font-size: 2.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
        line-height: 1.25;
    }
    
    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        padding: 0.5rem 0;
    }
    
    .auth-modal-content {
        max-width: 95%;
    }
    
    .auth-modal .modal-body {
        padding: 1.25rem;
    }
    
    .auth-btn {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.65rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .plan-apy-big {
        font-size: 2.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
}