/* === Mali Digital - Component Styles === */
/* Utility classes handled by Tailwind CDN — this file contains ONLY custom components */
/* Base overrides (non-conflicting with Tailwind) */
html { scroll-behavior: smooth }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif }
/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
@media (min-width: 640px) { .container { padding-left: 2rem; padding-right: 2rem } }
@media (min-width: 1024px) { .container { padding-left: 4rem; padding-right: 4rem } }
/* Section spacing */
.section { padding: 6rem 0 }
@media (min-width: 1024px) { .section { padding: 8rem 0 } }
/* Glass Navigation */
.glass-nav {
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(194,198,214,.15);
}
/* Gradients & Surface */
.signature-gradient { background: linear-gradient(135deg, #0058be 0%, #2170e4 100%) }
.editorial-gradient { background: linear-gradient(135deg, #0058be 0%, #2170e4 50%, #006b2c 100%) }
.tonal-shift { background: #eff4ff }
.editorial-shadow { box-shadow: 0 32px 64px -12px rgba(0,28,56,.06) }
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .625rem 1.5rem;
    font-size: .875rem;
    font-weight: 600;
    border-radius: .375rem;
    transition: all .2s ease;
    cursor: pointer;
    border: none;
    line-height: 1.5;
}
.btn-primary {
    background: linear-gradient(135deg, #0058be, #2170e4);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,88,190,.25);
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0,88,190,.35);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    color: #0058be;
    border: 1px solid rgba(0,88,190,.2);
}
.btn-secondary:hover { background: rgba(0,88,190,.05) }
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
}
.btn-outline:hover { background: rgba(255,255,255,.1) }
.btn-lg { padding: .875rem 2rem; font-size: 1rem }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.125rem }
/* Navigation Links */
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: .5rem .875rem;
    font-size: .875rem;
    font-weight: 500;
    color: #424754;
    border-radius: .375rem;
    transition: all .2s ease;
}
.nav-link:hover { color: #0058be; background: rgba(0,88,190,.05) }
.nav-link-active { color: #0058be; font-weight: 600; background: rgba(0,88,190,.05) }
/* Navigation Dropdown */
.nav-dropdown { position: relative }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: .5rem;
    box-shadow: 0 10px 40px -8px rgba(0,28,56,.12);
    border: 1px solid rgba(194,198,214,.15);
    padding: .5rem;
    z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block }
.nav-dropdown-menu a {
    display: block;
    padding: .625rem 1rem;
    font-size: .875rem;
    color: #424754;
    border-radius: .375rem;
    transition: all .15s ease;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: #0058be; background: rgba(0,88,190,.05) }
/* Mobile Submenu */
.mobile-submenu { display: none; padding-left: 1rem }
.mobile-submenu.open { display: block }
/* Card */
.card {
    background: #fff;
    border-radius: .5rem;
    padding: 2rem;
    transition: all .3s ease;
    border: 1px solid transparent;
}
.card:hover {
    box-shadow: 0 25px 50px -12px rgba(0,28,56,.1);
    transform: translateY(-.5rem);
    border-color: rgba(0,88,190,.1);
}
/* Section Typography */
.section-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #0058be;
    margin-bottom: .75rem;
    display: inline-block;
}
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #001c38;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.125rem;
    color: #424754;
    max-width: 36rem;
    line-height: 1.6;
}
/* Metrics */
.metric-card { text-align: center; padding: 2rem 1rem }
.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0058be;
    letter-spacing: -.02em;
    line-height: 1;
}
.metric-label { font-size: .875rem; color: #424754; margin-top: .5rem }
/* Form */
.form-input {
    width: 100%;
    background: #eff4ff;
    border: 1px solid transparent;
    border-radius: .5rem;
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: #001c38;
    transition: all .2s ease;
    outline: none;
}
.form-input:focus {
    background: #fff;
    border-color: #0058be;
    box-shadow: 0 0 0 3px rgba(0,88,190,.1);
}
.form-input::placeholder { color: #424754 }
.form-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #001c38;
    margin-bottom: .5rem;
}
textarea.form-input { resize: vertical; min-height: 8rem }
/* Partner Logos */
.partner-logo {
    filter: grayscale(100%);
    opacity: .6;
    transition: all .3s ease;
    max-height: 3rem;
    width: auto;
}
.partner-logo:hover { filter: grayscale(0); opacity: 1 }
/* Step Number */
.step-number {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}
/* Alerts */
.alert { padding: 1rem 1.5rem; border-radius: .5rem; font-size: .875rem; margin-bottom: 1rem }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0 }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca }
/* Honeypot (anti-spam) */
.honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
/* Referans Marquee */
.referans-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.referans-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee-scroll 50s linear infinite;
}
.referans-card {
    flex-shrink: 0;
    width: 10rem;
    height: 5.5rem;
    background: #fff;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,28,56,.06);
    overflow: hidden;
}
.referans-card img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 3rem;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .6;
    transition: all .3s ease;
}
.referans-card:hover img { filter: grayscale(0); opacity: 1 }
@keyframes marquee-scroll {
    0% { transform: translateX(0) }
    100% { transform: translateX(-50%) }
}
@media (prefers-reduced-motion: reduce) {
    .referans-track { animation: none }
}
