﻿/* ============================================
   DISCOVER PAGE — LIGHT THEME
   Primary: rgb(0, 160, 232) = #00A0E8
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */

.discover-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 160deg, #edf4ff 0%, #e0eefa 30%, #d2e8fc 60%, #c5e0fa 100% );
    overflow: hidden;
    margin-top: -76px;
    padding-top: 76px;
}

.discover-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 30%, rgba(0, 160, 232, 0.07) 0%, transparent 60%), radial-gradient(ellipse at 70% 70%, rgba(0, 100, 170, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Floating shapes */
.discover-hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 160, 232, 0.08) 0%, transparent 70%);
    top: -80px;
    right: -60px;
    animation: shapeFloat 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 130, 200, 0.06) 0%, transparent 70%);
    bottom: -40px;
    left: -30px;
    animation: shapeFloat 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 160, 232, 0.05) 0%, transparent 70%);
    top: 40%;
    left: 60%;
    animation: shapeFloat 12s ease-in-out infinite;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.discover-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

/* Hero Badge */
.discover-hero-badge {
    display: inline-block;
    background: rgba(0, 160, 232, 0.1);
    border: 1px solid rgba(0, 160, 232, 0.22);
    color: rgb(0, 120, 190);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    animation: fadeInDown 0.7s ease;
}

/* Hero Title */
.discover-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a2b42;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.7s ease 0.15s both;
}

/* Hero Description */
.discover-hero-description {
    font-size: 1.1rem;
    color: #4a5e78;
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.7s ease 0.3s both;
}

/* Hero CTA */
.discover-hero-cta {
    animation: fadeInUp 0.7s ease 0.45s both;
}

.btn-discover-primary {
    background: linear-gradient(135deg, rgb(0, 160, 232), rgb(0, 130, 200));
    color: #ffffff;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.02rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(0, 160, 232, 0.28);
}

    .btn-discover-primary:hover {
        background: linear-gradient(135deg, rgb(0, 130, 200), rgb(0, 100, 170));
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 8px 28px rgba(0, 160, 232, 0.38);
    }

/* Shared animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */

.discover-badge {
    display: inline-block;
    background: rgba(0, 160, 232, 0.08);
    border: 1px solid rgba(0, 160, 232, 0.18);
    color: rgb(0, 120, 190);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.38rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discover-section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #1a2b42;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.discover-section-subtitle {
    font-size: 1.02rem;
    color: #5a6e84;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   WHY AMBLES — FEATURE CARDS
   ============================================ */

.why-section {
    background: #ffffff;
    padding: 6rem 0;
}

.feature-card {
    background: #f9fbfd;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

    .feature-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, rgb(0, 160, 232), #5ac8fa);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
        border-color: #dce4ec;
    }

        .feature-card:hover::after {
            transform: scaleX(1);
        }

/* Feature Icons */
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon-blue {
    background: rgba(0, 160, 232, 0.1);
    color: rgb(0, 160, 232);
}

.feature-icon-purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.feature-icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.feature-icon-orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.feature-icon-emerald {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.feature-icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2b42;
    margin-bottom: 0.65rem;
}

.feature-text {
    font-size: 0.92rem;
    color: #5a6e84;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    background: linear-gradient(160deg, #f5f9ff 0%, #eaf2fc 50%, #e2edfa 100%);
    padding: 6rem 0;
}

.stats-wrapper {
    position: relative;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    transition: all 0.35s ease;
    position: relative;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    }

.stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon-wrap {
    transform: scale(1.1);
}

.stat-icon-blue {
    background: rgba(0, 160, 232, 0.1);
    color: rgb(0, 160, 232);
}

.stat-icon-purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.stat-icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.stat-icon-orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a2b42;
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 1.6rem;
    font-weight: 700;
    color: rgb(0, 160, 232);
    display: inline;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5a6e84;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process-section {
    background: #ffffff;
    padding: 6rem 0;
    position: relative;
}

.process-card {
    background: #f9fbfd;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
}

    .process-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 160, 232, 0.2);
    }

.process-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgb(0, 160, 232), rgb(0, 130, 200));
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 160, 232, 0.3);
    z-index: 2;
}

.process-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 160, 232, 0.08);
    color: rgb(0, 160, 232);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0.75rem auto 1.25rem;
    transition: transform 0.3s ease;
}

.process-card:hover .process-icon {
    transform: scale(1.1);
    background: rgba(0, 160, 232, 0.14);
}

.process-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a2b42;
    margin-bottom: 0.6rem;
}

.process-text {
    font-size: 0.9rem;
    color: #5a6e84;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Connector line between steps (desktop) */
.process-connector {
    position: absolute;
    top: calc(50% + 30px);
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient( 90deg, rgba(0, 160, 232, 0.15), rgba(0, 160, 232, 0.35), rgba(0, 160, 232, 0.35), rgba(0, 160, 232, 0.15) );
    z-index: 0;
    border-radius: 1px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(160deg, #f5f9ff 0%, #eaf2fc 50%, #e2edfa 100%);
    padding: 6rem 0;
}

.cta-wrapper {
    position: relative;
}

.cta-badge {
    display: inline-block;
    background: rgba(0, 160, 232, 0.1);
    border: 1px solid rgba(0, 160, 232, 0.2);
    color: rgb(0, 120, 190);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.38rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #1a2b42;
    letter-spacing: -0.5px;
}

/* CTA Cards */
.cta-card {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

    .cta-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        transition: height 0.3s ease;
    }

.cta-walker-card::before {
    background: linear-gradient(90deg, rgb(0, 160, 232), #5ac8fa);
}

.cta-company-card::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.cta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
    border-color: #d0dae6;
}

    .cta-card:hover::before {
        height: 4px;
    }

.cta-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.cta-card:hover .cta-card-icon {
    transform: scale(1.1);
}

.cta-walker-icon {
    background: rgba(0, 160, 232, 0.1);
    color: rgb(0, 160, 232);
}

.cta-company-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.cta-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2b42;
    margin-bottom: 0.75rem;
}

.cta-card-text {
    font-size: 0.95rem;
    color: #5a6e84;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* App Store Badges */
.app-store-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-block;
    transition: all 0.25s ease;
    border-radius: 8px;
    overflow: hidden;
}

    .store-badge img {
        height: 44px;
        width: auto;
        display: block;
    }

    .store-badge:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

/* Company Join Button */
.btn-company-join {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

    .btn-company-join:hover {
        background: linear-gradient(135deg, #d97706, #b45309);
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1199.98px) {
    .discover-hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 991.98px) {
    .discover-hero {
        margin-top: -62px;
        padding-top: 62px;
        min-height: 60vh;
    }

    .discover-hero-title {
        font-size: 2.2rem;
    }

    .why-section,
    .stats-section,
    .process-section,
    .cta-section {
        padding: 4rem 0;
    }

    .discover-section-title {
        font-size: 1.8rem;
    }

    .process-connector {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .discover-hero-title {
        font-size: 1.85rem;
    }

    .discover-hero-description {
        font-size: 0.98rem;
        padding: 0 0.5rem;
    }

    .discover-hero-content {
        padding: 2.5rem 0;
    }

    .discover-section-title {
        font-size: 1.55rem;
    }

    .feature-card,
    .stat-card,
    .process-card,
    .cta-card {
        padding: 1.5rem 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .discover-hero-title {
        font-size: 1.55rem;
    }

    .discover-hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
    }

    .btn-discover-primary {
        width: 100%;
        max-width: 280px;
    }

    .store-badge img {
        height: 38px;
    }
}
