:root {
    --primary: #6366f1;
    /* Modern Indigo */
    --primary-glow: rgba(99, 102, 241, 0.1);
    --secondary: #0ea5e9;
    /* Sky Blue */
    --accent: #d946ef;
    /* Fuchsia */
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.2s ease-in-out;
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Nav */
header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

nav ul li a:hover {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-card);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    z-index: 1000;
    top: 100%;
    left: -50%;
    padding: 0.5rem;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: flex-start !important;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 400;
}

.breadcrumb a:hover {
    color: var(--primary);
    opacity: 1;
}

.breadcrumb span {
    font-weight: 600;
}

.breadcrumb .sep {
    color: var(--primary);
    font-weight: 400;
}

/* Simple Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* Güçlendirildi */
    transform: translateY(-8px);
    /* Yeni: Premium Float efekti */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.btn-outline {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}

/* Inputs */
.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Hero Section */
.hero {
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #0f172a;
    line-height: 1.1;
    z-index: 10;
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 10;
}

/* --- PREMIUM HOMEPAGE ENHANCEMENTS --- */
.hero-bg-blobs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: drift 15s infinite alternate ease-in-out;
}

.blob.cyan {
    background: var(--secondary);
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.blob.pink {
    background: var(--accent);
    width: 350px;
    height: 350px;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.floating-icon {
    position: absolute;
    animation: float 6s infinite ease-in-out;
    opacity: 0.8;
    z-index: 5;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.float-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
    color: var(--accent);
}

.float-2 {
    top: 35%;
    right: 15%;
    animation-delay: -2s;
    color: var(--primary);
}

.float-3 {
    bottom: 20%;
    left: 25%;
    animation-delay: -4s;
    color: var(--secondary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.trust-badges {
    margin-top: 3.5rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 10;
}

.avatars {
    display: flex;
    justify-content: center;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -15px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.avatars img:first-child {
    margin-left: 0;
}

.trust-text {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

.stars {
    color: #fbbf24;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

/* Ticker Ribbon */
.live-ticker-wrap {
    width: 100%;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    display: flex;
}

.ticker-track {
    display: flex;
    gap: 3rem;
    /* Kayma hızı 150 saniye yapıldı, çok daha yavaş bir akış sağlandı */
    animation: ticker linear 150s infinite;
}

/* Pause on hover to let users read */
.live-ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--bg-light);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    font-weight: 500;
}

.ticker-item i {
    width: 18px;
    height: 18px;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Grid Layouts */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Trending Section */
.trending-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.trending-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.trending-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.trending-info {
    padding: 0.8rem;
    font-size: 0.85rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    background: #ffffff;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.i-icon {
    width: 18px;
    height: 18px;
}

/* Mobile Menu & Grids */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-main);
}

.menu-toggle:focus {
    outline: none;
}

.uid-container {
    background: var(--bg-light);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.uid-container code {
    word-break: break-all;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    nav {
        flex-wrap: wrap;
        /* allow hamburger to wrap the ul */
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none !important;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        gap: 1rem !important;
        align-items: center;
        text-align: center;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .desktop-cta {
        display: none;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .result-grid {
        grid-template-columns: 1fr !important;
    }

    .uid-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}

/* Premium Simulation UI */
.sim-dashboard {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 1.5rem;
}

.sim-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sim-target-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.sim-target-value {
    color: var(--primary);
    font-weight: 700;
}

.sim-counter-box {
    text-align: center;
    margin-bottom: 2rem;
}

.sim-live-counter {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -2px;
}

.sim-target-total {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sim-progress-wrapper {
    width: 100%;
    height: 12px;
    background: var(--bg-body);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 1rem;
}

.sim-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 20px;
    transition: width 0.3s ease-out;
}

.sim-activity-feed {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    height: 250px;
    overflow-y: hidden;
    padding: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sim-feed-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(180deg, var(--bg-light) 0%, transparent 100%);
    z-index: 2;
    border-radius: 12px 12px 0 0;
}

.sim-feed-item {
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-main);
    animation: slideUpFade 0.4s ease-out forwards;
}

.sim-feed-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.sim-feed-user {
    font-weight: 700;
    color: var(--text-main);
}

.sim-status {
    text-align: center;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

@keyframes slideUpFade {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- ANA SAYFA ALT BÖLÜM (PREMİUM TASARIM) UYARLAMALARI --- */
.premium-section {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
}

.premium-section::before,
.premium-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.6;
    animation: drift 20s infinite alternate linear;
}

.premium-section.glow-cyan::before {
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.12);
    top: -150px;
    left: -100px;
}

.premium-section.glow-cyan::after {
    width: 300px;
    height: 300px;
    background: rgba(217, 70, 239, 0.08);
    bottom: -100px;
    right: -50px;
}

.premium-section.glow-pink::before {
    width: 350px;
    height: 350px;
    background: rgba(217, 70, 239, 0.12);
    top: -100px;
    right: -150px;
}

.premium-section.glow-pink::after {
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.08);
    bottom: -150px;
    left: -100px;
}

.content-relative {
    position: relative;
    z-index: 2;
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.85);
}