/* ============================================
   VFT Landing Page Styles
   Reuses design patterns from privacy_tos.css
   ============================================ */

:root {
    --primary-color: #1479e3;
    --secondary-color: #5ea3d8;
    --accent-color: #333333;
    --bg-light: #f8fafc;
    --text-dark: #1f2937;
}

/* ---- Hero Section ---- */
.landing-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><path d="M0,0v46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1047.58,5.33,1100,1.36V0Z"/></svg>') repeat-x;
    background-size: 1000px 100px;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 1000px; }
}

.landing-hero .hero-content {
    position: relative;
    z-index: 1;
}

.landing-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.landing-hero .hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 500px;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    border-color: white;
    color: white;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ---- Device Mockup ---- */
.device-mockup {
    max-width: 480px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    background: #1e1e1e;
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
    transition: transform 0.4s ease;
}

.device-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.device-toolbar {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #2d2d2d;
    gap: 10px;
}

.toolbar-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.toolbar-url {
    flex: 1;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
}

.toolbar-url i {
    font-size: 0.7rem;
    color: #28c840;
}

.device-screen {
    background: white;
    line-height: 0;
}

.device-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Trust Bar ---- */
.trust-bar {
    background: var(--bg-light);
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.trust-item i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* ---- Section Shared ---- */
.landing-section {
    padding: 5rem 0;
}

.landing-section.bg-light {
    background: var(--bg-light);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-title-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ---- How It Works ---- */
.workflow-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.workflow-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.workflow-step::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.workflow-step:last-child::after {
    display: none;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(20, 121, 227, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(20, 121, 227, 0.4);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.step-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ---- Feature Cards ---- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 1.75rem;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.feature-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(20,121,227,0.1), rgba(94,163,216,0.1));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ---- Differentiator Cards ---- */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.diff-card {
    background: linear-gradient(135deg, rgba(20,121,227,0.06), rgba(94,163,216,0.06));
    border: 1px solid rgba(20,121,227,0.15);
    border-radius: 15px;
    padding: 1.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.diff-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: block;
}

.diff-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.diff-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ---- Pricing Cards ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.pricing-card.highlighted {
    border: 2px solid var(--primary-color);
    position: relative;
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(20,121,227,0.15);
}

.pricing-card.highlighted:hover {
    transform: scale(1.03) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card.pioneer {
    border: 2px solid #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, white 30%);
}

.pricing-card.pioneer .pricing-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pricing-tier-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.pricing-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: #64748b;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-features li i.mdi-close {
    color: #cbd5e1;
}

.btn-pricing {
    width: 100%;
    padding: 0.6rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-pricing-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.btn-pricing-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20,121,227,0.3);
    color: white;
}

.btn-pricing-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-pricing-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-pricing-pioneer {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
}

.btn-pricing-pioneer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.3);
    color: white;
}

.pricing-footer-note {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* ---- Final CTA ---- */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><path d="M0,0v46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1047.58,5.33,1100,1.36V0Z"/></svg>') repeat-x;
    background-size: 1000px 100px;
    animation: wave 20s linear infinite;
}

.final-cta .hero-content {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* ---- Fade-in Animation ---- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .landing-hero {
        padding: 3rem 0 4rem;
    }

    .landing-hero h1 {
        font-size: 2.25rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.highlighted {
        transform: scale(1);
    }

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

    .workflow-container {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .workflow-step {
        flex: 0 0 45%;
    }

    .workflow-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .landing-hero {
        padding: 2.5rem 0 3rem;
        text-align: center;
    }

    .landing-hero h1 {
        font-size: 1.85rem;
    }

    .landing-hero .hero-subtitle {
        margin: 0 auto;
    }

    .device-mockup {
        max-width: 85%;
        margin: 2rem auto 0;
        transform: none;
    }

    .device-mockup:hover {
        transform: none;
    }

    .trust-bar .row {
        gap: 0.75rem;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    .landing-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .workflow-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .workflow-step {
        flex: 0 0 100%;
        max-width: 280px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .final-cta h2 {
        font-size: 1.6rem;
    }
}
