/* === VARIABLES === */
:root {
    --bg-main: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #e2e2e2;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 140px 0;
}

/* === BACKGROUND EFFECTS === */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.bg-glow-left {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%);
}

.bg-glow-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(150,150,255,0.8) 0%, rgba(0,0,0,0) 70%);
}

/* === TYPOGRAPHY === */
.text-gradient {
    background: linear-gradient(180deg, #fff 0%, #777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pro-tag {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 6px;
    background: var(--text-primary);
    color: var(--bg-main);
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-main);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

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

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

.nav-btn {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-btn:hover {
    color: var(--text-primary);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 48px 0;
    position: relative;
}

.hero-content {
    flex: 1.2;
    z-index: 10;
}

.badge-wrapper {
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 550px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* === MINIMAL DIAGNOSTICS VISUAL === */
.hero-visuals {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.minimal-health-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.card-header {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-align: center;
}

.health-indicator {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.health-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: var(--border-subtle);
    stroke-width: 2;
}

.circle-progress {
    fill: none;
    stroke: var(--text-primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.health-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.health-num {
    display: block;
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -2px;
}

.health-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* === FEATURES SECTION === */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px 32px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-card);
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === BOTTOM CTA === */
.bottom-cta {
    border-top: 1px solid var(--border-subtle);
    background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 70%);
}

.cta-container {
    text-align: center;
    max-width: 700px;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* === FOOTER === */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { margin: 0 auto 30px; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .hero-visuals { margin-top: 60px; justify-content: center; width: 100%; }
    .section-title, .cta-title { font-size: 2.5rem; }
}

@media (max-width: 576px) {
    .navbar { padding: 20px 24px; }
    .hero { padding-left: 24px; padding-right: 24px; }
    .hero-title { font-size: 2.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 16px; }
}

/* === 404 PAGE STYLES === */
.page-404 {
    overflow: hidden; /* Prevent scrolling on 404 */
}

.main-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.not-found-container {
    text-align: center;
    position: relative;
    z-index: 10;
}

.error-code-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 12rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -10px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.error-digit {
    display: inline-block;
    text-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.error-title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.error-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto 40px;
}

.error-actions {
    display: flex;
    justify-content: center;
}

/* 404 Floating Shapes */
.floating-elements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.float-shape {
    position: absolute;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: 20%;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -20px;
    right: 25%;
    border-radius: 20px;
    transform: rotate(45deg);
}

.shape-3 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    border: 1px dashed rgba(255, 255, 255, 0.03);
}
