:root {
    --bg: #07090e;
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --accent: #0ea5e9;
    --accent-glow: rgba(14, 165, 233, 0.2);
    --border: rgba(255, 255, 255, 0.08);
    --gradient: linear-gradient(135deg, #0ea5e9 0%, #a855f7 100%);
    --card-bg: rgba(15, 23, 42, 0.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Accent Glow Circles */
.circle-glow {
    position: absolute;
    top: -10%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.circle-glow-2 {
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    max-width: 1000px;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 100px;
    z-index: 10;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fff 30%, var(--text-sub) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    height: 28px;
    width: 28px;
    object-fit: cover;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.btn-nav {
    text-decoration: none;
    background: var(--gradient);
    color: white;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
    transition: all 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

/* Hero */
.hero {
    max-width: 850px;
    margin: 80px auto 60px;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.hero-tag {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(14, 165, 233, 0.25);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-sub);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.btn {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* App Mockup UI */
.app-mockup {
    background: #0d111a;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.05);
    text-align: left;
    transition: transform 0.4s ease;
}

.app-mockup:hover {
    transform: translateY(-6px);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.circles {
    display: flex;
    gap: 6px;
    margin-right: 20px;
}

.dot-win {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-win.close { background: #ef4444; }
.dot-win.minimize { background: #eab308; }
.dot-win.maximize { background: #22c55e; }

.mockup-tab {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    font-size: 11px;
    color: var(--text-sub);
    padding: 5px 0;
    font-weight: 600;
    max-width: 200px;
    margin: 0 auto;
}

.mockup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s ease;
}

.task-item.active {
    background: rgba(14, 165, 233, 0.04);
    border-color: rgba(14, 165, 233, 0.2);
}

.checkbox {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease;
}

.check-done {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    font-size: 9px;
}

.task-title {
    font-size: 13.5px;
    font-weight: 500;
    color: #e2e8f0;
    flex: 1;
}

.task-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.tag-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.tag-blue { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
.tag-green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }

/* Features */
.features {
    max-width: 1000px;
    margin: 40px auto 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(14, 165, 233, 0.05);
}

.icon-wrap {
    width: 46px;
    height: 46px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrap {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-sub);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .navbar { border-radius: 24px; margin: 16px; }
    .nav-links { display: none; }
    .hero h1 { font-size: 38px; }
    .hero-subtitle { font-size: 14px; }
}

/* Floating Return Button */
.back-to-portfolio {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.back-to-portfolio:hover {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}
