/* ========================================
   Akıllı Cüzdanım - Modern UI Design
   ======================================== */

/* Google Fonts - Daha karakteristik fontlar */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap');

:root {
    /* Primary Color Palette - Rich Emerald */
    --primary-50: #ecfdf5;
    --primary-100: #d1fae5;
    --primary-200: #a7f3d0;
    --primary-300: #6ee7b7;
    --primary-400: #34d399;
    --primary-500: #10b981;
    --primary-600: #059669;
    --primary-700: #047857;
    --primary-800: #065f46;
    --primary-900: #064e3b;

    /* Accent Color - Electric Blue */
    --accent-400: #60a5fa;
    --accent-500: #3b82f6;
    --accent-600: #2563eb;

    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-950: #020617;

    /* Semantic Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);
    --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.05), 0 12px 24px rgba(0, 0, 0, 0.05);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   Base Styles
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(59, 130, 246, 0.05), transparent);
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-700);
}

/* ========================================
   Layout
   ======================================== */

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   Header
   ======================================== */

.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.875rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: transform var(--transition-fast);
}

.logo:hover {
    color: var(--gray-900);
    transform: scale(1.02);
}
/*
.logo::before {
    content: url('../img/image.png');
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
    object-fit: contain;
    object-position: center;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}*/

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.nav-link.active {
    background: var(--primary-50);
    color: var(--primary-700);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.25rem;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: var(--radius-lg);
}

.lang-btn {
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--gray-500);
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.lang-btn:hover {
    color: var(--gray-700);
}

.lang-btn.active {
    background: white;
    color: var(--primary-600);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   Main Content
   ======================================== */

.main-content {
    padding: 4rem 0;
    min-height: calc(100vh - 180px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    text-align: center;
    padding: 5rem 0 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    color: var(--primary-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge::before {
    content: '✨';
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 50%, var(--primary-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* App Store Buttons */
.app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gray-900);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.store-btn:hover {
    background: var(--gray-800);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.store-btn-icon {
    font-size: 1.75rem;
}

.store-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-btn-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.store-btn-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ========================================
   Features Grid
   ======================================== */

.features {
    padding: 3rem 0 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--accent-400));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: var(--radius-xl);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Card Component (Policy Pages)
   ======================================== */

.card {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-card);
    padding: 3rem;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
}

.card h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.card > p:first-of-type {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-100);
}

.card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card h2::before {
    content: '';
    width: 4px;
    height: 1.35rem;
    background: var(--primary-500);
    border-radius: var(--radius-full);
}

.card p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.card ul, .card ol {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.card li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--primary-400);
    border-radius: 50%;
}

.card a {
    color: var(--primary-600);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--primary-200);
    text-underline-offset: 2px;
    transition: all var(--transition-fast);
}

.card a:hover {
    color: var(--primary-700);
    text-decoration-color: var(--primary-400);
}

/* Disclaimer Box */
.disclaimer-box {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-left: 4px solid var(--warning);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--radius-lg);
}

.disclaimer-title {
    color: #92400e;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-title::before {
    content: '⚠️';
}

.disclaimer-text {
    color: #a16207;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: white;
    border-top: 1px solid var(--gray-200);
    padding: 2.5rem 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-600);
}

.footer p {
    color: var(--gray-400);
    font-size: 0.85rem;
    margin: 0;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--gray-900);
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Page Load Animations */
.card {
    animation: fadeInUp 0.5s ease-out;
}

.feature-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.3;
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--gray-500); }
.text-sm { font-size: 0.875rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .card h1 {
        font-size: 1.75rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .card {
        padding: 1.5rem 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* ========================================
   Dark Mode Support (Optional - for future)
   ======================================== */

@media (prefers-color-scheme: dark) {
    /* Can be enabled when dark mode is needed */
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .header,
    .footer,
    .lang-switcher,
    .app-buttons {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
