/* ========================
   CSS Variables
   ======================== */
:root {
    --primary: #003366;
    --primary-light: #004080;
    --accent: #0066CC;
    --yellow: #FFB90F;
    --yellow-light: #FFC933;
    --text-dark: #1a1a2e;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #f8f9fc;
    --bg-lighter: #f0f2f8;
    --border: #e8eaf0;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
    --radius: 6px;
    --radius-lg: 10px;
    --radius-xl: 16px;
    --transition: all 0.25s ease;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ========================
   Base Reset
   ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

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

ul {
    list-style: none;
}

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

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

section {
    padding: 72px 0;
}

@media (max-width: 768px) {
    section {
        padding: 56px 0;
    }
}

/* ========================
   Header Navigation
   ======================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: relative;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-list > li {
    position: relative;
}

.nav-list a {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 14px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list a:hover {
    color: var(--accent);
    background: var(--bg-light);
}

.nav-list a[aria-current="page"] {
    color: var(--accent);
    background: var(--bg-light);
}

.nav-list .has-submenu > a i {
    font-size: 10px;
    margin-left: 2px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 160px;
    padding: 6px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}

.submenu a {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: var(--radius);
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 12px 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 0;
    }

    .nav-list a {
        padding: 12px 16px;
    }

    .submenu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 16px;
        margin-top: 4px;
        background: var(--bg-light);
    }

    .submenu.sub-open {
        display: block;
    }

    .submenu a {
        padding: 10px 16px;
    }

    .has-submenu:hover .submenu {
        transform: none;
    }
}

/* ========================
   Buttons
   ======================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--yellow);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--yellow-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,185,15,0.35);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--bg-white);
}

.btn-whatsapp:hover {
    background: #20BD5A;
}

.btn-email {
    background: var(--accent);
    color: var(--bg-white);
}

.btn-email:hover {
    background: var(--primary-light);
}

/* ========================
   Page Hero
   ======================== */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    margin-top: 64px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,51,102,0.88) 0%, rgba(0,82,163,0.75) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    text-align: center;
    padding: 60px 24px;
    width: 100%;
}

.page-hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-hero-content p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 300px;
    }

    .page-hero-content h1 {
        font-size: 28px;
    }

    .page-hero-content p {
        font-size: 16px;
    }
}

/* ========================
   CTA Section
   ======================== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 72px 0;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 22px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ========================
   Footer
   ======================== */
.footer {
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 50%, #c0d8f9 100%);
    color: var(--text-dark);
    padding: 56px 0 20px;
}

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

.footer-logo {
    height: 36px;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: var(--radius);
    background: rgba(0, 51, 102, 0.08);
}

.footer-col > p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 16px;
    color: var(--text-dark);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(0,51,102,0.1);
    padding-top: 20px;
    text-align: center;
}

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

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ========================
   Back to Top Button
   ======================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 42px;
    height: 42px;
    background: var(--accent);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .back-to-top {
        display: none;
    }
}

/* ========================
   Products Section
   ======================== */
.products {
    background: var(--bg-white);
    padding: 72px 0;
}

.products .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.products .section-header h2 {
    font-size: 35px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.products .section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.product-card img {
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.product-info p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-specs {
    list-style: none;
    margin-bottom: 16px;
}

.product-specs li {
    font-size: 15px;
    color: var(--text-light);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs strong {
    color: var(--text-dark);
}

.product-info .btn {
    width: 100%;
    padding: 12px 20px;
}

/* ========================
   Strength Section
   ======================== */
.strength {
    background: var(--bg-light);
    padding: 72px 0;
}

.strength .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.strength .section-header h2 {
    font-size: 35px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.strength .section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.strength-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 40px;
    color: var(--yellow);
    margin-bottom: 16px;
}

.feature-item h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

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

/* ========================
   Responsive
   ======================== */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

@media (max-width: 640px) {
    .product-card img {
        height: 180px;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h3 {
        font-size: 20px;
    }

    .strength-features {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 24px 16px;
    }
}
