/* ============================================
   ArabamFix - Modern Corporate Minimalist Theme
   ============================================ */

:root {
    --primary: #0F172A;
    --secondary: #2563EB;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border: #E2E8F0;

    --font-family: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme='dark'] {
    --primary: #F8FAFC;
    --secondary: #60A5FA;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --bg-light: #020617;
    --bg-white: #0F172A;
    --border: #1E293B;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background-color var(--transition), color var(--transition);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    transition: color var(--transition);
}

/* Topbar */
.topbar-corp {
    background: #0F172A;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme='dark'] .topbar-corp {
    background: #020617;
}

.topbar-link {
    color: inherit !important;
    text-decoration: none;
    transition: var(--transition);
}

.topbar-link:hover {
    color: white !important;
}

/* Navbar */
.nav-corporate {
    background: rgba(var(--bg-white-rgb, 255, 255, 255), 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    transition: var(--transition);
}

[data-theme='dark'] .nav-corporate {
    background: rgba(15, 23, 42, 0.9);
}

.nav-link-corp {
    color: var(--text-main) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 1rem;
    transition: var(--transition);
}

.nav-link-corp:hover {
    color: var(--secondary) !important;
}

/* Buttons */
.btn-corp-primary {
    background: var(--secondary);
    color: white !important;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-pulse {
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

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

.btn-corp-primary:hover {
    background: #1d4ed8;
    color: white !important;
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.btn-corp-outline {
    background: transparent;
    color: var(--primary) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.btn-corp-outline:hover {
    background: var(--secondary);
    color: white !important;
    border-color: var(--secondary);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.btn-corp-light-outline {
    background: transparent;
    color: white !important;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-corp-light-outline:hover {
    background: white;
    color: var(--primary) !important;
    border-color: white;
    transform: translateY(-1px);
}

/* Section Common */
.section-padding {
    padding: 100px 0;
}

.bg-light-corp {
    background-color: var(--bg-light);
}

/* Hero Section */
.hero-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title-corp {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

/* Feature Cards */
.card-feature {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-white);
    transition: var(--transition);
    height: 100%;
}

.card-feature:hover {
    border-color: var(--secondary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

/* Digital Garage Section */
.mini-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    background: var(--bg-white);
    transition: var(--transition);
}

.mini-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 12px 18px -6px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.icon-pill {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.panel-preview {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.preview-tile {
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}

.preview-list {
    display: grid;
    gap: 12px;
}

.preview-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
}

/* App Download Section */
.app-section {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-radius: 32px;
    padding: 60px;
}

.app-badge-corp {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: #000;
    color: white;
    border-radius: 12px;
    text-decoration: none !important;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-badge-corp:hover {
    transform: translateY(-2px);
    background: #222;
}

.app-coming-soon {
    opacity: 0.6;
    filter: grayscale(1);
    cursor: default;
}

.coming-soon-label {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* Stats */
.stat-block {
    text-align: center;
}

.stat-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Partner Badge */
.partner-badge {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Footer */
.footer-corporate {
    background: #0F172A;
    color: #94A3B8;
    padding: 100px 0 40px;
}

[data-theme='dark'] .footer-corporate {
    background: #020617;
}

.footer-corporate h5 {
    color: white;
    margin-bottom: 24px;
}

.footer-link-corp {
    color: #94A3B8;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-link-corp:hover {
    color: white;
}

/* Sosyal medya ikonlarının kesilmesini önlemek için minimal düzeltme */
.footer-corporate .d-flex .footer-link-corp {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* Theme Toggle */
.theme-switch {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-switch:hover {
    background: var(--border);
}

.theme-switch .fa-sun {
    display: none;
}

[data-theme='dark'] .theme-switch .fa-sun {
    display: block;
}

[data-theme='dark'] .theme-switch .fa-moon {
    display: none;
}

/* Glassmorphism for Dark Mode */
[data-theme='dark'] .glass-card {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Corporate Inner Pages */
.page-hero {
    position: relative;
    padding: 110px 0 80px;
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.35), transparent 40%),
        radial-gradient(circle at 85% 22%, rgba(14, 165, 233, 0.25), transparent 38%),
        linear-gradient(120deg, #0f172a 0%, #111827 60%, #0b1220 100%);
    color: #f8fafc;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='320' height='320' viewBox='0 0 320 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'%3E%3Cpath d='M0 40h320M0 120h320M0 200h320M0 280h320'/%3E%3Cpath d='M40 0v320M120 0v320M200 0v320M280 0v320'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.35;
    pointer-events: none;
}

.page-hero .hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-hero .hero-title {
    color: #f8fafc;
    font-weight: 800;
}

.page-hero .hero-subtitle {
    color: rgba(248, 250, 252, 0.7);
    max-width: 620px;
}

.page-hero .hero-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(10px);
}

.breadcrumb-corp {
    display: inline-flex;
    gap: 10px;
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.9rem;
}

.breadcrumb-corp a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb-corp a:hover {
    color: #fff;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-lead {
    color: var(--text-muted);
    max-width: 720px;
}

.surface-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: var(--transition);
}

.surface-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.15);
}

.surface-card:hover .icon-tile {
    transform: scale(1.05);
    background: var(--secondary);
    color: white;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.icon-tile {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-light);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.stat-strip {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(15, 23, 42, 0.04));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
}

.stat-strip .stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding: 6px 0 28px 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

.timeline-item h6 {
    margin-bottom: 6px;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.info-tile {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-main);
}

.ghost-input {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.map-placeholder {
    min-height: 260px;
    background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.2), transparent 50%),
        linear-gradient(135deg, var(--bg-light), var(--bg-white));
    border-radius: 18px;
    border: 1px dashed var(--border);
}