/*
Theme Name: Binova App
Theme URI: https://appbinova.com
Author: Binova
Author URI: https://appbinova.com
Description: Binova - Akıllı Site ve Apartman Yönetimi uygulaması için profesyonel landing page teması.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: binova
*/

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #6366f1;
  --accent: #7c3aed;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --bg-dark: #0a1628;
  --bg-card: #1a1a2e;
  --text: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #2a2a4a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ==================== HEADER / NAV ==================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 16px 0;
  transition: all 0.3s;
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
}

.nav-logo img { height: 40px; width: 40px; border-radius: 10px; }
.nav-logo span { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 1px; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--primary); color: #fff !important; padding: 10px 24px;
  border-radius: 10px; font-weight: 700; font-size: 14px;
  transition: all 0.3s; border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,0.4); }

.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d1b4a 50%, #1a0a3e 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -50%; right: -30%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute; bottom: -30%; left: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

.hero-text h1 {
  font-size: 52px; font-weight: 900; line-height: 1.1; margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-text h1 span { color: var(--primary-light); -webkit-text-fill-color: var(--primary-light); }

.hero-text p {
  font-size: 18px; color: var(--text-secondary); margin-bottom: 32px;
  max-width: 480px; line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff; padding: 16px 32px;
  border-radius: 14px; font-weight: 700; font-size: 16px;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(79,70,229,0.5); color: #fff; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05); color: #fff; padding: 16px 32px;
  border-radius: 14px; font-weight: 700; font-size: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s; cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

.hero-image { position: relative; display: flex; justify-content: center; }
.hero-image img { max-width: 380px; width: 100%; filter: drop-shadow(0 20px 60px rgba(79,70,229,0.3)); }

.hero-stats {
  display: flex; gap: 40px; margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 32px; font-weight: 900; color: var(--primary-light); }
.hero-stat .label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ==================== FEATURES ==================== */
.features {
  padding: 120px 0;
  background: var(--bg-dark);
}

.section-header {
  text-align: center; margin-bottom: 64px;
}

.section-badge {
  display: inline-block; background: rgba(79,70,229,0.1);
  color: var(--primary-light); padding: 6px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 600; margin-bottom: 16px;
  border: 1px solid rgba(79,70,229,0.2);
}

.section-title {
  font-size: 40px; font-weight: 800; margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, #c7d2fe);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.section-desc { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79,70,229,0.3);
  box-shadow: 0 16px 48px rgba(79,70,229,0.15);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}

.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ==================== SCREENSHOTS ==================== */
.screenshots {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1b4a 100%);
}

.screenshots-scroll {
  display: flex; gap: 24px; overflow-x: auto;
  padding: 20px 0; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar { display: none; }

.screenshot-item {
  flex: 0 0 280px; scroll-snap-align: center;
  border-radius: 20px; overflow: hidden;
  transition: transform 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.screenshot-item:hover { transform: scale(1.05); }
.screenshot-item img { width: 100%; height: auto; display: block; }

/* ==================== CTA / DOWNLOAD ==================== */
.download {
  padding: 120px 0;
  background: var(--bg-dark);
  text-align: center;
}

.download-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 28px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute; top: -50%; right: -30%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.download-card h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; color: #fff; position: relative; }
.download-card p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 32px; position: relative; }

.download-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

.btn-download {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.15); color: #fff; padding: 16px 32px;
  border-radius: 14px; font-weight: 700; font-size: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s; cursor: pointer;
  text-decoration: none;
}
.btn-download:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); color: #fff; }
.btn-download .icon { font-size: 28px; }

/* ==================== FOOTER ==================== */
.site-footer {
  padding: 60px 0 30px;
  background: rgba(10, 22, 40, 0.95);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}

.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 12px; line-height: 1.7; max-width: 320px; }

.footer-links h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
  text-align: center; padding-top: 30px; margin-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 13px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 36px; }
  .hero-text p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { margin-top: 40px; }
  .hero-image img { max-width: 280px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 12px auto 0; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 640px) {
  .hero-text h1 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .download-card { padding: 40px 24px; }
  .download-card h2 { font-size: 24px; }
  .hero-stats { gap: 24px; }
  .hero-stat .number { font-size: 24px; }
}
