:root {
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 25, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    
    --primary: #4f46e5; /* Indigo */
    --primary-hover: #4338ca;
    --accent: #0ea5e9; /* Light Blue */
    --neon-glow: rgba(79, 70, 229, 0.5);
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    
    --font-sans: 'Inter', sans-serif;
}

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

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

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

ul {
    list-style: none;
}

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

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

.text-center { text-align: center; }
.full-width { width: 100%; }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.subheading {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

/* Glass UI */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 var(--neon-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5,5,5,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

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

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

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 6px;
}

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

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.login-link:hover {
    color: var(--text-main);
}

/* Background Glows */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(79, 70, 229, 0.15);
    top: -200px;
    left: -200px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(14, 165, 233, 0.15);
    top: 20%;
    right: -200px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 150px 0 80px;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 30px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
}

/* Dashboard Mockup */
.dashboard-mockup {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    z-index: 2;
}

.mockup-header {
    padding: 10px;
    display: flex;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.mockup-img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: rgba(20,20,25,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 6s infinite ease-in-out;
}

.fc-1 {
    top: 20%;
    left: -50px;
}

.fc-2 {
    bottom: 30%;
    right: -40px;
    animation-delay: -3s;
}

.fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.fc-icon.success { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.fc-icon.warning { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }

.float-card h4 { font-size: 0.9rem; margin-bottom: 2px; }
.float-card span { font-size: 0.75rem; color: var(--text-muted); }

/* Features Grid */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.feature-card {
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 25px;
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pricing */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    font-weight: 500;
}

.toggle-switch {
    width: 50px;
    height: 26px;
    background: var(--primary);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.discount {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 5px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.1);
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-top {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.card-top h3 { font-size: 1.5rem; margin-bottom: 5px; }
.card-top p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.price span:first-child { font-size: 1.5rem; margin-top: 5px; }
.price span:last-child { font-size: 1rem; color: var(--text-muted); margin-top: auto; margin-bottom: 10px; font-weight: 500; }

.card-bottom ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.card-bottom ul li i { color: var(--primary); }
.card-bottom ul li.disabled { color: var(--text-muted); }
.card-bottom ul li.disabled i { color: var(--text-muted); opacity: 0.5; }

/* CTA Section */
.cta-box {
    text-align: center;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: rgba(79, 70, 229, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-box h2 { font-size: 2.5rem; margin-bottom: 20px; position: relative; z-index: 2; }
.cta-box p { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 40px; position: relative; z-index: 2; }
.cta-btns { position: relative; z-index: 2; }

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 250px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover { color: var(--text-main); }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 60px auto 0; }
    .pricing-card.popular { transform: scale(1); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .float-card { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}
