/* Micca Systems - UNIQUE IDENTITY (Electric Bento) */
:root {
    --bg-dark: #09090b;
    /* Deepest Black-Blue */
    --bg-card: #18181b;
    /* Zinc 900 */
    --primary: #3b82f6;
    /* Electric Blue */
    --accent: #8b5cf6;
    /* Electric Purple */
    --highlight: #22d3ee;
    /* Cyan Neon */
    --text-main: #f8fafc;
    /* White/Slate 50 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(59, 130, 246, 0.5);
    --radius: 24px;
    /* Large, smooth corners */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    background-image: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* --- Layout --- */
.container {
    max-width: 1400px;
    /* Wide container for Bento */
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header --- */
header {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 100px;
    /* Pill shape */
    z-index: 1000;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--highlight);
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-mobile.active {
    opacity: 1;
    pointer-events: auto;
}

.nav-mobile .nav-link {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.nav-mobile .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--highlight);
}

.nav-mobile .btn-glow {
    margin-top: 1rem;
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 48px;
    width: auto;
    background: white;
    padding: 4px 12px;
    border-radius: 8px;
    transition: transform 0.3s;
}

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

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-main);
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
    transform: scale(1.05);
}

/* --- Asymmetric Hero (Modernized) --- */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Static fallback */
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
}

/* Animated Mesh Gradient Background */
.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: blobFloat 10s infinite alternate;
    z-index: 1;
    /* Behind everything */
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(59, 130, 246, 0.4);
    animation-duration: 12s;
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.4);
    animation-duration: 15s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.3);
    animation-duration: 18s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 10;
    /* Ensure content is above blobs */
}

.hero-text {
    position: relative;
    z-index: 20;
    /* Text strictly above Character */
}

.hero-text h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

/* Shimmering Gradient Text */
.gradient-text {
    background: linear-gradient(to right, #60a5fa, #c084fc, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% auto;
    animation: textShimmer 5s linear infinite;
}

@keyframes textShimmer {
    to {
        background-position: 300% center;
    }
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    /* Clean Flexbox container */
}

/* Character Animations (Fixed High Z-Index & Centered) */
.char-float {
    position: relative;
    z-index: 50;
    /* Top of the visual stack! */
    pointer-events: none;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    animation: charFloat 4s ease-in-out infinite;
}

.char-hero {
    right: auto;
    top: auto;
    width: 320px;
    max-width: 100%;
    opacity: 1;
    display: block;
    margin: 0 auto;
    /* Ensure strict centering */
}

/* Characters in cards */
.char-card-peek {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 140px;
    opacity: 0.6;
    transition: 0.3s;
    z-index: 1;
    mix-blend-mode: luminosity;
}

.bento-card:hover .char-card-peek {
    transform: translateY(-15px) scale(1.05);
    opacity: 0.9;
    mix-blend-mode: normal;
    filter: drop-shadow(0 0 15px var(--bg-accent));
}

@keyframes charFloat {

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

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

/* Abstract Floating Shapes (Corner Framing) */
.float-card {
    position: absolute;
    background: rgba(30, 30, 35, 0.4);
    /* More transparent */
    backdrop-filter: blur(20px);
    /* Stronger blur */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Highlight top */
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    z-index: 5;
    /* Behind character */
}

.float-1 {
    top: -20px;
    right: -20px;
    width: 180px;
    /* Slightly smaller to fit corner */
    animation-delay: 0s;
}

.float-2 {
    bottom: -20px;
    left: -20px;
    width: 200px;
    animation-delay: 1s;
}

.float-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary), transparent);
    opacity: 0.3;
    filter: blur(50px);
    z-index: 1;
}

@keyframes float {

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

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

/* --- The Bento Grid (Services) --- */
.bento-section {
    padding: 4rem 0 8rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: left;
    /* Align left for uniqueness */
}

/* --- Color Variants --- */
:root {
    /* Define new vibrant palette */
    --color-blue: #3b82f6;
    --color-cyan: #06b6d4;
    --color-emerald: #10b981;
    --color-amber: #f59e0b;
    --color-rose: #f43f5e;
    --color-violet: #8b5cf6;
    --color-indigo: #6366f1;
    --color-orange: #f97316;
}

/* Variant Classes */
.var-blue {
    --bg-accent: rgba(59, 130, 246, 0.1);
    --highlight: var(--color-blue);
}

.var-cyan {
    --bg-accent: rgba(6, 182, 212, 0.1);
    --highlight: var(--color-cyan);
}

.var-emerald {
    --bg-accent: rgba(16, 185, 129, 0.1);
    --highlight: var(--color-emerald);
}

.var-amber {
    --bg-accent: rgba(245, 158, 11, 0.1);
    --highlight: var(--color-amber);
}

.var-rose {
    --bg-accent: rgba(244, 63, 94, 0.1);
    --highlight: var(--color-rose);
}

.var-violet {
    --bg-accent: rgba(139, 92, 246, 0.1);
    --highlight: var(--color-violet);
}

.var-indigo {
    --bg-accent: rgba(99, 102, 241, 0.1);
    --highlight: var(--color-indigo);
}

.var-orange {
    --bg-accent: rgba(249, 115, 22, 0.1);
    --highlight: var(--color-orange);
}

/* Apply Highlight Colors */
.bento-card .card-icon {
    color: var(--highlight);
    background: var(--bg-accent);
    transition: all 0.3s ease;
}

.bento-card:hover {
    border-color: var(--highlight);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px var(--bg-accent);
    /* Glow with brand color */
}

/* Helper to colorize icons inside cards if needed */
.bento-card i {
    transition: color 0.3s;
}

/* Ensure content is above character */
.bento-card h3,
.bento-card p,
.bento-card .card-icon,
.bento-card .btn-glow {
    position: relative;
    z-index: 5;
    /* Well above character */
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(240px, auto);
    /* Flexible height */
    gap: 1.5rem;
}

/* Bento Cells */
.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    /* Default Highlight */
    --highlight: var(--primary);
    --bg-accent: rgba(37, 99, 235, 0.1);
}

.bento-card::before {
    /* Glow effect */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--highlight), transparent);
    /* Uses dynamic color */
    opacity: 0;
    transition: 0.3s;
    z-index: 6;
}

.bento-card:hover::before {
    opacity: 1;
}

/* Grid Areas */
.gc-large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(145deg, #1e1e24, #18181b);
}

.gc-wide {
    grid-column: span 2;
}

.gc-tall {
    grid-row: span 2;
}

.gc-std {
    grid-column: span 1;
}

.gc-full {
    grid-column: span 4;
    background: linear-gradient(to right, #111827, #0f172a);
    border: 1px solid var(--highlight);
}

/* Open Source Card Special Styling */
.card-opensource {
    position: relative;
}

.card-opensource::after {
    content: '1010101';
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: monospace;
    color: rgba(34, 211, 238, 0.1);
    font-size: 4rem;
    transform: rotate(90deg);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: rgba(59, 130, 246, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.card-bg-visual {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    transition: 0.4s;
}

.bento-card:hover .card-bg-visual {
    transform: scale(1.1) rotate(-10deg);
    color: rgba(255, 255, 255, 0.05);
}

/* --- Features Strip --- */
.features-strip {
    display: flex;
    justify-content: space-around;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 6rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-pill i {
    color: var(--highlight);
}

/* --- Footer --- */
footer {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

.footer-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    background: white;
    padding: 1rem;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--highlight);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.stat-icon {
    font-size: 3rem;
    color: var(--highlight);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    background: linear-gradient(to right, var(--primary), var(--accent), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
}

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

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--highlight);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2.5rem;
    background: var(--bg-accent);
    color: var(--highlight);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--highlight);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.3rem;
}

.testimonial-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight);
    font-size: 1.5rem;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tech Section */
.tech-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.tech-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--highlight);
    background: rgba(255, 255, 255, 0.05);
}

.tech-item i {
    font-size: 3rem;
    color: var(--highlight);
    margin-bottom: 1rem;
}

.tech-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--highlight);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--highlight);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    background: rgba(244, 63, 94, 0.2);
    /* Rose tint on hover */
    color: var(--color-rose);
    border-color: var(--color-rose);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.4);
    transform: rotate(90deg);
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    padding: 3rem;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    /* Glass feel */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Responsive */
/* Tablet */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gc-full {
        grid-column: span 2;
    }

    .hero-split {
        gap: 2rem;
    }
}

/* Mobile Large */
@media (max-width: 900px) {
    header {
        width: 95%;
        padding: 0.6rem 1.5rem;
        border-radius: 50px;
    }

    .nav-desktop {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-img {
        height: 40px;
    }

    .hero-section {
        padding-top: 8rem;
        padding-bottom: 4rem;
        min-height: auto;
    }

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

    .hero-text h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        margin-bottom: 1.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-text > p:first-of-type {
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .hero-visual {
        display: none;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Bento Grid Mobile */
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }

    .gc-large,
    .gc-wide,
    .gc-tall,
    .gc-std,
    .gc-full {
        grid-column: span 1;
        grid-row: span 1;
    }

    .card-opensource > div {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .card-opensource .btn-glow {
        width: 100%;
        justify-content: center;
    }

    .bento-card {
        padding: 1.5rem;
    }

    .bento-card h3 {
        font-size: 1.3rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

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

    .features-strip {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .feature-pill {
        font-size: 1rem;
    }

    /* Sobre Section Mobile */
    #sobre {
        padding: 4rem 0;
    }

    #sobre .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #sobre h2 {
        font-size: 2rem;
    }

    #sobre p {
        font-size: 1rem;
    }

    /* Contato Section Mobile */
    #contato {
        padding: 4rem 0 6rem;
    }

    #contato h2 {
        font-size: 2rem;
    }

    #contato p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    #contato .btn-glow {
        font-size: 1rem;
        padding: 0.9rem 2rem;
        width: 100%;
        max-width: 300px;
    }

    /* Modal Mobile */
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
        max-width: 100%;
        margin: 1rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-content p {
        font-size: 1rem;
    }

    .close-modal {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }

    /* Stats Mobile */
    .stats-section {
        padding: 4rem 0;
    }

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

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Benefits Mobile */
    .benefits-section {
        padding: 4rem 0;
    }

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

    .benefit-card {
        padding: 2rem;
    }

    /* Process Mobile */
    .process-section {
        padding: 4rem 0;
    }

    .process-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .process-step {
        gap: 1.5rem;
    }

    /* Testimonials Mobile */
    .testimonials-section {
        padding: 4rem 0;
    }

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

    .testimonial-card {
        padding: 2rem;
    }

    /* Tech Mobile */
    .tech-section {
        padding: 4rem 0;
    }

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

    .tech-item {
        padding: 1.5rem;
    }

    .tech-item i {
        font-size: 2rem;
    }

    /* FAQ Mobile */
    .faq-section {
        padding: 4rem 0;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.25rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    header {
        top: 1rem;
        width: calc(100% - 2rem);
        padding: 0.5rem 1rem;
    }

    .logo-img {
        height: 35px;
    }

    .hero-section {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .btn-glow {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    .bento-section {
        padding: 3rem 0 5rem;
    }

    .bento-card {
        padding: 1.25rem;
    }

    .bento-card h3 {
        font-size: 1.2rem;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

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

    .container {
        padding: 0 1rem;
    }

    .features-strip {
        padding: 1.5rem 1rem;
    }

    footer {
        padding: 3rem 1rem;
    }

    .footer-logo {
        max-width: 250px;
    }

    .modal-content {
        padding: 1.5rem 1rem;
    }

    #contato .btn-glow {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    /* Stats Small Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Tech Small Mobile */
    .tech-grid {
        grid-template-columns: 1fr;
    }

    /* Process Small Mobile */
    .process-timeline::before {
        display: none;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}