/*
   Products Global CSS
   Base styles for all product/service landing pages.
   Colors are dynamically overridden by individual product CSS files.
*/

.product-hero {
    position: relative;
    padding: clamp(140px, 15vh, 180px) 0 100px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.product-hero .container {
    position: relative;
    z-index: 5;
}

.product-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

.product-hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 750px;
    margin: 0 0 2.5rem;
    line-height: 1.6;
}

/* ===== ORTAK ÜRÜN OPERASYON ÖZETİ ===== */
.product-overview {
    padding: 92px 0;
    background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--product-accent, #3f66c5) 5%, #fff) 100%);
}

.product-overview-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.product-overview-heading .eyebrow {
    justify-content: center;
    color: var(--product-accent-dark, #2f52a6);
}

.product-overview-heading h2 {
    margin: .75rem 0;
    color: var(--ink, #0E1B2C);
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.3vw, 2.55rem);
    font-weight: 800;
    line-height: 1.18;
}

.product-overview-heading p { margin: 0; color: #526174; font-size: 1.04rem; line-height: 1.7; }

.overview-bento {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 1.2rem;
}

.overview-card {
    min-height: 238px;
    padding: 1.75rem;
    border: 1px solid color-mix(in srgb, var(--product-accent, #3f66c5) 17%, #e5e7eb);
    border-radius: 22px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 12px 28px rgba(20, 33, 51, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.overview-card:hover { transform: translateY(-5px); box-shadow: 0 20px 35px rgba(20, 33, 51, .12); }
.overview-card-featured { background: linear-gradient(140deg, var(--product-accent, #3f66c5), var(--product-accent-dark, #2f52a6)); border-color: transparent; }
.overview-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 1.25rem; border-radius: 14px; background: var(--product-accent-light, rgba(63,102,197,.14)); color: var(--product-accent-dark, #2f52a6); font-size: 1.15rem; }
.overview-card h3 { margin: 0 0 .55rem; color: #182638; font: 700 1.15rem var(--font-display); line-height: 1.3; }
.overview-card p { margin: 0; color: #607084; font-size: .92rem; line-height: 1.6; }
.overview-card-featured .overview-icon { background: rgba(255,255,255,.18); color: #fff; }
.overview-card-featured h3, .overview-card-featured p { color: #fff; }.overview-card-featured p { color: rgba(255,255,255,.84); }
.overview-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.3rem; }.overview-tags span { padding: .3rem .55rem; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; color: #fff; font-size: .7rem; font-weight: 700; }

@media (max-width: 820px) {
    .product-overview { padding: 64px 0; }
    .overview-bento { grid-template-columns: 1fr; }
    .overview-card { min-height: 0; }
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: var(--mist);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0.5rem auto 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
}

.pricing-card.featured::after {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.pricing-header .text-muted {
    font-size: 0.95rem;
    color: var(--light-text) !important;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}

.price-box span:not(.price) {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0;
    color: #4b5563;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    font-size: 1.15rem;
    color: var(--success);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    padding: 1rem;
    font-weight: 700;
}

/* Add-ons Section */
.addons-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.addon-card {
    background: #ffffff;
    border: 1.5px solid #f3f4f6;
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.addon-card:hover {
    border-color: var(--product-accent, var(--primary-color));
    background: var(--mist);
    transform: translateY(-5px);
}

.addon-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.addon-info h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

.addon-info p {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.addon-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--product-accent, var(--primary-color));
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-12px);
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 120px 0 80px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .addon-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
    }
}

