/* ============================================
   FIDEFLOW LANDING PAGE - LIQUID GLASS DESIGN
   Apple-inspired glassmorphism styling
   ============================================ */

/* === IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* === ROOT VARIABLES === */
:root {
    /* Colors - Vibrant & Premium (Custom Brand Colors) */
    --primary-gradient: linear-gradient(135deg, #7A4DFF 0%, #5A2FCC 100%);
    --secondary-gradient: linear-gradient(135deg, #89F5A4 0%, #6DE38B 100%);
    --accent-gradient: linear-gradient(135deg, #7A4DFF 0%, #89F5A4 100%);
    --success-gradient: linear-gradient(135deg, #89F5A4 0%, #6DE38B 100%);

    /* Glass Colors */
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);

    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-light: #8b8ba7;
    --text-white: #ffffff;

    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 24px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* === GLOBAL RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    background: #f8f9ff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === GLASS MORPHISM UTILITIES === */
.glass {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

/* === ANIMATED BACKGROUND === */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f9ff 0%, #e8ecff 100%);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #7A4DFF, #5A2FCC);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #89F5A4, #6DE38B);
    bottom: -150px;
    left: -100px;
    animation-delay: 5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #7A4DFF, #89F5A4);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {

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

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* === NAVIGATION === */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 120px;
    width: auto;
    transition: var(--transition-smooth);
}

.btn-mobile-login {
    display: none;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    padding-top: 140px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(122, 77, 255, 0.2), rgba(137, 245, 164, 0.2));
    color: var(--text-primary);
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #1a1a2e 0%, #7A4DFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* === BUTTONS === */
.btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: 0 8px 24px rgba(122, 77, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(122, 77, 255, 0.6);
}

.btn-glass {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* === FEATURES SECTION === */
.features {
    padding: var(--section-padding);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--accent-gradient);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

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

.feature-card {
    padding: 40px 32px;
    border-radius: 24px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
    border-radius: 24px;
}

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

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(122, 77, 255, 0.3);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === PRICING SECTION === */
.pricing {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    padding: 48px 36px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-12px);
}

.pricing-card.featured {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-description,
.pricing-card.featured .pricing-feature {
    color: white;
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-price {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pricing-period {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-feature {
    padding: 12px 0;
    color: var(--text-secondary);
}

/* === CTA SECTION === */
.cta-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 60px;
    border-radius: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-white);
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* === FOOTER === */
.footer {
    padding: 60px 0 30px;
    background: var(--text-primary);
    color: var(--text-white);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-light);
    margin-top: 16px;
    line-height: 1.7;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--text-light);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease both;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .nav-links {
        display: none;
    }

    .logo-img {
        height: 70px;
    }

    .btn-mobile-login {
        display: inline-block;
        padding: 10px 24px;
        background: var(--primary-gradient);
        color: white;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 700;
        font-size: 14px;
        box-shadow: 0 4px 15px rgba(122, 77, 255, 0.3);
        transition: var(--transition-smooth);
    }

    .btn-mobile-login:active {
        transform: scale(0.95);
    }

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

    .cta-container {
        padding: 60px 32px;
    }

    .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 14px 32px;
        font-size: 14px;
    }
}