/* ================================
   Modern Landing Page Styles
   ================================ */

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body.dark-mode {
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    
    --border-color: #374151;
}

/* ================================
   Reset & Base
   ================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

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

/* ================================
   Modern Navigation - Ultra Modern Design
   ================================ */

:root {
    --nav-height: 80px;
    --nav-bg-light: rgba(255, 255, 255, 0.85);
    --nav-bg-dark: rgba(17, 24, 39, 0.85);
    --nav-border-light: rgba(229, 231, 235, 0.5);
    --nav-border-dark: rgba(55, 65, 81, 0.5);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: var(--nav-height);
    background: var(--nav-bg-light);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--nav-border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.dark-mode .modern-navbar {
    background: var(--nav-bg-dark);
    border-bottom-color: var(--nav-border-dark);
}

.modern-navbar.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    height: 70px;
}

body.dark-mode .modern-navbar.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

/* Logo Section */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    z-index: 1;
}

.nav-logo:hover {
    transform: scale(1.05);
}

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

.logo-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.logo-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-logo:hover .logo-icon-wrapper::before {
    width: 200px;
    height: 200px;
}

/* Görsel logo kullanıldığında çerçeveyi kaldır ve boyutu artır */
.logo-icon-wrapper:has(img),
.logo-icon-wrapper.has-image-logo {
    background: transparent !important;
    box-shadow: none !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.logo-icon-wrapper:has(img)::before,
.logo-icon-wrapper.has-image-logo::before {
    display: none !important;
}

.logo-icon-wrapper:has(img) img,
.logo-icon-wrapper.has-image-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.logo-text-primary {
    color: var(--text-primary);
    transition: color 0.3s;
}

.logo-text-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation Menu */
.nav-menu-desktop {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    min-width: 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .nav-menu-desktop {
        display: none !important;
    }
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    will-change: opacity, transform;
    opacity: 1; /* Start visible - no flicker */
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 12px;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link-icon {
    display: flex;
    align-items: center;
    font-size: 16px;
    transition: transform 0.3s;
}

.nav-link:hover .nav-link-icon {
    transform: scale(1.1);
}

.nav-link-indicator {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link.active .nav-link-indicator {
    transform: translateX(-50%) scaleX(1);
}

/* Primary Nav Link (Sohbet Başlat) */
.nav-link-primary {
    background: var(--gradient-primary);
    color: white !important;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: visible;
}

.nav-link-primary::before {
    display: none;
}

.nav-link-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.nav-link-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.5s;
    border-radius: 12px;
    z-index: -1;
}

.nav-link-primary:hover .nav-link-glow {
    opacity: 0.6;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Actions Section */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    z-index: 1;
}

/* Modern Theme Toggle */
.theme-toggle-modern {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: none;
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle-inner {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon-dark,
.theme-icon-light {
    position: absolute;
    font-size: 20px;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon-light {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

body.dark-mode .theme-icon-dark {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

body.dark-mode .theme-icon-light {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s, opacity 0.6s;
    opacity: 0;
    filter: blur(15px);
}

.theme-toggle-modern:hover .theme-toggle-glow {
    width: 80px;
    height: 80px;
    opacity: 0.4;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.nav-menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.nav-menu-mobile.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-primary);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.nav-menu-mobile.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 20px;
}

.mobile-logo i {
    font-size: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: var(--bg-tertiary);
    transform: rotate(90deg);
}

.mobile-menu-links {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s;
    border-radius: 0 4px 4px 0;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--bg-secondary);
}

.mobile-nav-link.active::before {
    transform: scaleY(1);
}

.mobile-nav-link i:first-child {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.mobile-nav-link span {
    flex: 1;
}

.mobile-nav-link i:last-child {
    opacity: 0.5;
    font-size: 14px;
}

.mobile-nav-primary {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin-top: auto;
}

.mobile-nav-primary::before {
    display: none;
}

.mobile-nav-primary i {
    color: white !important;
}

.mobile-nav-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: var(--gradient-primary);
    opacity: 0;
    filter: blur(20px);
    animation: pulse-glow 2s ease-in-out infinite;
    border-radius: 12px;
    z-index: -1;
}

/* ================================
   Hero Section
   ================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -300px;
    right: -200px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    bottom: -250px;
    left: -150px;
    animation-delay: -7s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-30px, 30px); }
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 40px;
}
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
}

.hero-visual { position: relative; }
.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.35);
    background: radial-gradient(ellipse at center, rgba(102,126,234,.15), transparent 60%);
}
@media (max-width: 768px) {
    .hero-visual img { border-radius: 18px; }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.hero-cta {
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 1.25rem;
}

.btn-icon {
    font-size: 1.25em;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-tertiary);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding: 8px 0;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--text-tertiary);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

/* Masaüstü görünümü için scroll indicator */
.scroll-indicator-desktop {
    display: block;
}

.scroll-indicator-mobile {
    display: none;
}

.scroll-arrow {
    display: none;
    width: 32px;
    height: 32px;
    color: var(--text-tertiary);
    opacity: 0.8;
}

.scroll-indicator-mobile .scroll-arrow {
    display: block;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0; }
}

@keyframes scrollDown {
    0%, 100% { 
        transform: translateY(0); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(12px); 
        opacity: 0.4; 
    }
}

/* ================================
   Features Section
   ================================ */

.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-primary);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card:hover .feature-icon {
    animation: none;
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ================================
   CTA Section
   ================================ */

.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.cta-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.5rem;
    margin-bottom: 12px;
    opacity: 0.95;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 40px;
    opacity: 0.85;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ================================
   Footer
   ================================ */

.footer {
    background: var(--bg-secondary);
    padding: 0 0 20px;
    border-top: 1px solid var(--border-color);
}

/* Header ile uyumlu Modern Footer (glassmorphism + animasyonlar) */
.modern-footer {
    background: var(--nav-bg-light);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--nav-border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
body.dark-mode .modern-footer { background: var(--nav-bg-dark); border-top-color: var(--nav-border-dark); }

.modern-footer .footer-inner {
    padding: 22px 0;
}

.modern-footer .nav-wrapper { padding: 0 2rem; }
.modern-footer .nav-menu-desktop { gap: 0.25rem; }
.modern-footer .nav-link { padding: 8px 16px; }
.modern-footer .nav-link-primary { padding: 10px 18px; }
.modern-footer .footer-copy { color: var(--text-tertiary); font-size: 0.9rem; }
.modern-footer .footer-bottom-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border-color); }

/* Ultra modern footer (v3) */
.footer-neo {
    position: relative;
    background:
        radial-gradient(1000px 500px at 15% 0%, rgba(102,126,234,0.10), transparent 70%),
        radial-gradient(900px 450px at 85% 10%, rgba(118,75,162,0.10), transparent 70%),
        linear-gradient(180deg, rgba(15,23,42,0.0) 0%, rgba(102,126,234,0.06) 100%);
}
.footer-neo .panel {
    margin-top: 18px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.footer-neo .groups {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 22px;
}
@media (max-width: 992px) { .footer-neo .groups{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-neo .groups{ grid-template-columns: 1fr; } }

.footer-neo .brand { display:flex; gap:12px; align-items:center; margin-bottom:10px; }
.footer-neo .brand .logo-icon-wrapper { width:40px; height:40px; }
.footer-neo .desc { color: var(--text-secondary); font-size: .95rem; margin-bottom: 12px; }
.footer-neo .menu { display:grid; gap:8px; }
.footer-neo .menu a { position:relative; color: var(--text-secondary); text-decoration:none; transition: color .25s, transform .25s; padding: 2px 0; }
.footer-neo .menu a::after { content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--gradient-primary); transition: width .25s; border-radius:2px; }
.footer-neo .menu a:hover { color: var(--text-primary); transform: translateX(2px); }
.footer-neo .menu a:hover::after { width: 100%; }
.footer-neo .social a { width:38px; height:38px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; background: var(--bg-secondary); border:1px solid var(--border-color); color: var(--text-secondary); margin-right:8px; transition: transform .25s, box-shadow .25s, color .25s, border-color .25s; }
.footer-neo .social a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--primary-color); border-color: var(--primary-light); }
.footer-neo .newsletter { background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.08); border-radius:14px; padding:12px; }
.footer-neo .newsletter .row { display:flex; gap:8px; }
.footer-neo .newsletter input { flex:1; padding: 12px 14px; border-radius:12px; border:1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.08); color: var(--text-primary); }
.footer-neo .newsletter button { padding: 12px 16px; border:none; border-radius:12px; background: var(--gradient-primary); color:#fff; font-weight:700; cursor:pointer; transition: transform .25s, box-shadow .25s; }
.footer-neo .newsletter button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(102,126,234,.35); }
.footer-neo .bottom { display:flex; justify-content: space-between; align-items:center; gap:16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px dashed rgba(255,255,255,0.15); margin-top: 16px; }
.footer-neo .copy { color: var(--text-tertiary); font-size: .9rem; }

/* Back-to-top */
.back-to-top { position: fixed; right: 20px; bottom: 24px; width: 46px; height: 46px; border-radius: 12px; border:none; background: var(--gradient-primary); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow: 0 8px 20px rgba(102,126,234,.35); opacity:0; visibility:hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; z-index: 9998; }
.back-to-top.show { opacity:1; visibility:visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); }

/* Modern Footer v2 */
.footer-modern {
    position: relative;
    overflow: hidden;
}

.footer-waves {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, rgba(102,126,234,0.12), rgba(118,75,162,0.12));
}
.footer-waves::before,
.footer-waves::after {
    content: '';
    position: absolute;
    left: -10%;
    width: 120%;
    height: 200%;
    border-radius: 40% 60% 30% 70%/60% 30% 70% 40%;
    background: radial-gradient(ellipse at center, rgba(102,126,234,0.25), transparent 60%);
    animation: waveFloat 18s ease-in-out infinite;
    filter: blur(30px);
}
.footer-waves::after {
    background: radial-gradient(ellipse at center, rgba(118,75,162,0.25), transparent 60%);
    animation-duration: 28s;
    top: -40%;
}
@keyframes waveFloat {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(8deg); }
}

.footer-main {
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.2fr 1.2fr 1.6fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
    display: flex; gap: 14px; align-items: center; margin-bottom: 12px;
}
.footer-brand .logo-icon { font-size: 24px; }
.footer-brand .logo-text { font-weight: 800; font-size: 20px; }

.footer-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; }

.social-links { display: flex; gap: 10px; }
.social-links a { 
    width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items:center; justify-content:center; 
    background: var(--bg-primary); border: 1px solid var(--border-color); color: var(--text-secondary); text-decoration:none;
    transition: transform .25s, box-shadow .25s, color .25s, border-color .25s;
}
.social-links a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--primary-color); border-color: var(--primary-light); }

.footer-col-title { font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.footer-menu { display: grid; gap: 8px; }
.footer-menu a { color: var(--text-secondary); text-decoration:none; transition: color .25s; }
.footer-menu a:hover { color: var(--primary-color); }

.newsletter { background: var(--bg-primary); border:1px solid var(--border-color); padding:14px; border-radius:12px; }
.newsletter p { color: var(--text-secondary); font-size: .9rem; margin-bottom: 10px; }
.newsletter .row { display:flex; gap:8px; }
.newsletter input { flex:1; padding: 12px 14px; border-radius:10px; border:1px solid var(--border-color); background: var(--bg-secondary); color: var(--text-primary); }
.newsletter button { padding: 12px 16px; border:none; border-radius:10px; background: var(--gradient-primary); color:#fff; font-weight:600; cursor:pointer; transition: transform .25s, box-shadow .25s; }
.newsletter button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(102,126,234,.35); }

.footer-sep { margin-top: 28px; border-top: 1px solid var(--border-color); padding-top: 16px; display:flex; justify-content: space-between; align-items:center; gap: 16px; flex-wrap:wrap; }
.footer-copy { color: var(--text-tertiary); font-size: .9rem; }

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--bg-primary);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    opacity: 0.85;
}

.footer-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    opacity: 1;
}

.footer-logo-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    filter: brightness(1.1) contrast(1.1);
}

/* Light mode için logo daha görünür yap */
body:not(.dark-mode) .footer-logo-img {
    filter: brightness(0.85) contrast(1.2) drop-shadow(0 2px 4px rgba(0,0,0,0.4)) drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* Light theme: make badge black for white logo contrast */
body:not(.dark-mode) .footer-badge {
    background: #000;
    color: #fff;
    border-color: rgba(255,255,255,0.1);
}
body:not(.dark-mode) .footer-badge:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Dark theme: translucent white background */
body.dark-mode .footer-badge {
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
}
body.dark-mode .footer-badge:hover {
    box-shadow: 0 12px 28px rgba(255,255,255,0.08);
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding-bottom: 0;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Mobilde masaüstü scroll indicator'ı gizle */
    .scroll-indicator-desktop {
        display: none !important;
    }
    
    /* Mobilde mobil scroll indicator'ı göster */
    .scroll-indicator-mobile {
        display: flex !important;
        position: static;
        transform: none !important;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        justify-content: center;
        align-items: center;
        margin: 30px auto 20px;
        padding: 20px 0;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta {
        padding: 80px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-badge {
        display: none;
    }
}

/* ================================
   Admin Edit Mode
   ================================ */

[data-editable] {
    position: relative;
}

[data-editable]:hover::before {
    content: '✏️ Düzenlemek için tıklayın';
    position: absolute;
    top: -30px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

body.admin-mode [data-editable]:hover::before {
    opacity: 1;
}

body.admin-mode [data-editable] {
    cursor: pointer;
    outline: 2px dashed transparent;
    outline-offset: 4px;
    transition: outline 0.3s ease;
}

body.admin-mode [data-editable]:hover {
    outline-color: var(--primary-color);
}

