/* ══════════════════════════════════════
   AI Projelerim — Home Page Styles
   ══════════════════════════════════════ */

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 8rem 2rem 4rem;
    text-align: center; position: relative;
}
.hero-inner { max-width: 860px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem 1rem; border-radius: 50px;
    background: rgba(37, 99, 235, .12);
    border: 1px solid rgba(37, 99, 235, .25);
    font-size: .8rem; font-weight: 600; color: #60a5fa;
    margin-bottom: 2rem;
    animation: fadeUp .8s ease-out both;
}
.hero-badge .pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #3b82f6;
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,.5); }
    50%       { box-shadow: 0 0 0 6px rgba(59,130,246,0); }
}
.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 900; line-height: 1.08;
    margin-bottom: 1.5rem;
    animation: fadeUp .8s ease-out .15s both;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 40%, #c084fc 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.hero .subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: #94a3b8; max-width: 640px; margin: 0 auto 2.5rem;
    animation: fadeUp .8s ease-out .3s both;
}
.hero-buttons {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    animation: fadeUp .8s ease-out .45s both;
}

.hero-stats {
    display: flex; gap: 3rem; justify-content: center; margin-top: 4rem;
    animation: fadeUp .8s ease-out .6s both;
}
.hero-stat { text-align: center; }
.hero-stat .num {
    font-size: 2rem; font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat .label { font-size: .8rem; color: #64748b; margin-top: .2rem; }

.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    animation: fadeUp .8s ease-out .9s both;
}
.scroll-indicator .mouse {
    width: 26px; height: 42px; border-radius: 13px;
    border: 2px solid rgba(255,255,255,.2);
    display: flex; justify-content: center; padding-top: 8px;
}
.scroll-indicator .mouse .dot {
    width: 4px; height: 8px; border-radius: 2px;
    background: #60a5fa;
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(12px); opacity: .3; }
}

/* ── PROJECTS GRID ── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1100px; margin: 0 auto;
}
.project-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all .4s cubic-bezier(.4,0,.2,1);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.project-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56,189,248,.06), transparent 40%);
    opacity: 0; transition: opacity .4s;
}
.project-card:hover::before { opacity: 1; }
.project-card:hover {
    border-color: rgba(56,189,248,.2);
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
}
.project-card-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    margin-bottom: 1.2rem; position: relative;
}
.project-icon {
    width: 64px; height: 64px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(124,58,237,.15));
    border: 1px solid rgba(56,189,248,.15);
}
.project-status {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .3rem .8rem; border-radius: 50px;
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px;
}
.status-beta {
    background: rgba(245, 158, 11, .12);
    border: 1px solid rgba(245, 158, 11, .3);
    color: #fbbf24;
}
.status-active {
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .3);
    color: #4ade80;
}
.status-dev {
    background: rgba(99, 102, 241, .12);
    border: 1px solid rgba(99, 102, 241, .3);
    color: #818cf8;
}
.status-dot {
    width: 6px; height: 6px; border-radius: 50%;
}
.status-beta .status-dot { background: #fbbf24; }
.status-active .status-dot { background: #4ade80; }
.status-dev .status-dot { background: #818cf8; }
.project-card h3 {
    font-size: 1.4rem; font-weight: 800; color: #f1f5f9;
    margin-bottom: .6rem; position: relative;
}
.project-card .project-desc {
    color: #94a3b8; font-size: .95rem; line-height: 1.65;
    margin-bottom: 1.5rem; flex-grow: 1; position: relative;
}
.project-tags {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-bottom: 1.5rem; position: relative;
}
.project-tag {
    padding: .25rem .7rem; border-radius: 8px;
    font-size: .72rem; font-weight: 600;
    background: rgba(56,189,248,.08);
    border: 1px solid rgba(56,189,248,.15);
    color: #7dd3fc;
    font-family: 'JetBrains Mono', monospace;
}
.project-card-footer {
    display: flex; align-items: center; gap: 1rem;
    position: relative;
}
.btn-details {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .65rem 1.5rem; border-radius: 50px;
    font-size: .85rem; font-weight: 600;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff; transition: all .3s;
}
.btn-details:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.35); }

/* Coming soon placeholder card */
.project-card.coming-soon {
    border-style: dashed;
    border-color: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    min-height: 340px;
}
.project-card.coming-soon:hover {
    border-color: rgba(56,189,248,.15);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}
.coming-soon-inner {
    text-align: center; color: #475569;
}
.coming-soon-inner .icon { font-size: 3rem; margin-bottom: 1rem; opacity: .4; }
.coming-soon-inner h3 { font-size: 1.2rem; font-weight: 700; color: #64748b; margin-bottom: .4rem; }
.coming-soon-inner p { font-size: .85rem; color: #475569; }

/* ── ABOUT SECTION ── */
.about-content {
    max-width: 900px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: center;
}
.about-text p {
    color: #94a3b8; font-size: 1.05rem; line-height: 1.8;
    margin-bottom: 1.2rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: #e2e8f0; }
.about-visual {
    display: flex; flex-direction: column; gap: 1.2rem;
}
.about-stat-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 1.5rem 1.8rem;
    display: flex; align-items: center; gap: 1.2rem;
    transition: all .3s;
}
.about-stat-card:hover {
    border-color: rgba(56,189,248,.15);
    transform: translateX(6px);
}
.about-stat-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));
    border: 1px solid rgba(56,189,248,.1);
}
.about-stat-card h4 {
    font-size: .95rem; font-weight: 700; color: #e2e8f0;
    margin-bottom: .15rem;
}
.about-stat-card p {
    font-size: .8rem; color: #64748b;
}

/* ── CONTACT SECTION ── */
.contact-content {
    max-width: 600px; margin: 0 auto; text-align: center;
}
.contact-links {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    margin-top: 2rem;
}
.contact-link {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .9rem 1.8rem; border-radius: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    font-size: .95rem; font-weight: 600; color: #cbd5e1;
    transition: all .3s;
}
.contact-link:hover {
    border-color: rgba(56,189,248,.2);
    background: rgba(56,189,248,.06);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
}
.contact-link .c-icon { font-size: 1.2rem; }

/* ── RESPONSIVE (home) ── */
@media (max-width: 768px) {
    .projects-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .hero-stats .hero-stat { min-width: 80px; }
    .contact-links { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .hero { padding: 6rem 1.2rem 3rem; }
    .project-card { padding: 1.8rem; }
}
