/* --- CSS Variables --- */
:root {
    --matte-black: #080a0f;
    --dark-slate: #131722;
    --deep-navy: #0b1120;
    --cyber-silver: #d1d5db;
    --electric-blue: #2563eb;
    --cyan-neon: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.3);

    --text-light: #f8fafc;
    --text-muted: #94a3b8;

    --glass-bg: rgba(19, 23, 34, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Resets & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--matte-black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* --- Typography Utilities --- */
.highlight-cyan {
    color: var(--cyan-neon);
    text-shadow: 0 0 15px var(--cyan-glow);
}

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

.text-gray {
    color: var(--text-muted);
}

.text-sm {
    font-size: 0.875rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-darker {
    background-color: var(--deep-navy);
}

/* --- Layout --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Components --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--electric-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--cyber-silver);
}

.w-100 {
    width: 100%;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateY(-5px);
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4em 0.8em;
    background: rgba(37, 99, 235, 0.1);
    color: var(--cyan-neon);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 1rem;
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 4rem;
}

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

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

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    width: 10rem;
}
.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.logo img {
    width: 100%;
    height: auto !important;
}
.logo span {
    color: var(--cyan-neon);
    font-weight: 500;
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links-list,
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cyber-silver);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan-neon);
    transition: var(--transition-fast);
}
.nav-links a:hover {
    color: var(--text-light);
}
.nav-links a:hover::after {
    width: 100%;
}
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}
.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, var(--dark-slate) 0%, var(--matte-black) 100%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.glow-effect {
    position: absolute;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.glow-effect.top-left {
    top: -10vw;
    left: -10vw;
    background: var(--electric-blue);
}

.glow-effect.bottom-right {
    bottom: -10vw;
    right: -10vw;
    background: var(--cyan-neon);
}

.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;
    max-width: 500px;
}

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

.image-mockup {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.image-mockup::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px var(--glass-border);
    border-radius: 12px;
    pointer-events: none;
}

/* .floating-animation {
    animation: float 6s ease-in-out infinite;
} */

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.lead {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--cyan-neon);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* --- Robotics Section --- */
.robotics-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.capability-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--cyber-silver);
}

.capability-list li:last-child {
    border-bottom: none;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* --- Applications Section --- */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.app-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-visual {
    position: relative;
    height: 250px;
}

.app-heading {
    padding: 1.5rem 2rem 0;
}

.app-heading h3 {
    margin-bottom: 0;
}

.robot-event-inset {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 160px;
    border: 1px solid rgba(0, 240, 255, 0.5);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(8, 10, 15, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.app-visual .robot-event-inset img {
    height: 118px;
    width: 100%;
    object-fit: cover;
    transition: none;
}

.robot-event-inset span {
    display: block;
    padding: 0.55rem 0.5rem;
    color: var(--cyan-neon);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
}

.robotics-video-section {
    margin-top: 6rem;
}

.robotics-video-section .section-header {
    margin-bottom: 2rem;
}

.robotics-video-frame {
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 12px;
    background: #05070b;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.robotics-video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-pending-note {
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.app-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.app-card:hover .app-visual > img {
    transform: scale(1.05);
}

.app-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--cyber-silver);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
}

.app-content {
    padding: 2rem;
}

/* --- Process Section --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.step::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--cyan-neon);
    box-shadow: 0 0 10px var(--cyan-glow);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -1rem;
    right: 0;
    line-height: 1;
}

/* --- Why Us Section --- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-list h4 {
    color: var(--cyan-neon);
    margin-bottom: 0.25rem;
}

.why-list li {
    margin-bottom: 1.5rem;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.why-card.glass-panel {
    padding: 1.35rem;
}

.why-card:hover {
    transform: translateY(-3px);
}

.why-card h3 {
    font-size: 1.05rem;
    margin: 0.75rem 0 0.4rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 6px;
    color: var(--cyan-neon);
}

.why-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-brand small {
    color: var(--text-muted);
    font-size: 0.7em;
    font-weight: 500;
}

/* --- Showcase Section --- */
.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    padding: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

/* --- CTA Section --- */
.cta-card {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(0, 240, 255, 0.05) 100%);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* --- Contact Section --- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 0;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem 1.75rem;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-blue);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.contact-card-icon.whatsapp-icon {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.25);
    color: #25D366;
}

.text-muted-sm {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.highlight-cyan-sm {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cyan-neon);
    letter-spacing: 0.05em;
}

.contact-email-link {
    display: block;
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    word-break: break-word;
    transition: var(--transition-fast);
}

.contact-email-link:hover {
    color: var(--cyan-neon);
}

.contact-card-cta {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(0, 240, 255, 0.04) 100%);
    border-color: rgba(37, 211, 102, 0.2) !important;
    justify-content: space-between;
}

.btn-whatsapp {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: #25D366;
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    margin-top: auto;
    align-self: flex-start;
}

.btn-whatsapp:hover {
    background-color: #1ebe5b;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
    transform: translateY(-2px);
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h4 {
    margin-bottom: 0.5rem;
    color: var(--cyber-silver);
}

.info-block a {
    display: block;
    margin-bottom: 0.25rem;
}

.info-block a:hover {
    color: var(--cyan-neon);
}

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

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--cyber-silver);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: var(--text-light);
    font-family: var(--font-sans);
    transition: var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--cyan-neon);
    box-shadow: 0 0 0 1px var(--cyan-neon);
}

/* --- Scroll to Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 6.5rem;
    /* Positioned above WhatsApp button */
    right: 2rem;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: var(--cyan-neon);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--glass-shadow);
    z-index: 100;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan-neon);
    transform: translateY(-5px);
}

/* --- WhatsApp Floating Button --- */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}
.footer .logo {
	width: 7.2rem;
	margin-bottom: 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--cyan-neon);
}

.footer-emails a {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-emails a:hover {
    color: var(--text-light);
}
.footer-contact-num {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin-top: 1.2rem;
}
.footer-phone {
    display: inline-block;
    color: var(--cyan-neon);
	transition: all 0.4s ease-in-out;
}
.footer-phone:hover {
	color: var(--electric-blue);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --- Scroll Reveal Classes --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* =====================================================
   RESPONSIVE DESIGN — Full Breakpoint System
   ===================================================== */

/* --- NAV COLLAPSE: 1199px and below --- */
@media (max-width: 1199px) {
	
	.nav-links-wrapper {
		display: none;
		gap: 2rem;
		position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--deep-navy);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--glass-border);
        gap: 1.25rem;
        z-index: 999;
	}
	.nav-links-list, .nav-links {
		flex-direction: column;
	}
    /* Hide desktop nav links & CTA button */
/*     .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--deep-navy);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--glass-border);
        gap: 1.25rem;
        z-index: 999;
    } */

    .active.nav-links-wrapper {
        display: flex;
		flex-direction: column;
		align-items: flex-start;
    }

/*     .nav-cta {
        display: none;
        position: absolute;
        top: calc(100% + 300px);
        left: 2rem;
        z-index: 1000;
    }

    .nav-cta.active {
        display: block;
    } */

    /* Show hamburger */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
}

/* --- XL: 1280px and below --- */
@media (max-width: 1280px) {
    .container {
        width: 92%;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .footer-grid {
        gap: 3rem;
    }
}

/* --- LG: 1024px and below --- */
@media (max-width: 1024px) {
    .container {
        width: 93%;
    }

    /* Typography */
    .hero-title {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .lead {
        font-size: 1.35rem;
    }

    /* Sections */
    .section-padding {
        padding: 5rem 0;
    }

    /* Navbar */
    .logo a {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    /* Grids */
    .robotics-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .accessories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* --- MD: 768px and below --- */
@media (max-width: 768px) {
    .container {
        width: 94%;
    }

	.logo {
		width: 8.85rem;
	}
	
    /* Typography */
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .section-desc {
        font-size: 1rem;
    }

    .lead {
        font-size: 1.2rem;
    }

    /* Sections */
    .section-padding {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header.center {
        margin-bottom: 2.5rem;
    }

    /* CTA card */
    .cta-card {
        padding: 3rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cta-buttons .btn {
        text-align: center;
    }

    /* Navbar mobile menu handled at 1199px breakpoint */

    /* Hero */
    .hero {
        padding-top: 9rem;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-card.glass-panel {
        padding: 1.25rem;
    }

    /* Robotics */
    .robotics-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .accessories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .accessory-card.glass-panel {
        padding: 1.25rem;
    }

    /* Applications — full width on mobile */
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .app-card {
        width: 100%;
    }

    .app-visual {
        height: 220px;
    }

    .app-content {
        padding: 1.5rem;
    }

    /* Process */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
    }

    /* Why Us */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-visual {
        display: none;
    }

    .why-content .section-title {
        margin-bottom: 2rem;
    }

    .why-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Showcase — full width on mobile */
    .showcase-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item {
        height: 240px;
    }

    /* Contact cards — 2 col on tablet */
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Footer */
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        margin-bottom: 2rem;
    }
}

/* --- SM: 480px and below --- */
@media (max-width: 575px) {
    .container {
        width: 95%;
    }

    /* Typography */
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .logo a {
        font-size: 1.1rem;
    }

    /* Sections */
    .section-padding {
        padding: 3rem 0;
    }

    /* Hero */
    .hero {
        padding-top: 8.5rem;
        padding-bottom: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Buttons */
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.8rem;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        bottom: 1.25rem;
        right: 1.25rem;
    }

    /* About features — 1 col on small screens */
    .about-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-card.glass-panel {
        padding: 1rem;
    }

    /* Applications */
    .app-visual {
        height: 200px;
    }

    .app-content {
        padding: 1.25rem;
    }

    .app-heading {
        padding: 1.25rem 1.25rem 0;
    }

    .app-visual .robot-event-inset {
        width: 105px;
    }

    .app-visual .robot-event-inset img {
        height: 76px;
    }

    .robotics-video-section {
        margin-top: 4rem;
    }

    .why-cards {
        grid-template-columns: 1fr;
    }

    /* Process steps — stack vertically */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact cards — 1 col on mobile */
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        padding: 1.5rem 1.25rem;
    }

    .btn-whatsapp {
        align-self: stretch;
        text-align: center;
    }

    /* Accessories */
    .accessories-grid {
        grid-template-columns: 1fr;
    }

    /* Showcase */
    .gallery-item {
        height: 200px;
    }

    /* CTA */
    .cta-card {
        padding: 2.5rem 1.25rem;
    }

    .cta-card h2 {
        font-size: 1.5rem;
    }

    /* Contact */
    .info-block {
        margin-bottom: 1.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-brand h3 {
        font-size: 1.25rem;
    }
}

/* --- XS: 360px and below --- */
@media (max-width: 360px) {
    .container {
        width: 96%;
    }

    /* Typography */
    .hero-title {
        font-size: 1.625rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Sections */
    .section-padding {
        padding: 2.5rem 0;
    }

    .hero-actions .btn {
        max-width: 100%;
    }

    /* Navbar logo */
    .logo a {
        font-size: 1rem;
        letter-spacing: -0.03em;
    }

    /* Buttons */
    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }

    .floating-whatsapp {
        width: 48px;
        height: 48px;
        bottom: 1rem;
        right: 1rem;
    }

    /* Glass panel padding reduction */
    .glass-panel {
        padding: 1.25rem;
    }

    .cta-card {
        padding: 2rem 1rem;
    }
}