/* ==================== mineDor — Light Theme ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

*:focus,
*:focus-visible,
button:focus, a:focus, input:focus, textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

button, a, input, textarea, select { outline: none !important; }

:root {
    --brand: #059669;
    --brand-2: #10b981;
    --brand-ink: #065f46;
    --accent: #f59e0b;
    --accent-2: #fbbf24;
    --blue: #2563eb;
    --violet: #7c3aed;
    --pink: #db2777;
    --red: #e11d48;
    --ink: #101a2e;
    --muted: #5a6b85;
    --bg: #eef2f7;
    --surface: #ffffff;
    --surface-2: #f7f9fc;
    --border: #e3e9f2;
    --shadow-sm: 0 2px 10px rgba(16, 26, 46, 0.06);
    --shadow-md: 0 10px 30px rgba(16, 26, 46, 0.10);
    --shadow-lg: 0 20px 50px rgba(16, 26, 46, 0.14);
    --radius: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==================== BACKGROUND ==================== */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(circle at 1px 1px, rgba(16, 26, 46, 0.05) 1px, transparent 0) 0 0 / 26px 26px,
        linear-gradient(180deg, #f4f7fb 0%, #eaeff6 100%);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    animation: float 22s ease-in-out infinite;
}

.orb1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #34d399, transparent 70%);
    top: -180px; left: -160px;
}
.orb2 {
    width: 460px; height: 460px;
    background: radial-gradient(circle, #60a5fa, transparent 70%);
    bottom: -160px; right: -140px;
    animation-delay: -7s;
}
.orb3 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #fbbf24, transparent 70%);
    top: 45%; left: 55%;
    animation-delay: -14s;
    opacity: 0.22;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -40px) scale(1.08); }
    50% { transform: translate(-30px, 25px) scale(0.94); }
    75% { transform: translate(-40px, -25px) scale(1.04); }
}

/* ==================== SURFACE (was glass) ==================== */
.glass-card, .glass-nav, .glass-stat, .glass-float, .glass-feature, .glass-task {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1180px;
    padding: 14px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.45rem;
    font-weight: 800;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.35);
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Sora', sans-serif;
    color: var(--ink);
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--brand);
}

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

/* ==================== BUTTONS ==================== */
.btn {
    padding: 11px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink);
}
.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.30);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(5, 150, 105, 0.40);
}

.btn-cta {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    padding: 17px 38px;
    font-size: 1.08rem;
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(5, 150, 105, 0.35);
}
.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 34px rgba(5, 150, 105, 0.42);
}
.btn-cta i { transition: transform 0.3s ease; }
.btn-cta:hover i { transform: translateX(5px); }

.user-profile { display: flex; align-items: center; gap: 15px; }
.user-profile img {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid var(--brand);
}
.hidden { display: none !important; }

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 20px 60px;
    gap: 50px;
}

.hero-content {
    max-width: 620px;
    padding: 46px;
    position: relative;
    overflow: hidden;
}
.hero-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--ink);
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 36px;
}

/* ==================== STATS ==================== */
.stats-container { display: flex; gap: 18px; margin-bottom: 36px; }

.stat-box {
    flex: 1;
    padding: 24px 14px;
    text-align: center;
    background: var(--surface-2);
    transition: transform 0.25s ease;
}
.stat-box:hover { transform: translateY(-4px); }

.stat-icon { font-size: 1.9rem; margin-bottom: 10px; display: block; }
.stat-box:nth-child(1) .stat-icon { color: var(--brand); }
.stat-box:nth-child(2) .stat-icon { color: var(--violet); }
.stat-box:nth-child(3) .stat-icon { color: var(--blue); }

.stat-number {
    display: block;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--ink);
    font-family: 'Sora', sans-serif;
}

.stat-label { font-size: 0.88rem; color: var(--muted); }

/* ==================== FLOATING CARDS ==================== */
.hero-visual { position: relative; width: 400px; height: 400px; }

.floating-card {
    position: absolute;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 6s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
}

.card-1 { top: 18%; left: 0; }
.card-2 { top: 50%; right: 0; animation-delay: -2s; }
.card-3 { bottom: 18%; left: 50%; transform: translateX(-50%); animation-delay: -4s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
.card-3 { animation-name: floatCard3; }
@keyframes floatCard3 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-18px); }
}

.card-icon { font-size: 1.8rem; }
.card-1 .card-icon { color: var(--red); }
.card-2 .card-icon { color: var(--blue); }
.card-3 .card-icon { color: var(--accent); }
.card-text { font-weight: 600; font-size: 0.95rem; color: var(--ink); }

/* ==================== FEATURES ==================== */
.features, .tasks-preview {
    padding: 80px 20px;
    max-width: 1180px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 46px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
}

.feature-card {
    padding: 38px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--surface);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    width: 78px; height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 22px;
    font-size: 2.1rem;
    color: #fff;
    box-shadow: var(--shadow-md);
}
.icon-box-blue   { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.icon-box-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.icon-box-green  { background: linear-gradient(135deg, #34d399, #059669); }
.icon-box-orange { background: linear-gradient(135deg, #fbbf24, #f59e0b); }

.feature-card:hover .icon-box {
    transform: scale(1.08) rotate(4deg);
    transition: transform 0.3s ease;
}

.feature-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--ink);
}
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ==================== TASKS PREVIEW ==================== */
.tasks-container {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.task-item {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--surface);
}
.task-item:hover {
    transform: translateX(8px);
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
}
.task-item.completed { opacity: 0.55; pointer-events: none; }
.task-item.completed .task-icon-box { opacity: 0.5; }

.task-left { display: flex; align-items: center; gap: 15px; }

.task-icon-box {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.25rem;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.task-name { font-weight: 600; color: var(--ink); }
.task-reward {
    font-weight: 800;
    color: var(--brand);
    font-size: 1.05rem;
    font-family: 'Sora', sans-serif;
}

/* ==================== CTA ==================== */
.cta-section {
    background: linear-gradient(135deg, #065f46, #059669);
    padding: 78px 20px;
    text-align: center;
    color: #fff;
}
.cta-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 14px;
    color: #fff;
}
.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.08rem;
    margin-bottom: 30px;
}
.cta-section .btn-cta {
    background: #fff;
    color: var(--brand-ink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.cta-section .btn-cta:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    padding: 28px;
    color: var(--muted);
    font-size: 0.9rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-content { padding: 30px; }
    .hero-title { font-size: 2.5rem; }
    .stats-container { justify-content: center; }
    .hero-visual { display: none; }
}

@media (max-width: 600px) {
    .navbar { padding: 12px 15px; border-radius: 14px; }
    .logo { font-size: 1rem; }
    .logo-text { font-size: 1rem; }
    .logo-img { width: 32px; height: 32px; }
    .nav-buttons { gap: 8px; }
    .btn { padding: 8px 14px; font-size: 0.75rem; }
    .hero-title { font-size: 2rem; }
    .stats-container { flex-direction: column; }
    .section-title { font-size: 1.8rem; }
}
