/* =========================================================
   ALTIN HESAPLAMA
   Prefix: ah-
========================================================= */


/* =========================================================
   DARK THEME
========================================================= */

:root {
    --ah-background: #0f1115;
    --ah-background-soft: #13161b;

    --ah-card: #181b20;
    --ah-card-hover: #1e2228;
    --ah-surface: #111419;
    --ah-surface-soft: #14171c;

    --ah-border: #292d34;

    --ah-text: #f5f5f5;
    --ah-text-soft: #c5c8cc;
    --ah-muted: #969ca6;
    --ah-faint: #727781;

    --ah-gold: #d4af37;
    --ah-gold-light: #f2c94c;
    --ah-gold-soft: rgba(212, 175, 55, 0.12);

    --ah-green: #22c55e;

    --ah-shadow: rgba(0, 0, 0, 0.28);
}


/* =========================================================
   LIGHT THEME
========================================================= */

html[data-theme="light"] {
    --ah-background: #fafafa;
    --ah-background-soft: #f5f6f7;

    --ah-card: #ffffff;
    --ah-card-hover: #f6f7f8;
    --ah-surface: #f2f3f5;
    --ah-surface-soft: #f5f6f7;

    --ah-border: #e0e3e7;

    --ah-text: #181a1f;
    --ah-text-soft: #3b4047;
    --ah-muted: #6d737c;
    --ah-faint: #8a9099;

    --ah-gold: #d4af37;
    --ah-gold-light: #f2c94c;
    --ah-gold-soft: rgba(212, 175, 55, 0.12);

    --ah-green: #22c55e;

    --ah-shadow: rgba(0, 0, 0, 0.08);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--ah-background);
    color: var(--ah-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.5;
}

::selection {
    background: #faf5e7;
    color: #111317;
}

::-moz-selection {
    background: #faf5e7;
    color: #111317;
}


/* =========================================================
   MAIN
========================================================= */

.ah-main {
    min-height: 70vh;

    padding: 30px 0 80px;

    background: var(--ah-background);
}

.ah-main a {
    color: inherit;
    text-decoration: none;
}

.ah-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.ah-breadcrumb {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 38px;

    color: var(--ah-faint);

    font-size: 10px;
}

.ah-breadcrumb a {
    color: var(--ah-muted);

    transition: color 0.2s ease;
}

.ah-breadcrumb a:hover {
    color: var(--ah-gold);
}


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

.ah-hero {
    max-width: 760px;

    padding: 18px 0 42px;
}

.ah-eyebrow {
    display: block;

    margin-bottom: 7px;

    color: var(--ah-gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.ah-hero h1 {
    margin: 0;

    font-size: 39px;
    line-height: 1.18;

    letter-spacing: -1.4px;
}

.ah-hero > p {
    max-width: 680px;

    margin: 13px 0 0;

    color: var(--ah-muted);

    font-size: 14px;
    line-height: 1.75;
}

.ah-last-update {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-top: 18px;

    color: var(--ah-muted);

    font-size: 10px;
}

.ah-last-update strong {
    color: var(--ah-text);

    font-weight: 650;
}

.ah-live-dot {
    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--ah-green);

    box-shadow:
        0 0 8px rgba(34, 197, 94, 0.7);
}


/* =========================================================
   CALCULATOR
========================================================= */

.ah-calculator-card {
    position: relative;

    overflow: hidden;

    padding: 32px;

    border: 1px solid var(--ah-border);
    border-radius: 14px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(212, 175, 55, 0.12),
            transparent 34%
        ),
        var(--ah-card);

    box-shadow:
        0 18px 50px var(--ah-shadow);
}

.ah-calculator-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;
}

.ah-calculator-heading h2 {
    margin: 0;

    font-size: 24px;

    letter-spacing: -0.8px;
}

.ah-calculator-heading p {
    max-width: 580px;

    margin: 7px 0 0;

    color: var(--ah-muted);

    font-size: 12px;
    line-height: 1.7;
}

.ah-calculator-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 11px;

    background: var(--ah-gold-soft);

    color: var(--ah-gold);

    font-size: 19px;
    font-weight: 800;
}


/* =========================================================
   FIELDS
========================================================= */

.ah-calculator-fields {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

    margin-top: 28px;
}

.ah-form-group {
    display: flex;
    flex-direction: column;
}

.ah-form-group label {
    margin-bottom: 7px;

    color: var(--ah-muted);

    font-size: 11px;
    font-weight: 600;
}

.ah-form-group input,
.ah-form-group select {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid var(--ah-border);
    border-radius: 9px;

    outline: none;

    background: var(--ah-surface);

    color: var(--ah-text);

    font-family: inherit;
    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.ah-form-group input:focus,
.ah-form-group select:focus {
    border-color: rgba(212, 175, 55, 0.65);

    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.07);
}


/* =========================================================
   RESULT
========================================================= */

.ah-result {
    margin-top: 20px;

    padding: 22px;

    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 11px;

    background: var(--ah-gold-soft);
}

.ah-result > span {
    display: block;

    color: var(--ah-muted);

    font-size: 11px;
}

.ah-result > strong {
    display: block;

    margin-top: 5px;

    color: var(--ah-gold-light);

    font-size: 30px;
    line-height: 1.2;

    letter-spacing: -0.7px;
}

html[data-theme="light"] .ah-result > strong {
    color: var(--ah-gold);
}

.ah-result small {
    display: block;

    margin-top: 9px;

    color: var(--ah-muted);

    font-size: 10px;
}

.ah-result small b {
    color: var(--ah-text);

    font-weight: 650;
}

.ah-calculator-note {
    margin: 14px 0 0;

    color: var(--ah-faint);

    font-size: 9px;
    line-height: 1.65;
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.ah-section {
    padding-top: 52px;
}

.ah-section-heading {
    margin-bottom: 20px;
}

.ah-section-heading h2 {
    margin: 0;

    font-size: 23px;

    letter-spacing: -0.7px;
}

.ah-section-heading p {
    max-width: 680px;

    margin: 7px 0 0;

    color: var(--ah-muted);

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   PRICE LIST
========================================================= */

.ah-price-list {
    overflow: hidden;

    border: 1px solid var(--ah-border);
    border-radius: 14px;

    background: var(--ah-card);
}

.ah-price-row {
    min-height: 76px;

    display: grid;

    grid-template-columns:
        minmax(250px, 1fr)
        170px
        170px;

    align-items: center;

    gap: 20px;

    padding: 15px 20px;

    border-bottom: 1px solid var(--ah-border);
}

.ah-price-row:last-child {
    border-bottom: 0;
}

.ah-price-name {
    display: flex;
    align-items: center;

    gap: 12px;
}

.ah-price-icon {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--ah-gold-soft);

    color: var(--ah-gold);

    font-size: 11px;
    font-weight: 800;
}

.ah-price-name strong {
    display: block;

    font-size: 13px;
}

.ah-price-name small {
    display: block;

    margin-top: 2px;

    color: var(--ah-muted);

    font-size: 9px;
}

.ah-price-value {
    text-align: right;
}

.ah-price-value span {
    display: block;

    margin-bottom: 3px;

    color: var(--ah-muted);

    font-size: 9px;
}

.ah-price-value strong {
    display: block;

    font-size: 13px;
}


/* =========================================================
   CONTENT
========================================================= */

.ah-content-card {
    padding: 30px;

    border: 1px solid var(--ah-border);
    border-radius: 14px;

    background: var(--ah-card);
}

.ah-content-card h2 {
    margin: 0 0 17px;

    font-size: 23px;

    letter-spacing: -0.7px;
}

.ah-content-card p {
    max-width: 820px;

    margin: 0;

    color: var(--ah-text-soft);

    font-size: 12px;
    line-height: 1.85;
}

.ah-content-card p + p {
    margin-top: 16px;
}


/* =========================================================
   SEO INFO CARDS
========================================================= */

.ah-info-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}

.ah-info-card {
    padding: 22px;

    border: 1px solid var(--ah-border);
    border-radius: 12px;

    background: var(--ah-card);
}

.ah-info-number {
    display: block;

    margin-bottom: 17px;

    color: var(--ah-gold);

    font-size: 9px;
    font-weight: 800;
}

.ah-info-card h3 {
    margin: 0;

    font-size: 14px;
}

.ah-info-card p {
    margin: 9px 0 0;

    color: var(--ah-muted);

    font-size: 10px;
    line-height: 1.7;
}


/* =========================================================
   FAQ
========================================================= */

.ah-faq-section {
    padding-bottom: 20px;
}

.ah-faq-list {
    display: flex;
    flex-direction: column;

    border-top: 1px solid var(--ah-border);
}

.ah-faq-item {
    border-bottom: 1px solid var(--ah-border);
}

.ah-faq-item summary {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 0 4px;

    list-style: none;

    cursor: pointer;

    font-size: 13px;
    font-weight: 650;

    transition: color 0.2s ease;
}

.ah-faq-item summary h3 {
    flex: 1;
    min-width: 0;

    margin: 0;
    padding: 0;

    color: inherit;

    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;

    overflow-wrap: anywhere;
}

.ah-faq-item summary::-webkit-details-marker {
    display: none;
}

.ah-faq-item summary:hover {
    color: var(--ah-gold-light);
}

html[data-theme="light"] .ah-faq-item summary:hover {
    color: var(--ah-gold);
}

.ah-faq-plus {
    width: 29px;
    height: 29px;

    flex: 0 0 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--ah-border);
    border-radius: 50%;

    color: var(--ah-gold);

    font-size: 18px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.ah-faq-item[open] .ah-faq-plus {
    transform: rotate(45deg);

    border-color: rgba(212, 175, 55, 0.35);

    background: var(--ah-gold-soft);
}

.ah-faq-answer {
    padding: 0 50px 20px 4px;
}

.ah-faq-answer p {
    max-width: 800px;

    margin: 0;

    color: var(--ah-muted);

    font-size: 11px;
    line-height: 1.75;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .ah-info-grid {
        grid-template-columns: 1fr;
    }

    .ah-price-row {
        grid-template-columns:
            minmax(200px, 1fr)
            140px
            140px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .ah-main {
        padding: 24px 0 55px;
    }

    .ah-container {
        width: calc(100% - 24px);
    }

    .ah-breadcrumb {
        margin-bottom: 25px;
    }

    .ah-hero {
        padding-bottom: 32px;
    }

    .ah-hero h1 {
        font-size: 30px;
    }

    .ah-hero > p {
        font-size: 12px;
    }

    .ah-last-update {
        align-items: flex-start;
        flex-wrap: wrap;
    }


    /* CALCULATOR */

    .ah-calculator-card {
        padding: 22px 17px;

        border-radius: 12px;
    }

    .ah-calculator-heading {
        gap: 15px;
    }

    .ah-calculator-heading h2 {
        font-size: 21px;
    }

    .ah-calculator-icon {
        width: 39px;
        height: 39px;

        flex-basis: 39px;

        font-size: 16px;
    }

    .ah-calculator-fields {
        grid-template-columns: 1fr;
    }

    .ah-result > strong {
        font-size: 26px;
    }


    /* SECTIONS */

    .ah-section {
        padding-top: 40px;
    }

    .ah-section-heading h2 {
        font-size: 20px;
    }


    /* PRICE LIST */

    .ah-price-row {
        grid-template-columns: 1fr 1fr;

        gap: 0;

        padding: 0;
    }

    .ah-price-name {
        grid-column: 1 / -1;

        padding: 14px;

        border-bottom: 1px solid var(--ah-border);
    }

    .ah-price-value {
        padding: 12px 14px;

        text-align: left;
    }

    .ah-price-value:last-child {
        border-left: 1px solid var(--ah-border);
    }

    .ah-price-value span {
        font-size: 8px;
    }

    .ah-price-value strong {
        font-size: 12px;
    }


    /* CONTENT */

    .ah-content-card {
        padding: 22px 17px;

        border-radius: 12px;
    }

    .ah-content-card h2 {
        font-size: 20px;
    }

    .ah-content-card p {
        font-size: 11px;
    }

    .ah-faq-item summary {
        min-height: 64px;

        font-size: 12px;
    }

    .ah-faq-answer {
        padding-right: 15px;
    }

}