/**
 * Modern Landing Page Styles - Finpay Tarzı
 * Karadağ Zincir Kızakları
 * 
 * @package Karadag_Tema
 */

/* ============================================
   LANDING PAGE CONTAINER
   ============================================ */

.landing-page {
    background: #ffffff;
    width: 100%;
}

/**
 * Landing page özel container:
 * Global `fixes.css` -> `section .container { max-width: 1400px; }` kuralını override eder.
 * Böylece içerik sağa-sola yayılmadan gerçekten ortalı görünür.
 */
.landing-page .container,
.landing-page section .container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/**
 * IMPORTANT: Daha önce eklediğimiz `center-fix.css` front-page’de
 * `section` ve `.container`’ı flex yapıp çocukları "stretch" etmediği için
 * landing grid’leri sağ/sola kaymış gibi görünebiliyor.
 * Landing için kesin olarak block layout’a dönüyoruz.
 */
.landing-page section {
    display: block !important;
}

.landing-page section .container {
    display: block !important;
}

/* ============================================
   HERO LANDING
   ============================================ */

.hero-landing {
    padding: 40px 0 120px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-landing::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: transparent;
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 700px);
    gap: 60px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(109, 192, 75, 0.1);
    color: #6dc04b;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title-main {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-highlight {
    display: block;
    background: linear-gradient(120deg, #6dc04b 0%, #82cc62 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description-main {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-text {
    width: 100%;
}

.hero-visual {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-landing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.btn-primary-landing {
    background: linear-gradient(135deg, #6dc04b 0%, #5aa93d 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(109, 192, 75, 0.25);
}

.btn-primary-landing:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(109, 192, 75, 0.35);
}

.btn-secondary-landing {
    background: #ffffff;
    color: #333e48;
    border: 2px solid #e5e7eb;
}

.btn-secondary-landing:hover {
    border-color: #6dc04b;
    background: rgba(109, 192, 75, 0.05);
}

.hero-trust {
    display: flex;
    gap: 48px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 2rem;
    font-weight: 800;
    color: #6dc04b;
    line-height: 1;
    margin-bottom: 8px;
}

.trust-item span {
    font-size: 0.875rem;
    color: #6b7280;
}

.hero-visual {
    position: relative;
    margin-left: 80px;
}

.hero-card {
    background: transparent !important;
    border-radius: 24px !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    transition: transform 0.3s ease;
    display: block !important;
    visibility: visible !important;
}

.hero-card:hover {
    transform: scale(1.02);
}

.card-image-placeholder {
    width: 100% !important;
    height: 700px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border: 0.5px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    transition: box-shadow 0.3s ease;
}

.hero-card:hover .card-image-placeholder {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.card-image-placeholder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ============================================
   FEATURES LANDING
   ============================================ */

.features-landing {
    padding: 120px 0;
    background-image: url('../images/karadag_gorsel.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.features-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.features-landing .container {
    position: relative;
    z-index: 1;
}

.section-header-landing {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(109, 192, 75, 0.1);
    color: #6dc04b;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title-landing {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle-landing {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
}

/* Features Landing - White Text Override */
.features-landing .section-label {
    background: rgba(109, 192, 75, 0.2);
    color: #6dc04b;
}

.features-landing .section-title-landing {
    color: #ffffff;
}

.features-landing .section-subtitle-landing {
    color: rgba(255, 255, 255, 0.9);
}

.features-grid-landing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-box {
    text-align: center;
}

.feature-icon-landing {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(109, 192, 75, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6dc04b;
}

.feature-title-landing {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-desc-landing {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Features Landing - White Text for Dark Background */
.features-landing .feature-icon-landing {
    background: rgba(109, 192, 75, 0.15);
    color: #6dc04b;
}

.features-landing .feature-title-landing {
    color: #ffffff;
}

.features-landing .feature-desc-landing {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   STATS LANDING
   ============================================ */

.stats-landing {
    padding: 80px 0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid-2 {
    grid-template-columns: 1fr;
    margin-bottom: 0;
    max-width: 1100px;
}

.stat-card-large,
.stat-card-medium {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.stat-number-large {
    font-size: 4rem;
    font-weight: 800;
    color: #6dc04b;
    line-height: 1;
    margin-bottom: 16px;
}

.stat-label-large {
    font-size: 1.125rem;
    color: #333e48;
    font-weight: 600;
}

.stat-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.stat-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 32px;
}

.stat-icons {
    display: flex;
    gap: 16px;
}

.stat-icon-item {
    width: 56px;
    height: 56px;
    background: #333e48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-icon-item:hover {
    background: #6dc04b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 192, 75, 0.3);
}

.stat-icon-item svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke: #ffffff;
    transition: all 0.3s ease;
}

.stat-icon-item:hover svg {
    color: #ffffff;
    stroke: #ffffff;
}

.chart-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
}

.chart-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #6dc04b;
}

.stat-note {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ============================================
   PROCESS LANDING
   ============================================ */

.process-landing {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.process-overlay {
    display: none;
}

.process-landing .container {
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    /* Only widen the graphic cards area (not other sections) */
    /* leave some breathing room on both sides */
    width: min(1500px, calc(100vw - 160px));
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
}

.process-card {
    text-align: left;
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    /* Make card taller upwards; keep chart sizes same */
    padding: 48px 32px 40px;
    min-height: 600px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.process-step-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #6dc04b 0%, #5aa93d 100%);
    color: #ffffff;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(109, 192, 75, 0.3);
}

.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.process-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 80px;
}

/* Process Chart Styles */
.process-chart {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e9ecef;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chart-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.chart-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #6dc04b;
}

.chart-visual {
    width: 100%;
    height: 80px;
    margin-bottom: 12px;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 8px;
}

/* Response Line Chart Animation */
.response-line-chart .chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}

.response-line-chart .chart-area {
    opacity: 0;
    animation: fadeInArea 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

.response-line-chart .chart-dot {
    opacity: 0;
    animation: popDot 0.4s ease-out forwards;
}

.response-line-chart .chart-dot:nth-child(4) {
    animation-delay: 0.3s;
}

.response-line-chart .chart-dot:nth-child(5) {
    animation-delay: 0.5s;
}

.response-line-chart .chart-dot:nth-child(6) {
    animation-delay: 0.7s;
}

.response-line-chart .chart-dot:nth-child(7) {
    animation-delay: 0.9s;
}

.response-line-chart .chart-dot:nth-child(8) {
    animation-delay: 1.1s;
}

.chart-description {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 12px;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.4;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInArea {
    to {
        opacity: 1;
    }
}

@keyframes popDot {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

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

/* Bar Chart Animation */
.bar-chart .chart-bar {
    transform-origin: center bottom;
    transform: scaleY(0);
    animation: growBar 0.8s ease-out forwards;
}

.bar-chart .bar-1 {
    animation-delay: 0.1s;
}

.bar-chart .bar-2 {
    animation-delay: 0.2s;
}

.bar-chart .bar-3 {
    animation-delay: 0.3s;
}

.bar-chart .bar-4 {
    animation-delay: 0.4s;
}

.bar-chart .bar-5 {
    animation-delay: 0.5s;
}

.bar-chart .bar-label {
    opacity: 0;
    animation: fadeInText 0.5s ease-out forwards;
    animation-delay: 0.8s;
}

@keyframes growBar {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

/* Column Chart Animation */
.column-chart .chart-column {
    transform-origin: center bottom;
    transform: scaleY(0);
    animation: growColumn 0.6s ease-out forwards;
}

.column-chart .col-1 {
    animation-delay: 0.05s;
}

.column-chart .col-2 {
    animation-delay: 0.1s;
}

.column-chart .col-3 {
    animation-delay: 0.15s;
}

.column-chart .col-4 {
    animation-delay: 0.2s;
}

.column-chart .col-5 {
    animation-delay: 0.25s;
}

.column-chart .col-6 {
    animation-delay: 0.3s;
}

.column-chart .col-7 {
    animation-delay: 0.35s;
}

.column-chart .col-8 {
    animation-delay: 0.4s;
}

.column-chart .col-9 {
    animation-delay: 0.45s;
}

.column-chart .col-10 {
    animation-delay: 0.5s;
}

.column-chart .col-11 {
    animation-delay: 0.55s;
}

.column-chart .col-12 {
    animation-delay: 0.6s;
}

.column-chart .col-13 {
    animation-delay: 0.65s;
}

@keyframes growColumn {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

/* ============================================
   TESTIMONIALS LANDING
   ============================================ */

.testimonials-landing {
    padding: 120px 0;
    background: #ffffff;
}

.section-header-landing.center {
    text-align: center;
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.testi-stat {
    text-align: center;
}

.testi-stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 12px;
}

.testi-stat-label {
    font-size: 1rem;
    color: #6b7280;
}

/* ============================================
   PRICING LANDING
   ============================================ */

.pricing-landing {
    padding: 120px 0;
    background: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pricing-featured {
    border: 2px solid #6dc04b;
    background: linear-gradient(180deg, rgba(109, 192, 75, 0.02) 0%, #ffffff 100%);
}

.pricing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 16px;
    background: #6dc04b;
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-currency {
    font-size: 1.5rem;
    color: #6b7280;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: #1a1a1a;
}

.price-period {
    font-size: 1rem;
    color: #6b7280;
}

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

.pricing-features li {
    padding: 12px 0;
    font-size: 1rem;
    color: #333e48;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline {
    background: #ffffff;
    color: #333e48;
    border: 2px solid #e5e7eb;
}

.btn-outline:hover {
    border-color: #6dc04b;
    color: #6dc04b;
}

.btn-solid {
    background: linear-gradient(135deg, #6dc04b 0%, #5aa93d 100%);
    color: #ffffff;
    border: none;
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(109, 192, 75, 0.35);
}

/* ============================================
   FINAL CTA LANDING
   ============================================ */

.final-cta-landing {
    padding: 80px 0;
    background: #ffffff;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.cta-box {
    background: #333e48;
    border-radius: 32px;
    padding: 60px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-box {
    background: #f8f9fa;
    border-radius: 32px;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(109, 192, 75, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-title-landing {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-desc-landing {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.about-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6dc04b;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-link:hover {
    gap: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-title-main {
        font-size: 3rem;
    }

    .section-title-landing {
        font-size: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 520px) minmax(0, 420px);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-landing {
        padding: 60px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    /* Mobilde ana sayfa hero görselini gizle (hakkımızda/iletişim etkilenmez) */
    .hero-landing .hero-visual {
        display: none !important;
    }

    .landing-page .hero-visual {
        display: none !important;
    }

    .hero-card {
        display: none !important;
    }

    .hero-title-main {
        font-size: 2.5rem;
    }

    .hero-description-main {
        font-size: 1.125rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        margin-bottom: 24px;
    }

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

    /* Mobilde bu istatistik alanını tamamen kapat */
    .hero-trust {
        display: none !important;
    }

    .features-grid-landing,
    .process-grid,
    .testimonials-stats,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Mobilde process (3 grafik) alanını tam ortala */
    .process-landing .container {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .process-grid {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
    }

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

    .section-title-landing {
        font-size: 2rem;
    }

    .cta-title-landing {
        font-size: 2rem;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-box,
    .about-box {
        padding: 40px 30px;
    }
}

@media (max-width: 420px) {
    .hero-trust {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-trust .trust-item:last-child {
        grid-column: auto;
    }
}