:root {
    --bg: #f6f3ed;
    --surface: #ffffff;
    --surface-soft: #f0ece4;
    --surface-strong: #f9f7f2;
    --line: rgba(41, 53, 72, 0.12);
    --line-strong: rgba(41, 53, 72, 0.18);
    --text: #1f2937;
    --muted: #607086;
    --primary: #0d5c63;
    --primary-strong: #0b7e8a;
    --accent: #ef8354;
    --accent-soft: #fff1ea;
    --success: #1f8f5f;
    --danger: #c75050;
    --shadow: 0 24px 60px rgba(39, 53, 79, 0.08);
    --radius: 26px;
    --radius-sm: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(239, 131, 84, 0.12), transparent 28%),
        radial-gradient(circle at right 20%, rgba(13, 92, 99, 0.09), transparent 26%),
        linear-gradient(180deg, #fbfaf7 0%, var(--bg) 48%, #f4efe8 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 92, 99, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 92, 99, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black, transparent 82%);
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

img {
    max-width: 100%;
    display: block;
}

.site-shell,
.site-header,
.page-wrap,
.site-footer,
.flash {
    position: relative;
    z-index: 1;
}

.site-header-inner,
.page-wrap,
.site-footer {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    padding: 28px 0 0;
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    width: 62px;
    height: 62px;
}

.brand strong,
h1,
h2,
h3,
h4 {
    font-family: "Sora", "Manrope", sans-serif;
}

.brand strong {
    display: block;
    font-size: 20px;
}

.brand small {
    color: var(--muted);
    display: block;
    margin-top: 4px;
    max-width: 32ch;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: var(--muted);
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(13, 92, 99, 0.08);
}

.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    box-shadow: 0 14px 24px rgba(13, 92, 99, 0.24);
    position: relative;
    flex-shrink: 0;
}

.cart-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 3px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.flash {
    width: min(1200px, calc(100% - 32px));
    margin: 14px auto 0;
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 14px;
    border: 1px solid transparent;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.flash.is-closing {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.flash-success {
    background: rgba(31, 143, 95, 0.1);
    border-color: rgba(31, 143, 95, 0.2);
    color: var(--success);
}

.flash-error {
    background: rgba(199, 80, 80, 0.1);
    border-color: rgba(199, 80, 80, 0.2);
    color: var(--danger);
}

.page-wrap {
    padding: 28px 0 36px;
}

.hero,
.section,
.page-hero,
.site-footer {
    animation: rise 0.65s ease both;
}

.hero,
.section,
.page-hero {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
}

.hero {
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.hero-copy {
    width: 100%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(13, 92, 99, 0.14);
    background: rgba(13, 92, 99, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.04;
    max-width: 1000px;
}

.hero p,
.section-head p,
.content-card p,
.summary-card p,
.checkout-form p,
.success-card p,
.detail-card p,
.package-card p,
.criteria-card p,
.process-grid p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.62;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    box-shadow: 0 14px 26px rgba(13, 92, 99, 0.24);
}

.btn-soft {
    color: var(--text);
    background: var(--surface-soft);
    border-color: rgba(13, 92, 99, 0.12);
}

.btn-block {
    width: 100%;
}

.stats-grid,
.hero-panel-grid,
.packages-grid,
.criteria-grid,
.process-grid,
.content-columns,
.success-grid {
    display: grid;
    gap: 16px;
}

.stats-grid {
    margin-top: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.hero-panel-grid article,
.criteria-card,
.process-grid article,
.notice-card,
.content-card,
.success-grid article {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    padding: 18px;
}

.stat-card strong {
    display: block;
    font-size: 28px;
}

.stat-card span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.hero-panel {
    display: grid;
    gap: 16px;
    align-content: start;
    margin-top: 16px;
}

.panel-list,
.policy-list,
.feature-list,
.footer-list,
.contact-list,
.summary-items,
.ordered-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.panel-list,
.policy-list,
.feature-list {
    display: grid;
    gap: 10px;
}

.panel-list li,
.feature-list li,
.policy-list li {
    position: relative;
    padding-left: 18px;
    line-height: 1.6;
}

.panel-list li::before,
.feature-list li::before,
.policy-list li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ffbf93);
}

.hero-panel-grid {
    margin-top: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-panel-grid article {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 18px 20px;
}

.hero-panel-grid article::before {
    display: none;
}

.hero-panel-grid article span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
    grid-row: 1 / span 2;
    position: relative;
    z-index: 1;
}

.hero-panel-grid article strong {
    display: block;
    margin: 2px 0 0;
    grid-column: 2;
}

.hero-panel-grid article p {
    margin: 0;
    grid-column: 2;
}

.section,
.page-hero {
    margin-top: 28px;
    padding: 30px;
}

.section.mini {
    margin-top: 20px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 20px;
}

.section-head h1,
.section-head h2,
.page-hero h1 {
    margin: 14px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
}

.packages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff, #fbfaf7);
    box-shadow: 0 18px 40px rgba(39, 53, 79, 0.06);
}

.package-card.featured {
    border-color: rgba(13, 92, 99, 0.24);
    box-shadow: 0 22px 46px rgba(13, 92, 99, 0.1);
}

.package-image,
.detail-image {
    width: 100%;
    border-radius: 18px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--surface-soft);
}

.package-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.chip-accent {
    background: rgba(239, 131, 84, 0.14);
    color: #b85e31;
}

.package-card h3,
.detail-card h1,
.summary-card h2,
.checkout-form h2,
.content-card h2,
.criteria-card h3,
.process-grid h3,
.success-card h1 {
    margin: 0;
}

.package-card h3 {
    line-height: 1.25;
    min-height: 3.2em;
}

.package-card p {
    margin: 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-top: auto;
}

.price-row small {
    display: block;
    color: #99a5b5;
    text-decoration: line-through;
}

.price-row strong {
    font-size: 28px;
}

.discount {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #b85e31;
    font-size: 12px;
    font-weight: 800;
}

.card-actions {
    display: grid;
    gap: 10px;
}

.criteria-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-grid,
.detail-grid,
.checkout-layout,
.cart-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
}

.contact-card,
.detail-card,
.summary-card,
.checkout-form,
.gateway-shell,
.success-card,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    padding: 22px;
}

.contact-card-accent {
    background:
        linear-gradient(180deg, rgba(13, 92, 99, 0.08), rgba(255, 255, 255, 0.92)),
        var(--surface);
}

.contact-list {
    display: grid;
    gap: 10px;
}

.contact-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.contact-list strong {
    min-width: 88px;
}

.site-footer {
    margin-bottom: 32px;
    padding: 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
    gap: 22px;
}

.footer-column h3,
.footer-column h4 {
    margin: 0 0 14px;
}

.company-meta {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.legal-links {
    display: grid;
    gap: 10px;
}

.legal-links a {
    color: var(--muted);
    font-weight: 700;
}

.legal-links a:hover,
.footer-list a:hover {
    color: var(--primary);
}

.footer-list {
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.payment-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.payment-logo-iyzico {
    min-width: 152px;
    padding-inline: 16px;
}

.payment-logo-iyzico img {
    max-height: 26px;
}

.payment-logo img {
    max-height: 24px;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 800;
}

.summary-card,
.checkout-form,
.gateway-shell {
    display: grid;
    gap: 16px;
    align-content: start;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
}

.summary-line strong {
    color: var(--text);
}

.summary-line.total {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 18px;
    font-weight: 800;
}

.summary-line.muted {
    opacity: 0.72;
}

.summary-items,
.ordered-items {
    display: grid;
    gap: 10px;
}

.summary-items li,
.ordered-items li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.summary-items small {
    color: var(--muted);
}

.qty-form,
.checkout-form,
.inline-form,
label {
    display: grid;
    gap: 8px;
}

.inline-form {
    grid-template-columns: auto 90px auto;
    align-items: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-field-full,
.card-meta-grid {
    grid-column: 1 / -1;
}

.card-meta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 12px;
}

.expiry-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: var(--surface-strong);
}

.expiry-pair input {
    border: 0;
    background: transparent;
    padding: 13px 2px;
    text-align: center;
    font-weight: 800;
}

.expiry-pair span {
    color: var(--muted);
    font-weight: 800;
}

label {
    font-size: 14px;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: var(--surface-strong);
    color: var(--text);
    font: inherit;
}

.payment-method-panel,
.card-fields {
    display: grid;
    gap: 12px;
}

.payment-method-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.payment-method-option {
    display: flex;
    grid-template-columns: none;
    align-items: flex-start;
    gap: 12px;
    min-height: 92px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-strong);
    cursor: pointer;
}

.payment-method-option input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex: 0 0 auto;
}

.payment-method-option span {
    display: grid;
    gap: 4px;
}

.payment-method-option small {
    color: var(--muted);
    font-weight: 500;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(13, 92, 99, 0.42);
    box-shadow: 0 0 0 4px rgba(13, 92, 99, 0.08);
}

.expiry-pair:focus-within {
    border-color: rgba(13, 92, 99, 0.42);
    box-shadow: 0 0 0 4px rgba(13, 92, 99, 0.08);
}

.expiry-pair input:focus {
    box-shadow: none;
}

.notice-card h3,
.secure-strip span {
    margin: 0 0 10px;
}

.notice-card-compact {
    padding: 16px;
}

.notice-card-warning {
    background: rgba(239, 131, 84, 0.1);
    border-color: rgba(239, 131, 84, 0.26);
}

.notice-card-warning h3 {
    color: #b85e31;
}

.secure-strip {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    background: var(--surface-soft);
}

.gateway-form-wrapper {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
}

.gateway-link {
    margin-top: 8px;
}

.helper {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.cart-items {
    display: grid;
    gap: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 16px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.cart-item img {
    border-radius: 18px;
    background: var(--surface-soft);
}

.cart-item-content h3 {
    margin: 0;
}

.cart-item-content p,
.cart-item-price small {
    color: var(--muted);
}

.cart-item-price {
    min-width: 160px;
    display: grid;
    gap: 10px;
    align-content: space-between;
    text-align: right;
}

.cart-item-price strong {
    font-size: 22px;
}

.text-btn {
    border: none;
    background: none;
    color: var(--danger);
    font-weight: 800;
    cursor: pointer;
}

.empty-state {
    text-align: center;
    padding: 40px 28px;
}

.page-hero p {
    max-width: 70ch;
}

.content-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inline-summary {
    margin-top: 8px;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero,
    .contact-grid,
    .detail-grid,
    .checkout-layout,
    .cart-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid,
    .criteria-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .site-header-inner,
    .section-head,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .stats-grid,
    .packages-grid,
    .criteria-grid,
    .process-grid,
    .hero-panel-grid,
    .form-grid,
    .payment-method-options,
    .card-meta-grid,
    .content-columns,
    .success-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-price {
        text-align: left;
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .site-header-inner,
    .page-wrap,
    .site-footer,
    .flash {
        width: min(100%, calc(100% - 20px));
    }

    .hero,
    .section,
    .page-hero,
    .site-footer {
        padding: 20px;
    }

    .hero h1,
    .section-head h1,
    .section-head h2,
    .page-hero h1 {
        max-width: none;
        font-size: 30px;
    }

    .brand {
        align-items: flex-start;
    }

    .brand img {
        width: 52px;
        height: 52px;
    }

    .inline-form {
        grid-template-columns: 1fr;
    }

    .main-nav {
        gap: 6px;
    }

    .nav-link {
        padding: 8px 10px;
        font-size: 13px;
    }

    .cart-link {
        margin-left: auto;
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel-grid article {
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 12px;
        padding: 16px;
    }

    .hero-panel-grid article::before {
        left: 35px;
    }

    .hero-panel-grid article span {
        width: 32px;
        height: 32px;
    }
}
