/* ============================================================
   Canli Katalog - Complete Stylesheet
   Font: Inter, sans-serif
   Primary: #E94560 (rose), #1A1A2E (navy), #F8F8FA (light bg)
   ============================================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: #171717;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

/* ==========  UTILITY CLASSES  ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.flex-1 {
    flex: 1;
}

.ml-auto {
    margin-left: auto;
}

.w-75 {
    width: 75%;
}

.divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}

/* ==========  SECTION TITLES  ========== */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: #111827;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.section-title-left {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.section-subtitle-left {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.7;
}


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #f3f4f6;
    height: 64px;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1;
}

.nav-logo {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.nav-brand-text {
    font-size: 22px;
    font-weight: 800;
    color: #1A1A2E;
    letter-spacing: -0.3px;
    line-height: 1;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

/* Desktop Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links li a:hover {
    color: #111827;
    background: #f3f4f6;
}

/* Nav Actions (right side) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Toggle */
.nav-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-lang-toggle:hover {
    border-color: #9ca3af;
    color: #111827;
}

.nav-lang-toggle svg {
    width: 18px;
    height: 18px;
}

/* Login / text button */
.nav-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link-btn:hover {
    color: #111827;
    background: #f3f4f6;
}

/* CTA Button (emerald) */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #10b981;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.nav-cta-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* Hamburger (hidden on desktop) */
.nav-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nav-hamburger:hover {
    background: #f3f4f6;
}

/* Mobile Menu */
.nav-mobile-menu {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
    padding: 16px 24px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.nav-mobile-menu.active {
    display: flex;
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
    list-style: none;
    padding: 0;
}

.nav-mobile-links li a {
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-mobile-links li a:hover {
    background: #f3f4f6;
    color: #111827;
}

.nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.nav-mobile-actions .nav-lang-toggle {
    align-self: flex-start;
}

.nav-mobile-actions .nav-link-btn {
    text-align: center;
    justify-content: center;
}

.nav-mobile-actions .nav-cta-btn {
    text-align: center;
    justify-content: center;
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    padding: 80px 0 60px;
    background: #F8F8FA;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 480px;
}

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

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #111827;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.store-btn:hover {
    background: #1f2937;
    transform: translateY(-2px);
}

.store-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Hero Phone Mockup */
.hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 618px;
}

.phone-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 340px;
    background: #d1fae5;
    border-radius: 32px;
    transform: translate(-50%, -50%) rotate(12deg);
    z-index: 0;
}

.phone-screen {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.phone-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ============================================================
   COMPARISON SECTION
   ============================================================ */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 960px;
    margin: 40px auto 0;
}

.comparison-card {
    border-radius: 20px;
    padding: 40px;
}

.comparison-before {
    background: #fee2e2;
}

.comparison-after {
    background: #bbf7d0;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.comparison-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.5;
}

.comparison-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}


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

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 20px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    background: #f9fafb;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: #f3f4f6;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #374151;
    transition: background 0.2s ease;
}

.feature-card:hover .feature-icon {
    background: #e5e7eb;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
}


/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    max-width: 960px;
    margin: 40px auto 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon-wrapper {
    position: relative;
    display: inline-flex;
    margin-bottom: 24px;
}

.step-icon {
    width: 96px;
    height: 96px;
    background: #ffe4e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E94560;
}

.step-number {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 32px;
    height: 32px;
    background: #111827;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

/* Connecting line between steps (desktop only) */
.steps-connector {
    display: none;
}

@media (min-width: 768px) {
    .steps-connector {
        display: block;
        position: absolute;
        top: 48px;
        left: 20%;
        right: 20%;
        height: 2px;
        background: #d1d5db;
        z-index: 0;
    }
}


/* ============================================================
   TEMPLATES SECTION
   ============================================================ */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.template-card {
    position: relative;
    height: 18rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.template-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.template-card:hover img {
    transform: scale(1.05);
}

.template-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.70) 0%, transparent 60%);
    z-index: 1;
}

.template-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #E94560;
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 2;
}

.template-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.template-title h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
}


/* ============================================================
   SHOWCASE SECTION (Dark)
   ============================================================ */
.showcase-section {
    padding: 96px 0;
    background: #1a1a2e;
    overflow: hidden;
}

.showcase-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Phone Frame */
.showcase-phone {
    display: flex;
    justify-content: center;
}

.showcase-phone-frame {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    background: #0f0f1a;
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.showcase-notch {
    width: 100px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 14px 14px;
    margin: 0 auto 16px;
}

.showcase-phone-content {
    padding: 4px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Telefon ekranındaki app demo videosu — notch'un altından başlar,
   frame iç genişliği boyunca uzanır. width:100% ile parent'a göre
   ölçeklenir, aspect-ratio ile yükseklik oransal kalır → mobilde
   frame 220/200px'e düştüğünde video da oransal küçülür, ultra-uzun
   görünmez. 9:19.5 modern iPhone oranı. */
.showcase-video {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 19.5;
    max-width: 236px;
    border-radius: 0 0 22px 22px;
    background: #0f0f1a;
    object-fit: cover;
    display: block;
}

.showcase-phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #d1d5db;
    font-size: 0.85rem;
    font-weight: 600;
}

.showcase-phone-header .ml-auto {
    margin-left: auto;
}

/* Grid inside phone */
.showcase-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.showcase-placeholder {
    height: 80px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.showcase-item-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.showcase-item-text {
    width: 80%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

/* Lines in phone */
.showcase-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.showcase-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    width: 100%;
}

.showcase-line.w-75 {
    width: 75%;
}

/* Buttons in phone */
.showcase-buttons {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.showcase-btn-dark {
    flex: 1;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.showcase-btn-green {
    flex: 1;
    height: 36px;
    background: rgba(16, 185, 129, 0.4);
    border-radius: 10px;
}

/* Bottom nav in phone */
.showcase-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-nav-item {
    width: 28px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.showcase-nav-item.round {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(233, 69, 96, 0.3);
}

/* Floating Bubbles */
.showcase-bubble {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 2;
    animation: bubbleFloat 3s ease-in-out infinite;
}

.showcase-bubble-left {
    top: 20%;
    left: -20px;
    animation-delay: 0s;
}

.showcase-bubble-right {
    top: 25%;
    right: -20px;
    animation-delay: 1s;
}

.showcase-bubble-bottom {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
    animation-name: bubbleFloatCenter;
}

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

@keyframes bubbleFloatCenter {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}


/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    color: #facc15;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #6b7280;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.testimonial-role {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #111827, #1f2937, #111827);
    text-align: center;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    max-width: 500px;
}

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #111827;
    padding: 14px 28px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.cta-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 48px 0 0;
    background: #030712;
    color: #9ca3af;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    line-height: 1;
}

.footer-logo {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.footer-brand-text {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.footer-tagline {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d1d5db;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.footer-links li a {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: #ffffff;
}

/* Footer Bottom / Copyright */
.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #6b7280;
}


/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-category-btn {
    padding: 10px 22px;
    border-radius: 9999px;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f3f4f6;
    color: #374151;
}

.blog-category-btn:hover {
    background: #e5e7eb;
}

.blog-category-btn.active {
    background: #E94560;
    color: #ffffff;
}

.blog-post-card {
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: block;
}

.blog-post-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Prose (for blog post content) */
.prose {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: #111827;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.prose h1 { font-size: 2rem; font-weight: 800; }
.prose h2 { font-size: 1.5rem; font-weight: 700; }
.prose h3 { font-size: 1.25rem; font-weight: 700; }

.prose p {
    margin-bottom: 1.5em;
}

.prose a {
    color: #E94560;
    text-decoration: underline;
}

.prose a:hover {
    color: #c73650;
}

.prose img {
    border-radius: 12px;
    margin: 2em 0;
}

.prose ul,
.prose ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose ul li {
    list-style: disc;
}

.prose ol li {
    list-style: decimal;
}

.prose blockquote {
    border-left: 4px solid #E94560;
    padding-left: 1em;
    margin: 1.5em 0;
    color: #6b7280;
    font-style: italic;
}

.prose code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.prose pre {
    background: #111827;
    color: #e5e7eb;
    padding: 1.5em;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5em 0;
}


/* ============================================================
   FAQ / SSS PAGE
   ============================================================ */
.faq-item {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.1);
}

.faq-item-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    color: #1e293b;
    gap: 12px;
    transition: background 0.2s ease;
}

.faq-item-header:hover {
    background: #f8fafc;
}

.faq-chevron {
    min-width: 20px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item-body > div {
    padding: 0 24px 20px;
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9rem;
}


/* ============================================================
   PRIVACY & TERMS PAGE
   ============================================================ */
.privacy-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: #64748b;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
}

.privacy-tab:hover {
    color: #E94560;
}

.privacy-tab.active {
    color: #E94560;
    border-bottom-color: #E94560;
}

.privacy-tab-content {
    display: none;
}

.privacy-tab-content.active {
    display: block;
}

.privacy-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.privacy-section {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.privacy-section.open {
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.08);
}

.privacy-section-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 12px;
    transition: background 0.2s ease;
}

.privacy-section-header:hover {
    background: #f8fafc;
}

.privacy-chevron {
    min-width: 18px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.privacy-section.open .privacy-chevron {
    transform: rotate(180deg);
}

.privacy-section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: block;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    padding: 12px 16px;
    font-size: 0.95rem;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
    border-color: #E94560;
}

.form-input[readonly] {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-why-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.about-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.about-why-icon {
    width: 56px;
    height: 56px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s ease;
    color: #ffffff;
}

.about-why-card:hover .about-why-icon {
    background: #E94560;
}

.about-contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: block;
}

.about-contact-card:hover {
    background: #E94560;
    color: #ffffff;
    transform: translateY(-4px);
}

.about-contact-card:hover h3,
.about-contact-card:hover p {
    color: #ffffff !important;
}

.about-contact-card:hover div[style*="background:#f1f5f9"] {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}


/* ============================================================
   AUTH PAGES (Login / Register)
   ============================================================ */
.form-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #E94560, #c73650);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    font-family: inherit;
}

.btn-primary:hover {
    opacity: 0.9;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}


/* ============================================================
   DASHBOARD PAGE
   ============================================================ */
.dashboard-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
}

.balance-card {
    background: linear-gradient(135deg, #1A1A2E, #2d2d4e);
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(26, 26, 46, 0.3);
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.balance-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.table-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f9fafb;
    padding: 0.875rem 1.25rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
    color: #374151;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: #f9fafb;
}

.no-transactions {
    padding: 2.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.95rem;
}

.role-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.role-badge.admin {
    background: #fef3c7;
    color: #92400e;
}

.role-badge.user {
    background: #dbeafe;
    color: #1e40af;
}

/* Transaction type colors */
.type-deposit,
.type-admin_add {
    color: #059669;
    font-weight: 600;
}

.type-withdraw,
.type-admin_remove {
    color: #dc2626;
    font-weight: 600;
}

.amount-positive {
    color: #059669;
    font-weight: 600;
}

.amount-negative {
    color: #dc2626;
    font-weight: 600;
}

/* Button secondary (dashboard) */
.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    background: #ffffff;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
}

.btn-secondary:hover {
    background: #f9fafb;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animations on page load to key elements */
.hero-title {
    animation: fadeInUp 0.6s ease both;
}

.hero-subtitle {
    animation: fadeInUp 0.6s ease 0.15s both;
}

.hero-buttons {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-mockup {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.nav-mobile-menu.active {
    animation: slideDown 0.25s ease both;
}


/* ============================================================
   SCROLLBAR STYLING
   ============================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}


/* ============================================================
   SELECTION
   ============================================================ */
::selection {
    background: rgba(233, 69, 96, 0.15);
    color: #E94560;
}


/* ============================================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .template-card {
        height: 20rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-grid .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .showcase-bubble-left {
        left: 0;
    }

    .showcase-bubble-right {
        right: 0;
    }
}


/* ============================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Typography scaling */
    .section-title {
        font-size: 1.625rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .section-title-left {
        font-size: 1.625rem;
    }

    .section {
        padding: 60px 0;
    }

    /* Navbar */
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-actions .nav-lang-toggle,
    .nav-actions .nav-link-btn,
    .nav-actions .nav-cta-btn {
        display: none;
    }

    .nav-actions .nav-hamburger {
        display: flex;
    }

    /* Hero */
    .hero-section {
        padding: 48px 0 40px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-mockup {
        order: -1;
    }

    .phone-mockup {
        width: 220px;
        height: 486px;
    }

    .phone-bg {
        width: 260px;
        height: 260px;
    }

    /* Comparison */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-card {
        padding: 28px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* How It Works */
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .steps-connector {
        display: none;
    }

    /* Templates */
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .template-card {
        height: 14rem;
    }

    /* Showcase */
    .showcase-section {
        padding: 60px 0;
    }

    .showcase-wrapper {
        padding: 40px 20px;
        flex-direction: column;
    }

    .showcase-phone-frame {
        width: 220px;
        min-width: 220px;
    }

    .showcase-bubble {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin-top: 12px;
    }

    .showcase-bubble-left,
    .showcase-bubble-right,
    .showcase-bubble-bottom {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
    }

    .showcase-bubble-bottom {
        animation-name: bubbleFloat;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Contact form grid */
    .form-grid {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-row {
        grid-template-columns: 1fr;
    }

    /* Balance */
    .balance-amount {
        font-size: 2rem;
    }

    /* Data table */
    .data-table th,
    .data-table td {
        padding: 0.625rem 0.75rem;
        font-size: 0.8rem;
    }

    /* Privacy sidebar */
    .privacy-sidebar {
        display: none;
    }

    /* Blog grid responsive */
    #blogGrid {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .store-btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .templates-grid {
        grid-template-columns: 1fr;
    }

    .template-card {
        height: 16rem;
    }

    .showcase-phone-frame {
        width: 200px;
        min-width: 200px;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .footer-tagline {
        max-width: 100%;
    }
}


/* ============================================================
   TABLET LANDSCAPE specific (769px to 1024px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-grid {
        gap: 32px;
    }

    .how-it-works-grid {
        gap: 28px;
    }

    .showcase-wrapper {
        padding: 40px 24px;
    }

    /* Blog grid */
    #blogGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .navbar,
    .footer,
    .nav-mobile-menu,
    .cta-section {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .section {
        padding: 20px 0;
    }
}
