:root {
    --primary: #1294b8;
    --secondary: #0fb8a6;
    --accent: #5fbf67;
    --dark: #0f172a;
    --muted: #64748b;
    --surface: #ffffff;
    --surface-alt: #f4fbfd;
    --border-color: rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(18, 148, 184, 0.18);
    --shadow-md: 0 16px 35px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--dark);
    background: linear-gradient(180deg, #f7feff 0%, #ffffff 55%, #f6fff8 100%);
}

.section-padding {
    padding: 96px 0;
}

.bg-soft {
    background: linear-gradient(145deg, rgba(18, 148, 184, 0.08), rgba(15, 184, 166, 0.08));
}

.glass-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
}

.hero-gradient {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    padding: 0 2.5rem 3.5rem;
}

.hero-slider .carousel-item {
    min-height: 520px;
}

.hero-slider.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}

.hero-slider.carousel-fade .carousel-item.active,
.hero-slider.carousel-fade .carousel-item.carousel-item-start,
.hero-slider.carousel-fade .carousel-item.carousel-item-end {
    opacity: 1;
}

.hero-slide-copy > *,
.hero-slide-media {
    opacity: 0;
    transform: translateY(24px);
}

.hero-slide-media {
    transform: translateX(36px) scale(0.96);
    transition: transform 1.1s ease, opacity 1.1s ease;
}

.hero-slider .carousel-item.is-active .hero-slide-copy > * {
    animation: heroRevealUp 0.8s ease forwards;
}

.hero-slider .carousel-item.is-active .hero-slide-copy > *:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-slider .carousel-item.is-active .hero-slide-copy > *:nth-child(2) {
    animation-delay: 0.25s;
}

.hero-slider .carousel-item.is-active .hero-slide-copy > *:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-slider .carousel-item.is-active .hero-slide-copy > *:nth-child(4) {
    animation-delay: 0.55s;
}

.hero-slider .carousel-item.is-active .hero-slide-media {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition-delay: 0.25s;
}

.hero-control {
    width: 52px;
    height: 52px;
    top: auto;
    bottom: 0;
    opacity: 1;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.hero-control.carousel-control-prev {
    left: auto;
    right: 72px;
}

.hero-control.carousel-control-next {
    right: 0;
}

.hero-control .carousel-control-prev-icon,
.hero-control .carousel-control-next-icon {
    filter: invert(38%) sepia(62%) saturate(1073%) hue-rotate(154deg) brightness(90%) contrast(91%);
}

.hero-indicators {
    margin-bottom: 0;
    justify-content: flex-start;
    left: 0;
    right: auto;
    bottom: 10px;
}

.hero-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background-color: rgba(18, 148, 184, 0.28);
}

.hero-indicators .active {
    background-color: var(--primary);
}

.hero-gradient::before,
.hero-gradient::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.45;
    z-index: 0;
}

.hero-gradient::before {
    top: -120px;
    left: -80px;
    background: rgba(18, 148, 184, 0.35);
}

.hero-gradient::after {
    right: -60px;
    bottom: -140px;
    background: rgba(95, 191, 103, 0.28);
}

@keyframes heroRevealUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.navbar {
    padding: 18px 0;
}

.navbar-toggler {
    border: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(18, 148, 184, 0.08);
    box-shadow: 0 10px 24px rgba(18, 148, 184, 0.12);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(18, 148, 184, 0.18);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.site-brand {
    display: inline-flex;
    align-items: center;
}

.site-brand-logo {
    max-height: 52px;
    width: auto;
}

.mobile-nav-head,
.mobile-nav-backdrop {
    display: none;
}

.mobile-nav-close {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: rgba(18, 148, 184, 0.08);
    color: var(--dark);
}

.nav-link {
    font-weight: 600;
    color: var(--dark);
}

.nav-link.active {
    color: var(--primary) !important;
}

.header-action-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.header-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    gap: 8px;
    white-space: nowrap;
    font-size: 0.89rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.header-action-btn i {
    font-size: 0.92rem;
}

.header-login-btn {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(18, 148, 184, 0.16);
    box-shadow: 0 10px 22px rgba(18, 148, 184, 0.08);
}

.header-login-btn:hover,
.header-login-btn:focus {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(18, 148, 184, 0.26);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(18, 148, 184, 0.14);
}

.header-register-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 24px rgba(18, 148, 184, 0.18);
}

.header-purchase-btn {
    color: #fff;
    background: linear-gradient(135deg, #0e7490, #14b8a6);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.18);
}

.header-register-btn:hover,
.header-register-btn:focus,
.header-purchase-btn:hover,
.header-purchase-btn:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(18, 148, 184, 0.24);
    filter: saturate(1.08) brightness(1.02);
}

.header-action-btn.btn-animated:hover,
.header-action-btn.btn-animated-outline:hover {
    transform: translateY(-3px) scale(1.01);
}

.header-action-btn.btn-animated:hover {
    box-shadow: 0 16px 30px rgba(18, 148, 184, 0.24);
    animation: none;
}

.header-action-btn.btn-animated-outline:hover {
    box-shadow: 0 12px 24px rgba(18, 148, 184, 0.12);
    animation: none;
}

.header-action-btn.btn-animated::after,
.header-action-btn.btn-animated-outline::after {
    width: 70%;
}

.header-action-btn.btn-animated::before,
.header-action-btn.btn-animated-outline::before {
    inset: -1px;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(18, 148, 184, 0.12);
    color: var(--primary);
    font-weight: 700;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-hero {
    padding-top: 72px;
    padding-bottom: 48px;
}

.hero-text,
.section-text {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.btn-brand {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-size: 200% 200%;
    color: #fff;
    border: 0;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 14px 24px rgba(18, 148, 184, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.45s ease, filter 0.3s ease;
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-2px);
    background-position: 100% 50%;
    filter: saturate(1.08) brightness(1.03);
}

.btn-outline-brand {
    border: 1px solid rgba(18, 148, 184, 0.16);
    color: var(--primary);
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 14px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.btn-animated,
.btn-animated-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    will-change: transform, box-shadow;
}

.btn-animated::after,
.btn-animated-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 90%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-animated::before,
.btn-animated-outline::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.28), transparent 65%);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: -1;
}

.btn-animated-outline::before {
    background: radial-gradient(circle at center, rgba(18, 148, 184, 0.2), transparent 65%);
}

.btn-animated:hover,
.btn-animated-outline:hover {
    transform: translateY(-5px) scale(1.03);
}

.btn-animated:hover::after,
.btn-animated-outline:hover::after {
    left: 130%;
}

.btn-animated:hover::before,
.btn-animated-outline:hover::before {
    opacity: 1;
    transform: scale(1.06);
}

.btn-animated:hover {
    box-shadow: 0 18px 34px rgba(18, 148, 184, 0.32);
    animation: headerButtonHoverPulse 0.7s ease;
}

.btn-animated-outline:hover {
    box-shadow: 0 12px 24px rgba(18, 148, 184, 0.18);
    border-color: rgba(18, 148, 184, 0.28);
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary);
    animation: headerButtonHoverPulse 0.7s ease;
}

.btn-animated:focus-visible,
.btn-animated-outline:focus-visible {
    outline: none;
    transform: translateY(-3px) scale(1.01);
}

@keyframes headerButtonHoverPulse {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.04);
    }

    100% {
        transform: translateY(-5px) scale(1.03);
    }
}

.hero-visual,
.about-visual,
.section-visual {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.metric-card,
.feature-card,
.info-card,
.contact-card {
    height: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.metric-card {
    padding: 24px;
}

.metric-card h3 {
    font-size: 2rem;
    font-weight: 800;
}

.feature-card {
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(18, 148, 184, 0.12), rgba(15, 184, 166, 0.18));
    color: var(--primary);
    font-size: 1.55rem;
}

.feature-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.section-kicker {
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
}

.info-card {
    padding: 32px;
}

.timeline-card {
    border-left: 4px solid var(--accent);
    padding: 28px;
    border-radius: 0 20px 20px 0;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.contact-card {
    padding: 36px;
}

.contact-panel-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(18, 148, 184, 0.12);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
}

.contact-item i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(18, 148, 184, 0.1);
    color: var(--primary);
}

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

.contact-action-btn {
    min-height: 56px;
    gap: 10px;
    font-size: 1rem;
}

.contact-action-note {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.footer {
    padding: 32px 0 48px;
    color: var(--muted);
}

.footer-cta {
    padding-top: 16px;
}

.footer-cta-shell {
    padding-left: clamp(18px, 3vw, 42px);
    padding-right: clamp(18px, 3vw, 42px);
}

.footer-cta-inner {
    padding: 44px;
    border-radius: 32px 32px 0 0;
    background: linear-gradient(145deg, rgba(9, 34, 51, 0.96), rgba(18, 148, 184, 0.96));
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.footer-cta .section-kicker,
.footer-cta .section-title,
.footer-cta .section-text {
    color: #fff;
}

.footer-contact-card {
    padding: 24px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    text-align: center;
}

.footer-contact-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.4rem;
}

.footer-contact-card h5 {
    margin-bottom: 8px;
    font-weight: 700;
}

.footer-contact-card p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    word-break: break-word;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.84);
}

.payment-trust-card,
.legal-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.payment-trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.payment-trust-title {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
}

.payment-trust-text {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    white-space: pre-line;
}

.legal-card-text {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}

.payment-trust-graphic-wrap {
    margin-top: auto;
}

.payment-trust-graphic {
    width: 100%;
    max-width: 360px;
    display: block;
    margin: 0 auto;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(4, 19, 29, 0.2);
}

.payment-method-list,
.security-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.payment-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.payment-method.iyzico {
    padding: 8px 12px;
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.payment-method-iyzico-logo {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
}

.payment-method.visa {
    min-width: 190px;
    padding: 8px 18px;
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.payment-method-visa-logo {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
}

.payment-method.mastercard {
    position: relative;
    gap: 0;
    padding-left: 18px;
    padding-right: 18px;
}

.payment-method-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
}

.payment-method-circle-left {
    background: #ea001b;
    margin-right: -7px;
    opacity: 0.9;
}

.payment-method-circle-right {
    background: #ff9f1c;
    opacity: 0.9;
}

.payment-method.mastercard .payment-method-text {
    margin-left: 10px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    text-transform: lowercase;
}

.security-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}

.security-chip i {
    font-size: 1rem;
}

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

.legal-button {
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.legal-button:hover,
.legal-button:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.legal-card-footer {
    margin-top: auto;
    padding-top: 8px;
}

.legal-card-note {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
    font-weight: 600;
}

.legal-modal .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.legal-modal .modal-header {
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.legal-modal .modal-title {
    font-weight: 800;
    color: var(--dark);
}

.legal-modal-body {
    padding: 24px;
    color: var(--muted);
    line-height: 1.8;
    white-space: pre-line;
}

.dashboard-shot {
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 253, 250, 0.9));
    box-shadow: var(--shadow-lg);
}

.admin-login {
    min-height: 100vh;
    background: linear-gradient(145deg, rgba(18, 148, 184, 0.15), rgba(95, 191, 103, 0.16));
}

.form-label {
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 72px 0;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-slider {
        padding: 0 0 4.5rem;
    }

    .hero-slider .carousel-item {
        min-height: auto;
    }

    .hero-control.carousel-control-prev {
        right: 64px;
    }

    .footer-cta-inner {
        padding: 32px 20px;
        border-radius: 28px 28px 0 0;
    }

    .footer-cta-shell {
        padding-left: 14px;
        padding-right: 14px;
    }

    .payment-trust-card,
    .legal-card {
        padding: 24px;
    }

    .payment-trust-graphic {
        max-width: 100%;
    }

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

    .hero-button-group .btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.08);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 1039;
    }

    body.mobile-nav-open .mobile-nav-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: min(84vw, 340px);
        height: 100vh !important;
        padding: 24px 20px 32px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        box-shadow: 30px 0 70px rgba(15, 23, 42, 0.18);
        transform: translateX(-108%);
        opacity: 1;
        visibility: visible;
        transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1040;
        overflow-y: auto;
        display: block !important;
        pointer-events: none;
    }

    .navbar-collapse.collapse:not(.show) {
        display: block !important;
    }

    .navbar-collapse.collapsing,
    .navbar-collapse.show {
        transform: translateX(0);
        pointer-events: auto;
    }

    .navbar-collapse.collapsing {
        height: 100vh !important;
        overflow-y: auto;
        transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }

    .navbar-nav {
        align-items: stretch !important;
        gap: 10px;
    }

    .header-action-group {
        margin-top: 20px;
        justify-content: flex-start;
    }

    .header-action-btn {
        width: 100%;
        justify-content: center;
        min-height: 46px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 14px 16px;
        border-radius: 14px;
        background: rgba(18, 148, 184, 0.04);
    }
}

@media (max-width: 767.98px) {
    .contact-action-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact-card {
        text-align: left;
    }

}
