:root {
    --bg-color: #0a0a0c;
    --bg-secondary: #0f1014;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);

    --text-main: #ffffff;
    --text-muted: #94a3b8;

    /* Vibrant gradients */
    --accent-primary: #6366f1;
    /* Indigo */
    --accent-secondary: #8b5cf6;
    /* Violet */
    --accent-tertiary: #ec4899;
    /* Pink */

    --gradient-main: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --gradient-text: linear-gradient(to right, #818cf8, #c084fc);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --container-width: 1200px;
    --nav-height: 80px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background Effects */
.background-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Navigation */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 40px;
    width: auto;
    border-radius: 0;
    /* Icons typically don't need the default border radius if they are shapes */
}

.accent-text {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--card-border);
}

.hero-image-wrapper img {
    width: 100%;
    transition: transform 0.8s ease;
    opacity: 0.9;
    /* Slight fade for integration */
}

.hero-image-wrapper:hover img {
    transform: scale(1.02);
    opacity: 1;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    display: inline-block;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.bg-white {
    /* Renamed conceptually if needed, but keeping primarily dark now */
    background: transparent;
}

/* Cards (Services) */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    /* Emoji icons don't need color override, but if font icons: color: var(--text-main); */
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Features Rows (Products) */
.feauture-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-weight: 500;
}

.feature-list li::before {
    content: "✓";
    color: white;
    background: var(--accent-secondary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 12px;
}

.feature-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--card-border);
    position: relative;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid var(--card-border);
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 2rem;
    color: var(--text-main);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.5);
}

.full-width {
    width: 100%;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-links a {
    margin-left: 1.5rem;
}

/* Animations using Intersection Observer classes */
.fade-in,
.fade-up {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up {
    transform: translateY(30px);
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* Image Animations */
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: inline-block;
}

.shine-target {
    display: block;
    transition: transform 0.5s;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.7s;
    pointer-events: none;
}

.image-wrapper:hover .shine-target {
    transform: scale(1.05);
}

.image-wrapper:hover::after {
    left: 200%;
    transition: 0.7s;
}

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

/* Add delays to prevent robotic synchronization */
.floating-anim.delay-1 {
    animation-delay: 1s;
}

.floating-anim.delay-2 {
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.btn-primary {
    /* Existing styles plus: */
    animation: pulse-btn 2s infinite;
}

/* Floating Contact Widget */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-btn:hover {
    transform: scale(1.1);
}

.contact-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: scale(0);
    transition: 0.3s;
}

.contact-btn:active::after {
    transform: scale(2);
    opacity: 1;
}

.whatsapp {
    background: #25D366;
}

.phone {
    background: var(--accent-primary);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        border-top: 1px solid var(--card-border);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .feauture-row,
    .contact-container {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    /* Reverse the order on mobile for feature rows so image is on top or bottom consistently if preferred, 
       but typically we want text first or image first. Letting them stack naturally (image second) is usually fine.
       To swap:
    */
    .feauture-row .feature-visual {
        order: -1;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
        flex-direction: column;
        gap: 10px;
    }

    .contact-btn {
        width: 50px;
        height: 50px;
    }

    .footer-links a {
        margin: 0 0.5rem;
    }
}