/* Basic Setup & Variables */
:root {
    --primary-color: #0d253f;
    /* Deep Navy */
    --accent-color: #00a8cc;
    /* Vivid Blue/Cyan for tech feel */
    --accent-hover: #0088a5;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sm-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Utilities */
.text-center {
    text-align: center;
}

.ml-4 {
    margin-left: 1rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-6 {
    width: 50%;
    padding: 0 15px;
}

.align-center {
    align-items: center;
}

.section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

/* Button Gradients & Glows */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #0088a5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 168, 204, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 168, 204, 0.5);
    background: linear-gradient(135deg, var(--accent-hover) 0%, #007791 100%);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.05);
    /* Slight fill */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-outline-light {
    border-color: white;
    color: white;
}

.btn-light:hover {
    background-color: #f0f0f0;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn.big {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
}

header.navbar.scrolled {
    padding: 0.5rem 0;
    /* Tighter padding */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Float effect */
    width: 90%;
    max-width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
    border-radius: 50px;
    /* Pill shape */
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    /* Default for Hero */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    z-index: 1002;
}

header.navbar.scrolled .logo {
    color: var(--primary-color);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    /* Translucent */
    backdrop-filter: blur(4px);
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

header.navbar.scrolled .logo-icon {
    background: var(--primary-color);
    color: white;
}

.logo .highlight {
    color: var(--accent-color);
}

/* Nav Link Styles */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

header.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: white;
}

header.navbar.scrolled .nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    margin-left: 1rem;
    padding: 0.6rem 1.4rem;
    box-shadow: 0 4px 14px rgba(0, 168, 204, 0.3);
}

/* Mobile Menu & Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

header.navbar.scrolled .mobile-menu-toggle .bar {
    background-color: var(--text-dark);
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--text-dark);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--text-dark);
}

.mobile-menu-overlay {
    display: none;
    /* Just a placeholder for structure if needed */
}

/* Hero Section */
.hero {
    background: #0a192f;
    color: white;
    padding: 180px 0 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    /* subtle pattern */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 20%);
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    animation: moveGlow 10s infinite alternate;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: #4f46e5;
    /* Indigo */
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
}

@keyframes moveGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    /* Larger */
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, var(--accent-color) 50%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.35rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-image {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    /* Specific radius */
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        /* Rim light */
        0 30px 60px rgba(0, 0, 0, 0.6),
        /* Deep shadow */
        0 0 40px rgba(0, 168, 204, 0.15);
    /* Glow behind container */
    background: #0f172a;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
    overflow: hidden;
    /* For inner sheen */
}

.hero-image:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.dashboard-preview {
    padding: 15px;
    background: #0f172a;
    /* Inner gradient for depth */
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    height: 32px;
    display: flex;
    gap: 8px;
    align-items: center;
    padding-left: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.dashboard-body {
    flex: 1;
    display: flex;
    gap: 10px;
}

.dashboard-body .sidebar {
    width: 20%;
    background: #1e293b;
    border-radius: 4px;
    opacity: 0.5;
}

.dashboard-body .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chart-mockup {
    height: 40%;
    background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
    border-radius: 4px;
}

.table-mockup {
    height: 60%;
    background: #1e293b;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.table-mockup .row {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    width: 100%;
}

.table-mockup .row:nth-child(2) {
    width: 80%;
}

.table-mockup .row:nth-child(3) {
    width: 90%;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 168, 204, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Common */
.section-header {
    margin-bottom: 3rem;
}

.section-header .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e2e8f0;
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header .tag.primary {
    background: rgba(0, 168, 204, 0.1);
    color: var(--accent-color);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Problem Section */
.problem-section {
    background-color: var(--bg-light);
}

.card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-box.danger {
    background: #fef2f2;
    color: var(--danger);
}

.icon-box.warning {
    background: #fffbeb;
    color: var(--warning);
}

.problem-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Solution Section */
.solution-section {
    background: white;
    overflow: hidden;
}

.check-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.check-list i {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.check-list strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.check-list p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.solution-visual {
    position: relative;
    padding: 40px;
}

.ui-card {
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.main-card {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.ui-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.ui-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.ui-row .label {
    color: var(--text-light);
}

.ui-row .value {
    color: var(--text-dark);
    font-weight: 500;
}

.ui-row .badge {
    background: #e0f2fe;
    color: #0284c7;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.ui-row .success {
    color: var(--success);
}

.floating-card {
    position: absolute;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 4s ease-in-out infinite;
    z-index: 3;
}

.floating-card i {
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.card-1 {
    top: 20px;
    right: 20px;
    background: white;
}

.card-1 i {
    background: var(--success);
}

.card-2 {
    bottom: 20px;
    left: 20px;
    background: white;
    animation-delay: 2s;
}

.card-2 i {
    background: var(--accent-color);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Features Section */
.features-section {
    background: var(--bg-light);
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 168, 204, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* How It Works */
.how-it-works {
    background: white;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--border-color);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin-top: 24px;
}

.step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Tech Section */
.tech-section {
    background: var(--primary-color);
    color: white;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tech-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.tech-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.tech-content p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.tech-list i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.tech-logos {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.tech-badge {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
}

/* Audience */
.audience-section {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
}

.audience-card {
    padding: 3rem 2rem;
    border-right: 1px solid var(--border-color);
}

.audience-card:last-child {
    border-right: none;
}

.audience-card.highlight {
    background: var(--primary-color);
    color: white;
}

.audience-card.highlight h3,
.audience-card.highlight p {
    color: white;
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* FAQ */
.faq-section {
    background: white;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
}

.accordion-item.active .accordion-header {
    color: var(--accent-color);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: white;
    padding: 6rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-links a {
    margin-left: 2rem;
    color: #94a3b8;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .col-6 {
        width: 100%;
        margin-bottom: 3rem;
    }

    .solution-visual {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 80%;
        /* Partial width */
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 1001;
        gap: 1.5rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links .nav-link {
        color: var(--text-dark);
        font-size: 1.2rem;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
    }

    .nav-links .nav-btn {
        margin: 1rem 0 0 0;
        width: 100%;
        text-align: center;
    }

    /* Overlay for mobile menu */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        backdrop-filter: blur(2px);
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Adjust navbar specific for mobile */
    header.navbar {
        background: transparent;
        /* Reset for mobile initially */
    }

    header.navbar.scrolled {
        padding: 0.8rem 0;
    }

    .logo {
        color: white;
    }

    /* Keep white on hero */
    header.navbar.scrolled .logo {
        color: var(--text-dark);
    }

    /* Dark on scroll or menu active logic handled by JS? */

    /* Ensure toggle color is visible on white background if menu is open */
    .mobile-menu-toggle.active .bar {
        background-color: var(--text-dark);
    }
}