:root {
    --primary: #00d4ff;
    --primary-dark: #0062ff;
    --secondary: #00c853;
    --dark: #070b14;
    --dark-accent: #0f172a;
    --text: #ffffff;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-dark: #070b14;
    --gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background-color: var(--bg);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.grid {
    display: grid;
    gap: 3rem;
}

.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.col-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .col-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .col-2,
    .col-3,
    .col-4 {
        grid-template-columns: 1fr;
    }
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 120px;
    /* Increased further */
    mix-blend-mode: multiply;
    /* Removes white background visually */
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 80px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-accent);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-dark);
}

/* Hero Section */
.hero {
    padding: 14rem 0 8rem;
    background: radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 98, 255, 0.05) 0%, transparent 40%);
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    /* Slightly narrower for better centering look */
    margin: 0 auto 4rem;
    color: #64748b;
    text-align: center;
    /* Explicitly centered */
    line-height: 1.6;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 98, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 98, 255, 0.4);
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--dark-accent);
}

/* Stats Line */
.hero-stats-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
    padding: 2.5rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.stat-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: 'Outfit';
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-separator {
    width: 1px;
    height: 50px;
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .hero-stats-line {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-separator {
        display: none;
    }
}

/* Architecture Section */
.architecture-section {
    padding: 8rem 0;
    background: #f8fafc;
}

.architecture-main {
    max-width: 1100px;
    /* Widened to fit sync image better */
    margin: 0 auto 6rem;
}

.lifestyle-viz {
    position: relative;
    padding: 1rem;
    border-radius: 40px;
    background: white;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.lifestyle-viz img {
    width: 100%;
    border-radius: 30px;
    display: block;
}

.viz-overlay {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 10;
}

.alert-indicator {
    background: var(--primary-dark);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 15px 30px rgba(0, 98, 255, 0.3);
    animation: alertBounce 3s infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    z-index: -1;
    animation: pulseLoop 2s infinite;
}

@keyframes alertBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseLoop {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.architecture-steps-bottom {
    max-width: 1200px;
    margin: 0 auto;
}

.arch-step-v {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 24px;
    transition: var(--transition);
}

.arch-step-v:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.arch-step-v .step-num {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Outfit';
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

.arch-step-v h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.arch-step-v p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.features-section {
    padding: 8rem 0;
    background: white;
}

/* Dark Backgrounds */
.dark-bg {
    background: var(--bg-dark);
    color: white;
}

/* Final CTA */
.final-cta-section {
    padding: 12rem 0;
    text-align: center;
    background-image:
        radial-gradient(circle at top right, rgba(0, 212, 255, 0.1), transparent),
        radial-gradient(circle at bottom left, rgba(0, 98, 255, 0.1), transparent);
}

.final-cta-section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.final-cta-section .hero-subtitle {
    margin-bottom: 4rem;
}

.white {
    color: white !important;
}

.text-light {
    color: var(--text-muted);
}

/* Pricing */
.pricing-section {
    padding: 4rem 0;
}

.pricing-section .section-header {
    margin-bottom: 5rem;
    position: relative;
    z-index: 100;
}

.price-card {
    padding: 3.5rem;
    border-radius: 32px;
    background: white;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.price-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    box-shadow: 0 40px 80px rgba(0, 98, 255, 0.1);
}

.price-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.price span {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 500;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.price-features i {
    color: var(--secondary);
}

.w-full {
    width: 100%;
    justify-content: center;
}

/* Team Cards */
.team-section {
    padding: 4rem 0;
}

.team-card {
    background: #f8fafc;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.team-card:hover {
    background: white;
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.role {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
}

/* Footer */
.footer {
    padding: 8rem 0 3rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.footer-top {
    margin-bottom: 4rem;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer h4 {
    margin-top: 0;
    margin-bottom: 2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 1rem;
}

.footer ul a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--primary-dark);
}

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.socials a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.socials a:hover {
    background: var(--primary-dark);
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Utils */
.badge {
    background: rgba(0, 98, 255, 0.08);
    color: var(--primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 2rem;
}

.underline {
    width: 80px;
    height: 6px;
    background: var(--gradient);
    margin: 1.5rem auto;
    border-radius: 10px;
}

.items-center {
    align-items: center;
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.text-link {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method i {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.5rem;
}

.method span {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method strong {
    font-size: 1.1rem;
    color: var(--dark);
}

.contact-form-container {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid #e2e8f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

/* Dashboard Mockup - Features Section */
.dashboard-mockup {
    background: white;
    border-radius: 24px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
}

.dash-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.dash-dot-group {
    display: flex;
    gap: 0.5rem;
}

.dash-dot-group span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.dash-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-body {
    padding: 2rem;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dash-card-mini {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.dash-card-mini .label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dash-card-mini .value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
}

.dash-card-mini .value span {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.trend-up {
    color: #ef4444 !important;
}

.mini-graph {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    margin-top: 1rem;
}

.mini-graph .bar {
    flex: 1;
    background: var(--primary);
    border-radius: 2px;
    animation: barGrow 2s ease-in-out infinite;
}

@keyframes barGrow {

    0%,
    100% {
        height: 40%;
    }

    50% {
        height: 90%;
    }
}

.dash-main-chart {
    background: #070b14;
    padding: 1.5rem;
    border-radius: 16px;
    color: white;
    margin-bottom: 2rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-red {
    background: #ef4444;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

.chart-area {
    height: 120px;
    position: relative;
    padding-bottom: 2rem;
}

.line-chart {
    width: 100%;
    height: 100%;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #475569;
    margin-top: 1rem;
}

.dash-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.risk-meter {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.risk-bar {
    flex: 1;
    height: 12px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.risk-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #ef4444);
    border-radius: 10px;
}

.risk-meter span {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--dark);
}