:root {
    --navy: #0A2647;
    --navy-light: #144272;
    --navy-dark: #051628;
    --accent: #2C74B3;
    --light-blue: #EDF2F7;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --text-primary: #0A2647;
    --text-secondary: #5a6a7e;
    --font-heading: 'Satoshi', sans-serif;
    --font-body: 'Satoshi', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: #fff;
    overflow-x: hidden;
    padding-top: 88px; /* Offset for fixed navbar */
    font-size: 1rem; /* Compact base font size */
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    letter-spacing: -0.02em;
    font-weight: 700;
}

a { text-decoration: none; }

/* Navbar - Floating Glass Tech Style */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                min-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: fit-content;
    min-width: min(98vw, 1280px);
    max-width: 98vw;
    top: 10px;
    box-shadow: 0 10px 30px -10px rgba(10, 38, 71, 0.12);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    padding: 0.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(10, 38, 71, 0.1);
    width: fit-content;
    min-width: min(94vw, 1200px);
    max-width: 96vw;
    border-radius: 50px;
    top: 16px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
}

.nav-link {
    color: var(--navy);
    font-weight: 500;
    font-size: 0.88rem;
    position: relative;
    padding: 7px 13px !important;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
    z-index: 1;
    border-radius: 8px;
}

/* Spring pill background */
.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: rgba(10, 38, 71, 0.07);
    transform: scale(0.65);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
    z-index: -1;
}
.nav-link:hover::before, .nav-link.active::before {
    transform: scale(1);
    opacity: 1;
}

/* Accent dot indicator */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--navy);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scale(1);
}

.nav-link:hover, .nav-link.active {
    color: var(--navy) !important;
}

/* Dropdown toggle: hide Bootstrap default caret + override dot indicator */
.nav-link.dropdown-toggle::after {
    display: none;
}
.navbar .dropdown.show > .nav-link .bi-chevron-down {
    transform: rotate(180deg);
}
.navbar .nav-link .bi-chevron-down {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Custom Buttons - Pixel Perfect Match */
.btn-navy {
    background-color: #0F172A; /* Slate 900 - Darker Navy */
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-navy:hover {
    background-color: #1E293B; /* Slate 800 */
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-outline-navy {
    background-color: #fff;
    color: #0F172A;
    border: 1px solid #E2E8F0; /* Slate 200 */
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-outline-navy:hover {
    background-color: #F8FAFC; /* Slate 50 */
    border-color: #CBD5E1; /* Slate 300 */
    color: #0F172A;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Specific icon adjustments */
.btn-navy i, .btn-outline-navy i {
    font-size: 1.15rem;
    stroke-width: 2px;
}

/* ── Elite Wizard CTA Button ── */
.btn-wizard-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px 8px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 2px 8px rgba(10,38,71,0.22);
    white-space: nowrap;
}
.btn-wizard-cta:hover {
    background: #0f3564;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(10,38,71,0.3);
}
/* live pulse dot */
.btn-wizard-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
    animation: wiz-pulse 2.2s ease infinite;
}
@keyframes wiz-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
    60%  { box-shadow: 0 0 0 5px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.btn-wizard-label {
    color: #fff;
}
.btn-wizard-arr {
    font-size: 0.82rem;
    opacity: 0.7;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s ease;
}
.btn-wizard-cta:hover .btn-wizard-arr {
    transform: translateX(3px);
    opacity: 1;
}

/* Navbar Login Button */
.btn-login-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid var(--navy);
    color: var(--navy);
    background: transparent;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    margin-left: 8px;
}
.btn-login-nav i {
    font-size: 1rem;
    line-height: 1;
}
.btn-login-nav:hover {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 4px 12px rgba(10,38,71,0.2);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Specific Style for Header CTA */
.btn-header-cta {
    background: var(--navy);
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: box-shadow 0.3s ease, transform 0.25s ease;
    box-shadow: 0 0 0 0 rgba(10, 38, 71, 0);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

/* Shimmer sweep */
.btn-header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}
.btn-header-cta:hover::before {
    left: 135%;
}

.btn-header-cta:hover {
    background: var(--navy-light);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(10, 38, 71, 0.28), 0 0 0 3px rgba(10,38,71,0.08);
}

.btn-header-cta i { 
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-header-cta:hover i {
    transform: translateX(4px);
}


.btn-info {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
}

/* Floating Cards */
.floating-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(10, 38, 71, 0.1);
}

/* Icon Circles */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.icon-circle.hover-up:hover {
    transform: translateY(-5px);
}

/* Utilities */
.text-navy { color: var(--navy) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-light-navy { background-color: var(--light-blue) !important; }
.ls-1 { letter-spacing: 1px; }

/* Scale Effect */
.scale-up {
    transition: transform 0.3s ease;
}
.scale-up:hover {
    transform: scale(1.02);
}

/* Hero Section Spacing */
.hero-section {
    padding-bottom: 8rem !important; /* Extra space for the floating visual */
    min-height: 100vh; /* Ensure full height */
}

/* Background layers should never block scroll/taps */
#particles-js,
.grid-background {
    pointer-events: none;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--navy), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pricing Card Special */
.pricing-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    color: var(--navy);
    background-color: var(--light-blue);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.1);
}

/* Footer Links */
.hover-text-white:hover {
    color: #fff !important;
}

/* ── LIVE CHAT WIDGET ── */
.livechat-trigger {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(37,99,235,0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.livechat-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(37,99,235,0.55);
}
.livechat-trigger svg { width: 26px; height: 26px; fill: #fff; }
.livechat-trigger .lc-badge {
    position: absolute;
    top: 2px; right: 2px;
    width: 14px; height: 14px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: lc-pulse 2s infinite;
}
@keyframes lc-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.livechat-panel {
    visibility: hidden;
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 360px;
    height: 520px;
    max-height: calc(100vh - 160px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(10,38,71,0.18), 0 4px 16px rgba(10,38,71,0.08);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.4,0,0.2,1),
                transform 0.25s cubic-bezier(0.4,0,0.2,1);
}
.livechat-panel.lc-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
.lc-header {
    background: linear-gradient(135deg, #0a2647, #1d4ed8);
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}
.lc-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff;
    flex-shrink: 0;
}
.lc-header-info { flex: 1; }
.lc-header-name { color: #fff; font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.lc-header-status { color: rgba(255,255,255,0.7); font-size: 0.75rem; display: flex; align-items: center; gap: 5px; }
.lc-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.lc-close-btn {
    background: rgba(255,255,255,0.1);
    border: none; cursor: pointer;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.8); font-size: 0.9rem;
    transition: background 0.2s;
}
.lc-close-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }

.lc-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f8fafc;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}
.lc-messages::-webkit-scrollbar { width: 4px; }
.lc-messages::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }

.lc-msg {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    max-width: 85%;
}
.lc-msg.lc-bot { align-self: flex-start; }
.lc-msg.lc-user { align-self: flex-end; flex-direction: row-reverse; }
.lc-msg-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, #0a2647, #1d4ed8);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; color: #fff;
}
.lc-bubble {
    padding: 0.6rem 0.9rem;
    border-radius: 14px;
    font-size: 0.875rem;
    line-height: 1.55;
    max-width: 100%;
    word-break: break-word;
}
.lc-bot .lc-bubble {
    background: #fff;
    color: #1e293b;
    border-radius: 4px 14px 14px 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.lc-user .lc-bubble {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    border-radius: 14px 14px 4px 14px;
}
.lc-time { font-size: 0.68rem; color: #94a3b8; margin-top: 2px; text-align: right; }
.lc-bot .lc-time { text-align: left; }

.lc-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 1rem 0;
}
.lc-qr {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    border: 1.5px solid #2563eb;
    background: #fff;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}
.lc-qr:hover { background: #2563eb; color: #fff; }

.lc-footer {
    padding: 0.75rem 1rem;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
}
.lc-input {
    flex: 1;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.6rem 0.9rem;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    resize: none;
    line-height: 1.4;
}
.lc-input:focus { border-color: #2563eb; }
.lc-send {
    width: 38px; height: 38px; flex-shrink: 0;
    background: #2563eb;
    border: none; border-radius: 10px;
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.15s;
}
.lc-send:hover { background: #1d4ed8; transform: scale(1.05); }

.lc-attach {
    width: 38px; height: 38px; flex-shrink: 0;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    color: #2563eb;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
}
.lc-attach:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: scale(1.03);
}

.lc-typing {
    display: flex; align-items: center; gap: 4px; padding: 2px 0;
}
.lc-typing span {
    width: 6px; height: 6px; border-radius: 50%;
    background: #94a3b8;
    animation: lc-bounce 1.2s infinite;
}
.lc-typing span:nth-child(2) { animation-delay: 0.2s; }
.lc-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes lc-bounce {
    0%,60%,100% { transform: translateY(0); }
    30%          { transform: translateY(-5px); }
}

.lc-rating {
    display: flex;
    gap: 6px;
}
.lc-star {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #2563eb;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.lc-star:hover {
    transform: scale(1.05);
    background: #f8fafc;
    border-color: #cbd5e1;
}
@media (max-width: 480px) {
    .livechat-panel { width: calc(100vw - 24px); right: 12px; bottom: 90px; }
}

/* Grid Background */
.grid-background {
    background-image: linear-gradient(#e5e7eb 1px, transparent 1px),
    linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

/* ----------------------------------------------------
   ANIMATED DASHBOARD (MOCK BROWSER)
   ---------------------------------------------------- */
.mock-browser {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(10, 38, 71, 0.15);
    border: 1px solid rgba(10, 38, 71, 0.05);
    overflow: hidden;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    transform: perspective(1000px) rotateX(2deg) translateY(0);
    transition: transform 0.5s ease;
}

.mock-browser:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
}

/* Modern Floating Tech Visual */
.tech-stack-visual {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    perspective: 1000px;
}

.main-interface {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px -10px rgba(10, 38, 71, 0.15);
    padding: 2rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.main-interface:hover {
    transform: translateY(-5px) rotateX(2deg);
}

.interface-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.floating-element {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 3;
    animation: float-y 4s ease-in-out infinite;
}

.floating-element.one {
    top: -16px;
    right: 20px;
    animation-delay: 0s;
}

.floating-element.two {
    bottom: -16px;
    left: 20px;
    animation-delay: 2s;
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Live Dashboard Panel --- */
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
    70%  { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.dash-metric-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    padding: 14px 14px 12px;
    transition: box-shadow 0.2s ease;
}
.dash-metric-card:hover {
    box-shadow: 0 4px 14px rgba(10,38,71,0.08);
}
.dash-metric-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.dash-metric-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}
.dash-metric-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 4px;
}
.dash-metric-sub {
    font-size: 0.68rem;
    color: #94a3b8;
}

.dash-chart-area {
    background: #f8fafc;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    padding: 14px 14px 10px;
}

.dash-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: opacity 0.2s;
}
.dash-bar-peak {
    position: relative;
}
.dash-bar-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: #fff;
    font-size: 0.56rem;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ----------------------------------------------------
   INTERACTIVE TECHNOLOGY CARD (3D Parallax)
   ---------------------------------------------------- */
.interactive-tech-card {
    perspective: 1500px;
    overflow: visible;
}

.perspective-1000 {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.tech-layer {
    transition: transform 0.5s ease-out;
}

/* Layer Specifics */
.layer-mid {
    border: 1px solid rgba(0,0,0,0.08); /* Clean border */
}

/* Animations */
.animate-float-slow {
    animation: floaty 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: floaty-rev 7s ease-in-out infinite;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floaty-rev {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

/* Hover Effects on Elements */
.interactive-tech-card:hover .layer-mid {
    transform: translateZ(50px) rotateX(5deg);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15) !important;
}

.interactive-tech-card:hover .layer-front {
    transform: translate(-140px, 110px) translateZ(80px) !important;
}

.interactive-tech-card:hover .layer-front-2 {
    transform: translate(160px, -100px) translateZ(80px) !important;
}

.interactive-tech-card:hover .layer-back {
    transform: translate(40px, -40px) translateZ(-50px) rotateY(-5deg) !important;
    opacity: 1 !important;
}

/* Gradients */
.mesh-gradient-bg {
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
    opacity: 0.05;
    filter: blur(80px);
}

/* Button Soft Shadow */
.shadow-lg-soft {
    box-shadow: 0 10px 30px -5px rgba(10, 38, 71, 0.2);
}

.hover-white:hover {
    background-color: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pulse-dot-green::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid #10b981;
    animation: pulse-ring 2s infinite;
    opacity: 0.5;
}

/* Hover Utility */
.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-up:hover {
    transform: translateY(-5px);
}

    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding-bottom: 30px;
}

.chart-bar {
    width: 40px;
    background: linear-gradient(to top, var(--navy-light), var(--accent));
    border-radius: 6px 6px 0 0;
    height: 0;
    animation: growHeight 1.5s ease-out forwards;
    opacity: 0.8;
}
.chart-bar:nth-child(1) { height: 40%; animation-delay: 0.8s; }
.chart-bar:nth-child(2) { height: 70%; animation-delay: 1.0s; }
.chart-bar:nth-child(3) { height: 50%; animation-delay: 1.2s; }
.chart-bar:nth-child(4) { height: 85%; animation-delay: 1.4s; }
.chart-bar:nth-child(5) { height: 60%; animation-delay: 1.6s; }

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes growHeight {
    from { height: 0; }
}

/* ----------------------------------------------------
   ANIMATED BADGE STYLES (NEW)
   ---------------------------------------------------- */
.animated-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(44, 116, 179, 0.15);
    box-shadow: 0 8px 32px rgba(10, 38, 71, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
}

.animated-badge:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(10, 38, 71, 0.12);
    border-color: rgba(44, 116, 179, 0.3);
}

/* Shimmer Effect */
.animated-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Pulse Dot */
.pulse-dot-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: pulse-ring 2s infinite;
    opacity: 0;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* Badge Text */
.badge-text-gradient {
    background: linear-gradient(90deg, var(--navy), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* ----------------------------------------------------
   TYPING & CURSOR
   ---------------------------------------------------- */
.typing-container {
    display: inline-block;
    position: relative;
    min-width: 10px;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--accent);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar-mock { display: none; }
    .content-mock { margin-left: 0; }
    .cards-grid-mock { grid-template-columns: 1fr; }
    .mock-browser { transform: none; }
    .display-4 { font-size: 2.5rem; }
}

/* ----------------------------------------------------
   INTERACTIVE TECH CARD (3D LAYERS)
   ---------------------------------------------------- */
.interactive-tech-card {
    position: relative;
    width: 100%;
    height: 520px;
    perspective: 1500px;
    margin: 0 auto;
    cursor: pointer;
}

/* Container for layers relative to card */
.tech-layer-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.interactive-tech-card:hover .tech-layer-container {
    transform: rotateY(-10deg) rotateX(5deg);
}

.tech-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base Layer (Back) - Code Editor Look */
.layer-back {
    transform: translateZ(0px);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Middle Layer (Floating Design Elements) */
.layer-mid {
    transform: translateZ(40px);
    z-index: 2;
    pointer-events: none; /* Let clicks pass through */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

/* Front Layer (Highlight Badge) */
.layer-front {
    transform: translateZ(80px);
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HOVER STATES - Parallax */
.interactive-tech-card:hover .layer-mid {
    transform: translateZ(70px) translateX(-20px);
}

.interactive-tech-card:hover .layer-front {
    transform: translateZ(110px) translateX(-40px);
}

/* CONTENT STYLING inside layers */

/* Code Window (Back Layer Content) */
.code-window {
    background: #1e1e1e; /* VS Code dark */
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.85rem;
    color: #d4d4d4;
    width: 100%;
    max-width: 500px;
    height: 380px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.window-header {
    display: flex;
    align-items: center; /* Vertical center */
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    gap: 8px; /* Space between dots */
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-url-bar {
    background: #2d2d2d;
    border-radius: 4px;
    height: 24px; /* Explicit height */
    flex-grow: 1; /* Take remaining space */
    margin-left: 1rem;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 0.7rem;
    color: #888;
}

.code-content {
    line-height: 1.6;
}

.code-line { display: block; margin-bottom: 0.2rem; white-space: pre; }
.code-keyword { color: #569cd6; font-weight: bold; } /* Blue */
.code-string { color: #ce9178; } /* Orange/Red */
.code-func { color: #dcdcaa; } /* Yellow */
.code-comment { color: #6a9955; } /* Green */

/* Floating UI Cards (Mid Layer Content) */
.ui-card-float {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    width: 280px;
    position: absolute;
    right: 20px;
    top: 60px;
    border-left: 5px solid var(--accent);
    backdrop-filter: blur(5px);
}
.ui-header { 
    font-weight: 700; 
    color: var(--navy); 
    margin-bottom: 0.5rem; 
    font-size: 1rem;
}
.ui-stat {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}
.ui-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ui-card-float.glass {
    right: auto;
    left: 40px;
    top: auto;
    bottom: 80px;
    background: rgba(10, 38, 71, 0.9); /* Navy */
    color: white;
    border-left: none;
    border-right: 5px solid var(--success);
}
.ui-card-float.glass .ui-header { color: white; }
.ui-card-float.glass .ui-label { color: rgba(255,255,255,0.7); }

/* Success Badge (Front Layer) */
.success-check-badge {
    background: #28a745; /* Success Green */
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    position: absolute;
    bottom: 40px;
    right: 40px;
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 
   -------------------------------------------------------------- 
   TECH PRICING CARDS - SLEEK & MODERN (V3)
   -------------------------------------------------------------- 
*/
/* ----------------------------------------------------
   PRICING CARDS - CLEAN & MINIMAL TECH (V4)
   ---------------------------------------------------- */
.pricing-card-tech {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px; /* Reduced radius for less "bulky" look */
    padding: 2.5rem 1.5rem; /* Reduced padding */
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card-tech:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

/* Popular Card - Elegant & Subtle */
.pricing-card-tech.popular {
    border: 2px solid var(--navy); /* Clean solid border instead of gradient trick */
    box-shadow: 0 20px 40px -10px rgba(10, 38, 71, 0.1);
    transform: scale(1.02); /* Slight scale up to emphasize */
    z-index: 2;
}

.pricing-card-tech.popular:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(10, 38, 71, 0.15);
}

/* Header Typography */
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.pricing-header p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Icon - Clean Circle */
.pricing-icon-wrapper {
    width: 60px; /* Smaller icon set */
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    font-size: 1.5rem;
    background: #f1f5f9;
    color: var(--navy);
    transition: all 0.3s ease;
}

.pricing-card-tech:hover .pricing-icon-wrapper {
    background: var(--navy);
    color: white;
}

.pricing-card-tech.popular .pricing-icon-wrapper {
    background: var(--navy);
    color: white;
    box-shadow: 0 0 0 4px rgba(10, 38, 71, 0.1); /* Subtle ring instead of heavy shadow */
}

/* Price Tag - Compact */
.price-tag-tech {
    display: flex;
    align-items: center; /* Center vertically for better balance */
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    color: var(--navy);
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--navy);
}

.pricing-card-tech.popular .price-amount {
    color: var(--navy);
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1; /* Fix vertical alignment issues */
}

.price-period {
    font-size: 0.85rem;
    font-weight: 600; /* Slightly bolder */
    color: #94a3b8;
    background: transparent;
    padding: 0;
    margin-top: 2px; /* Small gap between currency and period */
    display: block; /* Ensure it sits on its own line if needed, or adjust flex */
}

/* Features List - Readable & Clean */
.features-list-tech {
    margin: 0 0 2rem 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.features-list-tech li {
    display: flex;
    align-items: flex-start; /* Better alignment for wrapping text */
    font-size: 0.95rem;
    color: #475569;
    gap: 10px;
    line-height: 1.5; /* Improve readability */
}

.features-list-tech li i {
    color: var(--success);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px; /* Visual optical alignment */
}

.features-list-tech li.disabled {
    opacity: 0.5;
    text-decoration: line-through;
    color: #94a3b8;
}

.features-list-tech li.disabled i {
    color: #cbd5e1;
}

/* Popular Badge - Internal Elegant Label */
.popular-badge {
    position: absolute;
    top: 12px;
    right: 12px; 
    left: auto; /* Reset left centering */
    transform: none; /* Reset transform */
    
    background: #e0f2fe; /* Very light blue bg */
    color: var(--navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none; /* No shadow */
    border: 1px solid #bae6fd;
    z-index: 10;
    
    /* Flex content */
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.popular-badge i {
    font-size: 0.7rem;
    color: #0284c7; /* Highlight icon color */
}


/* Buttons - Simple & Solid */
.btn-pricing {
    width: 100%;
    padding: 0.85rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid #cbd5e1;
    background: transparent;
    color: var(--navy);
    margin-top: auto;
}

.btn-pricing:hover {
    background: #f8fafc;
    border-color: var(--navy);
    color: var(--navy);
}

.pricing-card-tech.popular .btn-pricing {
    background: var(--navy);
    color: white;
    border: 1px solid var(--navy);
}

.pricing-card-tech.popular .btn-pricing:hover {
    background: #0f3d64; /* Darker navy */
    border-color: #0f3d64;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 38, 71, 0.2);
}


/* ----------------------------------------------------
   FAQ - TECH STYLE (V1)
   ---------------------------------------------------- */
.accordion-tech .accordion-item {
    background: white;
    margin-bottom: 1rem !important;
    transition: all 0.2s ease-in-out;
}

.accordion-tech .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08) !important;
}

.accordion-tech .accordion-button {
    background: transparent;
    border: none;
    box-shadow: none !important;
    padding: 1.5rem;
    font-size: 1.1rem;
    color: var(--navy);
}

.accordion-tech .accordion-button:not(.collapsed) {
    background: #f8fafc;
    color: var(--navy);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05) !important;
}

.accordion-tech .accordion-body {
    padding: 1.5rem;
    background: white;
    border-top: 1px dashed #e2e8f0;
}

/* Custom Icon */
.accordion-tech .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.2s ease-in-out;
    background-size: 1.25rem;
}

.accordion-tech .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233b82f6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

/* Numbers */
.accordion-tech span.text-primary.opacity-50 {
    font-family: monospace;
    letter-spacing: -1px;
    font-weight: 700;
}

/* ----------------------------------------------------
   PAGE LOADER & TRANSITIONS
   ---------------------------------------------------- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    font-family: 'Courier New', Courier, monospace;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    width: 300px;
    max-width: 90%;
    text-align: left;
}

/* Terminal Text Effect */
.loader-text {
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
}

.loader-cursor {
    display: inline-block;
    width: 10px;
    height: 1.5rem;
    background-color: var(--accent);
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 5px;
}

/* Progress Bar */
.loader-progress-container {
    width: 100%;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--accent);
    border-radius: 2px;
    animation: loadingBar 2s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(44, 116, 179, 0.3);
}

.loader-status {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 10px;
    opacity: 0.9;
    font-family: 'Courier New', Courier, monospace;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--navy));
    border-radius: 2px;
    animation: loadingBar 1.5s ease-in-out forwards;
    box-shadow: 0 0 15px rgba(44, 116, 179, 0.3);
}

@keyframes loadingBar {
    0% { width: 0%; }
    40% { width: 60%; }
    70% { width: 85%; }
    100% { width: 100%; } 
}

/* Page Content Reveal — triggered by JS adding .page-revealed to body */
body > *:not(.page-loader) {
    opacity: 0;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-revealed > *:not(.page-loader) {
    opacity: 1;
}
#iletisim {
    background: #ffffff; /* Clean white background */
}

/* Minimal Contact List (Left) */
.contact-list-minimal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item-minimal {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-item-minimal:hover .contact-icon-box {
    background: var(--navy);
    color: white;
    transform: rotate(10deg);
}

.contact-info-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-info-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.4;
}

/* Minimal Form (Right) */
.contact-form-wrapper.bg-transparent {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.form-floating-tech {
    position: relative;
    border-bottom: 1px solid rgba(13, 27, 42, 0.15); /* Thinner, lighter line */
    transition: all 0.3s ease;
}

.form-floating-tech:focus-within {
    border-bottom-color: var(--accent); /* Only change color, no border width change */
}

.form-control-tech {
    width: 100%;
    padding: 1.25rem 0 0.5rem 0; /* Increased top padding to make room */
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--navy);
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.form-control-tech::placeholder {
    color: transparent; /* CRITICAL: Hide placeholder so it doesn't clash with label */
}

.form-control-tech:focus {
    outline: none;
    box-shadow: none;
}

/* Floating Label Logic */
.form-label-tech {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1rem;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: 0 0;
}

.form-control-tech:focus ~ .form-label-tech,
.form-control-tech:not(:placeholder-shown) ~ .form-label-tech {
    transform: translateY(-1.4rem) scale(0.8);
    font-weight: 600;
    color: var(--accent);
}

/* Button */
.btn-tech-submit {
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 8px; /* Slightly squarer */
    padding: 1rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto; /* Not full width */
    min-width: 180px;
}

.btn-tech-submit:hover {
    background: #0f3d64; /* Darker navy */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(10, 38, 71, 0.3);
}

.btn-tech-submit i {
    transition: transform 0.2s ease;
}

.btn-tech-submit:hover i {
    transform: translateX(4px);
}

/* ----------------------------------------------------
   NEWSLETTER - TECH STYLE
   ---------------------------------------------------- */
.newsletter-form-tech {
    position: relative;
    max-width: 100%;
}

.newsletter-input-tech {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 1.25rem;
    padding-right: 3.5rem; /* Space for button */
    border-radius: 12px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.newsletter-input-tech::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-tech:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--info); /* Cyan highlight */
    outline: none;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1); /* Cyan glow */
}

.newsletter-btn-tech {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--info);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: all 0.2s ease;
    cursor: pointer;
}

.newsletter-btn-tech:hover {
    background: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.newsletter-btn-tech i {
    font-size: 1rem;
    font-weight: bold;
}

/* --- Modern Hero Buttons (Revised) --- */
.btn-primary-modern {
    background-color: var(--navy);
    color: #fff !important;
    padding: 10px 26px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(10, 38, 71, 0.18);
    border: 1.5px solid transparent;
}

.btn-primary-modern:hover {
    background-color: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 38, 71, 0.22);
}

.btn-primary-modern i {
    transition: transform 0.3s ease;
}

.btn-primary-modern:hover i {
    transform: translateX(4px);
}

.btn-secondary-modern {
    background-color: white;
    color: var(--navy) !important;
    padding: 10px 26px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid #d1d9e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.btn-secondary-modern:hover {
    background-color: #f4f6f8;
    border-color: #b0bec8;
    color: var(--navy-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.09);
}

/* --- Clean Search Trigger --- */
.btn-search-trigger {
    background: transparent;
    border: 1px solid #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: all 0.2s ease;
}

.btn-search-trigger:hover {
    background: #f1f5f9;
    color: var(--accent);
    transform: rotate(15deg);
}

.search-collapse-container {
    z-index: 1000;
}

/* --- Clean Search Trigger --- */
.btn-search-trigger {
    background: transparent;
    border: 1px solid #e2e8f0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-search-trigger:hover {
    background: #f1f5f9; /* extremely light gray */
    color: var(--accent);
    transform: rotate(10deg);
    border-color: #cbd5e1;
}

.search-collapse-container {
    z-index: 1100; /* Higher than navbar content */
    margin-top: -1px; 
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px); /* Stronger blur */
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Performance: blur + wide transitions can stutter on open/close.
   Disable expensive effects while a modal or the search overlay is open. */
body.modal-open .navbar,
body.search-open .navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: none !important;
}

body.search-open .search-collapse-container,
body.modal-open .search-collapse-container {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Make search overlay feel instant (removes height animation jank) */
.search-collapse-container.collapsing {
    transition: none !important;
}

.search-collapse-container input {
    font-weight: 300;
    letter-spacing: -0.5px;
    color: var(--navy);
}

.search-collapse-container input::placeholder {
    color: #94a3b8;
    opacity: 0.6;
}

.search-collapse-container .btn-light {
    background: #f1f5f9;
    border: 1px solid transparent;
    color: #64748b;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.search-collapse-container .btn-light:hover {
    background: white;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    color: var(--accent);
}

/* --- Modern Pricing Card Styles --- */

.pricing-card-modern {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef2f6;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 38, 71, 0.08);
}

/* Featured Blue Card */
.pricing-card-modern.bg-navy {
    background-color: var(--navy) !important;
    border: none;
    box-shadow: 0 15px 35px rgba(10, 38, 71, 0.3);
    color: white;
}

.pricing-card-modern.bg-navy:hover {
    box-shadow: 0 25px 50px rgba(10, 38, 71, 0.4);
}

.pricing-card-modern.bg-navy .card-title,
.pricing-card-modern.bg-navy .current-price {
    color: white !important;
}

.pricing-card-modern.bg-navy .old-price {
    color: rgba(255,255,255,0.6) !important;
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background-color: #ef4444; /* Red */
    color: white;
    z-index: 2;
}

/* Typography */
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.old-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: #94a3b8;
}

.current-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
}

/* Buttons */
.btn-outline-custom {
    color: var(--navy);
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-custom:hover {
    background-color: #f8fafc;
    border-color: var(--navy);
    color: var(--navy);
}

.btn-white-custom {
    background-color: white;
    color: var(--navy);
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-white-custom:hover {
    background-color: #f1f5f9;
    color: var(--navy-dark);
}

/* Feature List */
.feature-list {
    margin-top: auto; /* Push features to expand */
}

.feature-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.feature-list li i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Overrides for Blue Card Content */
.pricing-card-modern.bg-navy .feature-list li {
    color: rgba(255,255,255,0.9);
}

/* Background Grid Pattern */
.card-grid-bg {
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}


/* --- Testimonial Cards --- */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.transition-hover {
    transition: all 0.3s ease;
}

.bg-light-subtle {
    background-color: #f8f9fa !important;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    background-color: var(--navy) !important;
    opacity: 0.4;
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--navy) !important;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
    background-color: var(--navy) !important;
    opacity: 0.4;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}


/* Client Logo Slider */
.client-logo {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
    max-height: 40px; /* Standardize height */
    width: auto;
    object-fit: contain;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.brandSwiper .swiper-wrapper {
    transition-timing-function: linear !important; /* For smooth continuous scroll */
}


/* Brand Carousel Slide Width */
.brandSwiper .swiper-slide {
    width: auto !important;
    padding: 0 40px;
}
.brandSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
    will-change: transform;
}


/* Brand Carousel Slide Width */
.brandSwiper .swiper-slide {
    width: auto !important;
    padding: 0 40px;
}
.brandSwiper .swiper-wrapper {
    transition-timing-function: linear !important; 
    will-change: transform;
}

/* Force linear timing on brand slider */
.brandSwiper .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}


/* Force linear timing on brand slider */
.brandSwiper .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

/* --- Inverted Magnet Effect for Logos --- */
.brandSwiper .swiper-slide {
    position: relative;
    padding-top: 30px !important;    /* Reduced from 60px */
    padding-bottom: 30px !important; /* Reduced from 60px */
    padding-left: 30px !important;   /* Reduced horizontal padding */
    padding-right: 30px !important;  /* Reduced horizontal padding */
    overflow: visible !important;
}

/* Ensure wrapper allows overflow if possible, though Swiper container clips */
.brandSwiper .swiper-wrapper {
    z-index: 10;
}

.client-logo {
    transition: transform 0.1s ease-out, filter 0.3s ease;
    will-change: transform;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

/* Prevent clipping by expanding container - Reduced */
.brandSwiper {
    padding-top: 20px !important;    /* Reduced from 50px */
    padding-bottom: 20px !important; /* Reduced from 50px */
    overflow: hidden; 
}

/* Mega Menu / Custom Dropdown */
.dropdown-menu.megamenu {
    min-width: 600px;
    /* Use 'visible' animation name to avoid overwriting translateX */
    animation: fadeInDownCentered 0.3s ease-out forwards;
    transform-origin: top center;
    border: 1px solid rgba(0,0,0,0.05);
    left: 50% !important;
    /* The translateX(-50%) will be handled in keyframes */
}

/* Hover to Open */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        /* margin-top: 0; REMOVED - we need the visual spacing */
    }

    /* Invisible "Bridge" to prevent menu from closing when moving mouse down */
    .dropdown-menu.megamenu::before {
        content: '';
        display: block;
        position: absolute;
        top: -20px; /* Extend hit area upwards into the gap */
        left: 0;
        width: 100%;
        height: 20px; /* Height of the gap */
        background: transparent;
    }
}

@media (max-width: 991px) {
    .dropdown-menu.megamenu {
        min-width: 100%;
        box-shadow: none !important;
        border: 1px solid #eee !important;
        left: 0 !important;
        transform: none !important;
        animation: none;
    }
}

.dropdown-item {
    transition: all 0.2s ease;
    border-radius: 8px; /* Softer edges */
}

/* Allow multiline text inside mega menu items (Bootstrap dropdown-item defaults to nowrap) */
.dropdown-menu.megamenu .dropdown-item {
    white-space: normal;
}

/* Prevent flex overflow for long descriptions in mega menu */
.dropdown-menu.megamenu .dropdown-item > div:last-child {
    min-width: 0;
}

.dropdown-item:hover {
    background-color: #f0f4f8; /* Softer blue-grey */
    transform: translateX(5px);
}

.dropdown-header {
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0; /* Elegant dashed line */
    margin-bottom: 12px;
}

/* Keyframes ensuring X-centering persists */
@keyframes fadeInDownCentered {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Refined Vertical Line In Mega Menu */
.border-end-lg {
    border-right: 1px solid rgba(13, 27, 42, 0.05); /* very subtle navy line */
}

@media (max-width: 991px) {
    .border-end-lg {
        border-right: none !important;
        border-bottom: 1px solid rgba(13, 27, 42, 0.05);
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* Remove standard border utility to use our custom one */
.border-end-lg {
    border-right: 1px solid rgba(13, 27, 42, 0.05);
}

@media (max-width: 991px) {
    .border-end-lg {
        border-right: none !important;
        border-bottom: 1px solid rgba(13, 27, 42, 0.05); /* very subtle navy line */
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* ── Wizard Selection Buttons ── */
.step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}
.step-content.active { display: block; }

.selection-btn {
    border: 1px solid #eaecf0;
    background: #ffffff;
    color: #344054;
    width: 100%;
    padding: 0.85rem 1rem;
    text-align: left;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    box-shadow: 0 1px 2px rgba(16,24,40,0.05);
    cursor: pointer;
}
.selection-btn:hover {
    border-color: #cfd4dc;
    background: #f9fafb;
    transform: translateY(-1px);
    color: var(--navy);
}
.selection-btn.active {
    border-color: var(--navy);
    background: #f8faff;
    box-shadow: 0 0 0 1px rgba(10,38,71,0.1);
    color: var(--navy);
    font-weight: 600;
}
.selection-btn .icon-box {
    transition: all 0.3s ease;
    background: #f2f4f7;
    color: #475467;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}
.selection-btn:hover .icon-box { background: #e4e7ec; color: var(--navy); }
.selection-btn.active .icon-box { background: var(--navy); color: #fff; }
.selection-btn.active::after {
    content: '\f26b';
    font-family: 'bootstrap-icons';
    color: var(--navy);
    font-size: 1rem;
    margin-left: auto;
    opacity: 0;
    animation: fadeInSimple 0.2s forwards;
}
@keyframes fadeInSimple { from { opacity:0; transform:scale(0.8); } to { opacity:1; transform:scale(1); } }
.step-content.active .selection-btn {
    animation: slideInLeft 0.45s ease forwards;
    opacity: 0;
    transform: translateX(-16px);
}
.step-content.active .col-12:nth-child(1) .selection-btn  { animation-delay: 0.08s; }
.step-content.active .col-12:nth-child(2) .selection-btn  { animation-delay: 0.16s; }
.step-content.active .col-12:nth-child(3) .selection-btn  { animation-delay: 0.24s; }
.step-content.active .col-12:nth-child(4) .selection-btn  { animation-delay: 0.32s; }
.step-content.active .col-md-6:nth-child(1) .selection-btn { animation-delay: 0.08s; }
.step-content.active .col-md-6:nth-child(2) .selection-btn { animation-delay: 0.14s; }
.step-content.active .col-md-6:nth-child(3) .selection-btn { animation-delay: 0.20s; }
.step-content.active .col-md-6:nth-child(4) .selection-btn { animation-delay: 0.26s; }
.step-content.active .col-md-6:nth-child(5) .selection-btn { animation-delay: 0.32s; }
@keyframes slideInLeft { to { opacity:1; transform:translateX(0); } }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* Template Page & New Wizard Styles */

/* Hide Scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Template Cards */
.template-card {
    transition: all 0.3s ease;
    cursor: pointer;
}
.template-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Wizard Sidebar Indicators */
.wizard-steps-indicator .step-item {
    transition: all 0.3s;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    cursor: default;
}
.wizard-steps-indicator .active-step {
    border-left-color: #fff;
    padding-left: 1.25rem;
}

/* Form Styles for Modal */
.form-floating-tech {
    position: relative;
    border-bottom: 2px solid #e2e8f0;
}
.form-control-tech {
    border: none;
    background: transparent;
    padding: 1rem 0;
    width: 100%;
    outline: none;
    box-shadow: none;
    color: var(--navy);
    font-weight: 500;
}
.form-control-tech:focus {
    box-shadow: none;
    border-bottom: 2px solid var(--navy);
}
.form-label-tech {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem 0;
    pointer-events: none;
    transition: 0.2s ease all;
    color: #64748b;
}
.form-control-tech:focus ~ .form-label-tech,
.form-control-tech:not(:placeholder-shown) ~ .form-label-tech {
    top: -1.25rem;
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
}
.form-control-tech::placeholder {
    color: transparent;
}

/* Modern Modal & Backdrop Styling */

/* Backdrop blur can cause noticeable jank on modal open/close (large repaint).
   Keep a simple dimmed backdrop for smoother performance. */

.modal {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.4) !important; /* Simple dark overlay */
    transition: none !important;
}

/* Remove fade timing so backdrop + modal appear/disappear together */
.modal.fade {
    transition: none !important;
}

.modal-backdrop.fade {
    transition: none !important;
}

.modal-backdrop.show {
    opacity: 1 !important;
}

/* Modal Entrance Animation */
/* Transform animations on large modal content can stutter on some devices/browsers.
   Bootstrap already fades the modal; keep dialog static for smoother open/close. */
.modal.fade .modal-dialog {
    transform: none !important;
    transition: none !important;
}

.modal.show .modal-dialog {
    transform: none !important;
}

/* Fix for blurry text during transform on some browsers */
.modal-dialog {
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
        transform: none;
    }
}

/* Utility Classes for Animations */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08) !important;
}

.hover-scale {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hover-scale:hover {
    transform: scale(1.03);
}

.transition-all {
    transition: all 0.3s ease;
}

/* --- Why Us Feature Cards --- */
.why-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 16px 18px;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    cursor: default;
}
.why-card:hover {
    box-shadow: 0 6px 24px rgba(10, 38, 71, 0.09);
    transform: translateY(-2px);
}
.why-card-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.why-card-body {
    flex: 1;
    min-width: 0;
}

/* Modal Polish - removed conflicting rules */

/* ─────────────────────────────────────────────────────
   FOOTER — TECH SERVER REDESIGN
───────────────────────────────────────────────────── */
.footer-tech {
    background-color: #05101c;
    background-image: linear-gradient(rgba(5, 16, 28, 0.88), rgba(5, 16, 28, 0.94)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&q=80&w=2600');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

/* Ambient glows */
.footer-tech::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 68% 40%, rgba(37,99,235,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 95% 90%, rgba(44,116,179,0.09) 0%, transparent 55%),
        radial-gradient(ellipse 30% 30% at 10% 80%, rgba(37,99,235,0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Server rack SVG background */
.footer-server-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.18;
    z-index: 0;
}
.footer-server-bg svg {
    width: 100%;
    height: 100%;
}
.footer-tech .container {
    position: relative;
    z-index: 1;
}

/* Divider line */
.footer-divider {
    border-color: rgba(255,255,255,0.06) !important;
}

/* Brand */
.footer-brand {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}
.footer-brand span { color: #3b82f6; }

/* Social icons — large, square-rounded, minimal */
.footer-social-row {
    display: flex;
    gap: 0.85rem;
    margin-top: 2rem;
}
.footer-social-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: rgba(255,255,255,0.75);
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(4px);
}
.footer-social-icon:hover {
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.footer-social-icon.si-tiktok:hover     { background: linear-gradient(135deg,#010101 30%,#1a1a1a 60%, #69C9D0); }
.footer-social-icon.si-instagram:hover  { background: linear-gradient(135deg,#405DE6,#833AB4,#C13584,#FD1D1D,#F77737); }
.footer-social-icon.si-linkedin:hover   { background: #0A66C2; }
.footer-social-icon.si-youtube:hover    { background: linear-gradient(135deg,#c4302b,#ff0000); }

/* Nav headings */
.footer-nav-heading {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.5rem;
}

/* Nav links */
.footer-nav-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 0.25rem 0;
}
.footer-nav-link:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* Newsletter */
.footer-newsletter-input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #fff;
    padding: 0.85rem 1.25rem;
    width: 100%;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter-input:focus { 
    border-color: rgba(59,130,246,0.8);
    background: rgba(255,255,255,0.12);
}

.footer-newsletter-btn {
    background: #2563eb;
    border: none;
    border-radius: 10px;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    width: 100%;
    margin-top: 0.6rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    letter-spacing: 0.02em;
}
.footer-newsletter-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1rem;
    margin-top: 2rem;
}
.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.02em;
}








/* ==========================================================================
   MOBILE & TABLET OPTIMIZATIONS (Max Width 991px & 767px)
   ========================================================================== */

/* GLOBAL ANTI-OVERFLOW (Fixes horizontal scroll / Kayma sorunu) */
html, body { 
    overflow-x: hidden !important; 
    max-width: 100vw !important; 
    width: 100%; 
    position: relative;
}

@media (max-width: 991px) {
    /* Navbar Logos & Toggles */
    .navbar-brand img { max-height: 40px !important; }

    /* Mobile navbar: prevent CTA overlap in collapsed menu */
    .navbar {
        width: 98vw !important;
        min-width: 98vw !important;
    }
    .navbar .navbar-collapse { padding-top: 0.75rem !important; }
    .navbar .navbar-collapse .navbar-nav { gap: 0.25rem !important; }
    .navbar .navbar-collapse > .btn-wizard-cta,
    .navbar .navbar-collapse > .btn-login-nav {
        width: 100% !important;
        justify-content: center !important;
        margin: 0.4rem 0 0 !important;
        box-sizing: border-box !important;
    }
    .navbar .navbar-collapse > .btn-login-nav { margin-left: 0 !important; }
    
    /* Global Hero Paddings (Homepage & Inner pages) */
    .hero-section { 
        padding-top: 50px !important; 
        padding-bottom: 40px !important; 
        margin-top: 60px !important; 
        min-height: auto !important;
        height: auto !important;
        display: block !important;
        overflow: visible !important;
    }
    .hero-section .container { padding-top: 10px !important; }
    .hero-title { font-size: 2.2rem !important; line-height: 1.25 !important; }
    .hero-subtitle { font-size: 1.1rem !important; }

    /* Services visual: reduce cramped padding + disable hover-parallax on touch */
    .interactive-tech-card { height: 520px; }
    .layer-back { padding: 12px !important; }
    .interactive-tech-card:hover .tech-layer-container,
    .interactive-tech-card:hover .layer-mid,
    .interactive-tech-card:hover .layer-front,
    .interactive-tech-card:hover .layer-front-2,
    .interactive-tech-card:hover .layer-back {
        transform: none !important;
    }

    /* Livechat iOS: avoid zoom/jump caused by transformed parent */
    .lc-input { font-size: 16px !important; }
    .livechat-panel,
    .livechat-panel.lc-open {
        transform: none !important;
    }
    
    /* Services & Cards Alignment */
    .services-slider, .projects-slider { padding: 10px !important; }
    
    /* Panel Specific */
    .panel-sidebar { transform: translateX(-100%); transition: 0.3s; z-index: 1040; position: fixed; height: 100vh; }
    .panel-sidebar.active { transform: translateX(0); }
    .panel-content { margin-left: 0 !important; width: 100% !important; }
    
    /* Inner Pages Hero (Hakkimizda, Referanslar, vb) */
    .about-hero { padding: 100px 0 50px !important; }
    .page-header { padding: 100px 0 50px !important; }
}

@media (max-width: 767px) {
    /* Anti-Overflow Strict Containment */
    .container, .container-fluid { 
        padding-left: 15px !important; 
        padding-right: 15px !important; 
        overflow-x: hidden !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    .row { 
        margin-left: 0 !important; 
        margin-right: 0 !important; 
    }
    .row > * { 
        padding-left: 10px !important; 
        padding-right: 10px !important; 
    }
    
    #particles-js { max-width: 100vw !important; overflow: hidden !important; display: none; /* Disable particle effects on mobile to prevent overflow and save battery */ }

    /* Home Hero stricter spacing for phones */
    .hero-section {
        padding-top: 20px !important;
        margin-top: 50px !important; 
    }
    
    /* Inner pages (Hakkimizda, Contact, etc) strict adjustments */
    .about-hero, .page-header { padding: 80px 0 40px !important; }
    .about-hero h1, .page-header h1 { font-size: 2rem !important; }
    .about-hero p, .page-header p { font-size: 0.95rem !important; text-align: center !important; margin: 0 auto !important; }
    .about-hero .d-flex, .page-header .d-flex { justify-content: center !important; margin-top: 15px !important; }
    
    /* Content Sections Spacing */
    section { padding-top: 40px !important; padding-bottom: 40px !important; }
    
    /* -----------------------------------------
       HAKKIMIZDA PAGE STATS FIX (2x2 Grid)
       ----------------------------------------- */
    .stats-strip .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .stats-strip .col-md-3 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }
    .stat-block { 
        padding: 30px 10px !important; 
        margin-bottom: 0 !important; 
        border: 1px solid #f0f2f5 !important; 
        height: 100% !important;
    }
    .stat-block .num { font-size: 2.2rem !important; }
    .stat-block .desc { font-size: 0.75rem !important; }

    /* -----------------------------------------
       PROJELERIMIZ / REFERANSLAR FILTER BUTTONS
       ----------------------------------------- */
    #filterBar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        justify-content: flex-start !important;
        padding: 5px 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        scrollbar-width: none; /* Firefox */
        gap: 8px !important;
    }
    #filterBar::-webkit-scrollbar {
        display: none !important; /* Safari/Chrome hidder */
    }
    .filter-btn {
        flex: 0 0 auto !important;
        width: auto !important;
        white-space: nowrap !important;
        font-size: 0.9rem !important;
        padding: 8px 24px !important;
        border-radius: 50px !important; /* tam yatay hap şekli */
        background-color: #f1f5f9 !important; /* Açık gri sade arkaplan */
        color: #475569 !important;
        border: 1px solid #e2e8f0 !important;
        margin: 0 !important;
    }
    .filter-btn.active {
        background-color: var(--navy) !important;
        color: #ffffff !important;
        border-color: var(--navy) !important;
    }
    
    /* Advanced Grid / Inline cards (Neden Biz, Referans) */
    .reference-card, .service-card { margin-bottom: 15px !important; width: 100% !important; }
    .story-section img, .cta-banner img { width: 100% !important; max-width: 100% !important; height: auto !important; }

    /* Hero / CTA Buttons Only (don't ruin all buttons) */
    .hero-section .btn, .about-hero .btn, .cta-banner .btn, .auth-btn { 
        width: 100% !important; 
        text-align: center !important; 
        margin-bottom: 10px !important; 
        display: block !important; 
        box-sizing: border-box !important;
    }
    /* Modal buttons must NEVER go full-width */
    .modal .btn, .modal-content .btn {
        width: auto !important;
        display: inline-block !important;
    }
    
    /* Typography */
    h1 { font-size: 1.9rem !important; line-height: 1.3 !important; }
    h2 { font-size: 1.6rem !important; line-height: 1.3 !important; }
    h3 { font-size: 1.3rem !important; line-height: 1.3 !important; }
    p { font-size: 0.95rem !important; line-height: 1.5 !important; }
    
    /* Values & Badges */
    .section-badge { display: inline-block; margin: 0 auto 10px !important; }
    .text-center .section-badge { display: flex; width: max-content; }

    /* Forms */
    .form-control, .form-select { height: 45px !important; font-size: 16px !important; /* Prevents iOS Zoom */ }

    /* Livechat input: also prevent iOS zoom */
    .lc-input { font-size: 16px !important; }

    /* Services visual: phone-friendly sizing */
    .interactive-tech-card { height: min(460px, 62vh) !important; }
    .layer-back { padding: 10px !important; }

    /* Services section overall spacing (reduce cramped feel) */
    #hizmetler .feature-slider-card > .p-4 {
        padding: 1rem !important;
    }

    /* Services mock/animation: prevent clipping + keep page scrollable when finger is on the mock */
    #hizmetler { overflow-x: clip !important; }
    #hizmetler .feature-slider-card { overflow: visible !important; }
    #hizmetler #service-visual,
    #hizmetler .interactive-tech-card,
    #hizmetler .tech-layer-container {
        width: 100% !important;
        max-width: 100% !important;
        touch-action: pan-y;
    }

    /* If iPhone still "gets stuck" when swiping on the mock:
       Make the visual *effectively* non-interactive without becoming a scroll target.
       We do this by placing a transparent overlay on top of the visual so touch scroll
       is handled by the page, not by any inner element. */
    #hizmetler .interactive-tech-card,
    #hizmetler #service-visual {
        transform: none !important;
        transition: none !important;
    }

    #hizmetler .interactive-tech-card {
        cursor: default !important;
    }

    #hizmetler .interactive-tech-card::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 10;
        background: transparent;
        pointer-events: auto;
        touch-action: pan-y;
    }

    /* Services visual: reduce cramped inner paddings (mock browser content uses Bootstrap px-5/py-5) */
    #hizmetler #service-visual .layer-back .px-5 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    #hizmetler #service-visual .layer-back .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    #hizmetler #service-visual .layer-back h2 {
        font-size: 0.95rem !important;
    }
    #hizmetler #service-visual .layer-back p {
        font-size: 0.7rem !important;
    }

    /* iPhone/Safari: ensure the page itself can scroll (avoid nested scroll containers)
       Only applies on touch Safari-like engines. */
    @supports (-webkit-touch-callout: none) {
        html, body {
            overflow-y: auto !important;
            height: auto !important;
            -webkit-overflow-scrolling: touch;
        }
        .hero-section,
        #hizmetler,
        section {
            overflow: visible !important;
        }
    }

    /* Modals */
    .modal-dialog { margin: 10px; max-width: calc(100vw - 20px) !important; }
    .modal-content { border-radius: 12px !important; padding: 15px !important; }

    /* Footer adjustments */
    .footer-tech { padding-top: 40px !important; }
    .footer-col { margin-bottom: 30px; text-align: center; }
    .footer-socials { justify-content: center; }
    .footer-logo { margin: 0 auto 15px !important; display: block; }
    
    /* Custom features / Why Us */
    .why-card { flex-direction: column; text-align: center; padding: 20px !important; box-sizing: border-box; }
    .why-card-icon { margin-bottom: 12px; }

    /* Header padding */
    .site-header { padding: 10px 0 !important; }

    /* Livechat panel fixes constraints */
    .livechat-panel { width: calc(100vw - 30px) !important; right: 15px !important; bottom: 80px !important; max-height: 80vh !important; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box;}
    #lcMessages { flex: 1; overflow-y: auto; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem !important; }
    .navbar-brand img { max-height: 35px !important; }
    /* Micro adjustments for very small screens */
    .about-hero h1 { font-size: 1.7rem !important; }
    .stat-block .num { font-size: 1.9rem !important; }
}
