/* css/style.css - Futuristic Clicheart */

:root, [data-theme="dark"] {
    --bg-dark: #020617;
    --bg-body: #020617;
    --brand-blue: #1A5CA4;
    --brand-blue-glow: rgba(26, 92, 164, 0.4);
    --brand-red: #DD1A22;
    --brand-red-glow: rgba(221, 26, 34, 0.4);
    --text-main: #F8FAFC;
    --text-on-brand: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(15, 23, 42, 0.6);
    --header-scrolled-bg: rgba(10, 10, 15, 0.85);
    --section-dark-bg: #020617;
    --card-hover-shadow: rgba(26, 92, 164, 0.25);
}

[data-theme="light"] {
    --bg-dark: #FFFFFF;
    --bg-body: #F7F8FC;
    --brand-blue: #1A5CA4;
    --brand-blue-glow: rgba(26, 92, 164, 0.15);
    --brand-red: #DD1A22;
    --brand-red-glow: rgba(221, 26, 34, 0.15);
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-on-brand: #F1F5F9;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(15, 23, 42, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.85);
    --header-scrolled-bg: rgba(255, 255, 255, 0.95);
    --section-dark-bg: #F0F2F8;
    --card-hover-shadow: rgba(26, 92, 164, 0.12);
}

/* Light theme section backgrounds */
[data-theme="light"] .section-dark {
    background: linear-gradient(180deg, #F0F2F8 0%, #FFFFFF 100%);
}
[data-theme="light"] .tech-section {
    background: #F7F8FC;
}
[data-theme="light"] .impact-section {
    background: #FFFFFF;
}
[data-theme="light"] .glass-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    color: var(--text-main);
}
[data-theme="light"] .glass-card h3,
[data-theme="light"] .glass-card p,
[data-theme="light"] .glass-card strong {
    color: var(--text-main) !important;
}
[data-theme="light"] .tech-machine-card {
    background: #FFFFFF;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .partners-carousel-section {
    background: #F0F2F8;
    border-color: rgba(15,23,42,0.05);
}
[data-theme="light"] .partner-logo img {
    filter: none !important;
}

/* "Não vendemos chapas" box */
#nao-vendemos-box {
    background: rgba(0,0,0,0.4);
}
[data-theme="light"] #nao-vendemos-box {
    background: linear-gradient(135deg, #EEF2FF 0%, #E8EEFF 100%);
    border-color: rgba(26, 92, 164, 0.2) !important;
}
[data-theme="light"] #nao-vendemos-box h3 { color: #0F172A !important; }
[data-theme="light"] #nao-vendemos-box p { color: #475569 !important; }
[data-theme="light"] #nao-vendemos-box strong { color: #0F172A !important; }

/* ── THEME TOGGLE BUTTON ── */
#theme-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 1.6rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
#theme-toggle-btn:hover {
    box-shadow: 0 0 14px var(--brand-blue-glow);
    border-color: var(--brand-blue);
    transform: scale(1.1) rotate(15deg);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    font-size: 15px;
}

body.dark-theme,
body.light-theme {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.3s ease;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}


.text-gradient {
    background: linear-gradient(90deg, #3A82D6, var(--brand-red));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.mt-60 { margin-top: 60px; }
.mb-40 { margin-bottom: 40px; }

/* REUSABLE GLASS COMPONENTS */
.glass-nav-pill {
    display: flex;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 10px 25px;
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255,255,255,0.15);
    border-left: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--brand-blue-glow);
    border-color: rgba(26, 92, 164, 0.4);
}

.timeline-card-title {
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 700;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.btn-glow {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-glow:hover {
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 20px var(--brand-blue-glow);
    border-color: var(--brand-blue);
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-red));
    color: #F8FAFC; /* Keep this light for primary buttons as they have dark backgrounds */
    border: none;
    box-shadow: 0 4px 15px var(--brand-blue-glow);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px var(--brand-red-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--brand-blue);
    color: #fff;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* HEADER SPECIFICS */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--header-scrolled-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--card-hover-shadow);
}

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

.logo img {
    height: 35px;
    transition: transform 0.3s ease, filter 0.3s ease;
}


.logo img:hover {
    transform: scale(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--brand-red);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

section {
    scroll-margin-top: 100px;
}

/* HERO SECTION */
.hero-futuristic {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#particles-js {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.badge-glow {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(221, 26, 34, 0.1);
    border: 1px solid rgba(221, 26, 34, 0.3);
    color: #ff4d4d;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(221, 26, 34, 0.2);
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-main);
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 50px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 10px;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll { 0% { top: 10px; opacity: 1; } 100% { top: 30px; opacity: 0; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); } 40% { transform: translateY(-15px) translateX(-50%); } 60% { transform: translateY(-7px) translateX(-50%); } }

/* SECTION TITLES */
.section-dark {
    padding: 70px 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(circle at center, #0a1020 0%, var(--bg-dark) 100%);
}
.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    z-index: 0;
    pointer-events: none;
}
.section-dark > * { position: relative; z-index: 1; }

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* TIMELINE (HISTÓRIA) */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 80px auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--brand-blue), var(--brand-red), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item.left {
    justify-content: flex-start;
}

.timeline-item.right {
    justify-content: flex-end;
}

.timeline-item .glass-card {
    width: 45%;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 4px solid var(--brand-blue);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px var(--brand-blue-glow);
}

.timeline-item.right::after {
    border-color: var(--brand-red);
    box-shadow: 0 0 15px var(--brand-red-glow);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.glass-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.glass-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* TECHNOLOGY SECTION */
.tech-section {
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.tech-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    z-index: 0;
    pointer-events: none;
}
.tech-section > * { position: relative; z-index: 1; }

.tech-bg-glow {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 92, 164, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
}

.tech-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.tech-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.tech-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    z-index: 1;
}

.tech-machine-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 2px solid var(--brand-blue);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tech-machine-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(26, 92, 164, 0.3);
}

.tech-machine-card.red-brand {
    border-top-color: var(--brand-red);
}

.tech-machine-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tech-machine-content {
    padding: 18px;
}

.tech-machine-title {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Outfit';
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.tech-machine-title .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 12px;
}

.dot.red { background: var(--brand-red); box-shadow: 0 0 10px var(--brand-red); }
.dot.blue { background: var(--brand-blue); box-shadow: 0 0 10px var(--brand-blue); }

.tech-machine-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

/* IMPACT SECTION (TEAM & SOCIAL PROOF) */
.impact-section {
    padding: 70px 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 1;
}
.impact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    z-index: 0;
    pointer-events: none;
}
.impact-section > * { position: relative; z-index: 1; }

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.impact-card {
    text-align: center;
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.highlight-text {
    font-family: 'Outfit';
    font-size: 2rem;
    color: var(--text-main);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border-top: 2px solid var(--brand-blue);
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.client-info {
    font-weight: 600;
    color: #fff;
}

/* PARTNERS MARQUEE */
.partners-carousel-section {
    padding: 50px 0;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.partners-carousel-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.82);
    z-index: 0;
    pointer-events: none;
}
.partners-carousel-section > * { position: relative; z-index: 1; }

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 40px 0;
}

.marquee::before, .marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee-content {
    display: inline-block;
    animation: marqueeScroll 25s linear infinite;
}

.partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94A3B8;
    height: 80px;
    min-width: 200px;
    margin: 0 15px;
    border-radius: 10px;
    font-weight: 800;
    font-family: 'Outfit';
    font-size: 1.25rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: default;
}

.partner-logo:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 20px var(--brand-blue-glow);
    transform: scale(1.05);
}

.partner-logo img {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
}

.mini {
    font-size: 0.6rem;
    margin-left: 5px;
    color: #64748B;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* FOOTER */
.glass-footer {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 50px 0 30px;
}

.filter-invert {
    filter: brightness(0) invert(1);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
    gap: 40px;
}
.footer-logo {
    height: 50px;
}
.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'Outfit';
    color: var(--text-main);
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-col ul li a:hover {
    color: var(--brand-red);
}
.footer-col p {
    color: var(--text-muted);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1000px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .tech-cards-grid { grid-template-columns: 1fr; }
    .timeline-line { left: 30px; }
    .timeline-item { justify-content: flex-end; }
    .timeline-item .glass-card { width: calc(100% - 70px); }
    .timeline-item::after { left: 30px; }
    .hero-title { font-size: 3rem; }
    .impact-grid, .testimonial-grid { grid-template-columns: 1fr; }
    #compliance-preview [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
    /* Hero não corta o conteúdo no mobile (altura fixa do desktop vira automática).
       overflow-x do site já é contido por html/body (regras base, linhas 121/130). */
    .hero-futuristic { height: auto !important; min-height: 0 !important; padding: 70px 0 45px; overflow: visible; }

    .header { position: relative !important; background: transparent !important; transform: none !important; padding: 15px 0 !important; }
    .header-container { flex-direction: row; gap: 0; align-items: center; justify-content: space-between; position: relative; }
    .logo img { max-width: 200px; }

    /* Hamburger menu */
    .hamburger { display: flex !important; }
    .glass-nav-pill {
        display: none; flex-direction: column; align-items: stretch;
        gap: 12px; padding: 15px 20px;
        width: calc(100% - 10%); box-sizing: border-box; border-radius: 15px;
        margin: 0 5%;
        position: absolute; top: 100%; left: 0; right: 0; z-index: 1000;
        background: rgba(15, 23, 42, 0.97) !important;
        backdrop-filter: blur(20px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    }
    [data-theme="light"] .glass-nav-pill {
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }
    .glass-nav-pill.nav-open { display: flex; }
    .main-nav {
        display: flex; flex-direction: column; gap: 0;
        width: 100%; text-align: center;
    }
    .main-nav a { font-size: 1rem; padding: 12px 0; display: block; color: var(--text-main); border-bottom: 1px solid var(--glass-border); }
    .main-nav a:last-child { border-bottom: none; }
    .header-actions { justify-content: center !important; flex-wrap: wrap; padding-top: 8px; }

    .hero-content { margin-top: 0px; padding-top: 20px !important; padding-bottom: 20px; }
    .scroll-indicator { display: none !important; }
    .hero-title { font-size: 2.2rem !important; margin-bottom: 15px; line-height: 1.15; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
    .hero-buttons { flex-direction: column; gap: 10px; align-items: center; }
    .hero-buttons .btn { width: 85%; text-align: center; padding: 14px 20px; }
    .section-title h2 { font-size: 1.8rem; margin-bottom: 15px; }
    .section-title p { margin-bottom: 30px; line-height: 1.6; }

    .glass-card { padding: 20px; }
    .timeline-item .glass-card { width: calc(100% - 40px); }
    .timeline-line { left: 10px; }
    .timeline-item::after { left: 10px; }
    .timeline-future { padding: 30px 15px !important; margin-top: 40px !important; }
    .timeline-future h3 { font-size: 1.4rem !important; margin-bottom: 16px !important; }

    /* Tech cards on mobile */
    .tech-cards-grid { gap: 15px !important; }
    .tech-machine-card { border-radius: 12px; }

    /* Floating buttons on mobile */
    #whatsapp-float { width: 48px !important; height: 48px !important; bottom: 16px !important; left: 16px !important; }
    #whatsapp-float svg { width: 22px !important; height: 22px !important; }
    #theme-toggle-btn { width: 34px !important; height: 34px !important; font-size: 0.9rem !important; }
}

/* TECHNOLOGY CAROUSEL (below hero) */
.tech-carousel-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: transform 0.3s;
}
.tech-carousel-card:hover {
    transform: scale(1.03);
}
.tech-carousel-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.tech-carousel-card span {
    display: block;
    padding: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}
@media (max-width: 1000px) {
    .tech-carousel-section [style*="grid-template-columns"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 500px) {
    .tech-carousel-section [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .tech-carousel-card img { height: 150px; }
}
