:root {
    --bg-color: #050511;
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --accent-color: #00f0ff;
    --accent-glow: rgba(0, 240, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: center;
    background: rgba(5, 5, 17, 0.7);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.highlight {
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #00aaff);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    background: rgba(0, 240, 255, 0.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    background: linear-gradient(to bottom, rgba(5, 5, 17, 0.3), var(--bg-color)), url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    z-index: 2;
    text-align: center;
    /* Centered for impact */
    margin-top: 60px;
}

.hero h1 {
    font-size: 4.5rem;
    /* Large typography */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a0a0c0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Highlight Section (Worker's Comp) */
.highlight-section {
    position: relative;
    top: -80px;
    /* Bridge gap between hero and features */
    margin-bottom: -40px;
    padding: 0 5%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.highlight-container {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(0, 170, 255, 0.05));
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 2.5rem 4rem;
    border-radius: 20px;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.highlight-container h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.highlight-container p {
    font-size: 1.1rem;
    color: #e0e0ff;
}

/* Features Section */
.features {
    padding: 4rem 5%;
    /* Adjusted padding */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    top: -20px;
    /* Reduced overlap since we have highlight section */
}

.main-feature {
    border-color: var(--accent-color);
    background: linear-gradient(to bottom right, rgba(0, 240, 255, 0.05), transparent);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}


/* Technology / SaaS Section */
.tech-section {
    padding: 6rem 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    background: radial-gradient(circle at center right, rgba(0, 240, 255, 0.03), transparent 60%);
}

.tech-content {
    flex: 1 1 500px;
}

.tech-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.tech-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.tech-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.tech-sub {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Tech Visual Mockup */
.tech-visual {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
}

.glass-card-mockup {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.glass-card-mockup:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.mockup-header {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ui-row {
    height: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    width: 80%;
}

.ui-row.short {
    width: 50%;
}

.ui-graph {
    margin-top: 1rem;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 240, 255, 0.1), transparent);
    border-bottom: 2px solid var(--accent-color);
    position: relative;
}

.ui-graph::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255, 255, 255, 0.05) 20px);
}

/* About Us Section */
.about-section {
    padding: 6rem 5%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.about-header .subtitle {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.about-card {
    padding: 2rem;
    border-left: 2px solid var(--accent-color);
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.05), transparent);
    border-radius: 0 20px 20px 0;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateX(10px);
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), transparent);
}

.about-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu todo */
    }

    .tech-section {
        flex-direction: column;
        padding: 4rem 5%;
    }
}

/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 5, 17, 0.85);
    /* Dark semi-transparent background */
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    /* Flex is set by JS but class handles transition opacity */
    opacity: 1;
}

/* Modal Content */
.modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.95), rgba(10, 10, 25, 0.98));
    padding: 3rem;
    border: 1px solid var(--accent-glow);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-content>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Modal Options (Cards) */
.modal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.modal-option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.modal-option-card:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.modal-icon {
    font-size: 3rem;
}

.modal-option-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
}

.modal-option-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Form (Hidden initially) */
.contact-form-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.contact-form-container input,
.contact-form-container textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

.back-btn {
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .modal-options {
        grid-template-columns: 1fr;
    }
}