/* =========================================================
   KARBONSKOR
   Ana tasarım dosyası
========================================================= */


/* =========================================================
   1. TEMEL AYARLAR
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f8f5;
    color: #1f2933;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    color: #198754;
    font-weight: 600;
}

h1,
h2,
h3,
h4 {
    line-height: 1.25;
    color: #12372a;
}

p {
    margin-top: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   2. HEADER VE MENÜ
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e3ebe6;
    box-shadow: 0 4px 18px rgba(15, 81, 50, 0.06);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.logo-image {
    display: block;
    width: auto;
    height: 64px;
    max-width: 220px;
    object-fit: contain;
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
}

.main-nav a {
    color: #274238;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #198754;
}

.main-nav .nav-button {
    color: #ffffff;
    background: #198754;
    padding: 11px 18px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(25, 135, 84, 0.18);
}

.main-nav .nav-button:hover {
    color: #ffffff;
    background: #146c43;
}


/* =========================================================
   3. HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(255, 255, 255, 0.13),
            transparent 27%
        ),
        linear-gradient(135deg, #0b3927 0%, #0f6840 55%, #198754 100%);
    padding: 90px 0;
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    right: -160px;
    bottom: -220px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 70px;
}

.hero-text {
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: -1.5px;
    margin: 0 0 22px;
}

.hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
    max-width: 650px;
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 23px;
    border-radius: 10px;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.primary-button {
    background: #ffffff;
    color: #137347;
    box-shadow: 0 9px 25px rgba(0, 0, 0, 0.14);
}

.primary-button:hover {
    color: #0f6840;
    transform: translateY(-2px);
}

.secondary-button {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.07);
}

.secondary-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 32px;
}

.hero-highlights span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.hero-score-card {
    width: 100%;
    max-width: 410px;
    color: #26352f;
    background: rgba(255, 255, 255, 0.97);
    padding: 34px;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
}

.score-card-label {
    color: #198754;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.score-preview {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 20px 0 24px;
}

.score-preview strong {
    color: #0f6840;
    font-size: 68px;
    line-height: 1;
}

.score-preview span {
    color: #6b7771;
    padding-bottom: 8px;
}

.hero-score-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-score-card li {
    position: relative;
    padding: 12px 0 12px 28px;
    border-top: 1px solid #e9efeb;
}

.hero-score-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #198754;
    font-weight: 800;
}


/* =========================================================
   4. GENEL BÖLÜM YAPISI
========================================================= */

.section {
    padding: 90px 0;
}

.section-light {
    background: #edf5f0;
}

.section-dark {
    background:
        linear-gradient(
            135deg,
            rgba(8, 44, 29, 0.98),
            rgba(17, 91, 57, 0.98)
        );
    color: #ffffff;
}

.section-heading {
    max-width: 800px;
    margin: 0 auto 54px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(31px, 4vw, 44px);
    margin: 12px 0 18px;
    letter-spacing: -0.8px;
}

.section-heading p {
    color: #64736b;
    font-size: 18px;
    margin-bottom: 0;
}

.section-tag {
    display: inline-block;
    color: #198754;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.section-tag-light {
    color: #a7e8c5;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #ffffff;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}


/* =========================================================
   5. HAKKIMIZDA KARTLARI
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.about-card {
    background: #ffffff;
    padding: 32px;
    border: 1px solid #e1ebe5;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(20, 70, 45, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(20, 70, 45, 0.12);
}

.about-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: #ffffff;
    background: #198754;
    font-size: 14px;
    font-weight: 800;
}

.about-card h3 {
    margin: 24px 0 12px;
    font-size: 21px;
}

.about-card p {
    color: #68766f;
    margin-bottom: 0;
}


/* =========================================================
   6. HİZMETLER
========================================================= */

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

.service-card {
    position: relative;
    background: #ffffff;
    padding: 34px;
    border: 1px solid #dde9e1;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(18, 62, 40, 0.06);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #a8d5ba;
    box-shadow: 0 20px 45px rgba(18, 62, 40, 0.11);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #e5f5eb;
    color: #198754;
    font-size: 15px;
    font-weight: 800;
}

.service-card h3 {
    margin: 22px 0 12px;
    font-size: 23px;
}

.service-card > p {
    color: #65736c;
}

.service-card ul {
    padding-left: 20px;
    margin: 22px 0 0;
}

.service-card li {
    margin-bottom: 9px;
    color: #34463e;
}

.service-card-featured {
    grid-column: 1 / -1;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f2faf5 100%
        );
    border: 1px solid #a7d8bb;
}

.service-card-featured::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -140px;
    right: -110px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.07);
}

.featured-label {
    display: inline-block;
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: #0f6840;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.ets-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.ets-services > div {
    background: rgba(255, 255, 255, 0.86);
    padding: 22px;
    border: 1px solid #d9e9df;
    border-radius: 14px;
}

.ets-services h4 {
    margin: 0 0 12px;
    font-size: 17px;
    color: #0f5132;
}

.ets-services ul {
    margin-top: 0;
}


/* =========================================================
   7. SÜREÇ
========================================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.process-card {
    position: relative;
    padding: 27px 22px;
    background: #ffffff;
    border: 1px solid #e0eae4;
    border-radius: 17px;
    box-shadow: 0 10px 24px rgba(15, 70, 42, 0.05);
}

.process-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 31px;
    right: -15px;
    z-index: 3;
    color: #79a98d;
    font-size: 22px;
    font-weight: 700;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    color: #ffffff;
    background: #198754;
    font-weight: 800;
}

.process-card h3 {
    margin: 20px 0 10px;
    font-size: 18px;
}

.process-card p {
    color: #68766f;
    font-size: 14px;
    margin-bottom: 0;
}


/* =========================================================
   8. NEDEN KARBONSKOR
========================================================= */

.why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.why-grid h2 {
    font-size: clamp(32px, 4vw, 45px);
    margin: 14px 0 18px;
}

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

.why-list div {
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   9. ANALİZ FORMU
========================================================= */

.analysis-section {
    padding-top: 80px;
    padding-bottom: 90px;
}

.card {
    background: #ffffff;
    border: 1px solid #e0e9e3;
    border-radius: 20px;
    padding: 38px;
    margin-top: 30px;
    box-shadow: 0 15px 38px rgba(15, 70, 42, 0.08);
}

.analysis-card {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.analysis-heading {
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    color: #253b32;
    font-weight: 700;
    margin-bottom: 8px;
}

select,
input,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cbd8d0;
    border-radius: 10px;
    background: #ffffff;
    color: #24342d;
    font-family: inherit;
    font-size: 16px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

select {
    margin-top: 0;
}

select:focus,
input:focus,
textarea:focus {
    outline: none;
    border-color: #198754;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.1);
}

button {
    width: 100%;
    border: none;
    border-radius: 11px;
    padding: 15px 22px;
    background: #198754;
    color: #ffffff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.2);
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

button:hover {
    background: #146c43;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(25, 135, 84, 0.24);
}

.section-title {
    margin-top: 40px;
    padding: 22px 0 12px;
    border-top: 1px solid #e2e9e5;
    color: #0f5132;
    font-size: 21px;
}


/* =========================================================
   10. BİLGİ İKONU VE TOOLTIP
========================================================= */

.info-icon {
    display: inline-block;
    position: relative;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 50%;
    background: #0f7a45;
    color: #ffffff;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    cursor: help;
}

.info-icon .tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 20;
    width: 280px;
    left: 50%;
    bottom: 130%;
    transform: translateX(-50%);
    padding: 12px;
    border-radius: 9px;
    background: #1f2933;
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transition: opacity 0.2s ease;
}

.info-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


/* =========================================================
   11. SONUÇ SAYFASI
========================================================= */

.result-score {
    color: #198754;
    font-size: 62px;
    font-weight: 800;
    line-height: 1;
    margin: 20px 0 10px;
}

.result-level {
    color: #173c2d;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 18px;
}

.score-box {
    text-align: center;
}

.score {
    color: #198754;
    font-size: 56px;
    font-weight: 800;
}

.level {
    font-size: 28px;
    font-weight: 800;
}

.note,
.info-box {
    margin-top: 25px;
    padding: 22px;
    border-left: 5px solid #198754;
    border-radius: 10px;
    background: #e9f7ef;
}

table {
    width: 100%;
    overflow: hidden;
    border-collapse: collapse;
    border: 1px solid #dce6e0;
    border-radius: 12px;
}

th,
td {
    padding: 14px;
    border: 1px solid #dce6e0;
    text-align: left;
}

th {
    color: #ffffff;
    background: #176d45;
}

tr:nth-child(even) td {
    background: #f7faf8;
}

hr {
    border: 0;
    border-top: 1px solid #e1e8e4;
    margin: 38px 0;
}

.card ul,
.card ol {
    padding-left: 22px;
}

.card li {
    margin-bottom: 10px;
}


/* =========================================================
   12. FOOTER
========================================================= */

.footer {
    background: #092f20;
    color: rgba(255, 255, 255, 0.77);
    padding: 55px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
    align-items: start;
    gap: 45px;
}

.footer-logo {
    height: 66px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.96;
}

.footer-brand p {
    max-width: 390px;
    margin-top: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
}


/* =========================================================
   13. RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 16px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .hero-score-card {
        max-width: 520px;
    }

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

    .process-card:not(:last-child)::after {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


@media (max-width: 820px) {

    .header-inner {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .logo-image {
        height: 62px;
    }

    .main-nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px 18px;
    }

    .hero {
        padding: 70px 0;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-featured {
        grid-column: auto;
    }

    .ets-services {
        grid-template-columns: 1fr;
    }

    .why-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .container {
        padding-left: 17px;
        padding-right: 17px;
    }

    .main-nav {
        font-size: 14px;
    }

    .main-nav .nav-button {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 55px 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-score-card {
        padding: 26px;
    }

    .score-preview strong {
        font-size: 55px;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

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

    .section-heading p {
        font-size: 16px;
    }

    .about-card,
    .service-card,
    .card {
        padding: 24px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .analysis-section {
        padding-top: 55px;
        padding-bottom: 65px;
    }

    .result-score {
        font-size: 50px;
    }

    table {
        font-size: 13px;
    }

    th,
    td {
        padding: 10px 8px;
    }

    .info-icon .tooltip {
        width: 220px;
    }
}

/* =========================================================
   MOBİL MENÜ VE SON DÜZELTMELER
========================================================= */

.menu-toggle {
    display: none !important;
    width: auto;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #12372a;
    box-shadow: none;
    font-size: 28px;
    line-height: 1;
}

.menu-toggle:hover {
    background: #edf5f0;
    color: #0f6840;
    box-shadow: none;
    transform: none;
}

/* Sonuç tablosunun mobilde taşmasını engeller */
.card {
    overflow-wrap: anywhere;
}

table {
    display: table;
}

/* Uzun metin ve bağlantılar */
p,
li,
td,
th,
a {
    overflow-wrap: break-word;
}

/* Dokunmatik ekranlarda minimum kullanım alanı */
input,
select,
textarea,
button,
.primary-button,
.secondary-button,
.nav-button {
    min-height: 44px;
}


/* Tablet ve telefon */
@media (max-width: 820px) {

    .header-inner {
        position: relative;
        min-height: 78px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .logo-image {
        width: auto;
        height: 56px;
        max-width: 190px;
        object-fit: contain;
    }

    .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 17px;
        right: 17px;
        width: auto;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #ffffff;
        border: 1px solid #dfe9e3;
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(15, 70, 42, 0.16);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-radius: 8px;
        text-align: left;
    }

    .main-nav a:hover {
        background: #edf5f0;
    }

    .main-nav .nav-button {
        width: 100%;
        margin-top: 5px;
        text-align: center;
    }

    .hero-content {
        gap: 42px;
    }

    .hero-panel {
        justify-content: stretch;
    }

    .hero-score-card {
        max-width: none;
    }

    .about-grid,
    .services-grid,
    .ets-services,
    .why-list,
    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .analysis-card {
        width: 100%;
    }

    /* Sonuç tablosu */
    .card table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .info-icon .tooltip {
        position: fixed;
        left: 50%;
        right: auto;
        bottom: 20px;
        width: calc(100vw - 34px);
        max-width: 420px;
        transform: translateX(-50%);
    }
}


/* Küçük telefonlar */
@media (max-width: 600px) {

    body {
        font-size: 15px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-inner {
        min-height: 70px;
    }

    .logo-image {
        height: 50px;
    }

    .main-nav {
        left: 12px;
        right: 12px;
    }

    .hero {
        padding: 48px 0;
    }

    .hero h1 {
        font-size: clamp(34px, 10vw, 42px);
        letter-spacing: -0.8px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-highlights {
        flex-direction: column;
        gap: 9px;
    }

    .hero-score-card {
        padding: 22px;
        border-radius: 17px;
    }

    .score-preview {
        align-items: center;
    }

    .score-preview strong {
        font-size: 48px;
    }

    .score-preview span {
        padding-bottom: 0;
    }

    .section {
        padding: 56px 0;
    }

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

    .about-card,
    .service-card,
    .card,
    .process-card {
        padding: 21px;
    }

    .service-card h3 {
        font-size: 21px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        gap: 32px;
    }

    .analysis-section {
        padding-top: 45px;
        padding-bottom: 55px;
    }

    .section-title {
        font-size: 19px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

    .result-score {
        font-size: 45px;
    }

    .result-level {
        font-size: 23px;
    }

    th,
    td {
        padding: 10px;
    }

    .footer {
        padding: 42px 0;
    }

    .footer-logo {
        height: 54px;
    }
}


/* Çok küçük telefonlar */
@media (max-width: 380px) {

    .hero h1 {
        font-size: 32px;
    }

    .primary-button,
    .secondary-button {
        padding-left: 15px;
        padding-right: 15px;
    }

    .card,
    .about-card,
    .service-card,
    .process-card {
        padding: 18px;
    }

    .score-preview {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}

/* =========================================================
   HEADER - SON VE YETKİLİ KURALLAR
   Bu bölüm üstteki eski responsive tanımları geçersiz kılar.
========================================================= */

/* Masaüstü */
@media (min-width: 821px) {
    .header {
        padding: 8px 0;
    }

    .header-inner {
        min-height: 80px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        flex: 0 0 auto;
    }

    .logo-image {
        width: auto;
        height: 64px;
        max-width: 220px;
        object-fit: contain;
    }

    .menu-toggle {
        display: none !important;
    }

    .main-nav,
    .main-nav.is-open {
        display: flex;
        position: static;
        width: auto;
        margin-left: auto;
        padding: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 26px;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Tablet ve telefon */
@media (max-width: 820px) {
    .header {
        padding: 0;
    }

    .header-inner {
        position: relative;
        min-height: 76px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .logo {
        min-width: 0;
        flex: 0 1 auto;
    }

    .logo-image {
        width: auto;
        height: 56px;
        max-width: min(190px, 62vw);
        object-fit: contain;
    }

    .menu-toggle {
        display: inline-flex !important;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        width: 46px;
        min-height: 44px;
        margin-left: auto;
        padding: 8px;
    }

    .main-nav {
        display: none;
        position: absolute;
        z-index: 1100;
        top: calc(100% + 1px);
        left: 16px;
        right: 16px;
        width: auto;
        margin: 0;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #ffffff;
        border: 1px solid #dfe9e3;
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(15, 70, 42, 0.16);
    }

    .main-nav.is-open {
        display: flex;
    }
}

@media (max-width: 600px) {
    .header-inner {
        min-height: 70px;
    }

    .logo-image {
        height: 50px;
        max-width: min(170px, 60vw);
    }
}
/* =========================
   AUTHENTICATION
========================= */

.auth-body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(
            135deg,
            #f4f8f5 0%,
            #e8f2eb 100%
        );
    color: #173229;
    font-family:
        Inter,
        Arial,
        sans-serif;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 42px;
    border: 1px solid #dce8df;
    border-radius: 24px;
    background: #ffffff;
    box-shadow:
        0 24px 70px rgba(27, 65, 50, 0.12);
    box-sizing: border-box;
}

.auth-logo {
    display: inline-block;
    margin-bottom: 30px;
    color: #176b45;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

.auth-card h1 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
}

.auth-description {
    margin: 0 0 28px;
    color: #62746d;
    line-height: 1.6;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-form label {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
}

.auth-form input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ccd9d1;
    border-radius: 12px;
    background: #fbfdfb;
    color: #173229;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

.auth-form input:focus {
    border-color: #23845a;
    box-shadow:
        0 0 0 4px rgba(35, 132, 90, 0.12);
}

.auth-button {
    margin-top: 18px;
    padding: 15px 20px;
    border: 0;
    border-radius: 12px;
    background: #176b45;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.auth-button:hover {
    background: #115738;
}

.auth-footer {
    margin: 24px 0 0;
    color: #62746d;
    text-align: center;
}

.auth-footer a {
    color: #176b45;
    font-weight: 700;
}

.alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    line-height: 1.5;
}

.alert-error {
    border: 1px solid #f1b9b9;
    background: #fff2f2;
    color: #a42c2c;
}


/* =========================
   DASHBOARD
========================= */

.dashboard-body {
    margin: 0;
    min-height: 100vh;
    background: #f5f8f6;
    color: #173229;
    font-family:
        Inter,
        Arial,
        sans-serif;
}

.dashboard-header {
    min-height: 72px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dfe8e2;
    background: #ffffff;
}

.dashboard-logo {
    color: #176b45;
    font-size: 23px;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dashboard-user span {
    font-weight: 700;
}

.dashboard-user a {
    color: #60716a;
    text-decoration: none;
}

.dashboard-main {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 56px 0 80px;
}

.dashboard-welcome {
    padding: 42px;
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            #123d2d,
            #20734e
        );
    color: #ffffff;
}

.dashboard-welcome h1 {
    margin: 8px 0 14px;
    font-size: clamp(30px, 4vw, 48px);
}

.dashboard-welcome p {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.module-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.module-card {
    min-height: 220px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid #dfe8e2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 12px 30px rgba(31, 68, 52, 0.06);
}

.module-number {
    color: #2c8d62;
    font-size: 13px;
    font-weight: 800;
}

.module-card h2 {
    margin: 20px 0 12px;
    font-size: 22px;
}

.module-card p {
    margin: 0 0 24px;
    color: #66766f;
    line-height: 1.65;
}

.module-card a {
    margin-top: auto;
    color: #176b45;
    font-weight: 800;
    text-decoration: none;
}

.coming-soon {
    margin-top: auto;
    color: #84928c;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .auth-card {
        padding: 28px 22px;
    }

    .dashboard-header {
        padding: 0 20px;
    }

    .dashboard-user span {
        display: none;
    }

    .dashboard-welcome {
        padding: 28px 24px;
    }
}
/* =========================
   RESULT MEMBERSHIP CTA
========================= */

.detailed-analysis-cta {
    margin-top: 34px;
    padding: 38px;
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            #123d2d 0%,
            #1d704c 100%
        );
    color: #ffffff;
    box-shadow:
        0 20px 45px rgba(23, 74, 52, 0.18);
}

.detailed-analysis-content {
    max-width: 850px;
}

.detailed-analysis-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #b9efd2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.detailed-analysis-cta h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.2;
}

.detailed-analysis-cta p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

.detailed-analysis-features {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.detailed-feature {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.detailed-feature strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
}

.detailed-feature span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.result-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.primary-cta-button,
.secondary-cta-button,
.new-analysis-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.primary-cta-button {
    background: #ffffff;
    color: #176b45;
}

.primary-cta-button:hover {
    background: #eef8f2;
    transform: translateY(-1px);
}

.secondary-cta-button {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #ffffff;
}

.secondary-cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.result-membership-note {
    margin-top: 16px !important;
    font-size: 13px;
}

.result-bottom-actions {
    margin-top: 24px;
    text-align: center;
}

.new-analysis-button {
    border: 1px solid #cddbd2;
    background: #ffffff;
    color: #176b45;
}

.new-analysis-button:hover {
    background: #f1f7f3;
}

@media (max-width: 640px) {
    .detailed-analysis-cta {
        padding: 28px 22px;
    }

    .result-auth-actions {
        flex-direction: column;
    }

    .primary-cta-button,
    .secondary-cta-button {
        width: 100%;
        box-sizing: border-box;
    }
}
/* =========================================================
   EMİSYON HESAPLAMA MODÜLÜ
========================================================= */

.module-card-active {
    border-color: rgba(30, 140, 90, 0.35);
    background:
        linear-gradient(
            145deg,
            rgba(236, 252, 244, 0.95),
            rgba(255, 255, 255, 0.98)
        );
}

.module-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #176b4d;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.module-button:hover {
    background: #10543c;
    transform: translateY(-2px);
}

.emission-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 44px 0 80px;
}

.emission-page-heading,
.emission-result-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.emission-page-heading h1,
.emission-result-heading h1 {
    margin: 6px 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    color: #173e31;
}

.emission-page-heading p,
.emission-result-heading p {
    max-width: 760px;
    margin: 0;
    color: #5d6f67;
    line-height: 1.7;
}

.emission-back-link {
    flex-shrink: 0;
    padding: 11px 16px;
    border: 1px solid #d7e5df;
    border-radius: 10px;
    background: #ffffff;
    color: #176b4d;
    text-decoration: none;
    font-weight: 700;
}

.emission-error-box {
    margin-bottom: 22px;
    padding: 15px 18px;
    border: 1px solid #efb5b5;
    border-radius: 12px;
    background: #fff1f1;
    color: #9f2727;
    font-weight: 700;
}

.emission-form {
    display: grid;
    gap: 24px;
}

.emission-form-card,
.emission-result-table-card {
    padding: 28px;
    border: 1px solid #dfebe6;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 45px rgba(25, 72, 55, 0.07);
}

.emission-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.emission-section-heading h2 {
    margin: 0 0 5px;
    color: #173e31;
}

.emission-section-heading p {
    margin: 0;
    color: #718078;
    line-height: 1.55;
}

.emission-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #e8f7ef;
    color: #176b4d;
    font-weight: 800;
}

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

.emission-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.emission-field label {
    color: #29483c;
    font-size: 14px;
    font-weight: 700;
}

.emission-field input,
.emission-field select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #cfddd7;
    border-radius: 10px;
    background: #ffffff;
    color: #1d3029;
    font: inherit;
    box-sizing: border-box;
}

.emission-field input:focus,
.emission-field select:focus {
    outline: none;
    border-color: #2b8a64;
    box-shadow: 0 0 0 3px rgba(43, 138, 100, 0.12);
}

.scope-information-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.scope-information-card {
    padding: 18px;
    border: 1px solid #deebe5;
    border-radius: 14px;
    background: #f7fbf9;
}

.scope-information-card span {
    display: block;
    margin-bottom: 5px;
    color: #188056;
    font-size: 13px;
    font-weight: 800;
}

.scope-information-card strong {
    display: block;
    margin-bottom: 6px;
    color: #173e31;
}

.scope-information-card p {
    margin: 0;
    color: #6c7c74;
    font-size: 14px;
    line-height: 1.5;
}

.activity-list {
    display: grid;
    gap: 18px;
}

.activity-row {
    padding: 20px;
    border: 1px solid #dfeae5;
    border-radius: 14px;
    background: #fbfdfc;
}

.activity-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.activity-row-header strong {
    color: #173e31;
}

.remove-activity-button {
    border: 0;
    background: transparent;
    color: #b14343;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.remove-activity-button:disabled {
    color: #aab4af;
    cursor: not-allowed;
}

.activity-factor-field {
    grid-column: span 2;
}

.factor-information {
    color: #75847c;
    line-height: 1.4;
}

.add-activity-button {
    margin-top: 18px;
    padding: 12px 17px;
    border: 1px dashed #2f916c;
    border-radius: 10px;
    background: #edf9f3;
    color: #176b4d;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.emission-submit-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-radius: 18px;
    background: #173e31;
    color: #ffffff;
}

.emission-submit-section strong {
    display: block;
    margin-bottom: 5px;
    font-size: 19px;
}

.emission-submit-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.emission-submit-button,
.primary-emission-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 10px;
    background: #55c891;
    color: #0d3627;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.emission-result-actions {
    display: flex;
    gap: 10px;
}

.secondary-emission-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid #d6e3dd;
    border-radius: 10px;
    background: #ffffff;
    color: #176b4d;
    font-weight: 800;
    text-decoration: none;
}

.emission-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.emission-result-card {
    padding: 26px;
    border: 1px solid #deebe5;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(25, 72, 55, 0.06);
}

.emission-result-card.total {
    background: #173e31;
    color: #ffffff;
}

.emission-result-label {
    display: block;
    margin-bottom: 15px;
    color: #27815f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.emission-result-card.total .emission-result-label {
    color: #68d5a0;
}

.emission-result-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
}

.emission-result-card small {
    color: #73847c;
}

.emission-result-card.total small {
    color: rgba(255, 255, 255, 0.7);
}

.emission-intensity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.emission-intensity-card {
    padding: 21px;
    border: 1px solid #deebe5;
    border-radius: 15px;
    background: #f6faf8;
}

.emission-intensity-card span,
.emission-intensity-card small {
    display: block;
    color: #718078;
}

.emission-intensity-card strong {
    display: block;
    margin: 8px 0;
    color: #173e31;
    font-size: 27px;
}

.emission-table-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.emission-table-heading h2 {
    margin: 0 0 5px;
    color: #173e31;
}

.emission-table-heading p {
    margin: 0;
    color: #738078;
}

.emission-table-heading > span {
    padding: 8px 11px;
    border-radius: 8px;
    background: #edf7f2;
    color: #176b4d;
    font-size: 13px;
    font-weight: 800;
}

.emission-table-wrapper {
    overflow-x: auto;
}

.emission-result-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.emission-result-table th,
.emission-result-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e4ece8;
    text-align: left;
    vertical-align: top;
}

.emission-result-table th {
    color: #688078;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.emission-result-table td {
    color: #334b41;
}

.emission-result-table td small {
    display: block;
    margin-top: 4px;
    color: #829088;
}

.scope-badge {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
}

.scope-1 {
    background: #fff1df;
    color: #9b570b;
}

.scope-2 {
    background: #e8f3ff;
    color: #28679c;
}

.scope-3 {
    background: #f1ebff;
    color: #6345a5;
}

@media (max-width: 800px) {
    .emission-page-heading,
    .emission-result-heading,
    .emission-submit-section,
    .emission-table-heading {
        flex-direction: column;
    }

    .emission-form-grid,
    .activity-grid,
    .scope-information-grid,
    .emission-result-grid,
    .emission-intensity-grid {
        grid-template-columns: 1fr;
    }

    .activity-factor-field {
        grid-column: span 1;
    }

    .emission-result-actions {
        width: 100%;
        flex-direction: column;
    }

    .primary-emission-button,
    .secondary-emission-button,
    .emission-submit-button {
        width: 100%;
        box-sizing: border-box;
    }
}
/* ==================================================
   DASHBOARD MODÜL KARTLARI
================================================== */

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

.module-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 390px;
    padding: 30px 28px;
    border-radius: 22px;
    box-sizing: border-box;
    overflow: hidden;
}

.module-card h2 {
    margin: 22px 0 12px;
    line-height: 1.25;
}

.module-card p {
    margin: 0 0 24px;
    line-height: 1.65;
}

.module-card .module-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin-top: auto;
    padding: 14px 18px;
    box-sizing: border-box;
    border-radius: 12px;
    text-align: center;
    line-height: 1.35;
    text-decoration: none;
}

.module-number {
    display: inline-block;
    width: fit-content;
}

@media (max-width: 1050px) {
    .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .module-card {
        min-height: auto;
    }
}

/* =========================================================
   KARBONSKOR V2 — YETKİLİ TASARIM KATMANI
   Bu bölüm dosyanın sonundadır ve önceki çakışan kuralları
   güvenli biçimde geçersiz kılar.
========================================================= */

:root {
    --ks-primary: #0b8f5b;
    --ks-primary-dark: #08794d;
    --ks-primary-deep: #0b3d2e;
    --ks-primary-soft: #eaf7f0;
    --ks-bg: #f6fbf8;
    --ks-surface: #ffffff;
    --ks-border: #d7e8df;
    --ks-border-strong: #b8d9c8;
    --ks-text: #173229;
    --ks-text-soft: #64756d;
    --ks-muted: #87958f;
    --ks-danger: #b63b3b;
    --ks-shadow-sm: 0 8px 22px rgba(18, 70, 45, 0.07);
    --ks-shadow-md: 0 16px 38px rgba(18, 70, 45, 0.11);
    --ks-shadow-lg: 0 24px 58px rgba(18, 70, 45, 0.15);
    --ks-radius-sm: 10px;
    --ks-radius-md: 16px;
    --ks-radius-lg: 22px;
    --ks-transition: 0.22s ease;
}

body,
.auth-body,
.dashboard-body {
    background: var(--ks-bg);
    color: var(--ks-text);
    font-family: Inter, Arial, Helvetica, sans-serif;
}

/* Bağlantıların ziyaret edilmiş durumda mora dönmesini engeller */
a,
a:visited {
    color: var(--ks-primary);
}

/* Genel yeşil buton sistemi */
button,
.auth-button,
.nav-button,
.module-button,
.emission-submit-button,
.primary-emission-button {
    border: 0;
    background: var(--ks-primary);
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(11, 143, 91, 0.20);
}

button:hover,
.auth-button:hover,
.nav-button:hover,
.module-button:hover,
.emission-submit-button:hover,
.primary-emission-button:hover {
    background: var(--ks-primary-dark);
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(11, 143, 91, 0.28);
}

button:focus-visible,
.auth-button:focus-visible,
.nav-button:focus-visible,
.module-button:focus-visible,
.emission-submit-button:focus-visible,
.primary-emission-button:focus-visible {
    outline: 3px solid rgba(11, 143, 91, 0.24);
    outline-offset: 3px;
}

/* İkincil / beyaz butonlar */
.primary-button,
.primary-cta-button,
.new-analysis-button,
.secondary-emission-button,
.emission-back-link {
    background: #ffffff;
    color: var(--ks-primary-dark) !important;
    border: 1px solid var(--ks-border);
    box-shadow: var(--ks-shadow-sm);
}

.primary-button:hover,
.primary-cta-button:hover,
.new-analysis-button:hover,
.secondary-emission-button:hover,
.emission-back-link:hover {
    background: #f2faf6;
    color: var(--ks-primary-dark) !important;
    border-color: var(--ks-border-strong);
}

/* Header */
.header,
.dashboard-header {
    background: rgba(255, 255, 255, 0.97);
    border-color: var(--ks-border);
    box-shadow: 0 5px 20px rgba(18, 70, 45, 0.06);
    backdrop-filter: blur(10px);
}

.dashboard-header {
    min-height: 76px;
    padding: 0 max(24px, 5vw);
}

.dashboard-logo {
    color: var(--ks-primary-dark) !important;
    font-size: 24px;
    letter-spacing: -0.4px;
}

.dashboard-user a {
    color: var(--ks-text-soft) !important;
}

.dashboard-user a:hover {
    color: var(--ks-primary) !important;
}

/* Dashboard ana alan */
.dashboard-main {
    width: min(1240px, calc(100% - 48px));
    padding: 48px 0 84px;
}

.dashboard-welcome {
    position: relative;
    overflow: hidden;
    padding: 42px 44px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 26px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.11), transparent 28%),
        linear-gradient(135deg, #0b3d2e 0%, #0f6840 58%, #168553 100%);
    box-shadow: var(--ks-shadow-lg);
}

.dashboard-welcome::after {
    content: "";
    position: absolute;
    right: -85px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.dashboard-welcome h1 {
    position: relative;
    z-index: 1;
    color: #ffffff;
    letter-spacing: -1px;
}

.dashboard-welcome p,
.dashboard-welcome .eyebrow {
    position: relative;
    z-index: 1;
}

/* Dashboard modül kartları */
.module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    width: 100%;
    margin-top: 32px;
}

.module-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 380px;
    padding: 30px 28px;
    overflow: hidden;
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius-lg);
    background: var(--ks-surface);
    box-shadow: var(--ks-shadow-sm);
    transition:
        transform var(--ks-transition),
        box-shadow var(--ks-transition),
        border-color var(--ks-transition);
}

.module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ks-primary), #4ac486);
    opacity: 0;
    transition: opacity var(--ks-transition);
}

.module-card:hover {
    transform: translateY(-7px);
    border-color: var(--ks-border-strong);
    box-shadow: var(--ks-shadow-md);
}

.module-card:hover::before {
    opacity: 1;
}

.module-card-active {
    border-color: rgba(11, 143, 91, 0.32);
    background: linear-gradient(145deg, #f0fbf5 0%, #ffffff 55%);
}

.module-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--ks-primary-soft);
    color: var(--ks-primary-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.module-card h2 {
    margin: 22px 0 12px;
    color: var(--ks-text);
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: -0.35px;
}

.module-card p {
    margin: 0 0 24px;
    color: var(--ks-text-soft);
    line-height: 1.68;
}

.module-card .module-button,
.module-card .module-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin-top: auto;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--ks-primary);
    color: #ffffff !important;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.35;
    box-shadow: 0 8px 20px rgba(11, 143, 91, 0.20);
    transition:
        transform var(--ks-transition),
        background var(--ks-transition),
        box-shadow var(--ks-transition);
}

.module-card .module-button::after {
    content: "→";
    margin-left: 9px;
    font-size: 18px;
    transition: transform var(--ks-transition);
}

.module-card .module-button:hover,
.module-card .module-button:focus,
.module-card .module-button:active {
    background: var(--ks-primary-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(11, 143, 91, 0.28);
}

.module-card .module-button:hover::after {
    transform: translateX(3px);
}

.coming-soon {
    margin-top: auto;
    padding: 11px 13px;
    border-radius: 10px;
    background: #f1f5f3;
    color: var(--ks-muted);
    text-align: center;
}

/* Form ve sonuç kartlarının ortak görünümü */
.card,
.auth-card,
.emission-form-card,
.emission-result-table-card,
.emission-result-card,
.emission-intensity-card,
.activity-row,
.scope-information-card {
    border-color: var(--ks-border);
    box-shadow: var(--ks-shadow-sm);
}

.card:hover,
.emission-form-card:hover,
.emission-result-table-card:hover,
.emission-result-card:hover {
    border-color: var(--ks-border-strong);
}

input,
select,
textarea {
    border-color: #cbdcd3;
    background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--ks-primary);
    box-shadow: 0 0 0 4px rgba(11, 143, 91, 0.11);
}

/* Tablolar */
table {
    border-color: var(--ks-border);
}

th {
    background: var(--ks-primary-dark);
    color: #ffffff;
}

tr:nth-child(even) td {
    background: #f7fbf9;
}

/* Auth */
.auth-card {
    border-radius: 24px;
    box-shadow: var(--ks-shadow-lg);
}

.auth-logo,
.auth-footer a {
    color: var(--ks-primary-dark) !important;
}

/* Footer */
.footer {
    background: #082f21;
}

/* Responsive */
@media (max-width: 1050px) {
    .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .dashboard-main {
        width: min(100% - 32px, 1240px);
        padding-top: 32px;
    }

    .dashboard-welcome {
        padding: 30px 26px;
        border-radius: 20px;
    }

    .module-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .module-card {
        min-height: auto;
        padding: 25px 22px;
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        padding: 0 16px;
    }

    .dashboard-logo {
        font-size: 20px;
    }

    .dashboard-main {
        width: calc(100% - 24px);
    }

    .dashboard-welcome {
        padding: 26px 21px;
    }

    .module-card .module-button {
        min-height: 50px;
    }
}
