:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --accent-primary: #8a2be2; /* Purple */
    --accent-secondary: #00d2ff; /* Blue */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Blobs for Aesthetic */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}
.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
}
.blob-2 {
    top: 50%;
    right: -200px;
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
}

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

/* Typography & Utilities */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 16px;
}
.gradient-text {
    background: linear-gradient(90deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-main);
    border: none;
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}
.btn-primary {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}
.btn-outline:hover {
    border-color: var(--accent-secondary);
    background: rgba(0, 210, 255, 0.05);
}

/* Glassmorphism Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 32px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo span {
    color: var(--accent-secondary);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: white;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
}
.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 90%;
}
.hero-actions {
    display: flex;
    gap: 16px;
}

/* Mockup graphic */
.hero-image {
    perspective: 1000px;
}
.mockup-card {
    transform: rotateY(-15deg) rotateX(10deg);
    padding: 16px;
    height: 400px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(20,20,30,0.8), rgba(10,10,15,0.9));
}
.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mockup-graph {
    height: 100px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(138,43,226,0.2) 0%, rgba(0,210,255,0.2) 100%);
    position: relative;
    overflow: hidden;
}
.mockup-graph::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}
.mockup-bars {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 150px;
    padding: 0 20px;
}
.mockup-bars .bar {
    flex: 1;
    background: var(--accent-primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}
.mockup-bars .bar:nth-child(2) { background: var(--accent-secondary); }

/* Services */
.services {
    padding: 100px 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.service-card {
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
}
.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(138, 43, 226, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.icon-wrapper .icon {
    color: var(--accent-secondary);
}
.service-card h3 {
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.pricing-card {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.pricing-card.popular {
    border-color: var(--accent-secondary);
    transform: scale(1.05);
    background: rgba(30, 30, 45, 0.8);
}
.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 24px 0;
}
.price span:first-child { font-size: 1.5rem; vertical-align: super; }
.period { font-size: 1rem; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}
.features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* CTA & Footer */
.cta {
    padding: 100px 0;
}
.cta-card {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(20,20,30,0.6), rgba(138,43,226,0.1));
}
.contact-form {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.contact-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.3);
    color: white;
    font-family: var(--font-main);
    outline: none;
}
.contact-form input:focus {
    border-color: var(--accent-secondary);
}

footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: white;
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.about-grid:last-child {
    margin-bottom: 0;
}
.about-grid.reverse .about-image {
    order: 2;
}
.about-grid.reverse .about-content {
    order: 1;
}
.text-left {
    text-align: left;
    margin-bottom: 24px;
}
.about-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.1rem;
}
.glass-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s ease;
}
.glass-image:hover {
    transform: scale(1.02);
}

/* Animations */
.fade-in, .fade-up {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up {
    transform: translateY(30px);
}
.fade-in.appear { opacity: 1; transform: translateY(0); }
.fade-up.appear { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 80px;
    }
    .about-grid, .about-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .text-left {
        text-align: center;
    }
    .about-grid.reverse .about-image {
        order: 1;
    }
    .about-grid.reverse .about-content {
        order: 2;
    }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .nav-links { display: none; }
    .contact-form { flex-direction: column; }
    .pricing-card.popular { transform: scale(1); }
    .footer-container { flex-direction: column; gap: 24px; text-align: center; }
}
