:root {
    --primary: #00ff88;
    --secondary: #ff00ff;
    --accent: #00ffff;
    --dark-bg: #0a0e27;
    --dark-card: #1a1f3a;
    --text-light: #ffffff;
    --text-dark: #333333;
    --light-bg: #f5f5f5;
    --light-card: #ffffff;
    --border-glow: rgba(0, 255, 136, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1f3a 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: rgba(26, 31, 58, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-glow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 10px;
    color: var(--accent);
    opacity: 0.8;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: var(--dark-bg);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.floating-card {
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.3);
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.card-content {
    text-align: center;
}

.bmi-display {
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.bmi-label {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: rgba(26, 31, 58, 0.5);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 100px 20px;
}

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

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.step p {
    color: rgba(255, 255, 255, 0.8);
}

/* Install Section */
.install {
    padding: 100px 20px;
    background: rgba(26, 31, 58, 0.5);
}

.install-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.install-steps,
.install-info {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 30px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.install-steps h3,
.install-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
}

.install-steps ol,
.install-info ul {
    margin-left: 20px;
}

.install-steps li,
.install-info li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

code {
    background: rgba(0, 255, 136, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

/* Footer */
.footer {
    background: rgba(26, 31, 58, 0.95);
    border-top: 2px solid var(--primary);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-glow);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-links {
        gap: 15px;
        font-size: 14px;
    }

    .install-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 36px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 255, 136, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}
