/* style.css - Manufactura Landing Page */

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --primary-dark: #020617;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --text-main: #334155;
    --text-light: #64748b;
    --text-inverse: #f8fafc;
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --border: #e2e8f0;
    --gradient-hero: linear-gradient(135deg, #020617 0%, #1e3a8a 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
}

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

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.brand {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .nav-links, .nav-btn {
        display: none;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    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;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    background: #3b82f6;
}

.orb-2 {
    bottom: -150px; right: 10%;
    width: 500px; height: 500px;
    background: #1e3a8a;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
        padding-bottom: 60px;
    }
}

.hero-content {
    color: white;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    background: linear-gradient(to right, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 500px;
}

@media (max-width: 992px) {
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-content h1 {
        font-size: 42px;
    }
}

.hero-actions {
    display: flex;
    gap: 16px;
}

@media (max-width: 992px) {
    .hero-actions {
        justify-content: center;
    }
    .hero-actions {
        flex-direction: column;
    }
}

/* Glass Mockup */
.hero-visual {
    perspective: 1000px;
}

.glass-mockup {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    overflow: hidden;
}

.glass-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: rgba(0,0,0,0.2);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.mockup-body {
    display: flex;
    height: 350px;
    padding: 16px;
    gap: 16px;
}

.sim-sidebar {
    width: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    height: 100%;
}

.sim-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sim-card {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.sim-chart {
    height: 150px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
}

.sim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    flex-grow: 1;
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
    background: var(--bg-surface);
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-page);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* --- Offline First Section --- */
.offline-first {
    padding: 100px 0;
    background: var(--bg-page);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.offline-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .offline-container {
        grid-template-columns: 1fr;
    }
}

.offline-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.offline-content p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 500;
}

.check-list li i {
    color: #10b981;
    font-size: 20px;
}

.sync-animation {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--border);
}

.server {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary);
}

.server i {
    font-size: 48px;
    color: var(--text-light);
}

.server.local i { color: var(--accent); }
.server.cloud i { color: #6366f1; }

.sync-arrows {
    font-size: 32px;
    color: #cbd5e1;
    animation: pulseSync 2s infinite;
}

@keyframes pulseSync {
    0% { transform: scale(1); color: #cbd5e1; }
    50% { transform: scale(1.1); color: var(--accent); }
    100% { transform: scale(1); color: #cbd5e1; }
}

/* --- Download Section --- */
.download-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

.download-box {
    background: linear-gradient(to bottom right, #ffffff, #f8fafc);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px 30px;
    max-width: 600px;
    margin: 40px auto 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.download-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent);
}

.display-icon {
    font-size: 64px;
    color: #0078d7; /* Windows blue */
    margin-bottom: 20px;
}

.download-box h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.download-box .version {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 30px;
}

.pulse-btn {
    animation: shadowPulse 2s infinite;
}

@keyframes shadowPulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.download-box .note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
}

/* --- Footer --- */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-brand h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-brand p {
    color: #cbd5e1;
    max-width: 400px;
}

.footer-contact h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-contact p {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #94a3b8;
    font-size: 14px;
}

/* --- Floating WhatsApp --- */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.floating-wa:hover {
    transform: scale(1.1);
}
