:root {
    --primary-bg: #0A192F;
    --secondary-bg: #112240;
    --accent-color: #64FFDA;
    --text-primary: #E6F1FF;
    --text-secondary: #8892B0;
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(100, 255, 218, 0.1);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
}

.btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background: #4cd6b3;
    transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
    background-color: #020c1b;
    color: var(--text-secondary);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    /* Align to right? Or space-between? User said "easy to see". Right is standard for contact. */
    align-items: center;
    gap: 20px;
}

.contact-info span {
    margin-left: 20px;
}

/* Navigation */
nav {
    position: sticky;
    /* Changed from fixed */
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.95);
    /* Slightly less transparent since it's not always over hero */
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-primary);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Adjust based on navbar height */
        gap: 0;
        flex-direction: column;
        background-color: var(--secondary-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    .top-bar-content {
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .contact-info span {
        margin: 0 10px;
        display: block;
        margin-bottom: 5px;
    }
}

/* Hero Section */
.hero {
    min-height: 80vh;
    /* Adjustment */
    display: flex;
    align-items: center;
    padding-top: 0px;
    /* Removed 80px since nav is sticky */
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    z-index: 2;
}

.hero-image {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    opacity: 0.8;
    z-index: 1;
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    color: var(--accent-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-icon img {
    width: 64px;
    margin-bottom: 20px;
}

/* Contact Form */
input,
textarea,
select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: var(--secondary-bg);
    border: 1px solid #233554;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--secondary-bg);
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-color);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 25px;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate max height */
    padding-bottom: 25px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Footer */
footer {
    background: #020c1b;
    padding: 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid rgba(100, 255, 218, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Gradients & Polish */
.hero {
    background: radial-gradient(circle at 90% 50%, rgba(100, 255, 218, 0.05) 0%, transparent 50%);
}

.trust-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.trust-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item h3 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    color: var(--text-primary);
}

.trust-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto;
    }
}

/* Chat Bot Widget */
.chat-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-widget-btn:hover {
    transform: scale(1.1);
}

.chat-widget-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: rgba(17, 34, 64, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chat-widget-window.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chat-header {
    background: rgba(100, 255, 218, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.chat-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.chat-wrapper {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 80%;
}

.chat-bubble.bot {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-top-left-radius: 2px;
    align-self: flex-start;
}

.chat-bubble.user {
    background: var(--accent-color);
    color: var(--primary-bg);
    border-top-right-radius: 2px;
    align-self: flex-end;
    font-weight: 500;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.chat-option-btn {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-option-btn:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
}

@media (max-width: 480px) {
    .chat-widget-window {
        width: 90%;
        right: 5%;
        bottom: 100px;
        height: 400px;
    }
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    background: rgba(17, 34, 64, 0.98);
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.chat-input::placeholder {
    color: var(--text-secondary);
}

.chat-send-btn {
    background: var(--accent-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-bg);
}

.chat-send-btn:hover {
    transform: scale(1.1);
}

/* Home Page Enhancement Sections */
.stats-section {
    background: rgba(2, 12, 27, 0.7);
    padding: 60px 0;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin: 0;
    font-weight: 800;
}

.stat-item p {
    color: var(--text-secondary);
    margin-top: 5px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.process-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    gap: 30px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    background: var(--accent-color);
    color: var(--primary-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.testimonials-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(17, 34, 64, 0.6);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
}

.testimonial-quote {
    font-size: 1.5rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #233554;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--accent-color);
}

/* =========================================
   MOBILE RESPONSIVENESS PATCH
   ========================================= */
@media (max-width: 768px) {

    /* Global Typography */
    html {
        font-size: 14px;
        /* Slight scale down */
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 20px;
    }

    /* Layout Spacing */
    section {
        padding: 60px 0 !important;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        min-height: auto;
    }

    .hero-content {
        width: 100%;
        margin-bottom: 40px;
    }

    .hero-image {
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 20px;
        opacity: 0.6;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .hero-btns {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-content>div:last-child {
        justify-content: center;
    }

    /* Stats Section */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        /* 2x2 grid on mobile */
        gap: 20px;
    }

    /* Grids to Single Column */
    .services-grid,
    .trust-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* Process Steps */
    .process-steps {
        flex-direction: column;
        gap: 50px;
    }

    .process-step {
        width: 100%;
    }

    /* Checkout Form */
    .glass-panel form div[style*="display: flex"] {
        flex-direction: column;
        gap: 0 !important;
    }

    .glass-panel {
        padding: 1.5rem;
    }

    /* Chat Bot Mobile Adjustments */
    .chat-widget-window {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        /* Full screen on mobile */
        border-radius: 0;
    }

    .chat-widget-btn {
        bottom: 20px;
        right: 20px;
    }
}