/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #3730a3;
    --primary-light: #4f46e5;
    --primary-dark: #312e81;
    --accent: #06b6d4;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-gray: #f8fafc;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border-color: var(--primary-light);
}
.btn-outline:hover { background: var(--primary-light); color: #fff; }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: #f1f5f9; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}
.logo-mark {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}
.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary-light); background: #eef2ff; }
.nav-cta { margin-left: 16px; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    padding-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f5ff 50%, #f0faff 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(79,70,229,0.08) 0%, transparent 60%);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 80px 24px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #eef2ff;
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-indicator {
    width: 2px; height: 50px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
    margin: 0 auto;
    animation: scrollAnim 1.5s ease-in-out infinite;
}
@keyframes scrollAnim { 0%,100%{opacity:1;height:50px} 50%{opacity:0.5;height:30px} }

/* ===== SECTIONS ===== */
.section {
    padding: 90px 0;
}
.section-gray { background: var(--bg-gray); }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.section-cta { text-align: center; margin-top: 40px; }
.link-underline {
    color: var(--primary-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.link-underline:hover { gap: 12px; }

/* ===== PRODUCT CARDS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.product-card-logo {
    width: 100px; height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.product-card-logo img { max-width: 100%; max-height: 80px; object-fit: contain; }
.product-logo-placeholder {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-light);
}
.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.product-slogan {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.product-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

/* Products Swiper */
.products-swiper { padding-bottom: 50px !important; }
.products-swiper .swiper-slide { height: auto; }
.swiper-button-prev, .swiper-button-next {
    color: var(--primary-light) !important;
    background: white;
    width: 44px !important; height: 44px !important;
    border-radius: 50%;
    box-shadow: var(--shadow);
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 14px !important; font-weight: 700; }
.swiper-pagination-bullet-active { background: var(--primary-light) !important; }

/* ===== CLIENTS ===== */
.clients-swiper { padding: 20px 0; }
.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
}
.client-logo-card:hover { filter: none; opacity: 1; }
.client-logo-card img { max-height: 60px; max-width: 160px; object-fit: contain; }
.client-logo-card span { font-weight: 600; color: var(--text-muted); font-size: 18px; }

/* ===== PARTNER ===== */
.section-partner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 90px 0;
}
.partner-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.partner-content { color: #fff; max-width: 600px; }
.partner-content h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.partner-content p { font-size: 17px; opacity: 0.85; margin-bottom: 32px; line-height: 1.7; }
.partner-illustration { font-size: 120px; color: rgba(255,255,255,0.15); }

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, #f0f4ff, #e8f5ff);
    padding: 120px 0 60px;
    text-align: center;
}
.page-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 18px; }
.page-content { max-width: 800px; margin: 0 auto; line-height: 1.8; }
.page-content h2 { margin: 32px 0 16px; }
.page-content p { margin-bottom: 16px; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.contact-info h3 { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; }
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #eef2ff;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-form-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.contact-form .form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 14px; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
    background: #fff;
}
.form-control:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
textarea.form-control { resize: vertical; }

/* ===== ALERTS ===== */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-danger { background: #fff5f5; color: #dc2626; border: 1px solid #fecaca; }
.alert p { margin: 0; }

/* ===== FOOTER ===== */
.footer { background: #0f172a; color: #94a3b8; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #94a3b8;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary-light); color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li i { margin-right: 8px; color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float i { font-size: 20px; }
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: #fff; padding: 20px; flex-direction: column; border-bottom: 1px solid var(--border); }
    .nav-menu.open { display: flex; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hero-content { padding: 60px 24px; }
    .hero-actions { flex-direction: column; }
    .partner-box { flex-direction: column; }
    .partner-illustration { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .whatsapp-float span { display: none; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}
