/* ===================================
   BizimKira — Landing Page CSS
   Premium Dark/Modern Design
   =================================== */

/* --- Reset & Variables --- */
:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --pink: #ec4899;

    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --bg-surface: #1a2332;
    --bg-light: #f8fafc;
    --bg-page: #0f172a;   /* Form alanı arkaplanı — --bg-dark ile aynı */

    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    --text-white: #ffffff;

    --border: rgba(148, 163, 184, 0.15);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;

    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-text: linear-gradient(135deg, var(--primary-light), var(--accent-light));

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.95rem; border: 2px solid transparent;
    cursor: pointer; transition: var(--transition); text-decoration: none;
    font-family: var(--font);
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

.btn-primary {
    background: var(--gradient); color: #fff; border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.btn-outline {
    background: transparent; color: var(--primary-light);
    border-color: var(--primary-light);
}
.btn-outline:hover {
    background: var(--primary); color: #fff;
    border-color: var(--primary);
}

.btn-ghost {
    background: rgba(255,255,255,0.08); color: var(--text);
    border-color: rgba(255,255,255,0.15);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.15); color: #fff;
}

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 0; transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 1.4rem; color: var(--text-white);
}
.nav-logo i { color: var(--primary-light); font-size: 1.5rem; }
.nav-logo strong { color: var(--primary-light); }

.nav-menu {
    display: flex; list-style: none; gap: 0.5rem;
}
.nav-menu a {
    padding: 0.5rem 1rem; border-radius: var(--radius-sm);
    color: var(--text-muted); font-weight: 500; font-size: 0.9rem;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--text-white); background: rgba(255,255,255,0.06);
}

.nav-actions { display: flex; gap: 0.75rem; }
.nav-toggle { display: none; }

/* --- Hero --- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: 8rem 0 4rem; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.1) 0%, transparent 50%);
}
.hero-shape {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}
.shape-1 { width: 400px; height: 400px; background: var(--primary); top: 10%; left: -5%; animation-delay: 0s; }
.shape-2 { width: 300px; height: 300px; background: var(--accent); top: 50%; right: -5%; animation-delay: 2s; }
.shape-3 { width: 250px; height: 250px; background: var(--pink); bottom: 10%; left: 30%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 15px) scale(0.95); }
}

.hero-content {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem; border-radius: 50px;
    background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3);
    color: var(--primary-light); font-size: 0.85rem; font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.5rem; }
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 2.5rem; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 1.8rem; font-weight: 800; color: var(--text-white); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* Dashboard Preview */
.dashboard-preview {
    background: var(--bg-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border); overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(800px) rotateY(-5deg) rotateX(2deg);
    transition: var(--transition);
}
.dashboard-preview:hover { transform: perspective(800px) rotateY(0) rotateX(0); }
.preview-header {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.8rem 1.2rem; border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots span { width: 10px; height: 10px; border-radius: 50%; }
.preview-dots span:nth-child(1) { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:nth-child(3) { background: #10b981; }
.preview-title { font-size: 0.8rem; color: var(--text-muted); }
.preview-body { padding: 1.2rem; }
.preview-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1rem; }
.preview-card {
    padding: 0.8rem; border-radius: var(--radius-sm); text-align: center;
}
.preview-card i { font-size: 1.2rem; margin-bottom: 0.3rem; display: block; }
.pc-value { display: block; font-size: 1.3rem; font-weight: 800; }
.pc-label { font-size: 0.65rem; color: var(--text-muted); }
.card-blue { background: rgba(99,102,241,0.15); color: var(--primary-light); }
.card-green { background: rgba(16,185,129,0.15); color: var(--success); }
.card-orange { background: rgba(245,158,11,0.15); color: var(--warning); }
.card-red { background: rgba(239,68,68,0.15); color: var(--danger); }

.preview-table { font-size: 0.75rem; }
.pt-row {
    display: grid; grid-template-columns: 2fr 2fr 1fr 1fr;
    padding: 0.5rem 0.8rem; border-bottom: 1px solid var(--border);
}
.pt-header { color: var(--text-muted); font-weight: 600; }

.badge {
    padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 600;
}
.badge-green { background: rgba(16,185,129,0.2); color: var(--success); }
.badge-gray { background: rgba(148,163,184,0.2); color: var(--text-muted); }

/* --- Sections --- */
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-badge {
    display: inline-block; padding: 0.3rem 1rem; border-radius: 50px;
    background: rgba(99,102,241,0.12); color: var(--primary-light);
    font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem;
}
.section-header h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- Features --- */
.features-section { background: var(--bg-surface); }
.features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.feature-card {
    background: var(--bg-card); padding: 2rem; border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px); border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(99,102,241,0.15);
}
.feature-icon {
    width: 50px; height: 50px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 1.2rem;
}
.icon-blue { background: rgba(99,102,241,0.15); color: var(--primary-light); }
.icon-green { background: rgba(16,185,129,0.15); color: var(--success); }
.icon-purple { background: rgba(139,92,246,0.15); color: #a78bfa; }
.icon-orange { background: rgba(245,158,11,0.15); color: var(--warning); }
.icon-red { background: rgba(239,68,68,0.15); color: var(--danger); }
.icon-teal { background: rgba(6,182,212,0.15); color: var(--accent); }
.icon-indigo { background: rgba(99,102,241,0.15); color: #818cf8; }
.icon-pink { background: rgba(236,72,153,0.15); color: var(--pink); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.7rem; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* --- Steps / How It Works --- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card {
    text-align: center; padding: 2.5rem; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    position: relative;
}
.step-number {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--gradient); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800; margin: 0 auto 1.5rem;
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.8rem; }
.step-card p { color: var(--text-muted); font-size: 0.92rem; }

/* --- Pricing --- */
.pricing-section { background: var(--bg-surface); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.price-card {
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid var(--border); padding: 2.5rem 2rem;
    transition: var(--transition); position: relative; overflow: hidden;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.popular {
    border-color: var(--primary); transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(99,102,241,0.2);
}
.price-card.popular:hover { transform: scale(1.05) translateY(-4px); }
.popular-badge {
    position: absolute; top: 1rem; right: -2rem;
    background: var(--gradient); color: #fff; padding: 0.3rem 2.5rem;
    font-size: 0.75rem; font-weight: 700; transform: rotate(45deg);
}
.price-header { margin-bottom: 2rem; }
.price-header h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.3rem; }
.price-desc { color: var(--text-muted); font-size: 0.9rem; }
.price-features ul { list-style: none; margin-bottom: 2rem; }
.price-features li {
    padding: 0.5rem 0; color: var(--text);
    display: flex; align-items: center; gap: 0.7rem;
    font-size: 0.92rem; border-bottom: 1px solid var(--border);
}
.price-features li i { color: var(--success); font-size: 0.85rem; }

/* --- CTA --- */
.cta-section {
    background: var(--bg-dark);
    background-image: radial-gradient(ellipse at center, rgba(99,102,241,0.15) 0%, transparent 70%);
}
.cta-content { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 1rem; }
.cta-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; }

/* --- Footer --- */
.footer {
    background: var(--bg-surface); border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 1.3rem; color: var(--text-white); margin-bottom: 1rem;
}
.footer-logo i { color: var(--primary-light); }
.footer-logo strong { color: var(--primary-light); }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-card); display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); border: 1px solid var(--border);
}
.footer-social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.footer-links h4, .footer-contact h4 {
    font-size: 1rem; font-weight: 700; margin-bottom: 1.2rem; color: var(--text-white);
}
.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 0.6rem; }
.footer-links a, .footer-contact a {
    color: var(--text-muted); font-size: 0.9rem;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--primary-light); }
.footer-contact li { display: flex; align-items: center; gap: 0.7rem; }
.footer-contact li i { color: var(--primary-light); width: 16px; }

.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-muted); font-size: 0.85rem;
}

/* --- 404 page --- */
.error-page {
    min-height: 60vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding-top: 5rem;
}
.error-page h1 { font-size: 5rem; color: var(--primary-light); }
.error-page p { color: var(--text-muted); margin: 1rem 0 2rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); flex-direction: column; padding: 1rem; border-top: 1px solid var(--border); }
    .nav-menu.active { display: flex; }
    .nav-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
    .nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: var(--transition); }
    .nav-actions { display: none; }

    .hero h1 { font-size: 2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.popular { transform: scale(1); }
    .price-card.popular:hover { transform: translateY(-4px); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .preview-cards { grid-template-columns: repeat(2, 1fr); }
}

/* --- Auth Pages --- */
.auth-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 6rem 1rem 2rem;
    background: var(--bg-dark);
    background-image: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.1) 0%, transparent 50%);
}
.auth-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 3rem;
    width: 100%; max-width: 460px; box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; text-align: center; }
.auth-card .auth-subtitle { color: var(--text-muted); text-align: center; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: var(--text-muted); margin-bottom: 0.4rem;
}
.form-control {
    width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius-sm);
    background: var(--bg-dark); border: 1px solid var(--border);
    color: var(--text); font-size: 0.95rem; font-family: var(--font);
    transition: var(--transition);
    color-scheme: dark;
}
.form-control:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control option {
    background: #1e293b;
    color: #e2e8f0;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.auth-footer { text-align: center; margin-top: 1.5rem; }
.auth-footer a { color: var(--primary-light); font-weight: 600; }

/* Alert messages */
.alert {
    padding: 0.8rem 1rem; border-radius: var(--radius-sm);
    margin-bottom: 1.2rem; font-size: 0.9rem;
}
.alert-danger { background: rgba(239,68,68,0.15); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.alert-success { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
