:root {
    /* Premium Modern Dark Palette */
    --bg-dark: #07090E;
    --bg-card: #11151F;
    --bg-card-hover: #19202E;
    
    /* Neons & Accents for High Conversion */
    --accent-color: #3b82f6; /* Modern Electric Blue */
    --accent-glow: rgba(59, 130, 246, 0.4);
    --accent-secondary: #8b5cf6; /* Deep Purple for Gradients */
    
    /* Text */
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --text-white: #FFFFFF;
    
    /* Layout */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography elements */
h1, h2, h3, h4 {
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    background: #2563eb;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.05em;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    bottom: 4px;
    right: -8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.mobile-menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn span:first-child { top: 0; }
.mobile-menu-btn span:last-child { bottom: 0; }

.mobile-menu-btn.active span:first-child {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:last-child {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem; /* Slightly smaller to fit nicely */
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.trust-indicators {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.main-dashboard {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(17, 21, 31, 0.8) 100%);
    backdrop-filter: blur(10px);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dots {
    display: flex;
    gap: 4px;
    margin-right: 1rem;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f56;
}

.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.header-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.metric-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.metric .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

.metric .value.down {
    color: var(--text-white);
}

.chart-container {
    height: 120px;
    width: 100%;
}

.line-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-line {
    stroke: var(--accent-color);
    stroke-width: 2.5;
    stroke-linecap: round;
    animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -40px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(17, 21, 31, 0.95);
    backdrop-filter: blur(12px);
    animation: float 6s ease-in-out infinite;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

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

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

/* Results Section */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-list svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.value-list strong {
    display: block;
    color: var(--text-white);
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.value-list span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.dashboard-stack {
    position: relative;
    height: 400px;
}

.dash-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    width: 80%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.bg-card-1 {
    top: 0;
    right: 0;
    z-index: 1;
    transform: scale(0.95);
    opacity: 0.8;
}

.bg-card-2 {
    bottom: 20px;
    left: 0;
    z-index: 2;
    background: linear-gradient(135deg, var(--bg-card), rgba(17, 21, 31, 0.9));
    backdrop-filter: blur(10px);
}

.dash-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.dash-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 100px;
}

.bar {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 4px 4px 0 0;
    position: relative;
    overflow: hidden;
}

.bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--accent-secondary);
    transition: 1.5s ease;
}

.reveal.active .bar::after {
    height: 100%;
}

.bar.active::after {
    background: var(--accent-color);
}

.eng-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.progress-track {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-color));
    width: 0%;
    transition: width 1.5s ease-out;
}

.reveal.active .progress-fill {
    width: 85%;
}

/* Why Me Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    border-top: 2px solid transparent;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

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

/* Contact Section */
.contact-card {
    background: linear-gradient(135deg, rgba(17, 21, 31, 1), rgba(7, 9, 14, 1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.contact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    filter: blur(150px);
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 3rem auto;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-email:hover {
    color: var(--accent-color);
}

.cta-btn {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-container { gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero { padding-top: 8rem; text-align: center; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-subtitle { margin: 0 auto 2.5rem auto; }
    .hero-cta { justify-content: center; flex-direction: column; }
    .trust-indicators { justify-content: center; }
    
    .floating-card { display: none; }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .results-grid { grid-template-columns: 1fr; gap: 3rem; }
    .dashboard-stack { height: 300px; }
    
    .section { padding: 5rem 0; }
    .section-title { font-size: 2rem; }
    
    .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
    
    .contact-card { padding: 3rem 1.5rem; }
}
