/* ================================================================
   MY TEDARİK — NEXT LEVEL UI 2026+
   Loaded after premium.css — heavy visual enhancements
   ================================================================ */

/* === Page rhythm — better section spacing === */
.trust-bar, .services-section, .stats-section, .why-section,
.process-section, .testimonials-section, .blog-home-section, .cta-section {
    position: relative;
}

/* ============================================================
   1) HERO — EDITORIAL ENHANCEMENTS
   ============================================================ */

/* Vertical brand label — sol kenar */
.hero-vertical-label {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: rotate(-90deg) translateX(50%);
    transform-origin: left center;
    z-index: 7;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: none;
    user-select: none;
}
.hero-vertical-label .dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(47,72,109,0.8);
    animation: vdot-pulse 2.4s ease-in-out infinite;
}
@keyframes vdot-pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.85); }
    50%      { opacity: 1;   transform: scale(1.15); }
}

/* Floating decorative shapes */
.hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}
.deco-hex {
    position: absolute;
    top: 18%;
    right: 6%;
    width: 160px;
    height: 160px;
    color: rgba(47,72,109,0.25);
    animation: hex-float 14s ease-in-out infinite;
    filter: drop-shadow(0 0 16px rgba(47,72,109,0.2));
}
@keyframes hex-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(-18px, 22px) rotate(6deg); }
}
.deco-dot {
    position: absolute;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(47,72,109,0.8), 0 0 30px rgba(47,72,109,0.4);
    opacity: 0.6;
}
.deco-dot-1 { top: 72%; left: 12%; animation: dot-float 8s ease-in-out infinite; }
.deco-dot-2 { top: 28%; left: 45%; animation: dot-float 11s ease-in-out 1.5s infinite; transform: scale(0.7); }
.deco-dot-3 { top: 62%; right: 28%; animation: dot-float 9s ease-in-out 3s infinite; transform: scale(1.3); }
@keyframes dot-float {
    0%, 100% { opacity: 0.35; transform: translateY(0) scale(var(--s, 1)); }
    50%      { opacity: 1;    transform: translateY(-30px) scale(var(--s, 1)); }
}

/* Hero slide counter — bottom right */
.hero-counter {
    position: absolute;
    bottom: 44px;
    right: 48px;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.95);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    pointer-events: none;
    background: rgba(10,18,36,0.35);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    padding: 12px 22px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.18);
}
.hero-counter-current {
    color: var(--accent);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 20px rgba(47,72,109,0.6);
}
.hero-counter-total {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    font-weight: 600;
}
.hero-counter-track {
    width: 70px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.hero-counter-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent) 0%, #d2c7b8 100%);
    box-shadow: 0 0 8px rgba(47,72,109,0.6);
}

/* Animated gradient accent on hero-title secondary word */
.hero-title {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ============================================================
   2) TRUST BAR — Infinite marquee
   ============================================================ */
.trust-bar {
    background: linear-gradient(180deg, #0a1228 0%, #0e1730 100%);
    padding: 32px 0 36px;
    border-top: 1px solid rgba(47,72,109,0.12);
    border-bottom: 1px solid rgba(47,72,109,0.12);
    overflow: hidden;
    position: relative;
}
.trust-bar::before,
.trust-bar::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.trust-bar::before {
    left: 0;
    background: linear-gradient(90deg, #0a1228 0%, transparent 100%);
}
.trust-bar::after {
    right: 0;
    background: linear-gradient(270deg, #0a1228 0%, transparent 100%);
}
.trust-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
    color: rgba(47,72,109,0.6);
    margin-bottom: 18px;
    text-transform: uppercase;
}
.trust-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.trust-track {
    display: inline-flex;
    gap: 56px;
    padding-right: 56px;
    animation: trust-scroll 40s linear infinite;
    white-space: nowrap;
    will-change: transform;
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.trust-item i {
    color: var(--accent);
    font-size: 14px;
}
@keyframes trust-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.trust-bar:hover .trust-track { animation-play-state: paused; }

/* ============================================================
   3) SERVICES — Premium numbered cards with 3D tilt
   ============================================================ */
.services-section.services-premium {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(22,36,75,0.04) 0%, transparent 40%),
        radial-gradient(ellipse at 100% 100%, rgba(47,72,109,0.04) 0%, transparent 40%),
        #fafbfd;
    padding-top: 110px !important;
    padding-bottom: 110px !important;
}

.services-grid-premium {
    perspective: 1200px;
}

.service-card-premium {
    position: relative;
    padding: 36px 30px 30px !important;
    background: #ffffff;
    border: 1px solid rgba(22,36,75,0.08) !important;
    border-radius: 20px !important;
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.35s ease, border-color 0.35s ease !important;
    transform-style: preserve-3d;
    overflow: visible !important;
    box-shadow: 0 4px 22px rgba(22,36,75,0.05);
}

.service-card-premium::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 40%, transparent 60%, rgba(47,72,109,0.6) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-card-premium:hover {
    box-shadow:
        0 20px 60px rgba(22,36,75,0.14),
        0 0 0 1px rgba(47,72,109,0.20),
        0 0 40px rgba(47,72,109,0.15) !important;
    border-color: transparent !important;
}

.service-card-premium:hover::before { opacity: 1; }

.service-card-num {
    position: absolute;
    top: 22px; right: 26px;
    font-size: 42px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(22,36,75,0.12);
            text-stroke: 1.5px rgba(22,36,75,0.12);
    letter-spacing: -1px;
    line-height: 1;
    transition: all 0.35s ease;
    pointer-events: none;
}

.service-card-premium:hover .service-card-num {
    -webkit-text-stroke: 1.5px var(--accent);
            text-stroke: 1.5px var(--accent);
    transform: translateY(-2px);
}

.service-card-premium .service-icon {
    width: 62px !important;
    height: 62px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #16244b 0%, #0c1628 100%) !important;
    color: var(--accent) !important;
    font-size: 24px !important;
    box-shadow: 0 8px 24px rgba(22,36,75,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
    margin-bottom: 20px !important;
    position: relative;
    transition: all 0.35s ease !important;
}

.service-card-premium .service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(47,72,109,0.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card-premium:hover .service-icon {
    transform: rotate(-6deg) scale(1.08) !important;
    box-shadow: 0 14px 34px rgba(22,36,75,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.service-card-premium:hover .service-icon::after { opacity: 1; }

.service-card-premium h3,
.services-grid-premium .service-card-premium h3 {
    font-size: 19px !important;
    margin-bottom: 10px !important;
    color: var(--primary) !important;
    transition: color 0.25s ease;
}
.service-card-premium:hover h3,
.services-grid-premium .service-card-premium:hover h3 { color: var(--primary) !important; }

.service-card-premium p,
.services-grid-premium .service-card-premium p {
    line-height: 1.7 !important;
    font-size: 14px !important;
    color: #6a7489 !important;
}

.service-card-arrow {
    position: absolute;
    bottom: 24px; right: 26px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(22,36,75,0.05);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
    opacity: 0;
    transform: translateX(-8px);
}

.service-card-premium:hover .service-card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 6px 18px rgba(47,72,109,0.45);
}

/* ============================================================
   4) STATS — Premium with icons
   ============================================================ */
.stats-section.stats-premium {
    padding: 80px 0 !important;
    background:
        linear-gradient(135deg, #08111f 0%, #0e1a38 50%, #122347 100%);
    position: relative;
    overflow: hidden;
}
.stats-section.stats-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(47,72,109,0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(47,72,109,0.08) 0%, transparent 40%);
    pointer-events: none;
}
.stats-section.stats-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(47,72,109,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47,72,109,0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    opacity: 0.6;
}
.stats-premium .stat-item {
    position: relative;
    z-index: 2;
    padding: 24px 12px !important;
}
.stats-premium .stat-icon {
    width: 54px; height: 54px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(47,72,109,0.18) 0%, rgba(47,72,109,0.05) 100%);
    border: 1px solid rgba(47,72,109,0.35);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}
.stats-premium .stat-number {
    background: linear-gradient(180deg, #ffffff 0%, #d2c7b8 110%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-size: 56px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -1.5px;
}
.stats-premium .stat-label {
    color: rgba(255,255,255,0.7) !important;
    font-size: 12.5px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
}
.stats-premium .stat-item:not(:last-child)::after {
    background: linear-gradient(180deg, transparent 0%, rgba(47,72,109,0.4) 50%, transparent 100%) !important;
    width: 1px !important;
    height: 60% !important;
}

/* ============================================================
   5) PROCESS / Timeline section
   ============================================================ */
.process-section {
    padding: 110px 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(22,36,75,0.04) 0%, transparent 50%),
        #fafbfd;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 36px;
}

/* Connecting dashed line */
.process-grid::before {
    content: '';
    position: absolute;
    top: 62px;
    left: 12%; right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(47,72,109,0.4) 0 8px, transparent 8px 16px);
    z-index: 0;
}

.process-step {
    position: relative;
    background: #fff;
    border: 1px solid rgba(22,36,75,0.07);
    border-radius: 18px;
    padding: 32px 24px 28px;
    text-align: center;
    z-index: 1;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
    box-shadow: 0 4px 22px rgba(22,36,75,0.05);
}
.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 54px rgba(22,36,75,0.14);
    border-color: rgba(47,72,109,0.25);
}
.process-step-num {
    position: absolute;
    top: -18px; left: 50%;
    transform: translateX(-50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #0c1628 100%);
    color: var(--accent);
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fafbfd;
    box-shadow: 0 8px 24px rgba(22,36,75,0.28), inset 0 1px 0 rgba(255,255,255,0.1);
    letter-spacing: 0.5px;
}
.process-step:hover .process-step-num {
    background: linear-gradient(135deg, var(--accent) 0%, #d2c7b8 100%);
    color: var(--dark);
    transform: translateX(-50%) scale(1.08);
}
.process-step-icon {
    margin: 30px auto 18px;
    width: 48px; height: 48px;
    color: var(--primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}
.process-step:hover .process-step-icon {
    color: var(--accent);
    transform: scale(1.12) rotate(-4deg);
}
.process-step h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.process-step p {
    font-size: 13.5px;
    color: #6a7489;
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   6) TESTIMONIALS
   ============================================================ */
.testimonials-section {
    padding: 110px 0;
    background:
        radial-gradient(ellipse at 20% 100%, rgba(22,36,75,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 0%, rgba(47,72,109,0.05) 0%, transparent 50%),
        #ffffff;
    position: relative;
    overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    right: -100px; top: 50%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(47,72,109,0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.testimonials-swiper {
    padding: 20px 8px 60px !important;
    overflow: visible;
}
.testimonials-swiper .swiper-slide {
    height: auto;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(22,36,75,0.08);
    border-radius: 20px;
    padding: 34px 30px 28px;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 22px rgba(22,36,75,0.06);
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 54px rgba(22,36,75,0.14);
    border-color: rgba(47,72,109,0.28);
}

.testimonial-quote {
    color: var(--accent);
    opacity: 0.35;
    font-size: 38px;
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.75;
    color: #3d4a5c;
    margin-bottom: 22px;
    flex: 1;
    font-weight: 500;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(22,36,75,0.08);
}
.testimonial-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #0c1628 100%);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(22,36,75,0.2);
}
.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
}
.testimonial-author span {
    display: block;
    font-size: 12px;
    color: #8892a4;
    margin-top: 2px;
}

.testimonials-pagination {
    position: absolute !important;
    bottom: 10px !important;
    text-align: center;
    width: 100% !important;
    left: 0 !important;
}

/* ============================================================
   7) CTA — Animated mesh gradient
   ============================================================ */
.cta-section {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(47,72,109,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(47,72,109,0.12) 0%, transparent 50%),
        linear-gradient(135deg, #050c1e 0%, #0c1628 35%, #16244b 75%, #1e3260 100%) !important;
    padding: 100px 0 !important;
    position: relative;
    overflow: hidden;
}
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(47,72,109,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47,72,109,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    animation: mesh-drift 28s linear infinite;
    pointer-events: none;
}
.cta-section .cta-content {
    position: relative;
    z-index: 2;
}
.cta-section h2 {
    font-size: clamp(28px, 4vw, 42px) !important;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 60%, #d2c7b8 110%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    margin-bottom: 16px !important;
}

/* ============================================================
   8) BLOG HOME — Editorial upgrade
   ============================================================ */
.blog-home-section {
    padding: 110px 0 !important;
    background: #ffffff !important;
}

.blog-home-card {
    border-radius: 18px !important;
    overflow: hidden;
    border: 1px solid rgba(22,36,75,0.07) !important;
    background: #fff;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2) !important;
}
.blog-home-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(22,36,75,0.16);
    border-color: rgba(47,72,109,0.25) !important;
}
.blog-home-card .blog-home-img {
    transition: transform 0.7s ease !important;
}
.blog-home-card:hover .blog-home-img {
    transform: scale(1.08);
}

/* ============================================================
   9) GLOBAL POLISH
   ============================================================ */

/* Custom scrollbar — handled by corporate scrollbar rules in ultra.css */

/* Selection */
::selection {
    background: rgba(47,72,109,0.3);
    color: #fff;
}

/* Section header — tighter when there's already a process section */
.section-title span {
    background: linear-gradient(135deg, var(--accent) 0%, #d2c7b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

/* ============================================================
   10) MOBILE
   ============================================================ */
@media (max-width: 1024px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .process-grid::before { display: none; }
    .hero-vertical-label { display: none; }
    .hero-counter { bottom: 28px; right: 24px; padding: 10px 16px; font-size: 15px; }
    .hero-counter-current { font-size: 22px; }
    .hero-counter-track { width: 48px; }
}

@media (max-width: 768px) {
    .services-section.services-premium { padding: 70px 0 !important; }
    .service-card-num { font-size: 34px; top: 16px; right: 18px; }
    .service-card-arrow { bottom: 18px; right: 18px; }
    .stats-premium .stat-number { font-size: 42px !important; }
    .process-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-section, .testimonials-section { padding: 70px 0; }
    .trust-item { font-size: 15px; }
    .trust-track { gap: 36px; padding-right: 36px; }
    .testimonials-swiper { padding: 20px 8px 50px !important; }
    .testimonial-card { padding: 26px 22px 22px; }
    .hero-deco { display: none; }
    .cta-section { padding: 70px 0 !important; }
}

@media (max-width: 480px) {
    .hero-counter { display: none; }
    .trust-bar::before, .trust-bar::after { width: 50px; }
}
