:root {
    --bg-dark: #0B1120;
    /* Deep Slate */
    --bg-darker: #050810;
    --primary: #38bdf8;
    /* Sky Blue - Aurora Start */
    --secondary: #4ade80;
    /* Aurora Green - Aurora End */
    --accent-purple: #a855f7;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-height: 70px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: #fff;
    z-index: 1001;
}

.logo .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn.sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn.glow {
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.btn.block {
    width: 100%;
    text-align: center;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1002;
    color: #fff;
}

.mobile-menu-overlay {
    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;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-nav-links a {
    display: block;
    font-size: 1.5rem;
    margin: 20px 0;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #fff;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
}

.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(74, 222, 128, 0.1), transparent 40%);
    /* Animated Aurora Blobs */
}

.aurora-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    max-width: 700px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.25rem;
    /* Larger and more prominent */
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.hero-btns {
    gap: 15px;
}

/* Hero Visual Images */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-left: 40px;
}

.hero-img-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* Ensure rounded corners clip images */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-img-base {
    width: 100%;
    height: auto;
    display: block;
}

.hero-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    /* Align perfectly over the base image */
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* 60% transparency as requested */
    z-index: 2;
    mix-blend-mode: screen;
    /* Helps blend the tech overlay nicely, can simply use normal if preferred */
}

/* Common Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Cards */
.card {
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(74, 222, 128, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
}

.icon-box i {
    width: 30px;
    height: 30px;
}

/* Technology Visual */
#technology .section-header {
    margin-bottom: 20px;
}

.tech-visual-container {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.tech-visual-img {
    width: 80%;
    height: auto;
    transform: scaleY(0.8);
    transform-origin: center;
    border-radius: 20px;
    /* Rounded edges */
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    /* Shadow frame effect */
    opacity: 0.8;
    /* 80% transparency */
    transition: opacity 0.3s ease;
}

.tech-visual-img:hover {
    opacity: 1;
    /* Reveal on hover */
}

/* Process Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 25px;
}

/* Feature Items */
.feature-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: background 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    color: var(--secondary);
    margin-bottom: 15px;
    width: 24px;
    height: 24px;
}

/* App Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.app-card {
    min-height: 200px;
    height: auto;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.app-img-wrapper {
    margin-top: 15px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-visual {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
}

.app-card:hover::before {
    opacity: 1;
}

.app-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.app-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* Case Studies */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    position: relative;
    border-top: 4px solid transparent;
}

.case-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.critical {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.safety {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.prevention {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.case-card h3 {
    margin-top: 20px;
    font-size: 1.3rem;
}

.case-meta {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.case-img-wrapper {
    margin-top: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.case-study-visual {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.metric-box {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.big-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Standards */
.standards-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.std-badge {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
}

/* Benefits */
.benefit-box {
    text-align: center;
    padding: 20px;
}

.benefit-box h3 {
    color: var(--secondary);
}

/* Contact */
.cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
}

.contact-form {
    margin-top: 40px;
    text-align: left;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
}

textarea {
    margin-bottom: 20px;
    resize: vertical;
}

.contact-info {
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ / Q&A */
.faq-grid {
    display: grid;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    padding-bottom: 20px;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cat-num {
    color: var(--primary);
    margin-right: 10px;
    font-family: 'Outfit', sans-serif;
}

.faq-card {
    padding: 25px;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    border-top: 2px solid transparent;
    transition: all 0.3s ease;
    /* Nice shadow frame as requested */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary);
}

.faq-card h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.faq-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 0;
    background: #020408;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.2rem;
}

.footer-logo p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links a {
    margin-left: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.active-animate {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Mobile Responsive */
@media (max-width: 900px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-line {
        width: 2px;
        height: 30px;
        margin: 0;
        flex: none;
    }

    .form-group {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }
}

/* Pricing Section */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pricing-card {
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.pricing-card.popular {
    background: rgba(56, 189, 248, 0.08);
    border-color: var(--primary);
    position: relative;
    overflow: hidden;
    transform: scale(1.05);
    /* Slightly larger */
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-bottom-left-radius: 10px;
}

.pricing-header h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
    color: #fff;
}

.pricing-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.badge-outline {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--text-main);
}

.pricing-features li:first-child {
    border-top: none;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.highlight-feature {
    color: var(--secondary) !important;
    font-weight: 600;
}