:root {
    --pd-blue: #062b5f;
    --pd-blue-dark: #031b3d;
    --pd-orange: #f58220;
    --pd-text: #172033;
    --pd-muted: #64748b;
    --pd-bg: #f6f9fc;
    --pd-white: #ffffff;
    --pd-border: #e5edf5;
    --pd-shadow: 0 20px 50px rgba(6, 43, 95, 0.12);
}

* {
    box-sizing: border-box;
}

.devamsizlik-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.devamsizlik-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 70px;
    background:
        radial-gradient(circle at top right, rgba(245, 130, 32, 0.18), transparent 34%),
        linear-gradient(135deg, #061f49 0%, #073b7a 52%, #062b5f 100%);
    color: var(--pd-white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero-badge,
.section-title span,
.contact-content span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(245, 130, 32, 0.14);
    color: var(--pd-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.hero-content h1 {
    margin: 22px 0 18px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.hero-content p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn-primary,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 16px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn-primary {
    background: var(--pd-orange);
    color: #fff;
    box-shadow: 0 16px 32px rgba(245, 130, 32, 0.28);
}

.btn-whatsapp {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-primary:hover,
.btn-whatsapp:hover {
    transform: translateY(-2px);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
    max-width: 520px;
}

.feature-item {
    padding: 13px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.hero-image {
    position: relative;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

.hesaplama-section,
.services-section,
.faq-section,
.contact-section {
    padding: 78px 0;
}

.hesaplama-section {
    background: var(--pd-bg);
}

.section-title {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-title h2 {
    margin: 16px 0 12px;
    color: var(--pd-blue-dark);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.section-title p {
    margin: 0;
    color: var(--pd-muted);
    font-size: 17px;
    line-height: 1.7;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}

.calculator-form,
.calculator-results,
.contact-box {
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: 28px;
    box-shadow: var(--pd-shadow);
}

.calculator-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--pd-blue-dark);
    font-size: 14px;
    font-weight: 900;
}

.form-group input,
.form-group textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--pd-border);
    border-radius: 15px;
    padding: 13px 15px;
    color: var(--pd-text);
    background: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--pd-orange);
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.12);
}

.hesapla-btn,
.contact-form button {
    grid-column: 1 / -1;
    min-height: 56px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--pd-orange), #ff9d42);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(245, 130, 32, 0.24);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 28px;
}

.result-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 145px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8fbff, #fff);
    border: 1px solid var(--pd-border);
}

.result-card span {
    color: var(--pd-muted);
    font-size: 14px;
    font-weight: 800;
}

.result-card strong {
    display: block;
    margin-top: 10px;
    color: var(--pd-blue);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
    font-weight: 950;
}

.services-section {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--pd-border);
    box-shadow: 0 14px 36px rgba(6, 43, 95, 0.09);
}

.service-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-card h3 {
    margin: 20px 20px 10px;
    color: var(--pd-blue-dark);
    font-size: 19px;
    font-weight: 900;
}

.service-card p {
    margin: 0 20px 22px;
    color: var(--pd-muted);
    font-size: 15px;
    line-height: 1.65;
}

.faq-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.faq-list {
    display: grid;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
}

.faq-item {
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--pd-border);
    box-shadow: 0 10px 26px rgba(6, 43, 95, 0.06);
}

.faq-item h3 {
    margin: 0 0 10px;
    color: var(--pd-blue-dark);
    font-size: 18px;
    font-weight: 900;
}

.faq-item p {
    margin: 0;
    color: var(--pd-muted);
    line-height: 1.7;
}

.contact-section {
    background: var(--pd-bg);
}

.contact-box {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    padding: 34px;
}

.contact-content {
    padding: 10px;
}

.contact-content h2 {
    margin: 18px 0 14px;
    color: var(--pd-blue-dark);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
    font-weight: 950;
}

.contact-content p {
    color: var(--pd-muted);
    font-size: 17px;
    line-height: 1.75;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form .form-group:nth-child(5) {
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .hero-grid,
    .calculator-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-image {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .devamsizlik-container {
        width: min(100% - 22px, 1180px);
    }

    .devamsizlik-hero {
        padding: 54px 0 46px;
    }

    .hero-content h1 {
        letter-spacing: -0.8px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-whatsapp {
        width: 100%;
    }

    .hero-features,
    .calculator-form,
    .calculator-results,
    .services-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .hesaplama-section,
    .services-section,
    .faq-section,
    .contact-section {
        padding: 52px 0;
    }

    .calculator-form,
    .calculator-results,
    .contact-box {
        padding: 18px;
        border-radius: 22px;
    }

    .result-card {
        min-height: 115px;
    }

    .contact-form .form-group:nth-child(5) {
        grid-column: auto;
    }
}