/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ===== CSS Variables (Figma Design Tokens) ===== */
:root {
    /* Colors */
    --cu-primary: #004024;
    --cu-primary-light: #005A35;
    --cu-primary-dark: #002110;
    --cu-accent: #FEB71A;
    --cu-accent-soft: #FFDEAA;
    --cu-accent-dark: #6B4B00;
    --cu-text: #191C1D;
    --cu-text-secondary: #3F4942;
    --cu-text-muted: #6B7280;
    --cu-border: #BFC9BF;
    --cu-border-light: rgba(191, 201, 191, 0.3);
    --cu-background: #F8F9FA;
    --cu-background-soft: rgba(166, 243, 194, 0.2);
    --cu-success: #A6F3C2;
    --cu-success-soft: rgba(0, 64, 36, 0.05);
    --cu-warning-soft: rgba(255, 222, 170, 0.3);
    --cu-warning: #793F00;
    --cu-white: #FFFFFF;
    --cu-footer-bg: #E1E3E4;
    --cu-green-accent: #8BD7A7;
    --cu-green-soft: rgba(132, 207, 160, 0.8);
    --cu-input-bg: #F8F9FA;

    /* Shadows */
    --shadow-card: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
    --shadow-button: 0px 4px 14px 0px rgba(0, 64, 36, 0.15);
    --shadow-header: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 9999px;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--cu-background);
    color: var(--cu-text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Header ===== */
.header {
    background-color: var(--cu-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-header);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-icon {
    display: flex;
    align-items: center;
    width: 25px;
    height: 25px;
}

.brand-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--cu-white);
}

.brand-text {
    color: var(--cu-white);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.brand-logo {
    display: block;
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.header-nav {
    display: flex;
    align-items: stretch;
    gap: 32px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    color: var(--cu-green-soft);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    transition: color 0.2s, border-color 0.2s;
    border-bottom: 4px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cu-white);
    font-weight: 700;
    border-bottom-color: var(--cu-accent-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s;
}

.icon-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.obs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    background-color: var(--cu-accent);
    border: none;
    border-radius: var(--radius-pill);
    color: var(--cu-accent-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.obs-button:hover {
    transform: translateY(-1px);
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    padding: 48px 40px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.main-content-inner {
    padding: 48px 40px;
}

/* ===== Hero Section ===== */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px;
    background-color: var(--cu-white);
    border: 1px solid var(--cu-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle at 50% 50%, rgba(166, 243, 194, 1) 20%, rgba(166, 243, 194, 0) 20%),
                radial-gradient(circle at 50% 50%, rgba(255, 186, 44, 1) 20%, rgba(255, 186, 44, 0) 20%),
                #ffffff;
    opacity: 0.05;
    pointer-events: none;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 16px;
    background-color: var(--cu-background-soft);
    border-radius: var(--radius-pill);
    color: var(--cu-primary-light);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.hero-badge svg {
    width: 12.57px;
    height: 11.96px;
}

.hero-title {
    color: var(--cu-primary);
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    letter-spacing: -0.02em;
    text-align: center;
}

.hero-description {
    color: var(--cu-text-secondary);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    max-width: 670px;
    padding: 0 41px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    padding-top: 16px;
    width: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: var(--cu-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--cu-white);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.01em;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-shadow: var(--shadow-button);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    background-color: var(--cu-primary-dark);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background-color: var(--cu-white);
    border: 2px solid var(--cu-accent);
    border-radius: var(--radius-sm);
    color: var(--cu-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.01em;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

.hero-note {
    padding-top: 8px;
    color: var(--cu-text-secondary);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
}

/* ===== Bento Grid ===== */
.bento-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.bento-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 16px;
    width: 357.33px;
    background-color: var(--cu-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--cu-primary);
    transition: transform 0.2s, box-shadow 0.2s;
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
}

.bento-card-accent {
    border-top-color: var(--cu-accent);
}

.bento-card-warning {
    border-top-color: var(--cu-warning);
}

.card-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(0, 64, 36, 0.1);
    border-radius: var(--radius-pill);
}

.card-icon-wrap-accent {
    background-color: rgba(254, 183, 26, 0.1);
}

.card-icon-wrap-warning {
    background-color: rgba(121, 63, 0, 0.1);
}

.card-icon-wrap svg {
    width: 27.5px;
    height: 22.5px;
}

.card-icon-wrap-accent svg {
    width: 22.5px;
    height: 25px;
}

.card-icon-wrap-warning svg {
    width: 30px;
    height: 15px;
}

.card-title {
    color: var(--cu-text);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.card-description {
    color: var(--cu-text-secondary);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 16px;
    color: var(--cu-accent);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.2s;
}

.card-link:hover {
    color: #b38000;
}

.card-link-primary {
    color: var(--cu-primary);
}

.card-link-primary:hover {
    color: var(--cu-primary-dark);
}

.card-link-warning {
    color: var(--cu-warning);
}

.card-link-warning:hover {
    color: #5a2f00;
}

.card-link svg {
    width: 9.33px;
    height: 9.33px;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--cu-footer-bg);
    border-top: 1px solid var(--cu-border);
    padding: 0 40px;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand-icon {
    display: flex;
    align-items: center;
    width: 22px;
    height: 18px;
}

.footer-brand-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--cu-primary);
}

.footer-brand-text {
    color: var(--cu-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.01em;
}

.footer-nav {
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.footer-link {
    color: var(--cu-text-secondary);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--cu-primary);
}

.footer-copyright {
    color: var(--cu-text-secondary);
    font-size: 16px;
    line-height: 24px;
}

/* ===== Sorgulama Sayfası ===== */
.inquiry-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.inquiry-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background-color: var(--cu-background-soft);
    border: 1px solid rgba(166, 243, 194, 0.3);
    border-radius: var(--radius-pill);
    color: var(--cu-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.inquiry-hero-title {
    color: var(--cu-primary);
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    letter-spacing: -0.02em;
    text-align: center;
    padding-top: 4px;
}

.inquiry-hero-description {
    color: var(--cu-text-secondary);
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    max-width: 672px;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.inquiry-sidebar {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}

.info-card {
    padding: 24px;
    background-color: var(--cu-white);
    border: 1px solid var(--cu-border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 4px;
    background-color: var(--cu-accent);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.info-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--cu-warning-soft);
    border-radius: var(--radius-pill);
    flex-shrink: 0;
}

.info-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.info-card-title {
    color: var(--cu-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.info-card-desc {
    color: var(--cu-text-secondary);
    font-size: 16px;
    line-height: 24px;
    margin-top: 4px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-item-check {
    padding-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item-check svg {
    width: 16.67px;
    height: 16.67px;
}

.info-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item-title {
    color: var(--cu-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.01em;
}

.info-item-desc {
    color: var(--cu-text-secondary);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.support-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background-color: var(--cu-success-soft);
    border: 1px solid rgba(0, 64, 36, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
}

.support-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--cu-white);
    border-radius: var(--radius-pill);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

.support-icon-wrap svg {
    width: 20px;
    height: 18px;
}

.support-title {
    color: var(--cu-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}

.support-desc {
    color: var(--cu-text-secondary);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    margin-bottom: 16px;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--cu-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.2s;
}

.support-link:hover {
    color: var(--cu-primary-dark);
}

.support-link svg {
    width: 10.67px;
    height: 10.67px;
}

/* ===== Form ===== */
.form-container {
    grid-column: span 8;
    padding: 40px;
    background-color: var(--cu-white);
    border: 1px solid var(--cu-border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 6px;
    background: linear-gradient(90deg, rgba(0, 64, 36, 1) 0%, rgba(139, 215, 167, 1) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.form-label {
    color: var(--cu-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.01em;
}

.form-label .required {
    color: #BA1A1A;
}

.input-wrap {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 13px 12px 14px 40px;
    background-color: var(--cu-input-bg);
    border: 1px solid var(--cu-border);
    border-radius: var(--radius-sm);
    color: var(--cu-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
    color: var(--cu-text-muted);
    font-size: 16px;
    line-height: 24px;
}

.form-input:focus {
    outline: none;
    border-color: var(--cu-primary);
    box-shadow: 0 0 0 3px rgba(0, 64, 36, 0.1);
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.form-row {
    display: flex;
    gap: 24px;
    width: 100%;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 50%;
}

.date-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background-color: var(--cu-input-bg);
    border: 1px solid var(--cu-border);
    border-radius: var(--radius-sm);
    color: var(--cu-text-secondary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.date-input:focus {
    outline: none;
    border-color: var(--cu-primary);
}

.date-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.date-icon svg {
    width: 18px;
    height: 20px;
}

.form-submit-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid var(--cu-border-light);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background-color: var(--cu-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--cu-white);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.01em;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-button);
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
}

.btn-submit:hover {
    transform: translateY(-1px);
    background-color: var(--cu-primary-dark);
}

.btn-submit svg {
    width: 18px;
    height: 18px;
}

/* ===== Alert Messages ===== */
.alert {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 20px;
}

.alert-error {
    background-color: #FDECEA;
    border: 1px solid #F5C6CB;
    color: #BA1A1A;
}

.alert-success {
    background-color: #E8F8EE;
    border: 1px solid #BFEBD0;
    color: var(--cu-primary);
}

/* ===== Success Page ===== */
.success-hero {
    padding: 48px 223px;
    background-color: var(--cu-white);
    border: 1px solid var(--cu-border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    text-align: center;
}


.success-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--cu-success);
    border-radius: var(--radius-pill);
    margin: 0 auto 8px;
    z-index: 1;
}

.success-icon-wrap svg {
    width: 33px;
    height: 27px;
}

.success-title {
    color: var(--cu-primary);
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 8px;
}

.success-desc {
    color: var(--cu-text-secondary);
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    padding: 0 11px;
}

.success-number-box {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    margin-top: 24px;
    background-color: #F3F4F5;
    border: 1px solid rgba(0, 64, 36, 0.2);
    border-radius: var(--radius-md);
}

.success-number-label {
    color: var(--cu-text-secondary);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.success-number-value {
    color: var(--cu-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.1em;
}

.success-info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.success-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px;
    background-color: #F3F4F5;
    border: 1px solid rgba(0, 64, 36, 0.2);
    border-radius: var(--radius-md);
    min-width: 200px;
}

.success-info-label {
    color: var(--cu-text-secondary);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.success-info-value {
    color: var(--cu-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}

.success-info-subvalue {
    color: var(--cu-text-secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.cubis-notice {
    margin-top: 20px;
}

.cubis-notice a {
    color: var(--cu-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cubis-link {
    margin-top: 20px;
    font-weight: 600;
}

.cubis-link a {
    color: var(--cu-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cubis-credentials-box {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
    padding: 12px 24px;
    background-color: #F3F4F5;
    border: 1px solid rgba(0, 64, 36, 0.2);
    border-radius: var(--radius-md);
}

.cubis-credentials-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cubis-credentials-label {
    color: var(--cu-text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cubis-credentials-value {
    color: var(--cu-primary);
    font-size: 16px;
    font-weight: 700;
}

.copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--cu-primary);
}

.copy-button:hover {
    color: var(--cu-primary-dark);
}

.copy-button svg {
    width: 17px;
    height: 20px;
}

/* ===== Department Section ===== */
.section-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.section-header-icon {
    display: flex;
    align-items: center;
}

.section-header-icon svg {
    width: 25px;
    height: 25px;
}

.section-title {
    color: var(--cu-text);
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.01em;
}

.dept-card {
    padding: 32px;
    background-color: var(--cu-white);
    border-top: 4px solid var(--cu-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.dept-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--cu-border-light);
    margin-bottom: 32px;
}

.dept-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dept-title {
    color: var(--cu-primary);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.dept-code {
    color: var(--cu-text-secondary);
    font-size: 16px;
    line-height: 24px;
}

.dept-badges {
    display: flex;
    align-items: stretch;
}

.dept-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background-color: var(--cu-success);
    border-radius: var(--radius-pill);
    color: var(--cu-primary-dark);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
}

.accreditation-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: #F3F4F5;
    border: 1px solid var(--cu-border-light);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.accreditation-badge {
    padding: 4px 8px;
    background-color: var(--cu-primary);
    border-radius: 4px;
    color: var(--cu-white);
    font-family: 'Nimbus Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.accreditation-text {
    color: var(--cu-text-secondary);
    font-size: 16px;
    line-height: 24px;
}

.accreditation-text strong {
    font-weight: 700;
    color: var(--cu-text);
}

.dept-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.dept-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    flex: 1;
}

.dept-col-title {
    color: var(--cu-text-secondary);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cu-border-light);
}

.dept-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dept-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s;
}

.dept-info-item:hover {
    background-color: var(--cu-background);
}

.dept-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cu-text);
    font-size: 16px;
    line-height: 24px;
}

.dept-info-label svg {
    width: 22px;
    height: 16px;
}

.dept-info-value {
    color: var(--cu-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.dept-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dept-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--cu-border-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dept-link-item:hover {
    border-color: var(--cu-primary);
    box-shadow: var(--shadow-card);
}

.dept-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 12px;
}

.dept-link-icon svg {
    width: 20px;
    height: 20px;
}

.dept-link-content {
    flex: 1;
}

.dept-link-title {
    color: var(--cu-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.dept-link-arrow {
    display: flex;
    align-items: center;
}

.dept-link-arrow svg {
    width: 7.4px;
    height: 12px;
}

/* ===== Kampüse Hazırlık ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

.step-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 32px;
    gap: 20px;
    background-color: var(--cu-white);
    border-top: 4px solid var(--cu-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
}

.step-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.step-icon-orange {
    background-color: #FFDCC3;
}

.step-icon-orange svg {
    width: 24px;
    height: 24px;
}

.step-icon-yellow {
    background-color: var(--cu-accent-soft);
}

.step-icon-yellow svg {
    width: 28px;
    height: 20px;
}

.step-icon-green {
    background-color: var(--cu-success);
}

.step-icon-green svg {
    width: 24px;
    height: 24px;
}

.step-icon-red {
    background-color: #FFDAD6;
}

.step-icon-red svg {
    width: 22px;
    height: 26px;
}

.step-icon-blue {
    background-color: #D6E9FF;
}

.step-icon-blue svg {
    width: 24px;
    height: 24px;
}

.step-icon-teal {
    background-color: #D2F1EA;
}

.step-icon-teal svg {
    width: 24px;
    height: 24px;
}

.step-icon-pink {
    background-color: #FBD9E8;
}

.step-icon-pink svg {
    width: 24px;
    height: 24px;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-title {
    color: var(--cu-text);
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.01em;
}

.step-desc {
    color: var(--cu-text-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid,
    .dept-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .bento-card {
        width: 100%;
    }

    .inquiry-grid {
        grid-template-columns: 1fr;
    }

    .inquiry-sidebar,
    .form-container {
        grid-column: span 1;
    }

    /* Formu her zaman önce göster; bilgilendirme/destek kartları arkasından gelsin */
    .form-container {
        order: 1;
    }

    .inquiry-sidebar {
        order: 2;
    }

    .header-container {
        position: relative;
    }

    .header-actions .menu-toggle {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 82vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        margin: 0;
        padding: 96px 24px 24px;
        background-color: var(--cu-primary);
        box-shadow: -10px 0 28px rgba(0, 0, 0, 0.30);
        overflow-y: auto;
        transform: translateX(102%);
        transition: transform 0.32s ease;
        max-height: none;
        max-width: none;
    }

    .header-nav.open {
        transform: translateX(0);
    }

    .redirect-gutter {
        display: block;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 96;
        background-color: rgba(0, 0, 0, 0.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

    .inquiry-hero-title,
    .success-title,
    .hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .success-hero {
        padding: 32px;
    }

    .dept-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .accreditation-box {
        flex-direction: column;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .main-content {
        padding: 0 20px;
    }

    .main-content-inner {
        padding: 32px 20px;
    }

    .header-container {
        padding: 16px 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-col {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 32px 24px;
    }

    .hero-description {
        padding: 0;
        font-size: 16px;
    }

    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-actions {
        gap: 8px;
    }

    .obs-button {
        padding: 8px 16px;
    }

    .inquiry-hero-description {
        font-size: 16px;
    }

    .form-container {
        padding: 24px;
    }

    .btn-primary,
    .btn-outline,
    .btn-submit {
        width: 100%;
    }

}

/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 200;
    padding: 12px 20px;
    background-color: var(--cu-primary);
    color: var(--cu-white);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus-visible {
    top: 0;
}

/* ===== Focus States (görünür klavye odağı) ===== */
.nav-link:focus-visible,
.menu-toggle:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-submit:focus-visible,
.obs-button:focus-visible,
.copy-button:focus-visible,
.footer-link:focus-visible,
.support-link:focus-visible,
.card-link:focus-visible,
.step-card:focus-visible,
.dept-link-item:focus-visible,
.header-brand:focus-visible {
    outline: 3px solid var(--cu-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ===== Toast Bildirim ===== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 150%);
    z-index: 300;
    padding: 14px 22px;
    max-width: calc(100vw - 48px);
    background-color: var(--cu-primary);
    color: var(--cu-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-button);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.toast.visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.toast.error {
    background-color: #BA1A1A;
}

/* ===== Karşılama Popup ===== */
.welcome-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-color: rgba(0, 20, 12, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Author kuralları [hidden] için varsayılan display:none'ı ezmesin diye özellikle belirtiliyor */
.welcome-popup-overlay[hidden] {
    display: none;
}

.welcome-popup-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.welcome-popup {
    position: relative;
    max-width: 480px;
    width: 100%;
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.welcome-popup-overlay.visible .welcome-popup {
    opacity: 1;
}

.welcome-popup-image {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
}

.welcome-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--cu-primary, #004024);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.welcome-popup-close svg {
    width: 16px;
    height: 16px;
}

/* ===== Yükleniyor (Submit) Durumu ===== */
.btn-loading {
    pointer-events: none;
    opacity: 0.8;
    position: relative;
    color: transparent;
}

.btn-loading svg {
    opacity: 0;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: var(--cu-white);
    border-radius: 50%;
    animation: cu-spin 0.7s linear infinite;
}

@keyframes cu-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Mobil Menü Toggle ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--cu-white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Dokunma & Odak İyileştirmeleri ===== */
button,
a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* ===== Başlık Dizgi Dengesi ===== */
.hero-title,
.inquiry-hero-title,
.success-title,
.card-title,
.section-title,
.info-card-title {
    text-wrap: balance;
}

/* ===== Hero Reveal Animasyonları ===== */
@keyframes cu-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    animation: cu-fade-up 0.6s ease backwards;
}

.hero-title {
    animation: cu-fade-up 0.6s ease 0.1s backwards;
}

.hero-description {
    animation: cu-fade-up 0.6s ease 0.2s backwards;
}

.hero-actions {
    animation: cu-fade-up 0.6s ease 0.3s backwards;
}

.hero-note {
    animation: cu-fade-up 0.6s ease 0.4s backwards;
}

/* ===== Hero Dekoratif Kampüs Arka Planı ===== */
.hero-section::before {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    opacity: 1;
    background:
        radial-gradient(circle at 16% 20%, rgba(166, 243, 194, 0.55) 0px, rgba(166, 243, 194, 0.16) 150px, transparent 280px),
        radial-gradient(circle at 84% 24%, rgba(255, 186, 44, 0.45) 0px, rgba(255, 186, 44, 0.14) 160px, transparent 300px),
        radial-gradient(circle at 50% 104%, rgba(0, 64, 36, 0.12) 0px, transparent 260px);
}

.hero-section::after {
    content: '';
    position: absolute;
    right: 36px;
    bottom: 36px;
    width: 110px;
    height: 110px;
    background-image: radial-gradient(circle, rgba(0, 64, 36, 0.18) 1.5px, transparent 1.6px);
    background-size: 18px 18px;
    opacity: 0.4;
    pointer-events: none;
}

/* ===== Kampüse Hazırlık Kartı Stagger Reveal ===== */
.step-card:nth-child(1) {
    animation: cu-fade-up 0.5s ease 0.05s backwards;
}
.step-card:nth-child(2) {
    animation: cu-fade-up 0.5s ease 0.12s backwards;
}
.step-card:nth-child(3) {
    animation: cu-fade-up 0.5s ease 0.19s backwards;
}
.step-card:nth-child(4) {
    animation: cu-fade-up 0.5s ease 0.26s backwards;
}
.step-card:nth-child(5) {
    animation: cu-fade-up 0.5s ease 0.33s backwards;
}

/* ===== Sonuç Sayfası Kişisel Karşılama ===== */
@keyframes cu-pop {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-greeting {
    color: var(--cu-primary);
    font-size: 28px;
    font-weight: 800;
    line-height: 36px;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
    animation: cu-pop 0.5s ease both;
}

.success-badge {
    margin-bottom: 12px;
}

.academic-calendar-notice {
    margin-top: 20px;
    font-weight: 600;
}

.academic-calendar-notice a {
    color: var(--cu-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.success-title {
    animation: cu-pop 0.5s ease 0.08s backwards;
}

.success-desc {
    animation: cu-pop 0.5s ease 0.16s backwards;
}

.success-number-box {
    animation: cu-pop 0.5s ease 0.24s backwards;
}

.success-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--cu-primary), var(--cu-accent), var(--cu-success));
    pointer-events: none;
}

.success-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 230px;
    height: 230px;
    background: radial-gradient(circle, rgba(166, 243, 194, 0.45), transparent 70%);
    pointer-events: none;
}

/* ===== Header Aksiyonları & Tema Anahtarı ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--radius-pill);
    background-color: rgba(255, 255, 255, 0.14);
    color: var(--cu-white);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

/* ===== Karanlık Tema ===== */
:root {
    --cu-body-warm: #FDFCFA;
    --cu-surface: #FFFFFF;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --cu-body-warm: #10150F;
    --cu-primary: #0E4A34;
    --cu-primary-light: #126146;
    --cu-primary-dark: #082B1E;
    --cu-accent: #FFC24D;
    --cu-accent-soft: #3E3112;
    --cu-accent-dark: #FFD98A;
    --cu-text: #EAF1EA;
    --cu-text-secondary: #C3D1C5;
    --cu-text-muted: #95A698;
    --cu-border: #3A4A3E;
    --cu-border-light: rgba(191, 201, 191, 0.14);
    --cu-background: #0E1410;
    --cu-background-soft: rgba(166, 243, 194, 0.08);
    --cu-success: rgba(166, 243, 194, 0.18);
    --cu-success-soft: rgba(0, 64, 36, 0.28);
    --cu-warning-soft: rgba(255, 222, 170, 0.1);
    --cu-warning: #FFC24D;
    --cu-white: #FFFFFF;
    --cu-surface: #18211A;
    --cu-footer-bg: #0A100C;
    --cu-green-accent: #5FAF7D;
    --cu-green-soft: rgba(139, 215, 167, 0.7);
    --cu-input-bg: #121A14;
    --shadow-card: 0px 4px 20px 0px rgba(0, 0, 0, 0.45);
    --shadow-button: 0px 4px 14px 0px rgba(0, 0, 0, 0.5);
    --shadow-header: 0px 2px 4px -2px rgba(0, 0, 0, 0.5), 0px 4px 6px -1px rgba(0, 0, 0, 0.5);
}

/* Karanlık temada kart/panel zeminleri (--cu-surface) */
html[data-theme="dark"] .hero-section,
html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .bento-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .support-card,
html[data-theme="dark"] .support-icon-wrap,
html[data-theme="dark"] .form-container,
html[data-theme="dark"] .success-hero,
html[data-theme="dark"] .success-number-box,
html[data-theme="dark"] .success-info-item,
html[data-theme="dark"] .cubis-credentials-box,
html[data-theme="dark"] .dept-card,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .alert-success,
html[data-theme="dark"] .alert-warning {
    background-color: var(--cu-surface);
}

html[data-theme="dark"] .alert-success {
    border-color: #1E4A33;
    color: #CBE7D4;
}

html[data-theme="dark"] .alert-warning {
    border-color: #5A4A20;
    color: #F2DFC0;
}

html[data-theme="dark"] .success-number-box,
html[data-theme="dark"] .success-info-item,
html[data-theme="dark"] .cubis-credentials-box {
    border-color: var(--cu-border);
}

html[data-theme="dark"] .success-info-value {
    color: var(--cu-text);
}

html[data-theme="dark"] .cubis-credentials-value {
    color: var(--cu-text);
}

html[data-theme="dark"] .copy-button {
    color: var(--cu-text);
}

html[data-theme="dark"] .copy-button:hover {
    color: var(--cu-accent);
}

/* Karanlık temada başlıklar okunur kalsın (--cu-primary ile boyananlar açılır) */
html[data-theme="dark"] .main-content h1,
html[data-theme="dark"] .main-content h2,
html[data-theme="dark"] .main-content h3,
html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .inquiry-hero-title,
html[data-theme="dark"] .card-title,
html[data-theme="dark"] .step-title,
html[data-theme="dark"] .info-card-title,
html[data-theme="dark"] .dept-title,
html[data-theme="dark"] .success-title,
html[data-theme="dark"] .success-greeting,
html[data-theme="dark"] .success-number-value,
html[data-theme="dark"] .news-title {
    color: var(--cu-text);
}

/* Karanlık temada diğer --cu-primary yazı rengi kullananlar da okunur kalsın */
html[data-theme="dark"] .footer-brand-text,
html[data-theme="dark"] .footer-link,
html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .inquiry-hero-title,
html[data-theme="dark"] .info-card-title,
html[data-theme="dark"] .support-title,
html[data-theme="dark"] .support-link,
html[data-theme="dark"] .card-link-primary,
html[data-theme="dark"] .dept-title,
html[data-theme="dark"] .accreditation-badge,
html[data-theme="dark"] .success-title,
html[data-theme="dark"] .success-greeting,
html[data-theme="dark"] .success-number-value {
    color: var(--cu-text);
}

html[data-theme="dark"] .footer-link:hover,
html[data-theme="dark"] .support-link:hover,
html[data-theme="dark"] .card-link-primary:hover {
    color: var(--cu-accent);
}

html[data-theme="dark"] .hero-badge,
html[data-theme="dark"] .inquiry-hero-badge {
    color: var(--cu-text-secondary);
}

/* ===== Sıcak & Samimi Görünüm ===== */
body {
    background:
        radial-gradient(circle at 14% 0%, rgba(254, 183, 26, 0.10), transparent 42%),
        radial-gradient(circle at 88% 100%, rgba(0, 64, 36, 0.07), transparent 46%),
        linear-gradient(180deg, var(--cu-body-warm) 0%, var(--cu-background) 42%);
    background-attachment: fixed;
}

.btn-primary,
.btn-outline,
.btn-submit {
    border-radius: var(--radius-pill);
}

.step-icon-purple {
    background-color: #EFE0FF;
}
.step-icon-purple svg {
    width: 26px;
    height: 26px;
}

/* Tüm adım ikonlarını aynı ölçekte tut */
.step-icon-wrap svg {
    width: 26px;
    height: 26px;
}

/* Dış sayfadan gelen program içeriği */
.dept-remote {
    margin-top: 8px;
}
.dept-remote > *:first-child {
    margin-top: 0;
}
.dept-remote p,
.dept-remote li {
    line-height: 1.65;
}
.dept-remote-empty {
    color: var(--cu-text-secondary);
    font-size: 14px;
    padding: 16px;
    background: var(--cu-background-soft);
    border-radius: var(--radius-md);
}

/* --- Dış içeriği tablo/grid görünümüne çevir --- */
.dept-remote .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    align-items: stretch;
}
.dept-remote .col-md-6 {
    min-width: 0;
    width: 100%;
}
.dept-remote .clear {
    display: none;
}
.dept-remote .fancy-title.title-border {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    color: var(--cu-text);
    margin: 6px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cu-border);
}
.dept-remote .fancy-title.title-border::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 54px;
    height: 3px;
    background: var(--cu-accent);
    border-radius: 2px;
}
.dept-remote h2 {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 6px;
    color: var(--cu-text);
}
.dept-remote .card.event-meta {
    background: var(--cu-surface);
    border: 1px solid var(--cu-border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 18px 20px;
    height: 100%;
}
.dept-remote ul.portfolio-meta {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dept-remote .portfolio-meta li {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px 0;
    border-bottom: 1px solid var(--cu-border-light);
    font-size: 14px;
    color: var(--cu-text-secondary);
}
.dept-remote .portfolio-meta li:last-child {
    border-bottom: none;
}
.dept-remote .portfolio-meta li > span:first-child {
    color: var(--cu-text-muted);
}
/* Linklerin link olduğu belli olsun */
.dept-remote a {
    color: var(--cu-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.dept-remote a:hover {
    color: var(--cu-accent-dark);
}
/* --- Akredite / TYÇ rozetleri vurgulu --- */
.dept-remote .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    background: var(--cu-success);
    color: var(--cu-primary-dark);
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.4;
    margin-right: 6px;
    box-shadow: var(--shadow-card);
}
/* "Bu program <MÜDEK> tarafından akredite edilmiştir" tek satırda, MÜDEK kalın */
.dept-remote .card-body div {
    display: inline;
}
.dept-remote .card-body .badge {
    display: inline-flex;
    font-weight: 800;
}
/* Etiket rozeti (Akredite Program / Türkiye Yeterlilikler Çerçevesi) kendi satırında */
.dept-remote .card-body .badge:first-child {
    display: flex;
    width: fit-content;
    margin-bottom: 8px;
}
.dept-remote a.btn {
    display: inline-block;
    text-decoration: none;
    background: var(--cu-primary);
    color: var(--cu-white);
    font-weight: 600;
    margin-top: 8px;
    padding: 7px 16px;
    border-radius: 999px;
}

/* --- Karanlık mod düzenlemeleri (dış içerik) --- */
html[data-theme="dark"] .dept-remote .badge {
    background: rgba(255, 194, 77, 0.18);
    color: var(--cu-accent);
}
html[data-theme="dark"] .dept-remote a.btn {
    background: var(--cu-accent);
    color: #201a12;
}
html[data-theme="dark"] .dept-remote a {
    color: #6fbf8a;
}

/* ===== Konfeti (başarılı öğrenci no sorgusu) ===== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 250;
    overflow: hidden;
}
.confetti-piece {
    position: absolute;
    top: -16px;
    will-change: transform, opacity;
    animation-name: confetti-fall;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.35, 1);
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes confetti-fall {
    0% {
        transform: translate3d(0, -10px, 0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate3d(var(--sway, 30px), 108vh, 0) rotate(var(--rot, 720deg));
        opacity: 0.6;
    }
}

/* ===== Tam Mobil Uyumluluk İyileştirmeleri ===== */
@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .hero-section {
        padding: 36px 20px;
    }
    .hero-title,
    .inquiry-hero-title,
    .success-title {
        font-size: 30px;
        line-height: 38px;
    }
    .hero-description {
        font-size: 16px;
        line-height: 24px;
    }
    .section-title {
        font-size: 26px;
        line-height: 34px;
    }
    .step-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 16px;
    }
    .inquiry-sidebar {
        gap: 16px;
    }
    .info-card,
    .support-card {
        padding: 20px;
    }
    .form-container {
        padding: 24px 20px;
    }
    .success-hero {
        padding: 32px 20px;
    }
    .success-number-box {
        flex-wrap: wrap;
        justify-content: center;
    }
    .form-row {
        gap: 16px;
    }
    .main-content {
        padding: 24px 14px;
    }
    .header-container {
        padding: 12px 14px;
    }
    .brand-logo {
        height: 32px;
    }
    .footer-container {
        padding: 24px 16px;
    }
    .footer-nav {
        gap: 14px;
    }
    .info-item {
        padding: 12px 0;
    }
    .form-submit-row {
        justify-content: stretch;
        flex-wrap: wrap;
    }
    .form-submit-row .btn-primary {
        width: 100%;
        padding: 16px 20px;
        white-space: nowrap;
    }
    .form-submit-row .btn-primary svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
}

/* ===== Azaltılmış Hareket Desteği ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Konfeti, azaltılmış harekette de çalışsın (kullanıcının istediği kutlama efekti) */
@media (prefers-reduced-motion: reduce) {
    body .confetti-container span {
        animation-duration: 3s !important;
        animation-delay: 0.15s !important;
    }
}
