/* Futuristic AI Ops Theme for CLK Digital Solutions */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Sora:wght@400;600;700;800&display=swap');

:root {
    --bg-obsidian: #0b0c10;
    --bg-navy: #1f2833;
    --text-silver: #c5c6c7;
    --accent-cyan: #66fcf1;
    --accent-teal: #45a29e;
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Sora', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Global Reset Overrides */
body {
    background-color: var(--bg-obsidian) !important;
    color: var(--text-silver) !important;
    font-family: var(--font-primary) !important;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
    font-family: var(--font-heading) !important;
    color: white !important;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Glassmorphism Utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Navigation */
.navbar-redesign {
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-brand img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-silver) !important;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-cyan);
    transition: width 0.3s;
}

.nav-link:hover {
    color: white !important;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-cta {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--accent-cyan);
    color: var(--bg-obsidian) !important;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-obsidian) 90%);
    z-index: 2;
    pointer-events: none;
}

.hero-content,
.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent-teal);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    background: rgba(69, 162, 158, 0.1);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    overflow-wrap: break-word;
    word-wrap: break-word;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, white 0%, var(--text-silver) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-title span {
    color: var(--accent-cyan);
    -webkit-text-fill-color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(102, 252, 241, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-primary-glow {
    background: var(--accent-cyan);
    color: var(--bg-obsidian) !important;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    z-index: 100;
    visibility: visible;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-primary-glow:hover::before {
    left: 100%;
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Tech Marquee */
.tech-marquee-section {
    padding: 3rem 0;
    background: linear-gradient(to right, var(--bg-obsidian), var(--bg-navy), var(--bg-obsidian));
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.tech-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
    transition: color 0.3s;
}

.tech-item:hover {
    color: var(--accent-cyan);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Bento Grid */
.bento-section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bento-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
    padding: 0 2rem;
}

.bento-item {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 252, 241, 0.5);
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-large {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(102, 252, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.bento-heading {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bento-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Ecosystem / Process */
.ecosystem-section {
    padding: 8rem 0;
    background: #0f1014;
    position: relative;
    overflow: hidden;
}

.process-diagram {
    max-width: 1000px;
    margin: 4rem auto 0;
    position: relative;
    padding: 2rem;
}

.process-step {
    background: var(--bg-navy);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.connecting-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    z-index: 1;
    opacity: 0.3;
}

/* Trust / Map Section */
.trust-section {
    padding: 8rem 0;
    text-align: center;
    background: radial-gradient(circle at center, #1b2735 0%, #090a0f 100%);
    position: relative;
}

.trust-stat-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--accent-cyan);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer structure tweaks */
.footer-dark {
    background: #050507;
    padding: 5rem 0 2rem;
    border-top: 1px solid #1a1b1e;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-large,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-title {
        font-size: 3rem;
    }
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(11, 12, 16, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .bento-container {
        grid-template-columns: 1fr;
    }

    .trust-stat-grid {
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-primary-glow,
    .btn-secondary-glass {
        width: 100%;
        padding: 1rem 1.5rem;
        display: block;
        box-sizing: border-box;
        /* Ensure padding doesn't add to width */
        text-align: center;
    }

    .hero-content,
    .cta-content,
    .nav-container,
    .section-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .bento-container,
    .job-list,
    .benefit-grid,
    .footer-grid {
        padding: 0 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* About Page Extensions */
.about-hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at center, #1b2735 0%, #090a0f 100%);
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.process-step-row {
    padding: 2rem;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .process-step-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .process-step-row>div:first-child {
        /* The number (01, 02) */
        font-size: 2.5rem !important;
    }
}

.about-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 0;
    /* Changed from 2rem to 0 because grid handles gap */
    text-align: center;
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.about-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
    display: inline-block;
}

.timeline-section {
    padding: 6rem 0;
    position: relative;
    border-top: 1px solid var(--glass-border);
}

/* Contact Page Extensions */
.contact-hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(to right, #0b0c10, #1f2833);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-card-info {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
}

.contact-form-container {
    background: var(--bg-navy);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control-kustom {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    padding: 1rem;
    color: white;
    border-radius: 8px;
    font-family: var(--font-primary);
}

.form-control-kustom:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.2);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-silver);
    font-weight: 500;
}

/* Legal Pages */
.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: white;
}

.legal-content h2 {
    color: var(--accent-cyan);
    margin-top: 2rem;
    font-size: 1.8rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-silver);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Blog Page Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    background: var(--bg-navy);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.blog-image {
    height: 200px;
    background: #1a1b1e;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: #8892b0;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-meta {
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Career Page Styles */
.job-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.job-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
}

.job-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: white !important;
}

.job-description {
    color: #8892b0 !important;
    font-size: 0.95rem;
    line-height: 1.5;
}

.job-tags {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.job-tag {
    font-size: 0.85rem;
    color: #8892b0;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .job-action {
        width: 100%;
        text-align: left;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Styles */
details summary::-webkit-details-marker {
    display: none;
}

details[open] summary i {
    transform: rotate(180deg);
}

details summary i {
    transition: transform 0.3s;
}

/* Testimonials */
.testimonial-card {
    transition: transform 0.3s, border-color 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

/* Pricing Table Styles */
.pricing-section {
    padding: 6rem 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 1.5rem 0;
}

.price-sub {
    font-size: 1rem;
    color: #8892b0;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-silver);
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--accent-cyan);
    margin-right: 0.8rem;
}

/* Modal Styles for Job Application */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-navy);
    margin: 5% auto;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--text-silver);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-cyan);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.modal-subtitle {
    color: var(--text-silver);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-silver);
    font-weight: 500;
}

.form-control-kustom {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    padding: 1rem;
    color: white;
    border-radius: 8px;
    font-family: var(--font-primary);
    box-sizing: border-box;
}

.form-control-kustom:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(102, 252, 241, 0.2);
}

.btn-submit {
    width: 100%;
    background: var(--accent-cyan);
    color: var(--bg-obsidian);
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.4);
}