/* ===========================
   DAILYAPPSINC PORTFOLIO
   Modern, Clean, Professional
   =========================== */

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

/* ---------- THEME VARIABLES ---------- */
:root {
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
    --transition: .3s cubic-bezier(.4,0,.2,1);
    --container: 1200px;
    --accent: #3B82F6;
    --accent-hover: #2563EB;
    --accent-soft: rgba(59,130,246,.12);
}

/* DARK THEME (DEFAULT) */
[data-theme="dark"] {
    --bg-primary: #121212;
    --bg-secondary: #1E1E1E;
    --bg-tertiary: #2A2A2A;
    --text-primary: #E0E0E0;
    --text-secondary: #A0A0A0;
    --text-heading: #FFFFFF;
    --border-color: rgba(255,255,255,.08);
    --card-bg: #1E1E1E;
    --card-hover: #252525;
    --header-bg: rgba(18,18,18,.85);
    --btn-primary-bg: #3B82F6;
    --btn-primary-text: #FFFFFF;
    --btn-outline-border: rgba(255,255,255,.2);
    --btn-outline-text: #E0E0E0;
    --cta-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --store-btn-bg: rgba(255,255,255,.06);
    --store-btn-border: rgba(255,255,255,.12);
    --store-btn-text: #E0E0E0;
    --footer-bg: #0A0A0A;
    --hero-badge-bg: rgba(59,130,246,.15);
    --hero-badge-text: #60A5FA;
    --input-bg: rgba(255,255,255,.06);
    --input-border: rgba(255,255,255,.12);
    --shadow-card: 0 4px 24px rgba(0,0,0,.3);
    --feature-icon-bg-shield: rgba(59,130,246,.15);
    --feature-icon-color-shield: #60A5FA;
    --feature-icon-bg-touch: rgba(168,85,247,.15);
    --feature-icon-color-touch: #C084FC;
    --feature-icon-bg-bolt: rgba(239,68,68,.15);
    --feature-icon-color-bolt: #F87171;
}

/* LIGHT THEME */
[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F8F8;
    --bg-tertiary: #F0F0F0;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-heading: #111111;
    --border-color: rgba(0,0,0,.08);
    --card-bg: #F8F8F8;
    --card-hover: #F0F0F0;
    --header-bg: rgba(255,255,255,.88);
    --btn-primary-bg: #1E293B;
    --btn-primary-text: #FFFFFF;
    --btn-outline-border: rgba(0,0,0,.15);
    --btn-outline-text: #333333;
    --cta-bg: linear-gradient(135deg, #1E293B 0%, #0F172A 50%, #1a1a2e 100%);
    --store-btn-bg: rgba(0,0,0,.04);
    --store-btn-border: rgba(0,0,0,.1);
    --store-btn-text: #333;
    --footer-bg: #111111;
    --hero-badge-bg: rgba(59,130,246,.1);
    --hero-badge-text: #2563EB;
    --input-bg: rgba(255,255,255,.1);
    --input-border: rgba(255,255,255,.15);
    --shadow-card: 0 4px 24px rgba(0,0,0,.06);
    --feature-icon-bg-shield: rgba(59,130,246,.1);
    --feature-icon-color-shield: #3B82F6;
    --feature-icon-bg-touch: rgba(168,85,247,.1);
    --feature-icon-color-touch: #A855F7;
    --feature-icon-bg-bolt: rgba(239,68,68,.1);
    --feature-icon-color-bolt: #EF4444;
}

/* ---------- BASE ---------- */
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition), color var(--transition);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main, .blog-section, .page-header + * { flex: 1; }
.footer { margin-top: auto; }

/* Ensure all page content sits above the neural network canvas (z-index: 0) */
section, main, .footer, .hero, .page-header, .portfolio, .reviews-section,
.blog-section, .cta-section, .contact-section, .about-section {
    position: relative;
    z-index: 1;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

.container {
    width: min(var(--container), 100% - 3rem);
    margin-inline: auto;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: .9rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59,130,246,.3);
}

.btn--outline {
    background: transparent;
    color: var(--btn-outline-text);
    border: 1.5px solid var(--btn-outline-border);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--lg {
    padding: .85rem 2rem;
    font-size: 1rem;
}

.btn--light {
    background: #FFFFFF;
    color: #111;
}

.btn--light:hover {
    background: #F0F0F0;
    transform: translateY(-2px);
}

.btn--outline-light {
    background: transparent;
    color: #FFF;
    border: 1.5px solid rgba(255,255,255,.3);
}

.btn--outline-light:hover {
    border-color: #FFF;
    background: rgba(255,255,255,.08);
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition), border-color var(--transition);
}

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

.header__logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -.025em;
}

.header__nav {
    display: flex;
    gap: 2rem;
}

.header__link {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: .25rem 0;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width var(--transition);
}

.header__link:hover,
.header__link.active {
    color: var(--text-heading);
}

.header__link:hover::after,
.header__link.active::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1.5px solid var(--border-color);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.theme-toggle__icon {
    width: 20px;
    height: 20px;
    transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s;
}

[data-theme="dark"] .theme-toggle__icon--sun { display: block; }
[data-theme="dark"] .theme-toggle__icon--moon { display: none; }
[data-theme="light"] .theme-toggle__icon--sun { display: none; }
[data-theme="light"] .theme-toggle__icon--moon { display: block; }

/* Hamburger */
.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.header__cta { font-size: .85rem; }

/* ---------- HERO ---------- */
.hero {
    padding: 10rem 0 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    padding: .4rem 1rem;
    border-radius: var(--radius-xl);
    background: var(--hero-badge-bg);
    color: var(--hero-badge-text);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -.03em;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* ---------- 3D HERO SCENE ---------- */
.hero-3d-scene {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    --glare-x: 50%;
    --glare-y: 50%;
}

.phone-3d {
    position: absolute;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    cursor: pointer;
    transition: transform .6s cubic-bezier(.4,0,.2,1),
                opacity .6s cubic-bezier(.4,0,.2,1),
                z-index 0s .3s;
}

/* ---- 3-Phone Carousel Positions ---- */
/* Active phone: front & center */
.phone-3d--active {
    z-index: 5;
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Left position (behind-left) */
.phone-3d--left {
    z-index: 2;
    opacity: .6;
    transform: translateX(-70%) scale(.78) rotateY(12deg);
}

/* Right position (behind-right) */
.phone-3d--right {
    z-index: 2;
    opacity: .6;
    transform: translateX(70%) scale(.78) rotateY(-12deg);
}

.phone-3d__frame {
    width: 220px;
    height: 440px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow:
        0 25px 60px rgba(0,0,0,.4),
        0 0 0 1px rgba(255,255,255,.08),
        inset 0 1px 0 rgba(255,255,255,.05);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .phone-3d__frame {
    background: #1c1c1e;
    box-shadow:
        0 25px 60px rgba(0,0,0,.25),
        0 0 0 1px rgba(0,0,0,.15),
        inset 0 1px 0 rgba(255,255,255,.06);
}

.phone-3d__notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #111;
    border-radius: 0 0 14px 14px;
    z-index: 10;
}

[data-theme="light"] .phone-3d__notch {
    background: #000;
}

.phone-3d__screen {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #0f0f1a;
}

[data-theme="light"] .phone-3d__screen {
    background: #f5f5f7;
}

/* Glare overlay */
.phone-3d__glare {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 36px;
    pointer-events: none;
    background: radial-gradient(
        ellipse at var(--glare-x) var(--glare-y),
        rgba(255,255,255,.12) 0%,
        transparent 60%
    );
    z-index: 5;
}

/* --- Phone App Content: Ezan Vakti --- */
.phone-3d__app {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 36px 16px 16px;
}

.phone-3d__app-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
}

[data-theme="light"] .phone-3d__app-header {
    color: rgba(0,0,0,.7);
}

.phone-3d__app-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #fff;
}

.phone-3d__app-icon svg { width: 16px; height: 16px; }

.phone-3d__app-icon--green {
    background: linear-gradient(135deg, #059669, #4ade80);
}

.phone-3d__app-icon--purple {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.phone-3d__time-display {
    text-align: center;
    margin-bottom: 20px;
}

.phone-3d__prayer {
    display: block;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #60a5fa;
    margin-bottom: 4px;
}

.phone-3d__clock {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}

[data-theme="light"] .phone-3d__clock { color: #111; }

.phone-3d__prayer-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phone-3d__prayer-row {
    display: flex;
    justify-content: space-between;
    font-size: .68rem;
    color: rgba(255,255,255,.4);
    padding: 6px 8px;
    border-radius: 8px;
}

[data-theme="light"] .phone-3d__prayer-row {
    color: rgba(0,0,0,.35);
}

.phone-3d__prayer-row--active {
    background: rgba(59,130,246,.15);
    color: #60a5fa;
    font-weight: 600;
}

[data-theme="light"] .phone-3d__prayer-row--active {
    background: rgba(59,130,246,.1);
    color: #2563eb;
}

/* --- Phone App Content: GelirGider --- */
.phone-3d__balance {
    text-align: center;
    margin-bottom: 24px;
}

.phone-3d__balance-label {
    display: block;
    font-size: .6rem;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 4px;
}

[data-theme="light"] .phone-3d__balance-label { color: rgba(0,0,0,.35); }

.phone-3d__balance-amount {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #4ade80;
}

.phone-3d__chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 120px;
    padding: 0 4px;
}

.phone-3d__bar {
    flex: 1;
    background: rgba(255,255,255,.08);
    border-radius: 4px 4px 0 0;
    min-height: 8px;
    transition: height .6s cubic-bezier(.4,0,.2,1);
}

[data-theme="light"] .phone-3d__bar {
    background: rgba(0,0,0,.06);
}

.phone-3d__bar--accent {
    background: linear-gradient(to top, #059669, #4ade80);
}

/* --- Phone App Content: MediLog --- */
.phone-3d__app--medilog {
    background: linear-gradient(180deg, #f0fdf4 0%, #faf5ff 100%);
}

[data-theme="dark"] .phone-3d__app--medilog,
.phone-3d__app--medilog {
    background: linear-gradient(180deg, #0d1117 0%, #1a0e2e 100%);
}

[data-theme="light"] .phone-3d__app--medilog {
    background: linear-gradient(180deg, #f0fdf4 0%, #faf5ff 100%);
}

.phone-3d__app-header--medilog span {
    color: #a78bfa;
    font-weight: 700;
}

[data-theme="light"] .phone-3d__app-header--medilog span {
    color: #7c3aed;
}

.phone-3d__medilog-stats {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.phone-3d__medilog-stat {
    flex: 1;
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone-3d__medilog-stat--green { background: rgba(16,185,129,.15); }
.phone-3d__medilog-stat--blue  { background: rgba(99,102,241,.15); }
.phone-3d__medilog-stat--orange { background: rgba(245,158,11,.15); }

[data-theme="light"] .phone-3d__medilog-stat--green { background: rgba(16,185,129,.12); }
[data-theme="light"] .phone-3d__medilog-stat--blue  { background: rgba(99,102,241,.1); }
[data-theme="light"] .phone-3d__medilog-stat--orange { background: rgba(245,158,11,.1); }

.phone-3d__medilog-stat-val {
    font-size: .7rem;
    font-weight: 700;
    color: #fff;
}

[data-theme="light"] .phone-3d__medilog-stat-val { color: #1e293b; }

.phone-3d__medilog-stat-lbl {
    font-size: .5rem;
    color: rgba(255,255,255,.45);
}

[data-theme="light"] .phone-3d__medilog-stat-lbl { color: rgba(0,0,0,.4); }

.phone-3d__medilog-section {
    margin-bottom: 10px;
}

.phone-3d__medilog-section-title {
    font-size: .6rem;
    font-weight: 700;
    color: rgba(255,255,255,.55);
    margin-bottom: 6px;
}

[data-theme="light"] .phone-3d__medilog-section-title { color: rgba(0,0,0,.5); }

.phone-3d__medilog-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .6rem;
    padding: 6px 8px;
    border-radius: 8px;
    margin-bottom: 4px;
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.55);
}

[data-theme="light"] .phone-3d__medilog-pill {
    background: rgba(0,0,0,.03);
    color: rgba(0,0,0,.5);
}

.phone-3d__medilog-pill--pending {
    background: rgba(124,58,237,.1);
    border: 1px solid rgba(124,58,237,.2);
}

.phone-3d__medilog-pill-name { font-weight: 600; }

.phone-3d__medilog-pill-time {
    font-size: .55rem;
    opacity: .7;
}

.phone-3d__medilog-moods {
    display: flex;
    justify-content: space-around;
    font-size: 1.1rem;
    padding: 4px 0;
}

.phone-3d__medilog-moods span {
    opacity: .35;
    transition: opacity .2s, transform .2s;
    cursor: default;
}

.phone-3d__medilog-mood--active {
    opacity: 1 !important;
    transform: scale(1.35);
}

/* --- Ambient Particles --- */
.hero-3d-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-3d-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .25;
    animation: particleFloat 8s ease-in-out infinite;
}

.hero-3d-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero-3d-particles span:nth-child(2) { left: 80%; top: 30%; animation-delay: 1.5s; width: 6px; height: 6px; }
.hero-3d-particles span:nth-child(3) { left: 25%; top: 70%; animation-delay: 3s; }
.hero-3d-particles span:nth-child(4) { left: 70%; top: 65%; animation-delay: 4.5s; width: 3px; height: 3px; }
.hero-3d-particles span:nth-child(5) { left: 50%; top: 15%; animation-delay: 2s; width: 5px; height: 5px; }
.hero-3d-particles span:nth-child(6) { left: 90%; top: 80%; animation-delay: 5.5s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: .25; }
    50% { transform: translateY(-20px) scale(1.3); opacity: .5; }
}

/* Category colors for new types */
.app-card__icon--yapay-zeka { background: rgba(124,58,237,.12); color: #c084fc; }
.app-card__icon--platform { background: rgba(37,99,235,.12); color: #60a5fa; }
.app-card__icon--isletme { background: rgba(217,119,6,.12); color: #fbbf24; }
.app-card__icon--kisisel-gelisim { background: rgba(22,163,74,.12); color: #4ade80; }

.app-card__badge--yapay-zeka { background: rgba(124,58,237,.15); color: #c084fc; }
.app-card__badge--platform { background: rgba(37,99,235,.15); color: #60a5fa; }
.app-card__badge--isletme { background: rgba(217,119,6,.15); color: #fbbf24; }
.app-card__badge--kisisel-gelisim { background: rgba(22,163,74,.15); color: #4ade80; }

[data-theme="light"] .app-card__icon--yapay-zeka { background: rgba(124,58,237,.1); color: #7c3aed; }
[data-theme="light"] .app-card__icon--platform { background: rgba(37,99,235,.1); color: #2563eb; }
[data-theme="light"] .app-card__icon--isletme { background: rgba(217,119,6,.1); color: #d97706; }
[data-theme="light"] .app-card__icon--kisisel-gelisim { background: rgba(22,163,74,.1); color: #16a34a; }

[data-theme="light"] .app-card__badge--yapay-zeka { background: rgba(124,58,237,.1); color: #7c3aed; }
[data-theme="light"] .app-card__badge--platform { background: rgba(37,99,235,.1); color: #2563eb; }
[data-theme="light"] .app-card__badge--isletme { background: rgba(217,119,6,.1); color: #d97706; }
[data-theme="light"] .app-card__badge--kisisel-gelisim { background: rgba(22,163,74,.1); color: #16a34a; }

/* Loading spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Apps page tabs */
.apps-tabs {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 3rem;
}

.apps-tab {
    padding: .7rem 1.8rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: all var(--transition);
}

.apps-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.apps-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Blog pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 3rem;
}

.blog-pagination__btn {
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: .85rem;
    cursor: pointer;
    transition: all var(--transition);
}

.blog-pagination__btn:hover,
.blog-pagination__btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ---------- SECTION HEADER ---------- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}

.section-header__subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-inline: auto;
}

/* ---------- PAGE HEADER ---------- */
.page-header {
    padding: 8rem 0 3rem;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition), border-color var(--transition);
}

.page-header__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: .5rem;
    letter-spacing: -.02em;
}

.page-header__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin-inline: auto;
}

/* ---------- PORTFOLIO ---------- */
.portfolio {
    padding: 6rem 0;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* App Card */
.app-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

.app-card:hover {
    transform: translateY(-4px);
    background: var(--card-hover);
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
}

.app-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.app-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-card__icon svg {
    width: 26px;
    height: 26px;
}

/* Category colors */
.app-card__icon--maneviyat { background: rgba(59,130,246,.12); color: #60A5FA; }
.app-card__icon--astroloji { background: rgba(168,85,247,.12); color: #C084FC; }
.app-card__icon--saglik { background: rgba(236,72,153,.12); color: #F472B6; }
.app-card__icon--finans { background: rgba(34,197,94,.12); color: #4ADE80; }
.app-card__icon--otomobil { background: rgba(249,115,22,.12); color: #FB923C; }
.app-card__icon--yasam { background: rgba(20,184,166,.12); color: #2DD4BF; }

.app-card__badge {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: .3rem .7rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.app-card__badge--maneviyat { background: rgba(59,130,246,.15); color: #60A5FA; }
.app-card__badge--astroloji { background: rgba(168,85,247,.15); color: #C084FC; }
.app-card__badge--saglik { background: rgba(236,72,153,.15); color: #F472B6; }
.app-card__badge--finans { background: rgba(34,197,94,.15); color: #4ADE80; }
.app-card__badge--otomobil { background: rgba(249,115,22,.15); color: #FB923C; }
.app-card__badge--yasam { background: rgba(20,184,166,.15); color: #2DD4BF; }

[data-theme="light"] .app-card__badge--maneviyat { background: rgba(59,130,246,.1); color: #2563EB; }
[data-theme="light"] .app-card__badge--astroloji { background: rgba(168,85,247,.1); color: #7C3AED; }
[data-theme="light"] .app-card__badge--saglik { background: rgba(236,72,153,.1); color: #DB2777; }
[data-theme="light"] .app-card__badge--finans { background: rgba(34,197,94,.1); color: #16A34A; }
[data-theme="light"] .app-card__badge--otomobil { background: rgba(249,115,22,.1); color: #EA580C; }
[data-theme="light"] .app-card__badge--yasam { background: rgba(20,184,166,.1); color: #0D9488; }

[data-theme="light"] .app-card__icon--maneviyat { background: rgba(59,130,246,.1); color: #2563EB; }
[data-theme="light"] .app-card__icon--astroloji { background: rgba(168,85,247,.1); color: #7C3AED; }
[data-theme="light"] .app-card__icon--saglik { background: rgba(236,72,153,.1); color: #DB2777; }
[data-theme="light"] .app-card__icon--finans { background: rgba(34,197,94,.1); color: #16A34A; }
[data-theme="light"] .app-card__icon--otomobil { background: rgba(249,115,22,.1); color: #EA580C; }
[data-theme="light"] .app-card__icon--yasam { background: rgba(20,184,166,.1); color: #0D9488; }

.app-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: .5rem;
}

.app-card__desc {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.app-card__buttons {
    display: flex;
    gap: .6rem;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--store-btn-bg);
    border: 1px solid var(--store-btn-border);
    color: var(--store-btn-text);
    font-size: .78rem;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all var(--transition);
}

.store-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.store-btn svg { width: 16px; height: 16px; }

/* Upcoming card */
.app-card--upcoming {
    border: 2px dashed var(--border-color);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
}

.app-card--upcoming:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.app-card__upcoming-icon {
    color: var(--text-secondary);
    margin-bottom: .75rem;
    opacity: .5;
}

.app-card--upcoming .app-card__title { margin-bottom: .25rem; }
.app-card--upcoming .app-card__desc { margin-bottom: 0; flex-grow: 0; }

/* ---------- FEATURES ---------- */
.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
    transition: background var(--transition);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card__icon svg { width: 30px; height: 30px; }

.feature-card__icon--shield {
    background: var(--feature-icon-bg-shield);
    color: var(--feature-icon-color-shield);
}

.feature-card__icon--touch {
    background: var(--feature-icon-bg-touch);
    color: var(--feature-icon-color-touch);
}

.feature-card__icon--bolt {
    background: var(--feature-icon-bg-bolt);
    color: var(--feature-icon-color-bolt);
}

.feature-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: .75rem;
}

.feature-card__desc {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
    margin-inline: auto;
}

/* ---------- CTA ---------- */
.cta { padding: 6rem 0; }

.cta__inner {
    background: var(--cta-bg);
    border-radius: var(--radius-xl);
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    letter-spacing: -.02em;
    position: relative;
}

.cta__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    position: relative;
}

.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--footer-bg);
    padding: 4rem 0 0;
    color: rgba(255,255,255,.7);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    display: inline-block;
    margin-bottom: .75rem;
}

.footer__tagline {
    font-size: .85rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: rgba(255,255,255,.5);
}

.footer__email {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 1.25rem;
    transition: color var(--transition);
}

.footer__email:hover { color: var(--accent); }
.footer__email svg { flex-shrink: 0; }

.footer__socials {
    display: flex;
    gap: .75rem;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.5);
    transition: all var(--transition);
}

.footer__social-link:hover {
    background: var(--accent);
    color: #FFF;
    transform: translateY(-2px);
}

.footer__heading {
    font-size: .85rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer__links a {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    transition: color var(--transition);
}

.footer__links a:hover { color: #FFFFFF; }

.footer__newsletter-text {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 1rem;
}

.footer__newsletter {
    display: flex;
    gap: .5rem;
}

.footer__newsletter-input {
    flex: 1;
    padding: .65rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #FFF;
    font-size: .85rem;
    font-family: var(--font-primary);
    outline: none;
    transition: border-color var(--transition);
}

.footer__newsletter-input::placeholder { color: rgba(255,255,255,.35); }
.footer__newsletter-input:focus { border-color: var(--accent); }

.footer__newsletter-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--accent);
    border: none;
    color: #FFF;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}

.footer__newsletter-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer__bottom p {
    font-size: .8rem;
    color: rgba(255,255,255,.35);
}

/* ---------- ABOUT PAGE ---------- */
.about-section {
    padding: 5rem 0;
}

.about-section__content {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-section__text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.vm-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    text-align: center;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}

.vm-card--vision::before { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.vm-card--mission::before { background: linear-gradient(90deg, #A855F7, #C084FC); }

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

.vm-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vm-card__icon svg { width: 30px; height: 30px; }

.vm-card--vision .vm-card__icon { background: rgba(59,130,246,.12); color: #60A5FA; }
.vm-card--mission .vm-card__icon { background: rgba(168,85,247,.12); color: #C084FC; }

[data-theme="light"] .vm-card--vision .vm-card__icon { background: rgba(59,130,246,.1); color: #2563EB; }
[data-theme="light"] .vm-card--mission .vm-card__icon { background: rgba(168,85,247,.1); color: #7C3AED; }

.vm-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: .75rem;
}

.vm-card__text {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Values */
.values-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
    transition: background var(--transition);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    background: var(--card-hover);
}

.value-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.value-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: .5rem;
}

.value-card__text {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- CONTACT PAGE ---------- */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.contact-form__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: .5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: .9rem;
    font-family: var(--font-primary);
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-2px);
    background: var(--card-hover);
}

.contact-info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-card__icon svg { width: 22px; height: 22px; }

.contact-info-card__title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: .25rem;
}

.contact-info-card__text {
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info-card__text a {
    color: var(--accent);
}

.contact-info-card__text a:hover {
    text-decoration: underline;
}

/* ---------- TOAST NOTIFICATION ---------- */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-weight: 500;
    font-family: var(--font-primary);
    color: #FFF;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all .4s cubic-bezier(.4,0,.2,1);
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast--success { background: #16A34A; }
.toast--error { background: #DC2626; }
.toast--info { background: #3B82F6; }

.app-card,
.feature-card,
.vm-card,
.value-card,
.contact-info-card,
.blog-card,
.roadmap-card,
.faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1), background var(--transition), box-shadow var(--transition);
}

/* Fallback: show elements if JS hasn't loaded yet */
.faq-item {
    animation: fadeInFallback 0s .8s forwards;
}
@keyframes fadeInFallback {
    to { opacity: 1; transform: translateY(0); }
}

.app-card.visible,
.feature-card.visible,
.vm-card.visible,
.value-card.visible,
.contact-info-card.visible,
.blog-card.visible,
.roadmap-card.visible,
.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero__subtitle { margin-inline: auto; }
    .hero__actions { justify-content: center; }
    .hero { padding: 7rem 0 3rem; min-height: auto; }
    .hero__phones { max-height: 320px; max-width: 90vw; }
    .hero__visual { overflow: hidden; }

    .header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .header__nav.active { display: flex; }
    .header__hamburger { display: flex; }
    .header__cta { display: none; }

    .features__grid { grid-template-columns: 1fr; gap: 1rem; }
    .cta__inner { padding: 3.5rem 1.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .vision-mission { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .portfolio__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .values-grid { grid-template-columns: 1fr; }
}

/* ---------- MOBILE NAV ANIMATION ---------- */
.header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =========================================
   FAZ 2 — YENİ BİLEŞEN STİLLERİ
   ========================================= */

/* ---------- REVIEWS SLIDER ---------- */
.reviews-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    transition: background var(--transition);
    overflow: hidden;
}

.reviews-slider {
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 1rem 0;
}

.reviews-slider::-webkit-scrollbar { display: none; }

.reviews-track {
    display: flex;
    gap: 1.5rem;
    min-width: max-content;
}

.review-card {
    min-width: 320px;
    max-width: 320px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    flex-shrink: 0;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.review-card__stars {
    color: #FBBF24;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: .75rem;
}

.review-card__comment {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.review-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-card__author {
    font-weight: 600;
    font-size: .85rem;
    color: var(--text-heading);
}

.review-card__app {
    font-size: .75rem;
    color: var(--accent);
    font-weight: 500;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.5rem;
}

.reviews-nav__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.reviews-nav__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

/* ---------- FAQ ACCORDION ---------- */
.faq-section {
    padding: 6rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-item__question {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-heading);
    font-family: var(--font-primary);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: color var(--transition);
}

.faq-item__question:hover {
    color: var(--accent);
}

.faq-item__question svg {
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform .3s ease;
}

.faq-item.active .faq-item__question svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}

.faq-item.active .faq-item__answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-item__answer p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- BLOG PAGE STYLES ---------- */
.blog-section {
    padding: 3rem 0 6rem;
    flex: 1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.blog-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
    font-size: .8rem;
    color: var(--text-secondary);
}

.blog-card__author {
    font-weight: 600;
    color: var(--accent);
}

.blog-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: .5rem;
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card__link {
    font-size: .9rem;
    font-weight: 600;
    color: var(--accent);
    transition: opacity var(--transition);
}

.blog-card__link:hover {
    opacity: .7;
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- ROADMAP PAGE ---------- */
.roadmap-section {
    padding: 4rem 0 6rem;
}

.roadmap-filters {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.roadmap-filter {
    padding: .5rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.roadmap-filter:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.roadmap-filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFF;
}

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

.roadmap-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
}

.roadmap-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.roadmap-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.roadmap-card__app {
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent);
}

.roadmap-badge {
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .7rem;
    border-radius: 20px;
    letter-spacing: .03em;
}

.roadmap-badge--planned {
    background: rgba(59,130,246,.12);
    color: #60A5FA;
}

.roadmap-badge--in-progress {
    background: rgba(249,115,22,.12);
    color: #FB923C;
}

.roadmap-badge--done {
    background: rgba(34,197,94,.12);
    color: #4ADE80;
}

[data-theme="light"] .roadmap-badge--planned { background: rgba(59,130,246,.1); color: #2563EB; }
[data-theme="light"] .roadmap-badge--in-progress { background: rgba(249,115,22,.1); color: #EA580C; }
[data-theme="light"] .roadmap-badge--done { background: rgba(34,197,94,.1); color: #16A34A; }

.roadmap-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: .5rem;
}

.roadmap-card__desc {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.roadmap-card__footer {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.upvote-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.upvote-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.upvote-btn--voted {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
    cursor: default;
}

.upvote-btn svg { width: 14px; height: 14px; }

.roadmap-card__votes {
    font-size: .78rem;
    color: var(--text-secondary);
}

/* ---------- FAZ 2 RESPONSIVE ---------- */
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .roadmap-grid { grid-template-columns: 1fr; }
    .roadmap-filters { gap: .35rem; }
    .roadmap-filter { padding: .4rem .9rem; font-size: .78rem; }
    .review-card { min-width: 280px; max-width: 280px; }
}

/* ---------- LANGUAGE SWITCHER ---------- */
.lang-switcher {
    position: relative;
    z-index: 1001;
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .75rem;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1.5px solid var(--border-color);
    cursor: pointer;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: .82rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}

.lang-switcher__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.lang-switcher__flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-switcher__code {
    font-weight: 600;
    letter-spacing: .03em;
}

.lang-switcher__arrow {
    transition: transform var(--transition);
    opacity: .6;
}

.lang-switcher.open .lang-switcher__arrow {
    transform: rotate(180deg);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .25s cubic-bezier(.4,0,.2,1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lang-switcher.open .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem 1rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    text-decoration: none;
}

.lang-switcher__item:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

.lang-switcher__item--active {
    color: var(--accent);
    background: var(--accent-soft);
    font-weight: 600;
}

.lang-switcher__item--active::after {
    content: '✓';
    margin-left: auto;
    font-size: .75rem;
}

@media (max-width: 768px) {
    .lang-switcher__code { display: none; }
    .lang-switcher__btn { padding: .4rem .55rem; }
    .lang-switcher__dropdown { right: -1rem; }
}
