:root {
    /* Brand Colors (First Colors / Logo Extracted) */
    --primary: #0052cc;
    /* Soloz Blue: Deeper, Classic Blue */
    --primary-light: #2684ff;

    --accent: #ff8c00;
    /* Soloz Orange: Vibrant Action */
    --accent-glow: rgba(255, 140, 0, 0.4);

    --bg-dark: #0a0e17;
    /* Deep Blue-Black (Space) */
    --bg-card: #151b2b;
    /* Rich Dark Navy for Cards */

    --text-main: #ffffff;
    --text-muted: #b0b8c4;
    /* Cool Grey */

    --font-sans: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px -10px rgba(38, 132, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.1;
    font-weight: 800;
    color: white;
}

h1 {
    font-size: 4rem;
    /* Standard */
    letter-spacing: -0.03em;
}

@media (min-width: 768px) {
    h1 {
        font-size: 5rem;
        /* Larger on desktop */
    }
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    /* Slightly larger for readability */
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    /* Chunkier buttons */
    border-radius: 50px;
    /* Pill shape is often more premium */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 94, 255, 0.3);
}

.btn-primary:hover {
    background: #1545c0;
    /* Darker shade manually since no gradients */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 94, 255, 0.4);
}

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: var(--bg-dark);
    /* Solid background to match purity request */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Increased size */
    width: auto;
    object-fit: contain;
    display: block;
    /* Removes potential whitespace */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    /* Increased height for impact */
    text-align: center;
    position: relative;
    background-image: url('../img/hero_bg_final.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero h1 {
    margin-bottom: 30px;
    color: var(--text-main);
}

.hero .subheadline {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-muted);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections */
.section {
    padding: 100px 0;
    /* More breathing room */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    /* Increased gap */
}

.card {
    background: var(--bg-card);
    /* Now #151b2b (Dark Navy) */
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(38, 132, 255, 0.1);
    /* Subtle Blue border matching the theme */
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Scroll Animation Classes */
/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    /* Brand color on hover */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
}

.card h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 1.75rem;
}

.card p {
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #020617;
    padding: 80px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer h3 {
    color: white;
    margin-bottom: 15px;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: var(--text-muted);
}

.footer ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Split Section (Side-by-Side) */
.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-section {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .split-section.reverse {
        direction: rtl;
        /* Trick to swap columns visually */
    }

    .split-section.reverse>* {
        direction: ltr;
        /* Reset direction for content */
    }

    .hero {
        text-align: left;
        /* Default left alignment on desktop for split */
    }

    .hero-buttons {
        justify-content: flex-start;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links,
    .nav-actions {
        display: none;
        /* simple hide for now, JS to toggle */
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 50px 0 60px;
        background-position: center top;
        /* Focus on top of image */
        /* Ensure gradient isn't too thick */
        background-image: linear-gradient(rgba(10, 14, 23, 0.85), rgba(10, 14, 23, 0.7)), url('../img/hero_new_v3.jpg');
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer .container {
        grid-template-columns: 1fr;
    }


    .footer .container {
        grid-template-columns: 1fr;
    }
}

/* CSS Mockups */
.mockup-container {
    perspective: 1000px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Browser Mockup */
.browser-mockup {
    width: 90%;
    max-width: 400px;
    background: #0f172a;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-container:hover .browser-mockup {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

.browser-header {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
}

.browser-dot.red {
    background: #ef4444;
}

.browser-dot.yellow {
    background: #f59e0b;
}

.browser-dot.green {
    background: #10b981;
}

.browser-body {
    padding: 20px;
    display: grid;
    gap: 15px;
}

.skeleton-hero {
    height: 100px;
    background: linear-gradient(90deg, #1e293b, #334155);
    border-radius: 6px;
}

.skeleton-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    width: 100%;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.skeleton-box {
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

/* Branding Mockup */
.brand-stack {
    position: relative;
    width: 240px;
    height: 160px;
}

.business-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-card), #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-content {
    text-align: center;
}

.card-logo {
    font-size: 2rem;
    margin-bottom: 5px;
}

.card-text {
    height: 8px;
    width: 80px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px auto;
    border-radius: 2px;
}

.card-1 {
    transform: rotate(-10deg) translate(-20px, -10px);
    z-index: 1;
    opacity: 0.6;
}

.card-2 {
    transform: rotate(-5deg) translate(-10px, -5px);
    z-index: 2;
    opacity: 0.8;
}

.card-3 {
    transform: rotate(0);
    z-index: 3;
    border-color: rgba(255, 140, 0, 0.3);
    background: linear-gradient(135deg, #151b2b, #1e293b);
}

.mockup-container:hover .card-1 {
    transform: rotate(-20deg) translate(-40px, -20px);
}

.mockup-container:hover .card-2 {
    transform: rotate(-10deg) translate(-20px, -10px);
}

.mockup-container:hover .card-3 {
    transform: rotate(0) scale(1.05);
    border-color: var(--accent);
}

/* Marketing Mockup */
.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 180px;
    width: 250px;
    position: relative;
}

.chart-bar {
    flex: 1;
    background: var(--primary);
    opacity: 0.3;
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease, opacity 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chart-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
}

.chart-bar:hover {
    opacity: 0.8;
}

/* Bar Heights */
.bar-1 {
    height: 40%;
}

.bar-2 {
    height: 65%;
}

.bar-3 {
    height: 50%;
}

.bar-4 {
    height: 90%;
    background: var(--accent);
    opacity: 1;
    box-shadow: 0 0 30px var(--accent-glow);
}

.trend-line {
    position: absolute;
    top: 20px;
    right: -20px;
    background: rgba(16, 185, 129, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    color: #10b981;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(38, 132, 255, 0.3);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: var(--text-muted);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}