/* RankFlow v3.0 Landing - Glassmorphism Edition */

/* Color System - Vibrant Gradients */
:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --neon-glow: 0 0 20px rgba(102, 126, 234, 0.6);
}

/* Base */
body.page-landing-v2 {
    background: #0a0e1a;
    color: #fff;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.rf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glass Card Effect */
.rf-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.rf-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.rf-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4), var(--neon-glow);
}

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

/* Typography */
.rf-h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 50%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(167, 139, 250, 0.3);
}

.rf-h2 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rf-h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.rf-lead {
    font-size: 1.35rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
}

.rf-text-gradient {
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Buttons */
.rf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.rf-btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border: none;
}

.rf-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.rf-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6), var(--neon-glow);
}

.rf-btn-primary:hover::before {
    opacity: 1;
}

/* Hero Section */
.rf-hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
}

.rf-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(245, 87, 108, 0.2), transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(79, 172, 254, 0.2), transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.rf-grid-bg {
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

/* Layouts */
.rf-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.rf-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.rf-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.rf-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.rf-text-center {
    text-align: center;
}

/* Animations */
@keyframes rf-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.01);
    }
}

.rf-animate-float {
    animation: rf-float 8s ease-in-out infinite;
}

.rf-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rf-fade-up.rf-show {
    opacity: 1;
    transform: translateY(0);
}

/* Comparison Table */
.rf-table-container {
    overflow-x: auto;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    padding: 0.5rem;
}

.rf-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.rf-table th,
.rf-table td {
    padding: 1.5rem 2rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
}

.rf-table th {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.1));
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.rf-table th:last-child {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.2));
    border-radius: 16px 16px 0 0;
}

.rf-table tbody tr {
    transition: all 0.3s ease;
}

.rf-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rf-table tbody tr:last-child td {
    border-bottom: none;
}

.rf-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 16px;
}

.rf-table tbody tr:last-child td:last-child {
    border-radius: 0 0 16px 0;
}

.rf-check {
    color: #4ade80;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    font-weight: 700;
}

.rf-cross {
    color: #f87171;
    font-size: 1.5rem;
    opacity: 0.6;
}

/* Utility Classes */
.rf-mb-4 {
    margin-bottom: 1rem;
}

.rf-mb-6 {
    margin-bottom: 1.5rem;
}

.rf-mb-8 {
    margin-bottom: 2rem;
}

.rf-mb-12 {
    margin-bottom: 3rem;
}

.rf-mb-16 {
    margin-bottom: 4rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rf-h1 {
        font-size: 2.5rem;
    }

    .rf-h2 {
        font-size: 2rem;
    }

    .rf-h3 {
        font-size: 1.5rem;
    }

    .rf-hero {
        padding: 6rem 0 4rem;
    }

    .rf-lead {
        font-size: 1.125rem;
    }

    .rf-card {
        padding: 1.5rem;
        backdrop-filter: blur(10px);
    }

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

    .rf-grid-3,
    .rf-grid-4,
    .rf-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}