﻿/* ========================================
   ENAX Packages Page Styles
   Modern Premium Pricing Cards
   ======================================== */

.packages-container {
    background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 100%);
    min-height: 80vh;
    padding: 2rem 1rem;
}

.packages-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

/* ========== HEADER ========== */
.packages-header {
    /*  text-align: center;
    margin-bottom: 4rem;*/

    position: relative;
    text-align: center;
    margin-bottom: 4rem;
    padding-right: 150px; /* Sağda kutu için boşluk */
    /* İstersen padding-right artırılabilir */
}

.packages-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.packages-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
}

/* ========== PACKAGES GRID ========== */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .packages-title {
        font-size: 3.5rem;
    }
}

/* ========== PACKAGE CARD ========== */
.package-card {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .package-card:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        transform: translateY(-8px);
    }

    .package-card.popular {
        border: 2px solid #6366f1;
    }

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

    .popular-badge span {
        display: block;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        color: white;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.5rem 1rem;
        border-bottom-left-radius: 0.5rem;
    }

/* ========== PACKAGE HEADER ========== */
.package-header {
    padding: 2rem;
    border-bottom: 2px solid;
}

.package-card.blue .package-header {
    background: rgba(59, 130, 246, 0.05);
    border-color: #dbeafe;
}

.package-card.indigo .package-header {
    background: rgba(99, 102, 241, 0.05);
    border-color: #e0e7ff;
}

.package-card.purple .package-header {
    background: rgba(139, 92, 246, 0.05);
    border-color: #ede9fe;
}

.package-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.package-card.blue .package-icon {
    background: #3b82f6;
}

.package-card.indigo .package-icon {
    background: #6366f1;
}

.package-card.purple .package-icon {
    background: #8b5cf6;
}

.package-icon .icon-svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.package-description {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ========== PRICE SECTION ========== */
.package-price-section {
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom right, white, #f9fafb);
}

.price-wrapper {
    display: flex;
    align-items: baseline;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6b7280;
    margin-left: 0.5rem;
}

.price-period {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

/* ========== FEATURES ========== */
.package-features {
    padding: 1.5rem 2rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

    .feature-item:last-child {
        margin-bottom: 0;
    }

.feature-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item.included .feature-icon {
    background: #d1fae5;
}

.feature-item.excluded .feature-icon {
    background: #fee2e2;
}

.feature-icon svg {
    width: 1rem;
    height: 1rem;
}

.feature-item.included .feature-icon svg {
    color: #059669;
}

.feature-item.excluded .feature-icon svg {
    color: #dc2626;
}

.feature-text {
    margin-left: 0.75rem;
    font-size: 1rem;
}

.feature-item.included .feature-text {
    color: #111827;
    font-weight: 500;
}

.feature-item.excluded .feature-text {
    color: #9ca3af;
    text-decoration: line-through;
}

/* ========== BUY BUTTON ========== */
.package-action {
    padding: 0 2rem 2rem;
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.package-card.blue .btn-buy {
    background: #3b82f6;
}

.package-card.indigo .btn-buy {
    background: #6366f1;
}

.package-card.purple .btn-buy {
    background: #8b5cf6;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.package-card.blue .btn-buy:hover {
    background: #2563eb;
}

.package-card.indigo .btn-buy:hover {
    background: #4f46e5;
}

.package-card.purple .btn-buy:hover {
    background: #7c3aed;
}

/* ========== FOOTER ========== */
.packages-footer {
    margin-top: 2rem;
    text-align: center;
}

.footer-text {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-contact {
    color: #9ca3af;
    font-size: 0.875rem;
}

.contact-link {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: underline;
}

    .contact-link:hover {
        color: #2563eb;
    }

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
    .packages-container {
        /*padding: 2rem 1rem;*/
        padding-right: 0;
    }

    .packages-title {
        font-size: 2rem;
    }

    .packages-subtitle {
        font-size: 1rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .package-header {
        padding: 1.5rem;
    }


    /* Kur kutusu */
    /*.exchange-rate-box {
        position: absolute;
        top: 10px;
        right: 0;*/ /* SAĞA SABİT */

        /*background: #f3f4f6;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 500;
        color: #374151;
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 130px;
    }*/

        .exchange-rate-box > div:not(:last-child)::after {
            content: "|";
            margin-left: 10px;
            color: #9ca3af;
        }
}
/* ===== DESKTOP ===== */
@media (min-width: 641px) {

    .packages-header {
        position: relative;
        padding-right: 170px;
    }

    .exchange-rate-box {
        position: absolute;
        top: 10px;
        right: 0;
        background: #f3f4f6;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 500;
        color: #374151;
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 130px;
        margin: 0;
    }
}

.exchange-rate-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    font-family: monospace; /* Sabit genişlikli font */
}

.currency-symbol, .arrow, .rate, .currency-try {
    min-width: 20px; /* Aynı genişlikte tutmak için */
    text-align: center;
}

.rate {
    min-width: 70px; /* Sayılar için daha geniş alan */
}
.exchange-rate-box span {
    margin-left: 4px;
}
/* Para birimi kalın */
.currency {
    font-weight: 600;
}

/* TRY simgesi hafif */
.try {
    opacity: 0.8;
}

/* ===== MOBİL ===== */
@media (max-width: 640px) {

    .packages-header {
        padding-right: 0;
    }

    .exchange-rate-box {
        position: static;
        margin: 12px auto 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 24px;
        width: 100%;
        white-space: nowrap; /* SATIR KIRILMASINI ENGELLER */

        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(229, 231, 235, 0.6);
        border-radius: 10px;
        padding: 6px 14px;
        width: fit-content;
    }

    .exchange-rate-row {
        display: flex;
        align-items: center;
        gap: 6px;
    }
}

.why-section {
    margin-top: 80px;
    text-align: center;
}

.why-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.why-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.why-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #eee;
    transition: 0.2s;
}

    .why-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }

.why-cta {
    margin-top: 40px;
}

.btn-learn-more {
    background: #4c9ffb;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 40px;
    background: linear-gradient(135deg, #1f3b73, #4c9ffb);
    color: white;
    border-radius: 12px;
    margin-bottom: 60px;
    gap: 40px;
}

/* SOL TARAF */
.hero-content {
    flex: 1;
}

    .hero-content h1 {
        font-size: 42px;
        margin-bottom: 20px;
    }

.highlight {
    color: #93c5fd;
}

.hero-actions {
    margin-top: 20px;
}

.btn-primary {
    background: white;
    color: #1f3b73;
    padding: 12px 20px;
    border-radius: 6px;
    margin-right: 10px;
    text-decoration: none;
}

.btn-secondary {
    border: 1px solid white;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
}

.video-placeholder {
    width: 350px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.features-premium {
    margin-top: 80px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-card.premium {
    padding: 25px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff, #f0f6ff);
    border: 1px solid #e0eaff;
    transition: 0.3s;
}

    .feature-card.premium:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.icon {
    font-size: 28px;
    margin-bottom: 10px;
}
.ai-highlight {
    background: linear-gradient(90deg, #4c9ffb, #93c5fd, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    position: relative;
}

    .ai-highlight::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 6px;
        background: rgba(147,197,253,0.3);
        filter: blur(6px);
    }

.ai-badge {
    background: linear-gradient(135deg, #ff8a00, #ffb347);
    color: #1f3b73;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    margin-left: 6px;
    box-shadow: 0 4px 12px rgba(255,138,0,0.4);
}
/* VIDEO */
.hero-video {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center; /* 🔥 ortalama eklendi */
}

/* ESKİYİ BOZMAMAK İÇİN KORUNDU */
.demo-video {
    width: 100%;
    max-width: 500px;
}

/* 🔥 YENİ: VIDEO CONTAINER */
.video-container {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 9; /* 🔥 responsive yükseklik */
    border-radius: 20px;
    overflow: hidden; /* 🔥 taşanı keser */
}

/* 🔥 YENİ: VIDEO TAM OTURMA */
.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 en kritik */
    display: block;
}


/* 🔥 MOBILE FIX */
@media (max-width: 768px) {

    .hero-section {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-video {
        width: 100%;
        margin-top: 20px;
        order: -1; /* 🔥 zaten vardı, buraya aldım */
    }

    .demo-video {
        max-width: 100%;
    }

    /* 🔥 container mobil uyum */
    .video-container {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}





.ai-capability {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ai-text {
    font-size: 12px;
    color: #666;
}

.feature-highlight {
    margin-left: 6px;
    color: #f59e0b;
}

.feature-item.included {
    font-weight: 500;
}

.feature-item.excluded {
    opacity: 0.5;
}

.best-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 6px 10px;
    background: rgba(76, 159, 251, 0.1);
    border: 1px solid rgba(76, 159, 251, 0.3);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #4c9ffb;
}

.best-choice-icon {
    color: #f59e0b;
    font-size: 14px;
}

/* MAIN PRICE */
.main-price .price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #3b82f6;
}

/* ALT FİYATLAR */
.price-alt {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 6px;
}

/* LOCAL PAYMENT */
.payment-info {
    font-size: 12px;
    color: #22c55e;
    margin-top: 6px;
    font-weight: 500;
}

/* PERIOD */
.price-period {
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
}

.main-price .price-amount {
    text-shadow: 0 0 10px rgba(76, 159, 251, 0.4);
}

/* TÜM FİYATLAR */

.price-decimal {
    font-size: 16px;
    opacity: 0.7;
}
.price-amount {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* 🟢 STARTER (soft ama okunaklı) */
.package-card.starter .price-amount {
    color: #ff8a00;
}

 🔵 PROFESSIONAL (highlight) 
.package-card.popular .price-amount {
    background: linear-gradient(135deg, #4c9ffb, #7dd3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(76, 159, 251, 0.35);
}

 🟣 ENTERPRISE (premium ama göz yormaz) 
.package-card.enterprise .price-amount {
    color: #ff8a00; 
}

.main-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}


/* currency */
.price-currency {
    font-size: 18px;
    margin-left: 2px;
}

/* 🔥 inline period */
.price-period-inline {
    font-size: 14px;
    color: #64748b;
    margin-left: 6px;
}

.price-monthly {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
}

.price-microcopy {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

    .price-microcopy.highlight {
        color: #22c55e;
        font-weight: 600;
    }

.team-info {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}


/*.roi-info {
    font-size: 12px;
    color: #22c55e;
    font-weight: 600;
    margin-top: 4px;
}*/

/* ROI CALC*/
/*.roi-calculator {
    margin-top: 60px;
    padding: 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

    .roi-calculator h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

.roi-inputs {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .roi-inputs input,
    .roi-inputs select {
        padding: 10px 12px;
        border-radius: 8px;
        border: none;
        width: 200px;
        font-size: 14px;
        color: #22c55e;
    }

.roi-result {
    margin-top: 25px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.roi-positive {
    color: #22c55e;
}

.roi-negative {
    color: #ef4444;
}

.token-info {
    margin-top: 10px;
    text-align: center;
}*/


.token-info {
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(96,165,250,0.08);
    border: 1px solid rgba(96,165,250,0.2);
    border-radius: 8px;
    display: inline-block;
}

.token-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #60a5fa; /* senin mavi ton */
    letter-spacing: 0.5px;
}

.token-label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================= CALCULATOR SECTION ================= */

.calculator-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

    /* 🔥 CRITICAL FIX */
    .calculator-section > div {
        min-width: 0;
    }

/* CARDS */
.roi-calculator,
.ai-calculator {
    padding: 18px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ================= ROI ================= */

.roi-inputs {
    margin: 10px 0;
    display: flex;
    gap: 8px;
}

    .roi-inputs input,
    .roi-inputs select {
        flex: 1;
        padding: 8px;
        border-radius: 6px;
        border: none;
        font-size: 13px;
    }

.roi-result {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #1f2937;
}

/* INSIGHT */
.roi-insight {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
}

    .roi-insight.good {
        color: #16a34a;
    }

    .roi-insight.warn {
        color: #f59e0b;
    }

    .roi-insight.bad {
        color: #ef4444;
    }

/* ================= AI ================= */

.ai-calculator {
    width: 100%;
    overflow: hidden;
}

/* INPUTS */
.calc-inputs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.calc-input {
    flex: 1;
}

    .calc-input label {
        font-size: 12px;
    }

    .calc-input input {
        padding: 6px;
        font-size: 12px;
    }

/* RESULT BOX */
.calc-result-box {
    margin-top: 12px;
    padding: 10px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 12px;
}

/* ================= TEAM ================= */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* ================= PLAN (🔥 3 COLUMN FORCED) ================= */

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 🔥 ZORLA 3 KOLON */
    gap: 8px;
}

/* ================= CARDS ================= */

.team-card,
.plan-card {
    padding: 6px;
    border-radius: 6px;
    text-align: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 11px;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    /* TITLE */
    .team-card h4,
    .plan-card h4 {
        font-size: 12px;
        margin-bottom: 3px;
    }

    /* DESC */
    .team-card p,
    .plan-card p {
        font-size: 10px;
        margin: 2px 0;
    }

    /* TOKEN */
    .plan-card strong {
        font-size: 11px;
    }

    /* BADGE */
    .plan-card .badge {
        position: absolute;
        top: -6px;
        right: -6px;
        background: #22c55e;
        color: #fff;
        font-size: 9px;
        padding: 2px 6px;
        border-radius: 999px;
        font-weight: 600;
        display: none;
    }

    .plan-card.active .badge {
        display: block;
    }

    /* HOVER */
    .plan-card:hover,
    .team-card:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 6px 14px rgba(0,0,0,0.08);
        border-color: #60a5fa;
    }

    /* ACTIVE */
    .plan-card.active,
    .team-card.active {
        border: 2px solid #22c55e;
        background: #ecfdf5;
        transform: scale(1.02);
        box-shadow: 0 8px 18px rgba(34,197,94,0.2);
    }

/* SECTIONS */
.calc-section {
    margin-top: 14px;
}

    .calc-section h3 {
        font-size: 14px;
    }

    /* INFO */
    .calc-section.info {
        background: #eef2ff;
        padding: 8px;
        border-radius: 6px;
        font-size: 11px;
    }

/* NET GAIN HIGHLIGHT (safe enhancement) */

.roi-positive {
    background: #ecfdf5;
    color: #16a34a;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
}

.roi-negative {
    background: #fef2f2;
    color: #ef4444;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
}
.roi-note {
    font-size: 11px;
    color: #6b7280;
    margin-left: 4px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .calculator-section {
        grid-template-columns: 1fr;
    }

    .calc-inputs {
        flex-direction: column;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .plan-grid {
        grid-template-columns: 1fr; /* mobile fix */
    }
}

