/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
    :root {
        --spacing-l: 20px;
        --spacing-xl: 32px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-image .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .content-grid {
        gap: 4vh;
        padding: 4vh 0;
    }
}

/* Mobile */
@media (max-width: 768px) {





    /* Hero */
    .hero {
        padding-top: 180px;
        /* Increased from 140px for more spacing */
        min-height: auto;
        padding-bottom: 60px;
        align-items: flex-start;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
        padding: 0;
        order: 1;
        /* Content first */
    }

    .hero-image {
        order: 2;
        /* Image second */
        margin-top: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .btn {
        width: 100%;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .glass-box {
        padding: 24px;
        border-radius: var(--radius-l);
    }

    /* Footer */
    footer {
        padding-bottom: 40px;
    }

    footer .container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* =============================================================================
   KELIMEZBER WEBSITE - DESIGN SYSTEM
   =============================================================================
   Uygulama renk paleti ile tam uyumlu, modern ve mobil-first tasarım.
*/

/* CSS Variables - App Color Palette */
:root {
    /* Brand Colors */
    --primary: #e94560;
    --primary-light: #ff6b6b;
    --secondary: #4ecdc4;
    --secondary-light: #00a896;
    --accent: #8E44AD;

    /* Status Colors */
    --success: #13aa29;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Dark Theme (Default) */
    --bg: #0f0f1e;
    --surface: #1a1a2e;
    --surface-alt: #232338;
    --text: #eaeaea;
    --text-secondary: #94a3b8;
    --border: #1e293b;
    --border-subtle: #27273a;

    /* Misc */
    --white: #ffffff;
    --black: #000000;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-s: 8px;
    --spacing-m: 12px;
    --spacing-l: 16px;
    --spacing-xl: 20px;
    --spacing-xxl: 24px;
    --spacing-xxxl: 32px;

    /* Radius */
    --radius-s: 8px;
    --radius-m: 12px;
    --radius-l: 16px;
    --radius-xl: 20px;
    --radius-full: 999px;

    /* Shadows - REMOVED */
    --shadow-s: none;
    --shadow-m: none;
    --shadow-l: none;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* Base Styles */
html,
body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    /* background: var(--bg); REMOVED to show canvas */
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    display: flex;
    flex-direction: column;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
    /* Fallback color */
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: var(--bg);
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-l);
}

/* Glass Box Style */
.glass-box {
    background: rgba(26, 26, 46, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
}

/* =============================================================================
   HEADER / NAVIGATION
   ============================================================================= */
header {
    position: fixed;
    top: var(--spacing-l);
    left: var(--spacing-l);
    right: var(--spacing-l);
    margin: 0 auto;
    width: calc(100% - (var(--spacing-l) * 2));
    max-width: 1160px;
    z-index: 1000;
    background: rgba(15, 15, 30, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--spacing-s) 0;
    box-shadow: none;
    transition: all var(--transition-normal);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-m);
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Shadow removed */
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
}

/* Navigation */
/* Navigation */
/* Navigation */
nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    /* Desktop default */
    height: 100vh;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 40px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    border-left: 1px solid var(--border-subtle);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    nav {
        width: 100%;
        /* Full width on mobile */
        border-left: none;
    }
}

nav.active {
    right: 0;
    visibility: visible;
    opacity: 1;
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 20px;
    width: 100%;
}

nav a {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    gap: var(--spacing-s);
    padding: 16px 20px;
    color: var(--text);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius-m);
    transition: all var(--transition-fast);
    background: rgba(255, 255, 255, 0.03);
}

nav a:hover {
    color: var(--white);
    background: var(--primary);
}

nav a.active {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}

nav a ion-icon {
    font-size: 20px;
}

/* Close Button Inside Nav */
.nav-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 32px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: background 0.2s ease;
}

.nav-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

/* Mobile Menu Toggle */
/* Menu Toggle (Hamburger) */
/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: block;
    /* Always visible */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-m);
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s ease;
    z-index: 1200;
    /* Ensure clickable */
    position: relative;
    /* Default position */
}


.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.hero {
    min-height: 105vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px var(--spacing-l) 0;
    /* Added top padding */
    overflow: hidden;
    perspective: 1000px;
    /* Enable 3D space */
}

.hero .glass-box {
    transition: transform 0.1s ease-out;
    /* Smooth tilt movement */
    will-change: transform;
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
    /* Ensure above floating objects */
}

.hero .container {
    display: block;
    max-width: 1000px;
}

.hero-content {
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-s);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    padding: var(--spacing-s) var(--spacing-l);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: var(--spacing-xxl);
}

.hero-title {
    margin-bottom: var(--spacing-xxl);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-xxxl);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-s);
    padding: var(--spacing-l) var(--spacing-xxl);
    border-radius: var(--radius-l);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, #00C853, #69F0AE);
    /* Play Store Greenish */
    color: #1a1a2e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--surface-alt);
    border-color: var(--primary);
    color: var(--text);
}

.btn-group {
    display: flex;
    gap: var(--spacing-l);
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Phone Mockup */
.hero-image {
    margin-top: 0;
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--surface);
    border-radius: 40px;
    border: 3px solid var(--border-subtle);
    box-shadow: none;
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.phone-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--surface-alt) 0%, var(--bg) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 37px;
}

.phone-screen .app-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    margin-bottom: 20px;
}

.phone-screen h3 {
    color: var(--text);
    margin-bottom: 8px;
}

.phone-screen p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}


/* =============================================================================
   CONTENT GRID (Wrapper for non-hero sections)
   ============================================================================= */
.content-grid {
    display: grid;
    gap: 8vh;
    padding: 8vh 0;
    flex: 1;
    /* Push footer down */
    grid-template-columns: minmax(0, 1fr);
    /* Responsive grid track */
}

/* Remove individual section paddings inside the grid */
.content-grid section {
    padding: 0;
    width: 100%;
}

/* =============================================================================
   FEATURES SECTION
   ============================================================================= */
.features {
    padding: 40px 0;
    background: transparent;
    perspective: 1000px;
}

.section-header {
    text-align: center;
}

.section-header h2 {
    margin-bottom: var(--spacing-l);
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xxl);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--radius-l);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
    transform-style: preserve-3d;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}



.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin-bottom: var(--spacing-xl);
}

.icon-bg-1 {
    background: linear-gradient(135deg, #FF9966, #FF5E62);
}

.icon-bg-2 {
    background: linear-gradient(135deg, #56CCF2, #2F80ED);
}

.icon-bg-3 {
    background: linear-gradient(135deg, #a8ff78, #78ffd6);
    color: #1a1a2e;
}

.icon-bg-4 {
    background: linear-gradient(135deg, #F2994A, #F2C94C);
}

.icon-bg-5 {
    background: linear-gradient(135deg, #bdc3c7, #2c3e50);
}

.icon-bg-6 {
    background: linear-gradient(135deg, #00b09b, #96c93d);
}

.feature-card h3 {
    margin-bottom: var(--spacing-m);
}

.feature-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* =============================================================================
   STATS SECTION
   ============================================================================= */
.stats {
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xxl);
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-s);
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 600;
}

/* =============================================================================
   SCREENSHOTS SECTION (Slider)
   ============================================================================= */
.screenshots {
    padding: 40px 0;
}

.slider-container {
    position: relative;
    display: block;
    padding-top: 20px;
    /* Space for buttons effectively */
}

.screenshots-slider {
    display: flex;
    gap: var(--spacing-l);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    margin-top: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    width: 100%;
    scroll-behavior: smooth;
}

.slider-btn {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s;
    z-index: 5;
    position: absolute;
    top: -70px;
    /* Align with header roughly */
}

.slider-prev {
    right: 54px;
}

.slider-next {
    right: 0;
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.screenshot-slide {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: center;
    border-radius: var(--radius-l);
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    transition: transform var(--transition-normal);
    cursor: zoom-in;
    /* Indicate clickable */
}

/* ... rest of slider code ... */

.screenshots-slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.screenshot-slide {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: center;
    border-radius: var(--radius-l);
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    transition: transform var(--transition-normal);
}

.screenshot-slide:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.screenshot-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */
.cta {
    padding: 40px 0;
    background: transparent;
    text-align: center;
}

.cta h2 {
    margin-bottom: var(--spacing-l);
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xxxl);
}

/* =============================================================================
   CARDS (Generic)
   ============================================================================= */
.card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxxl);
    border: 1px solid var(--border-subtle);
}

/* =============================================================================
   PAGE CONTENT (Privacy, About, Contact)
   ============================================================================= */
.page-content {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: calc(100vh - 200px);
}

.page-content h1 {
    margin-bottom: var(--spacing-xxxl);
    text-align: center;
}

.page-content .card {
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 1.25rem;
    margin-top: var(--spacing-xxxl);
    margin-bottom: var(--spacing-l);
    color: var(--primary);
}

.page-content ul {
    margin-left: var(--spacing-xl);
    margin-bottom: var(--spacing-l);
}

.page-content li {
    margin-bottom: var(--spacing-s);
    color: var(--text-secondary);
}

.page-content strong {
    color: var(--text);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-l);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-s);
}

.form-group label {
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    background: var(--bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-m);
    padding: var(--spacing-l);
    font-size: 1rem;
    color: var(--text);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* =============================================================================
   FOOTER
   ============================================================================= */
/* =============================================================================
   FOOTER (Advanced)
   ============================================================================= */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0;
    position: relative;
    z-index: 10;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-s);
    flex: 1;
}

.footer-brand .logo-icon {
    width: 32px;
    height: 32px;
}

.footer-brand span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    flex: 2;
    text-align: center;
}

.footer-social {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.2s;
    text-decoration: none;
}

.instagram-btn:hover {
    transform: scale(1.05);
}

.instagram-btn ion-icon {
    font-size: 16px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Mobile Slider Adjustments */
@media (max-width: 768px) {
    .screenshots .glass-box {
        padding-bottom: 80px;
        /* Space for buttons */
        position: relative;
    }

    .slider-container {
        position: static;
    }

    .slider-btn {
        top: auto;
        bottom: 20px;
        transform: none;
        background: var(--surface);
        border: 1px solid var(--border-subtle);
        width: 48px;
        height: 48px;
    }

    .slider-prev {
        left: 30%;
        right: auto;
    }

    .slider-next {
        right: 30%;
        left: auto;
    }

    .screenshot-slide {
        width: 85vw;
        /* Make slides wider on mobile */
    }
}