/**
 * 4857 İş Kanunu Rehberi - Ana CSS
 * Mobile-first, responsive tasarım
 */

/* ==================== Variables ==================== */
:root {
    /* Colors */
    --primary-color: #FF6B2C;
    --primary-dark: #E85A1F;
    --primary-light: #FF8F5E;
    --secondary-color: #64748b;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #1B2D4F;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #050D1A;
    --gray-100: #0A1628;
    --gray-200: #0F2035;
    --gray-300: #1B2D4F;
    --gray-400: #2A4A7F;
    --gray-500: #64748b;
    --gray-600: #94a3b8;
    --gray-700: #cbd5e1;
    --gray-800: #f1f5f9;
    --gray-900: #ffffff;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Layout */
    --container-max: 1200px;
    --header-height: 70px;
}

/* ==================== Reset ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--gray-800);
    background-color: var(--gray-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

ul,
ol {
    list-style-position: inside;
}

/* ==================== Utilities ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

/* ==================== Buttons - Liquid Glass ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.2s ease;
    text-decoration: none;
}

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

.btn:active {
    transform: translateY(0) scale(0.98);
    transition: transform 0.1s ease;
}

.btn-primary {
    position: relative;
    background: linear-gradient(145deg,
            rgba(255, 107, 44, 0.95) 0%,
            rgba(232, 90, 31, 1) 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 16px rgba(255, 107, 44, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.15) 0%,
            transparent 100%);
    pointer-events: none;
}

.btn-primary:hover {
    background: linear-gradient(145deg,
            rgba(37, 99, 235, 1) 0%,
            rgba(30, 64, 175, 1) 100%);
    color: var(--white);
    box-shadow:
        0 8px 24px rgba(37, 99, 235, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gray-700);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.btn-outline {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--primary-color);
    box-shadow:
        0 2px 8px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: linear-gradient(145deg,
            rgba(255, 107, 44, 0.95) 0%,
            rgba(232, 90, 31, 1) 100%);
    border-color: transparent;
    color: var(--white);
    box-shadow:
        0 4px 16px rgba(255, 107, 44, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-danger {
    position: relative;
    background: linear-gradient(145deg,
            rgba(239, 68, 68, 0.95) 0%,
            rgba(220, 38, 38, 1) 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 16px rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-danger:hover {
    box-shadow:
        0 8px 24px rgba(239, 68, 68, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.0625rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-block {
    width: 100%;
}

/* ==================== Forms ==================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small,
.form-hint {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Cap Info Box */
.cap-info-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border: 1px solid #7dd3fc;
    border-radius: var(--radius-md);
    color: #0369a1;
    font-size: 0.9375rem;
}

.cap-info-box i {
    font-size: 1.25rem;
    color: #0284c7;
}

.cap-info-box strong {
    color: #0c4a6e;
    font-weight: 700;
}

.form-row {
    display: grid;
    gap: var(--spacing-md);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

/* ==================== Alerts ==================== */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-info {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

/* ==================== Header ==================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    overflow: visible;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo:hover {
    color: var(--primary-dark);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: transform 0.3s;
}

.nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: var(--spacing-lg);
    transform: translateX(-100%);
    transition: transform 0.3s;
    overflow-y: auto;
}

.nav.active {
    transform: translateX(0);
}

.nav-list {
    list-style: none;
}

.nav-item {
    border-bottom: 1px solid var(--gray-100);
}

.nav-link {
    display: block;
    padding: var(--spacing-md) 0;
    color: var(--gray-700);
    font-weight: 500;
}

.nav-item.has-dropdown .dropdown {
    display: none;
    padding-left: var(--spacing-lg);
    list-style: none;
    margin: 0;
}

.nav-item.has-dropdown.open .dropdown {
    display: block;
}

.dropdown li {
    list-style: none;
}

.dropdown li a {
    display: block;
    padding: var(--spacing-sm) 0;
    color: var(--gray-600);
    text-decoration: none;
}

.dropdown li a:hover {
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .nav-item.has-dropdown .dropdown {
        display: block;
    }
}

.search-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.search-input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.search-btn {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }

    .nav {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
        gap: var(--spacing-lg);
        padding: 0;
        background: none;
        overflow: visible;
    }

    .nav-list {
        display: flex;
        gap: var(--spacing-xs);
        overflow: visible;
    }

    .nav-item {
        border: none;
        position: relative;
    }

    .nav-link {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-item.has-dropdown>.nav-link {
        padding-right: 1.5rem;
        position: relative;
    }

    .nav-item.has-dropdown>.nav-link::after {
        content: '';
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid currentColor;
        transition: transform 0.2s ease;
    }

    .nav-item.has-dropdown:hover>.nav-link::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .nav-item.has-dropdown>.dropdown {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 5px 10px rgba(0, 0, 0, 0.05);
        border-radius: var(--radius-lg);
        min-width: 240px;
        padding: var(--spacing-sm);
        z-index: 1000;
        border: 1px solid rgba(255, 255, 255, 0.5);
        /* Animation */
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px) scale(0.95);
        transition:
            opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
            visibility 0s linear 0.3s;
        pointer-events: none;
    }

    /* Invisible bridge to prevent losing hover */
    .nav-item.has-dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 15px;
    }

    .nav-item.has-dropdown:hover>.dropdown,
    .nav-item.has-dropdown.open>.dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        transition:
            opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
            visibility 0s linear 0s;
        pointer-events: auto;
    }

    .nav-item.has-dropdown>.dropdown li a {
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-sm);
        display: block;
        color: var(--gray-700);
        white-space: nowrap;
        transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
    }

    .nav-item.has-dropdown>.dropdown li a:hover {
        background: var(--gray-50);
        color: var(--primary-color);
        padding-left: calc(var(--spacing-md) + 4px);
    }

    .search-form {
        margin-top: 0;
    }
}

/* ==================== Breadcrumbs ==================== */
.breadcrumbs {
    background: var(--gray-100);
    padding: var(--spacing-sm) 0;
    font-size: 0.875rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    list-style: none;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: var(--spacing-xs);
    color: var(--gray-400);
}

.breadcrumb-item.active {
    color: var(--gray-500);
}

/* ==================== Main Content ==================== */
.main-content {
    flex: 1;
    padding: var(--spacing-xl) 0;
}

.content-wrapper {
    display: grid;
    gap: var(--spacing-xl);
}

@media (min-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr 300px;
    }
}

/* ==================== Page Header ==================== */
.page-header {
    margin-bottom: var(--spacing-xl);
}

.page-header h1 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.page-description {
    color: var(--gray-600);
    font-size: 1.0625rem;
}

@media (min-width: 640px) {
    .page-header h1 {
        font-size: 2.25rem;
    }
}

/* ==================== Hero - Apple Liquid Glass ==================== */
.hero {
    position: relative;
    padding: var(--spacing-2xl) 0;
    text-align: center;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: var(--spacing-2xl) var(--spacing-xl);
    }
}

/* ==================== Calculator Cards - Liquid Glass ==================== */
.section-title {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card-grid {
    display: grid;
    gap: var(--spacing-lg);
}

@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.calc-card {
    position: relative;
    display: block;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 0.3s ease;
    overflow: hidden;
}

.calc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    border-radius: 20px 20px 50% 50%;
    pointer-events: none;
}

.calc-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow:
        0 12px 40px rgba(37, 99, 235, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.calc-card:active {
    transform: translateY(-2px) scale(0.98);
    transition: transform 0.1s ease;
}

.calc-icon {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
}

.calc-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.calc-card p {
    position: relative;
    z-index: 1;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* Calculator card arrow */
.calc-arrow {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.calc-card:hover .calc-arrow {
    opacity: 1;
    transform: translateX(0);
}

.calc-arrow i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.calc-card:hover .calc-arrow i {
    transform: translateX(3px);
}

/* ==================== Calculator Form - Liquid Glass ==================== */
.calculator-form-section {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
}

.calculator-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 100%);
    pointer-events: none;
}

/* ==================== Calculator Results - Liquid Glass ==================== */
.calculator-results {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
}

.calculator-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 100%);
    pointer-events: none;
}

.calculator-results h2 {
    position: relative;
    z-index: 1;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.result-card {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: var(--spacing-md);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.result-card.result-main {
    background: linear-gradient(145deg,
            rgba(255, 107, 44, 0.9) 0%,
            rgba(232, 90, 31, 0.95) 50%,
            rgba(196, 74, 24, 1) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--white);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(255, 107, 44, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.result-card.result-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%);
    border-radius: 16px 16px 50% 50%;
    pointer-events: none;
}

.result-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: var(--spacing-xs);
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.result-main .result-value {
    font-size: 2rem;
}

.result-note {
    font-size: 0.8125rem;
    opacity: 0.7;
    margin-top: var(--spacing-xs);
}

.result-grid {
    display: grid;
    gap: var(--spacing-md);
}

@media (min-width: 640px) {
    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.result-disclaimer {
    position: relative;
    background: rgba(254, 243, 199, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    font-size: 0.9375rem;
    margin-top: var(--spacing-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.result-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==================== Info Content - Liquid Glass ==================== */
.info-content {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-xl);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.info-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 100%);
    pointer-events: none;
}

.info-content h2 {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.info-content h3 {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    color: var(--gray-800);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.info-content p {
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-md);
    color: var(--gray-700);
}

.info-content ul,
.info-content ol {
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.info-content li {
    margin-bottom: var(--spacing-xs);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-lg);
}

.info-table th,
.info-table td {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--gray-200);
    text-align: left;
}

.info-table th {
    background: var(--gray-100);
    font-weight: 600;
}

/* ==================== Sidebar - Liquid Glass ==================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.widget {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-lg);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 100%);
    pointer-events: none;
}

.widget-title {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.widget-list {
    list-style: none;
}

.widget-list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--gray-100);
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.widget-list a:hover {
    color: var(--primary-color);
}

.widget-list .count {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.widget-list .post-date {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* ==================== Blog - Liquid Glass ==================== */
.blog-grid {
    display: grid;
    gap: var(--spacing-lg);
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blog-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.blog-card:active {
    transform: translateY(-2px) scale(0.99);
    transition: transform 0.1s ease;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: var(--spacing-lg);
}

.blog-category {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.blog-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.blog-title a {
    color: var(--gray-900);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-sm);
}

.blog-date {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

/* ==================== Blog Detail ==================== */
.article-header {
    margin-bottom: var(--spacing-xl);
}

.article-header h1 {
    font-size: 2rem;
    line-height: 1.3;
}

.article-meta {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-top: var(--spacing-md);
}

.article-image {
    margin-bottom: var(--spacing-xl);
}

.article-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.article-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--spacing-xl);
}

.article-content h2 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.article-content h3 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.article-content p {
    margin-bottom: var(--spacing-md);
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.article-tags {
    padding: var(--spacing-md);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin: var(--spacing-xs);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
    padding: var(--spacing-md);
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.share-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--white);
}

.share-twitter {
    background: #1da1f2;
}

.share-facebook {
    background: #4267b2;
}

.share-linkedin {
    background: #0077b5;
}

/* ==================== FAQ - Liquid Glass ==================== */
.faq-accordion {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-question strong {
    font-weight: 700;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.5);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--gray-400);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 var(--spacing-lg);
    color: var(--gray-600);
}

.faq-item.open .faq-answer {
    max-height: 2000px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-answer[hidden] {
    display: block !important;
    max-height: 0;
    padding: 0 var(--spacing-lg);
}

/* FAQ highlight animation (aramadan gelince) */
.faq-item.highlighted {
    animation: faqHighlight 3s ease;
}

@keyframes faqHighlight {

    0%,
    100% {
        background: var(--white);
    }

    20%,
    80% {
        background: #fef3c7;
        box-shadow: 0 0 0 3px #fbbf24;
    }
}

/* ==================== Contact ==================== */
.contact-grid {
    display: grid;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-form-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-xl);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-info {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-xl);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: fit-content;
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-note {
    background: var(--gray-100);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-top: var(--spacing-lg);
}

/* ==================== Search ==================== */
.search-form-large {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.search-form-large input {
    flex: 1;
    padding: var(--spacing-md);
    font-size: 1.125rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.search-results {
    margin-top: var(--spacing-lg);
}

.search-result {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-lg);
    border-radius: 20px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.result-type {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.result-type-blog {
    background: #dbeafe;
    color: #1d4ed8;
}

.result-type-sss {
    background: #fef3c7;
    color: #b45309;
}

.result-type-rehber {
    background: #dcfce7;
    color: #166534;
}

.result-type-sayfa {
    background: #f3e8ff;
    color: #7c3aed;
}

.result-date {
    color: var(--gray-500);
    display: block;
    margin-top: var(--spacing-xs);
}

.search-result h2 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

/* ==================== Error Page ==================== */
.error-page {
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.error-content h1 {
    font-size: 6rem;
    color: var(--primary-color);
    line-height: 1;
}

.error-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.error-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin: var(--spacing-xl) 0;
}

.error-suggestions {
    margin-top: var(--spacing-xl);
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== Pagination ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.page-link {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-700);
}

.page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-info {
    color: var(--gray-500);
}

/* ==================== Footer ==================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: var(--gray-400);
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 0.875rem;
}

.disclaimer {
    color: var(--gray-500);
    font-size: 0.8125rem;
    margin-top: var(--spacing-sm);
}

/* ==================== Cookie Banner ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
    color: var(--white);
    padding: var(--spacing-lg);
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-text p {
    margin: 0 0 0.25rem 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.cookie-text p:first-child {
    font-size: 1rem;
}

.cookie-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-content a:hover {
    color: var(--white);
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.cookie-buttons .btn-link {
    color: var(--gray-400);
    background: transparent;
    border: none;
    text-decoration: underline;
    padding: 0.5rem;
}

.cookie-buttons .btn-link:hover {
    color: var(--white);
}

.cookie-buttons .btn-outline {
    background: transparent;
    border: 1px solid var(--gray-500);
    color: var(--white);
}

.cookie-buttons .btn-outline:hover {
    background: var(--gray-700);
    border-color: var(--gray-400);
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cookie-modal-close:hover {
    color: var(--gray-900);
}

.cookie-modal-body {
    padding: var(--spacing-lg);
}

.cookie-option {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-100);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-option-header label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-option-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.cookie-badge {
    font-size: 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.cookie-option p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    text-align: right;
}

.cookie-modal-footer .btn {
    min-width: 150px;
}

/* ==================== Ad Containers ==================== */
.ad-container {
    background: var(--gray-100);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== Empty State ==================== */
.empty-state {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--gray-500);
}

.empty-state i.fa-3x {
    display: block;
    margin-bottom: var(--spacing-md);
    color: var(--gray-400);
}

.empty-state p {
    margin: 0.5rem 0;
}

.empty-state a {
    color: var(--primary-color);
}

/* ==================== Info Box - Liquid Glass ==================== */
.info-box {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--primary-light);
    padding: var(--spacing-xl);
    border-radius: 24px;
    margin: var(--spacing-xl) 0;
    border: 1px solid rgba(255, 107, 44, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    border-radius: 20px 20px 50% 50%;
    pointer-events: none;
}

.info-box h2,
.info-box h3,
.info-box h4 {
    position: relative;
    z-index: 1;
    color: inherit;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.info-box p,
.info-box a {
    position: relative;
    z-index: 1;
}

/* ==================== Guide Content ==================== */
.guide-content {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-xl);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--spacing-xl);
}

.guide-content h2,
.guide-content h3,
.guide-content h4 {
    color: var(--gray-900);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.guide-content h2:first-child,
.guide-content h3:first-child {
    margin-top: 0;
}

.guide-content p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-700);
}

.guide-content ul,
.guide-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.guide-content li {
    margin-bottom: var(--spacing-xs);
}

.guide-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-content table th,
.guide-content table td {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--gray-200);
    text-align: left;
}

.guide-content table th {
    background: var(--gray-100);
    font-weight: 600;
}

/* Guide content içindeki butonlar için düzeltme */
.guide-content .btn,
.guide-content a.btn {
    display: inline-flex;
    vertical-align: middle;
    margin: var(--spacing-xs);
}

.guide-content p>.btn,
.guide-content p>a.btn {
    margin: var(--spacing-sm) var(--spacing-xs);
}

/* Buton grupları için */
.guide-content .button-group,
.guide-content .btn-group,
.guide-content p:has(.btn) {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
    margin: var(--spacing-md) 0;
}

/* Print Styles ==================== */

/* Ekranda gizle, sadece yazdırırken göster */
.print-only {
    display: none !important;
}

@media print {

    /* Sayfa boyutu ve tek sayfaya sığdırma */
    @page {
        size: A4;
        margin: 8mm;
    }

    /* Print modunda her şeyi gizle */
    body.print-mode * {
        visibility: hidden;
    }

    /* Print modunda sadece print-area'yı göster */
    body.print-mode #print-area,
    body.print-mode #print-area * {
        visibility: visible;
        display: block;
    }

    body.print-mode #print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 15px 25px;
        background: white !important;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 9pt;
    }

    body.print-mode .print-only {
        display: block !important;
    }

    /* Print Header - PDF benzeri */
    body.print-mode .print-header {
        text-align: center;
        border-bottom: 2px solid #2563eb;
        padding-bottom: 8px;
        margin-bottom: 10px;
    }

    body.print-mode .print-header h1 {
        font-size: 14pt;
        color: #2563eb;
        margin: 0 0 4px 0;
        font-weight: 700;
    }

    body.print-mode .print-header .print-subtitle {
        font-size: 8pt;
        color: #64748b;
        margin: 0 0 2px 0;
    }

    body.print-mode .print-header .print-date {
        font-size: 7pt;
        color: #94a3b8;
        margin: 0;
    }

    /* Print Section */
    body.print-mode .print-section {
        margin-bottom: 8px;
    }

    body.print-mode .print-section-title {
        font-size: 9pt;
        font-weight: 700;
        color: #1e293b;
        margin: 0 0 4px 0;
        padding-bottom: 3px;
        border-bottom: 1px solid #e2e8f0;
    }

    /* Print Table - PDF benzeri */
    body.print-mode .print-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 0;
    }

    body.print-mode .print-table tr {
        border-bottom: 1px solid #e2e8f0;
    }

    body.print-mode .print-table tr:last-child {
        border-bottom: none;
    }

    body.print-mode .print-table th,
    body.print-mode .print-table td {
        padding: 4px 8px;
        text-align: left;
        font-size: 8pt;
        border: none;
    }

    body.print-mode .print-table th {
        font-weight: 600;
        color: #475569;
        width: 50%;
        background: transparent !important;
    }

    body.print-mode .print-table td {
        color: #1e293b;
        text-align: right;
    }

    body.print-mode .print-table .total-row th,
    body.print-mode .print-table .total-row td {
        padding-top: 6px;
        font-weight: 700;
    }

    body.print-mode .print-table .total-row td {
        font-size: 11pt;
        color: #2563eb;
    }

    /* Print Warning - Sarı uyarı kutusu */
    body.print-mode .print-warning {
        background-color: #fef9c3 !important;
        border: 1px solid #fde047;
        border-radius: 4px;
        padding: 6px 10px;
        margin: 10px 0;
        font-size: 7pt;
        color: #854d0e;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body.print-mode .print-warning strong {
        color: #a16207;
    }

    /* Print Footer */
    body.print-mode .print-footer {
        margin-top: 8px;
        padding-top: 6px;
        border-top: 1px solid #e2e8f0;
        font-size: 7pt;
        color: #94a3b8;
    }

    body.print-mode .print-footer p {
        margin: 0 0 2px 0;
    }

    body.print-mode .print-source {
        font-size: 7pt;
        color: #2563eb;
    }

    /* Sayfa boşluklarını engelle */
    body.print-mode {
        margin: 0;
        padding: 0;
    }

    /* Boş sayfa sorununu çöz */
    body.print-mode .header,
    body.print-mode .footer,
    body.print-mode .sidebar,
    body.print-mode .calculator-form-section,
    body.print-mode .calculator-result,
    body.print-mode .calculator-results,
    body.print-mode .info-content,
    body.print-mode .ad-container,
    body.print-mode .breadcrumb,
    body.print-mode .no-print {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ==================== Brüt-Net Maaş Hesaplayıcı ==================== */

/* Hesaplama Tipi Toggle */
.calculation-type-toggle {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    background: var(--gray-100);
    padding: var(--spacing-sm);
    border-radius: var(--radius-lg);
}

.toggle-btn {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.toggle-btn:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Form Section */
.form-section {
    background: var(--gray-50);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--gray-200);
}

.form-section h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-800);
    font-size: 1.1rem;
}

.form-section h3 i {
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
}

/* Checkbox Group */
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.checkbox-group label:hover {
    border-color: var(--primary-color);
    background: var(--gray-50);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

/* Result Table Container */
.result-table-container {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.result-table {
    width: 100%;
    border-collapse: collapse;
}

.result-table td {
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
}

.result-table tr:last-child td {
    border-bottom: none;
}

.result-table .text-right {
    text-align: right;
    font-family: monospace;
    font-size: 1.05em;
}

.result-table .total-row td {
    background: var(--gray-50);
    font-weight: 600;
    border-top: 2px solid var(--gray-200);
}

.result-table .discount-row td {
    background: #f0fdf4;
    color: #166534;
}

.result-table .discount-row i {
    margin-right: var(--spacing-xs);
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.comparison-grid .result-card {
    text-align: center;
    padding: var(--spacing-xl);
}

.comparison-grid .highlight-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid var(--primary-color);
}

.comparison-grid .success-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: var(--success-color);
}

.comparison-grid .success-card .result-value {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-success {
    color: var(--success-color);
}

.text-primary {
    color: var(--primary-color);
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.info-card .result-label {
    color: #1e40af;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.info-card .result-label i {
    color: #2563eb;
}

.info-card .result-value {
    font-size: 1.5rem;
    color: #1e40af;
    margin-top: var(--spacing-sm);
}

.info-card small {
    display: block;
    color: #64748b;
    margin-top: var(--spacing-xs);
}

/* Tax Bracket Info */
.tax-bracket-info {
    padding: var(--spacing-md) 0;
}

.tax-bracket-info p {
    margin: var(--spacing-sm) 0;
}

.tax-bracket-info small {
    display: block;
    color: var(--gray-500);
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--gray-200);
}

/* Result Section */
.result-section {
    margin: var(--spacing-2xl) 0;
}

.result-section h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--gray-800);
    font-size: 1.2rem;
}

.result-section h3 i {
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .calculation-type-toggle {
        flex-direction: column;
    }

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

    .form-section {
        padding: var(--spacing-lg);
    }

    .result-table td {
        padding: var(--spacing-sm);
    }
}

/* Print Styles for Gross-Net Calculator */
@media print {
    .calculation-type-toggle {
        display: none;
    }
}

/* ==================== Detailed Salary Table (Verginet Style) ==================== */

.detailed-result-table {
    margin: var(--spacing-2xl) 0;
}

.detailed-result-table h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--gray-800);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.detailed-result-table h3 i {
    color: var(--primary-color);
}

.salary-table-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.salary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

/* Section Headers */
.salary-table .section-header th {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    color: var(--gray-800);
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-300);
}

.salary-table .section-header th i {
    margin-right: var(--spacing-sm);
    color: var(--primary-color);
}

.salary-table .section-header.earnings th {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border-bottom-color: #86efac;
}

.salary-table .section-header.deductions th {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-bottom-color: #fca5a5;
}

.salary-table .section-header.tax-bases th {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-bottom-color: #93c5fd;
}

.salary-table .section-header.discounts th {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    border-bottom-color: #86efac;
}

.salary-table .section-header.net-earning th {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border-bottom-color: #6ee7b7;
}

.salary-table .section-header.employer th {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    border-bottom-color: #93c5fd;
}

/* Table Rows */
.salary-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background-color 0.2s ease;
}

.salary-table tbody tr:hover {
    background-color: var(--gray-50);
}

.salary-table tbody tr:last-child {
    border-bottom: none;
}

.salary-table td {
    padding: var(--spacing-md) var(--spacing-lg);
    vertical-align: middle;
}

/* Column Styles */
.salary-table .col-description {
    width: 50%;
    color: var(--gray-700);
}

.salary-table .col-rate {
    width: 20%;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9em;
}

.salary-table .col-amount {
    width: 30%;
    text-align: right;
    font-family: 'Consolas', 'Monaco', monospace;
    font-weight: 500;
    color: var(--gray-800);
}

/* Special Rows */
.salary-table .highlight-row {
    background-color: #f0fdf4 !important;
}

.salary-table .highlight-row .col-amount {
    color: #166534;
    font-weight: 600;
}

.salary-table .total-row {
    background-color: var(--gray-50);
    border-top: 2px solid var(--gray-300);
}

.salary-table .total-row td {
    font-weight: 600;
    color: var(--gray-900);
}

.salary-table .total-row.employer-total {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.salary-table .total-row.employer-total .col-amount {
    color: #1e40af;
}

.salary-table .success-row {
    background-color: #f0fdf4;
}

.salary-table .success-row .col-amount {
    color: #166534;
}

.salary-table .net-row {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.salary-table .net-row td {
    padding: var(--spacing-lg);
}

.salary-table .net-row .col-description {
    color: #065f46;
    font-size: 1.1em;
}

.salary-table .info-row td {
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--gray-50);
}

.salary-table .info-row small {
    color: var(--gray-500);
    font-style: italic;
}

/* Danger Card */
.comparison-grid .danger-card {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: var(--danger-color);
}

.comparison-grid .danger-card .result-value {
    color: var(--danger-color);
}

/* Info Highlight Card */
.comparison-grid .info-highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: var(--primary-color);
}

/* Tax Bracket Grid */
.tax-bracket-details {
    padding: var(--spacing-lg);
}

.tax-bracket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.tax-bracket-item {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.2s ease;
}

.tax-bracket-item.active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.tax-bracket-item .bracket-rate {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
}

.tax-bracket-item.active .bracket-rate {
    color: var(--primary-color);
}

.tax-bracket-item .bracket-limit {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: var(--spacing-xs);
}

.current-bracket-info {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
}

.current-bracket-info p {
    margin: var(--spacing-xs) 0;
    color: var(--gray-700);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .salary-table {
        font-size: 0.85rem;
    }

    .salary-table td {
        padding: var(--spacing-sm);
    }

    .salary-table .col-rate {
        display: none;
    }

    .tax-bracket-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .salary-table-container {
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }

    .tax-bracket-grid {
        display: flex;
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .tax-bracket-item {
        flex: 1;
        min-width: 100px;
    }
}

/* =====================================================
   YENİ ÖZELLİKLER: Logo, Skeleton, Hero, Micro-interactions
   ===================================================== */

/* ==================== PROFESYONEL LOGO ==================== */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
    color: var(--primary-dark);
    transform: scale(1.02);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 12px 12px 50% 50%;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    position: relative;
    z-index: 1;
}

.logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero banner styles moved to top of file or managed via Tailwind/Custom blobs */

/* ==================== LOADING SKELETON ==================== */
.skeleton {
    background: linear-gradient(90deg,
            var(--gray-200) 25%,
            var(--gray-100) 50%,
            var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Skeleton variants */
.skeleton-text {
    height: 1em;
    margin-bottom: var(--spacing-sm);
}

.skeleton-text-sm {
    height: 0.875em;
    width: 60%;
}

.skeleton-text-lg {
    height: 1.25em;
    width: 80%;
}

.skeleton-title {
    height: 1.5em;
    width: 70%;
    margin-bottom: var(--spacing-md);
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-card {
    height: 120px;
    border-radius: var(--radius-lg);
}

.skeleton-image {
    height: 200px;
    border-radius: var(--radius-lg);
}

.skeleton-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

/* Skeleton card content */
.skeleton-card-content {
    padding: var(--spacing-lg);
}

.skeleton-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

/* Page loader overlay */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-50);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.page-loader-logo svg {
    width: 48px;
    height: 48px;
    fill: white;
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
    }
}

.page-loader-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Content skeleton wrapper */
.content-skeleton {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.content-skeleton.hidden {
    display: none;
}

.content-loaded {
    opacity: 0;
    animation: contentFadeIn 0.5s ease forwards;
}

@keyframes contentFadeIn {
    to {
        opacity: 1;
    }
}

/* ==================== MICRO-INTERACTIONS ==================== */

/* Button ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    transition: 0s;
}

/* Card hover effects */
.calc-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.calc-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.calc-card:hover .calc-icon {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Link hover underline animation */
.nav-link {
    position: relative;
    overflow: visible;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-item:hover .nav-link::before {
    width: calc(100% - 1.5rem);
}

.nav-item:not(.has-dropdown):hover .nav-link::before {
    width: 80%;
}

/* Footer link hover effect */
.footer-section a {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    transform: translateX(5px);
    color: var(--white);
}

.footer-section a:hover::before {
    opacity: 1;
    left: -15px;
}

/* Social links hover */
.social-links a {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--primary-light);
}

/* Article card hover */
.article-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-card:hover img {
    transform: scale(1.05);
}

.article-card img {
    transition: transform 0.5s ease;
}

/* FAQ item hover */
.faq-question {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.05);
    padding-left: calc(var(--spacing-lg) + 8px);
}

/* Search input focus animation */
.search-input {
    transition: all 0.3s ease;
}

.search-input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* Form input focus effects */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Page transition effects */
.main-content {
    animation: pageLoad 0.5s ease;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.card-grid .calc-card:nth-child(1) {
    animation-delay: 0.1s;
}

.card-grid .calc-card:nth-child(2) {
    animation-delay: 0.2s;
}

.card-grid .calc-card:nth-child(3) {
    animation-delay: 0.3s;
}

.card-grid .calc-card:nth-child(4) {
    animation-delay: 0.4s;
}

.card-grid .calc-card:nth-child(5) {
    animation-delay: 0.5s;
}

.calc-card {
    animation: cardFadeIn 0.6s ease backwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Badge pulse animation */
.badge-pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
}

/* Success checkmark animation */
.checkmark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: checkmarkPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkmark i {
    color: white;
    font-size: 12px;
    animation: checkmarkDraw 0.3s ease 0.2s backwards;
}

@keyframes checkmarkPop {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

@keyframes checkmarkDraw {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating animation for icons - DISABLED */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Glow effect on hover */
.glow-hover {
    transition: box-shadow 0.3s ease;
}

.glow-hover:hover {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

/* Shine effect for buttons */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.btn-shine:hover::before {
    left: 100%;
}

/* Mobile nav toggle animation */
.nav-toggle span {
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Dropdown arrow rotation */
.nav-item.has-dropdown .nav-link::after {
    transition: transform 0.3s ease;
}

/* Calculator result number count-up animation placeholder */
.count-up {
    display: inline-block;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gray-900);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: var(--success-color);
}

.toast.error {
    background: var(--danger-color);
}