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

body {
    background-color: #0b0b0b;
    font-family: 'Inter', sans-serif;
    color: #eaeef2;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* scroll bar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #121212; }
::-webkit-scrollbar-thumb { background: #7b4bff; border-radius: 8px; }

/* ----- GLASSMORPHISM / UTILS ----- */
.glass {
    background: rgba(18, 18, 24, 0.55);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(123, 75, 255, 0.12);
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(123, 75, 255, 0.05) inset;
}

.glass-light {
    background: rgba(30, 30, 38, 0.45);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    border: 1px solid rgba(123, 75, 255, 0.08);
}

.neon-glow {
    text-shadow: 0 0 14px rgba(123, 75, 255, 0.5), 0 0 40px rgba(0, 180, 255, 0.2);
}

/* ----- ANIMATIONS (fade, slide, glow) ----- */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(28px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlide {
    0% { opacity: 0; transform: translateX(-14px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 6px #7b4bff40; }
    50% { box-shadow: 0 0 22px #7b4bff90, 0 0 40px #00b4ff30; }
    100% { box-shadow: 0 0 6px #7b4bff40; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    animation: fadeInUp 1s ease forwards;
}

.hero-sub {
    animation: fadeInUp 1s ease 0.15s forwards;
    opacity: 0;
}

/* ----- NAVBAR (fixed, shrink) ----- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 18px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
    background: rgba(11, 11, 11, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(123, 75, 255, 0.08);
}

nav.shrink {
    padding: 10px 32px;
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.6);
}

.nav-logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #b48aff, #7b4bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo i {
    -webkit-text-fill-color: initial;
    color: #7b4bff;
    margin-right: 6px;
}

.nav-links {
    display: flex;
    gap: 28px;
    font-weight: 400;
    font-size: 0.95rem;
}

.nav-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: 0.2s;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.nav-links a:hover {
    color: #b48aff;
    border-bottom-color: #7b4bff;
}

.nav-search {
    background: rgba(255,255,255,0.04);
    border-radius: 40px;
    padding: 6px 16px 6px 20px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(123, 75, 255, 0.15);
    transition: 0.2s;
}

.nav-search input {
    background: transparent;
    border: none;
    outline: none;
    color: #eaeef2;
    font-size: 0.9rem;
    width: 130px;
    font-family: 'Inter', sans-serif;
}

.nav-search input::placeholder {
    color: #8b8f9c;
    font-weight: 300;
}

.nav-search i {
    color: #7b4bff;
    font-size: 0.9rem;
}

/* ----- HERO ----- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 30% 40%, #18181e 0%, #0b0b0b 80%);
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3.4rem, 18vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #c2b0ff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(123, 75, 255, 0.25);
    margin-bottom: 12px;
}

.hero h1 i {
    -webkit-text-fill-color: initial;
    color: #7b4bff;
    margin-right: 8px;
}

.hero .sub {
    font-size: clamp(1rem, 3.5vw, 1.6rem);
    font-weight: 300;
    letter-spacing: 2px;
    color: #b0b8c5;
    background: rgba(123, 75, 255, 0.08);
    display: inline-block;
    padding: 6px 28px;
    border-radius: 60px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(123, 75, 255, 0.1);
}

/* hero altı modüller */
.hero-modules {
    position: relative;
    z-index: 2;
    margin-top: 70px;
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 0 12px;
}

.module-card {
    background: rgba(18, 18, 24, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(123, 75, 255, 0.08);
    border-radius: 24px;
    padding: 20px 12px;
    text-align: center;
    transition: 0.25s ease;
    box-shadow: 0 10px 24px -16px #000000aa;
}

.module-card:hover {
    transform: translateY(-6px);
    border-color: #7b4bff60;
    box-shadow: 0 20px 34px -14px #7b4bff30;
    background: rgba(28, 28, 38, 0.6);
}

.module-card i {
    font-size: 1.8rem;
    color: #7b4bff;
    margin-bottom: 4px;
    display: block;
}

.module-card .label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #d0d7e3;
}

.module-card .badge {
    font-size: 0.7rem;
    background: #7b4bff20;
    padding: 2px 10px;
    border-radius: 30px;
    color: #b48aff;
    margin-top: 4px;
    display: inline-block;
}

/* ----- KATEGORİLER (cards) ----- */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #7b4bff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.category-card {
    background: rgba(16, 16, 22, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(123, 75, 255, 0.08);
    border-radius: 28px;
    padding: 22px 12px 18px;
    text-align: center;
    transition: 0.2s ease-in-out;
    cursor: default;
    box-shadow: 0 6px 16px -12px #000;
}

.category-card:hover {
    transform: scale(1.02) translateY(-6px);
    border-color: #7b4bff80;
    background: rgba(36, 34, 48, 0.6);
    box-shadow: 0 16px 36px -14px #7b4bff30;
}

.category-card i {
    font-size: 2rem;
    color: #7b4bff;
    margin-bottom: 4px;
    display: block;
}

.category-card span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* ----- TREND KONULAR / ÖRNEK KONULAR ----- */
.topic-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topic-item {
    background: rgba(16, 16, 22, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(123, 75, 255, 0.05);
    border-radius: 30px;
    padding: 14px 22px;
    transition: 0.18s;
    display: flex;
    align-items: center;
    gap: 14px;
}

.topic-item:hover {
    background: rgba(40, 38, 52, 0.5);
    border-color: #7b4bff30;
    transform: translateX(6px);
}

.topic-item i {
    color: #7b4bff;
    font-size: 1.1rem;
    width: 24px;
}

.topic-item .topic-title {
    font-weight: 500;
}

.topic-item .topic-meta {
    margin-left: auto;
    font-size: 0.7rem;
    color: #8b8f9c;
    background: #1e1e26;
    padding: 2px 16px;
    border-radius: 40px;
}

/* ----- ANA İÇERİK BÖLÜMLERİ ----- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 28px 80px;
}

.section-spacer {
    padding: 60px 0 20px;
}

.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* ----- FOOTER ----- */
footer {
    background: rgba(8, 8, 12, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(123, 75, 255, 0.08);
    padding: 48px 36px 28px;
    margin-top: 40px;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: #cbd5e0;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

.footer-col a {
    display: block;
    color: #8b8f9c;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #b48aff;
    padding-left: 6px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 28px auto 0;
    border-top: 1px solid #1f1f2a;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    color: #6b707c;
    font-size: 0.85rem;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 850px) {
    .two-col { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-search input { width: 90px; }
    nav { padding: 14px 20px; }
}

@media (max-width: 500px) {
    .hero-modules { grid-template-columns: 1fr 1fr; gap: 12px; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .container { padding: 0 16px 40px; }
}