/* Base & Variables */
:root {
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --accent: #CC1414;
    --accent-hover: #a80f0f;
    --secondary: #f5a623; /* Gold from logo bird */
    --text-main: #e0e0e0;
    --text-dim: #888888;
    --bg-light: #f7f7f7;
    --white: #ffffff;
    --dark: #111111;
    --shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography Extras */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

span {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(204, 20, 20, 0.4);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.main-header {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    height: 70px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--white);
}

.main-header.scrolled .main-nav a {
    color: var(--primary);
}

.main-header.scrolled .main-nav a.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.main-header.scrolled .main-nav a.btn-primary:hover {
    background-color: var(--accent-hover);
}

.main-nav a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
}

.main-header.scrolled .menu-toggle {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 90px;
    position: relative;
    overflow: hidden;
}

.fluid-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto; /* Important: must allow events to trigger simulation */
    opacity: 0.9;
}

.hero .container {
    position: relative;
    z-index: 2;
    pointer-events: none; /* Allows mouse events to pass to the canvas behind */
}

.hero .container a, 
.hero .container button,
.hero .container .btn,
.hero .container input,
.hero .container select {
    pointer-events: auto; /* Re-enable interaction for buttons and forms */
}

.hero-content {
    max-width: 800px;
}

.badge {
    background-color: rgba(204, 20, 20, 0.15);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
    border: 1px solid var(--secondary);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Social Proof */
.social-proof {
    padding: 3rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid #e2e8f0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.stat-item p {
    color: var(--text-dim);
    font-weight: 500;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-dim);
}

/* Solutions */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card-list {
    margin: 1.5rem 0 2rem;
}

.card-list li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-list i {
    color: var(--accent);
    font-size: 0.8rem;
}

.featured {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.featured .card-icon {
    color: var(--accent);
}

.featured .card-list i {
    color: var(--accent);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(45deg);
}

/* About */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.section-subtitle {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.about-features {
    margin-top: 2.5rem;
}

.about-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-feature i {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(204, 20, 20, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.about-feature h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* FAQ */
.faq {
    background: var(--bg-light);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
}

.accordion-header i {
    transition: var(--transition);
}

.accordion-header.active i {
    transform: rotate(180deg);
    color: var(--accent);
}

.accordion-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.accordion-body p {
    padding-bottom: 1.5rem;
    color: var(--text-dim);
}

/* Contact */
.contact-box {
    background: var(--primary);
    border-radius: 20px;
    padding: 4rem;
    color: var(--white);
    box-shadow: var(--shadow);
}

.contact-methods {
    margin-top: 3rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.method i {
    color: var(--accent);
    font-size: 1.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(204, 20, 20, 0.1);
}

/* Footer */
.main-footer {
    background: #111111;
    color: var(--text-main);
    padding: 80px 0 0;
}

.main-footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 55px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 350px;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-bottom .dev-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-bottom .dev-credit:hover {
    opacity: 1;
}

.footer-bottom .dev-credit img {
    height: 75px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

@media (max-width: 480px) {
    .footer-bottom .dev-credit {
        flex-direction: column;
        gap: 0.2rem;
    }
    .footer-bottom .dev-credit img {
        height: 55px;
    }

    .main-footer .grid-3 {
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul {
        padding: 0;
    }

    .social-icons {
        justify-content: center;
    }
}

.footer-bottom .dev-credit:hover img {
    filter: none;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .contact-box {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .main-header, .main-header.scrolled {
        background: rgba(10, 10, 10, 0.98) !important;
        height: 80px !important;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.98);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .main-nav a, 
    .main-header.scrolled .main-nav a {
        color: var(--white) !important;
        font-size: 1.2rem;
        display: block;
    }

    .main-header.scrolled .main-nav a.btn-primary,
    .main-nav a.btn-primary {
        background-color: var(--accent) !important;
        color: var(--white) !important;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
    
    .menu-toggle,
    .main-header.scrolled .menu-toggle {
        display: block !important;
        color: var(--white) !important;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .hero {
        text-align: center;
        padding-top: 140px; /* More space to avoid logo overlap */
        display: block; /* Align top instead of center vertically */
    }

    .hero h1 {
        font-size: 2rem; /* Smaller font on mobile */
        margin-top: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-box {
        padding: 1.5rem;
        border-radius: 10px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-methods {
        margin-top: 2rem;
    }

    .method {
        justify-content: center;
    }
}

/* Manufacturers Floating Brands Section */
.manufacturers {
    position: relative;
    padding: 80px 0;
    background-color: #f7f7f7; /* Very light gray like the image */
    min-height: 800px; /* More space for the circle */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Crucial: Allow touch to pass through for mobile scroll */
}

.manufacturers-content {
    position: relative;
    z-index: 3;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.central-circle {
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 25%, #cb2dcf 65%, #f5a623 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 60px;
    box-shadow: 0 15px 45px -10px rgba(58, 123, 213, 0.4);
    position: relative;
    /* Animated Border Setup */
}

/* The Animated Glowing Border (ONLY this part rotates) */
.central-circle::before {
    content: "";
    position: absolute;
    inset: -10px; 
    background: conic-gradient(from 0deg, #00d2ff, #3a7bd5, #cb2dcf, #f5a623, #00d2ff);
    border-radius: 50%;
    z-index: -1;
    animation: rotateBorder 4s linear infinite; /* Specific animation for border */
    filter: blur(10px);
    opacity: 0.9;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.central-circle::after {
    content: "";
    position: absolute;
    inset: 4px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

/* Make content stay perfectly static */
.circle-content {
    max-width: 400px;
    z-index: 4;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.circle-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.circle-content h2 span {
    color: white; /* Important: inside the circle, white is better for accessibility */
    display: block;
    font-size: 2.8rem;
}

.btn-circle {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #1a1a1a;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    pointer-events: auto; /* Enable click */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 1.1rem;
}

.btn-circle:hover {
    background-color: #000;
    transform: scale(1.08);
}

@media (max-width: 991px) {
    .central-circle {
        width: 450px;
        height: 450px;
        padding: 40px;
    }
    .circle-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .central-circle {
        width: 330px;
        height: 330px;
        padding: 30px;
    }
    .circle-content h2 {
        font-size: 1.6rem;
    }
    .btn-circle {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }
}

/* Social Proof Section */
.social-proof {
    background-color: var(--primary);
    padding: 80px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    transition: var(--transition);
    padding: 20px;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    opacity: 0.9;
}

.stat-item h3 {
    font-size: 2.4rem;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 700;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: var(--white);
}

.whatsapp-badge {
    position: absolute;
    right: 75px;
    background: #25d366;
    color: white;
    padding: 8px 15px;
    border-radius: 20px 20px 0 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    .whatsapp-badge {
        display: none;
    }
}
