/* public/css/hupgo-landing-satici.css */

/* Renk değişkenleri */
:root {
    --hp-teal: #007782;
    --hp-yellow: #F2BA00;
    --hp-ice: #E9F5F8;
    --hp-dark: #111827;
    --hp-gray: #4B5563;
    --hp-light-gray: #F3F4F6;
    --hp-border: #E5E7EB;
}

/* Font yardımcı sınıfları */
.bree-serif-regular {
    font-family: "Bree Serif", serif;
    font-style: normal;
}

.inter-regular {
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

.inter-semibold {
    font-family: "Inter", sans-serif;
    font-weight: 600;
}

/* Sayfa genel sarmalayıcı */
.landing-page {
    background-color: #ffffff;
    color: var(--hp-dark);
    font-family: "Inter", sans-serif;
    padding-top: 0;
    padding-bottom: 84px; /* alttaki banner içeriği kapatmasın */
    overflow-x: hidden;   /* sağa taşıma / kesme olmasın */
}

/* Genel container */
.lp-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 6px;
    box-sizing: border-box;
}

/* HERO */
.lp-hero {
    background: linear-gradient(135deg, var(--hp-ice), #ffffff);
    padding: 64px 0 56px;
}

.lp-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

.lp-hero-text {
    flex: 1.1;
}

.lp-hero-image {
    flex: 1;
}

/* Hero banner görseli */
.lp-hero-banner {
    display: block;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
    margin: 0 auto;
    object-fit: cover;
}

/* Eksper adım kartlarındaki görseller */
.lp-step-img {
    width: 100%;
    height: auto;      /* daha büyük istersen 240, 260 yap */
    border-radius: 12px;
    object-fit: cover;  /* taşanı kırpar, görüntü dolu durur */
    display: block;
}


.lp-hero-title {
    font-size: 32px;
    font-family: "Bree Serif", serif;
    font-style: normal;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--hp-dark);
}

.lp-hero-sub {
    font-size: 15px;
    line-height: 1.6;
    color: var(--hp-gray);
    margin-bottom: 24px;
}

.lp-hero-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-hero-note {
    font-size: 13px;
    color: var(--hp-gray);
}

/* Placeholder bloklar */
.lp-placeholder {
    border-radius: 16px;
    border: 2px dashed #d1d5db;
    background: #f9fafb;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
    padding: 2px;
    text-align: center;
}

.lp-placeholder-hero {
    min-height: 220px;
}

.lp-placeholder-step {
    min-height: 120px;
}

.lp-placeholder-icon {
    min-height: 90px;
}

.lp-placeholder-expert {
    min-height: 200px;
}

/* BUTONLAR */
.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    background-color: var(--hp-yellow);
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/* Global a:hover underline’ını ezmek için */
.lp-btn-primary,
.lp-btn-primary:hover,
.lp-btn-primary:focus {
    color: #ffffff;
    text-decoration: none;
}

.lp-btn-primary:hover {
    background-color: #e0aa00;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.lp-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.lp-btn-large {
    padding: 14px 40px;
    font-size: 16px;
}

/* GENEL BÖLÜM BAŞLIKLARI */
.lp-section-title {
    font-size: 24px;
    font-family: "Bree Serif", serif;
    font-style: normal;
    margin-bottom: 8px;
    text-align: center;
    color: var(--hp-dark);
}

.lp-section-sub {
    font-size: 14px;
    text-align: center;
    color: var(--hp-gray);
    max-width: 600px;
    margin: 0 auto 24px;
}

/* EKSPER SÜRECİ BÖLÜMÜ */
.lp-steps {
    padding: 16px 0;
    background-color: #ffffff;
}

.lp-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.lp-step-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--hp-border);
    padding: 8px 6px 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.lp-step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background-color: var(--hp-teal);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
}

.lp-step-title {
    font-size: 16px;
    margin: 12px 0 6px;
    font-family: "Bree Serif", serif;
    font-style: normal;
    color: var(--hp-dark);
}

.lp-step-text {
    font-size: 13px;
    color: var(--hp-gray);
    line-height: 1.6;
}

/* ÖZELLİKLER BÖLÜMÜ */
.lp-features {
    padding: 6px 0;
    background-color: var(--hp-ice);
}

.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.lp-feature-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--hp-border);
    padding: 8px 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-feature-title {
    font-size: 16px;
    color: var(--hp-dark);
    font-family: "Bree Serif", serif;
    font-style: normal;
}

.lp-feature-text {
    font-size: 13px;
    color: var(--hp-gray);
    line-height: 1.6;
}

/* SSS BÖLÜMÜ */
.lp-faq {
    padding: 5px 0 4px;
    background-color: var(--hp-light-gray);
}

.lp-faq-list {
    max-width: 760px;
    margin: 24px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--hp-border);
    padding: 14px 14px 12px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

/* Soru satırı (başlık + “devamını oku”) */
.lp-faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0 0 4px 0;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
}

.lp-faq-question {
    font-size: 14px;
    color: var(--hp-dark);
}

.lp-faq-toggle-text {
    font-size: 12px;
    color: var(--hp-teal);
    margin-left: 12px;
    white-space: nowrap;
}

/* Cevap metni – varsayılan 1 satır, JS ile max-height kontrol ediliyor */
.lp-faq-answer {
    font-size: 13px;
    color: var(--hp-gray);
    margin-top: 4px;
    overflow: hidden;
    max-height: 1.6em;
    transition: max-height 0.25s ease;
}

.lp-faq-item.is-open .lp-faq-answer {
    max-height: 500px;
}

.lp-faq-item.is-open .lp-faq-header {
    background-color: var(--hp-teal);
    border-radius: 8px;
    padding: 6px 10px;
}

.lp-faq-item.is-open .lp-faq-question,
.lp-faq-item.is-open .lp-faq-toggle-text {
    color: #ffffff;
}

.lp-faq-item:hover .lp-faq-header {
    background-color: var(--hp-teal);
    border-radius: 8px;
    padding: 6px 10px;
}

.lp-faq-item:hover .lp-faq-question,
.lp-faq-item:hover .lp-faq-toggle-text {
    color: #ffffff;
}

/* SON CTA BÖLÜMÜ */
.lp-final-cta {
    padding: 4px 0 1px;
    background-color: #ffffff;
}

.lp-final-inner {
    background-color: var(--hp-ice);
    border-radius: 20px;
    border: 1px solid #d1e4ea;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.lp-final-text {
    flex: 1;
}

.lp-final-title {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--hp-dark);
    font-family: "Bree Serif", serif;
    font-style: normal;
}

.lp-final-sub {
    font-size: 14px;
    color: var(--hp-gray);
}

.lp-final-button {
    flex: 0 0 auto;
    text-align: right;
}

.lp-final-note {
    font-size: 12px;
    color: var(--hp-gray);
    margin-top: 6px;
}

/* Uygulama mağazası butonları */
.lp-store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    justify-content: flex-start;
    align-items: center;
}

.lp-store-badge {
    text-decoration: none;
}

.lp-store-badge-inner {
    min-width: 150px;
    height: 46px;
    border-radius: 12px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.lp-store-badge-img {
    display: block;
    height: 46px;
    width: auto;
}

/* ===========================
   ALTTA "Uygulamada Aç" BANNER
   =========================== */

.app-open-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: var(--hp-teal); /* 007782 */
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.16);
}

.app-open-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    box-sizing: border-box;
}

.app-open-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.app-open-logo {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.app-open-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Hupgo yazısı */
.app-open-title {
    font-size: 14px;
    font-family: "Bree Serif", serif;
    font-style: normal;
    color: #ffffff;
    white-space: nowrap;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}

/* Buton */
.app-open-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    background: #cddbfa; /* açık buz mavisi */
    color: #373737;
    cursor: pointer;
    flex-shrink: 0;
}

.app-open-btn:hover {
    opacity: 0.9;
}

/* Kapat ikonu */
.app-open-close {
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    padding: 4px 6px;
    cursor: pointer;
    color: #ffffff;
    flex-shrink: 0;
}

@media (min-width: 1025px) {
    .app-open-banner {
        display: none;
    }
}

/* RESPONSIVE AYARLAR */

@media (max-width: 992px) {
    .lp-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .lp-expert-inner {
        flex-direction: column;
    }

    .lp-final-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .lp-final-button {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .landing-page {
        padding-top: 0;
        padding-bottom: 84px; /* banner içeriği kapatmasın */
    }

    .lp-hero {
        padding: 40px 0 32px;
    }

    .lp-hero-title {
        font-size: 24px;
        font-family: "Bree Serif", serif;
  font-style: normal;
    }

    .lp-store-links {
        justify-content: flex-start;
    }

    .lp-store-badge-inner {
        min-width: 0;
    }

    .lp-hero-image {
        order: 1;
        width: 100%;
    }

    .lp-hero-text {
        order: 2;
        width: 100%;
    }

    .lp-steps-grid {
        grid-template-columns: 1fr;
    }

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

    .lp-placeholder-hero {
        min-height: 180px;
    }

    /* Banner mobilde daha kompakt */
    .app-open-inner {
        padding: 8px 12px;
        gap: 10px;
    }

    .app-open-btn {
        max-width: 220px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .lp-final-inner {
        padding: 18px 16px;
    }

    .lp-final-title {
        font-size: 20px;
        font-family: "Inter", sans-serif;
        font-weight: normal;
    }

    .lp-btn-large {
        
        justify-content: center;
    }
}
