/* =============================================
   Kolayca ERP — Landing Page Stylesheet
   Inter font, gradient brand, full responsive
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── CSS Variables ─── */
:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --success: #10b981;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
    --shadow-xl: 0 32px 80px rgba(79,70,229,.18);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
    --navbar-h: 112px;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ─── Navbar ─── */
.kolayca-navbar {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    min-height: var(--navbar-h);
    padding: 0;
}

.kolayca-navbar.scrolled {
    background: rgba(255,255,255,.97);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.kolayca-brand {
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.5px;
}

.brand-kolayca {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-erp {
    color: var(--text-dark);
    font-weight: 700;
}

.navbar-logo {
    height: 104px;
    width: 104px;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-logo:hover {
    opacity: .85;
}

.footer-logo {
    height: 96px;
    width: 96px;
    object-fit: contain;
    vertical-align: middle;
}

.nav-link-custom {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: .95rem;
    padding: .5rem .75rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link-custom:hover {
    color: var(--primary) !important;
    background: rgba(79,70,229,.06);
}

/* ─── Buttons ─── */
.btn-main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    padding: .65rem 1.6rem;
    box-shadow: 0 4px 14px rgba(79,70,229,.35);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79,70,229,.45);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #312e81 100%);
}

.btn-main.btn-lg {
    padding: .85rem 2rem;
    font-size: 1.05rem;
}

.btn-outline-brand {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    padding: .75rem 1.8rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.btn-outline-brand:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79,70,229,.3);
}

/* ─── Gradient Text ─── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Scroll Animations ─── */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s var(--transition), transform .6s var(--transition);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── HERO Section ─── */
.hero-section {
    min-height: 100vh;
    padding-top: var(--navbar-h);
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #f0f4ff 0%, #fafafe 50%, #f0fdff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,.10) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(79,70,229,.08);
    color: var(--primary);
    border: 1px solid rgba(79,70,229,.2);
    border-radius: 50px;
    padding: .35rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.5px;
    margin-bottom: 1.25rem;
}

.hero-section .lead {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 1.5rem;
}

.hero-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.hero-checks li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.hero-checks li .check-icon {
    width: 22px; height: 22px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: .7rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 20px;
    background: linear-gradient(135deg, rgba(79,70,229,.15), rgba(6,182,212,.15));
    border-radius: var(--radius-lg);
    filter: blur(40px);
    z-index: 0;
}

.mockup-main {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 580px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform .5s ease;
}

.mockup-main:hover {
    transform: translateY(-8px) scale(1.01);
}

/* ─── Section Common ─── */
section {
    padding: 96px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #fff;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(79,70,229,.08);
    color: var(--primary);
    border: 1px solid rgba(79,70,229,.15);
    border-radius: 50px;
    padding: .3rem .9rem;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.4px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ─── Problem Cards ─── */
.problem-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: left;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    border-radius: var(--radius) var(--radius) 0 0;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    width: 48px; height: 48px;
    background: #fef2f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.problem-card h5 {
    font-weight: 700;
    margin-bottom: .5rem;
    font-size: 1.05rem;
}

/* ─── Scale / Segment Cards ─── */
.scale-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.scale-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.scale-card:hover::after { transform: scaleX(1); }

.scale-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79,70,229,.2);
}

.scale-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.15));
}

.scale-card h5 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: .6rem;
}

/* ─── Module List ─── */
.module-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.module-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
}

.module-list li::before {
    content: '✓';
    width: 26px; height: 26px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.modular-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    transition: transform .5s ease;
}

.modular-image:hover { transform: scale(1.02); }

/* ─── Pricing Section ─── */
.pricing-highlight {
    background: linear-gradient(135deg, #f0f4ff, #f0fdff);
    border: 2px solid rgba(79,70,229,.15);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* ─── Stats / Numbers ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: .25rem;
}

.stat-label {
    font-size: .9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ─── CTA Section ─── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #312e81 50%, #1e1b4b 100%);
    border-radius: var(--radius-lg);
    padding: 5rem 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.btn-cta {
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    padding: .9rem 2.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,.3);
    background: #f0f4ff;
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    padding: .85rem 2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: var(--transition);
}

.btn-cta-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.8);
    color: #fff;
    transform: translateY(-2px);
}

/* ─── Modal ─── */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 1.5rem 1.75rem;
}

.modal-header .modal-title { font-weight: 700; font-size: 1.15rem; }

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: .8;
}

.modal-body { padding: 1.75rem; }
.modal-footer {
    border: none;
    padding: 1rem 1.75rem 1.5rem;
    gap: .75rem;
}

.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    font-size: .95rem;
    padding: .6rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}

.form-label {
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-dark);
    margin-bottom: .35rem;
}

/* ─── Screen Frame (Ekran Görüntüleri) ─── */
.screen-frame {
    background: #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform .5s ease;
}

.screen-frame:hover {
    transform: translateY(-6px) scale(1.01);
}

.screen-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #0f172a;
}

.screen-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.screen-bar span:nth-child(1) { background: #ef4444; }
.screen-bar span:nth-child(2) { background: #f59e0b; }
.screen-bar span:nth-child(3) { background: #22c55e; }

.screen-img {
    width: 100%;
    display: block;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ─── Footer ─── */
.kolayca-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

/* ─── Divider ornament ─── */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 0 auto 2rem;
}

/* ─── Responsive ─── */
@media (max-width: 991.98px) {
    section { padding: 72px 0; }

    .hero-section {
        min-height: auto;
        padding: calc(var(--navbar-h) + 48px) 0 64px;
        text-align: center;
    }

    .hero-section .lead { max-width: 100%; }

    .hero-actions {
        justify-content: center;
    }

    .hero-checks {
        align-items: center;
    }

    .hero-image-wrapper {
        margin-top: 3rem;
    }

    .pricing-highlight { padding: 2rem 1.5rem; }
    .cta-section { padding: 3.5rem 1.5rem; }
}

@media (max-width: 767.98px) {
    section { padding: 56px 0; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

    .cta-section { border-radius: var(--radius); }

    .hero-actions { flex-direction: column; gap: .75rem; }
    .hero-actions .btn-main,
    .hero-actions .btn-outline-brand {
        width: 100%;
        justify-content: center;
    }

    .mockup-main { max-width: 100%; }
}

@media (max-width: 575.98px) {
    .hero-section h1 { font-size: 1.75rem; }
    .section-title { font-size: 1.5rem; }
    .problem-card, .scale-card { padding: 1.5rem 1.25rem; }
    .stat-number { font-size: 2rem; }
    .kolayca-navbar .container { padding: 0 1rem; }
}
