/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-dark: #1a5276;
    --blue-mid: #2980b9;
    --blue-light: #d4e6f1;
    --blue-bg: #eaf2f8;
    --green: #27ae60;
    --green-light: #e8f8f0;
    --green-dark: #1e8449;
    --gray-light: #f8f9fa;
    --gray-mid: #e9ecef;
    --gray-text: #555;
    --text: #2c3e50;
    --white: #ffffff;
    --shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue-mid);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--blue-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    color: var(--blue-dark);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--gray-light);
}

.section-blue {
    background: var(--blue-bg);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 12px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-text);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.accent-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-mid), var(--green));
    border-radius: 2px;
    margin: 0 auto 20px;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-mid);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo img {
    height: 44px;
    width: auto;
}

.nav-desktop {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-desktop a {
    display: block;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: background var(--transition), color var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
    background: var(--blue-bg);
    color: var(--blue-mid);
}

.nav-desktop a.nav-cta {
    background: var(--blue-mid);
    color: var(--white);
}

.nav-desktop a.nav-cta:hover {
    background: var(--blue-dark);
    color: var(--white);
}

/* Mobile menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 6px 0;
    border-radius: 2px;
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-mid);
    box-shadow: var(--shadow);
    padding: 16px 24px;
    list-style: none;
}

.nav-mobile.open {
    display: block;
}

.nav-mobile a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text);
    border-bottom: 1px solid var(--gray-mid);
}

.nav-mobile li:last-child a {
    border-bottom: none;
}

/* ===== HERO ===== */
@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroBadgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.92) 0%, rgba(26, 82, 118, 0.75) 40%, rgba(39, 174, 96, 0.60) 100%);
    background-size: 200% 200%;
    animation: heroGradientShift 12s ease infinite;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 80px 0;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
    animation: heroFadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.6;
    animation: heroFadeInUp 0.8s ease-out 0.15s both;
}

.hero .hero-badges {
    animation: heroFadeInUp 0.8s ease-out 0.3s both;
}

.hero .btn-group {
    animation: heroFadeInUp 0.8s ease-out 0.45s both;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 20px;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--blue-mid);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(41, 128, 185, 0.30);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue-mid);
    border: 2px solid var(--blue-mid);
}

.btn-secondary:hover {
    background: var(--blue-bg);
    color: var(--blue-dark);
    border-color: var(--blue-dark);
}

.btn-green {
    background: var(--green);
    color: var(--white);
}

.btn-green:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.30);
}

.btn-white {
    background: var(--white);
    color: var(--blue-dark);
}

.btn-white:hover {
    background: var(--gray-light);
    color: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.60);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: var(--white);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-body {
    padding: 28px;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.card-body p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== PRODUCT GRID ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ===== FEATURES LIST ===== */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue-mid);
    font-weight: 700;
    font-size: 1.1rem;
}

.feature-list-green li::before {
    color: var(--green);
}

/* ===== KEY FIGURES / STATS ===== */
.stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--blue-mid);
    display: block;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-top: 4px;
}

/* ===== VARIANTS TABLE ===== */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.variants-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: var(--white);
}

.variants-table th {
    background: var(--blue-dark);
    color: var(--white);
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.variants-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-mid);
    vertical-align: top;
    line-height: 1.5;
}

.variants-table tr:nth-child(even) td {
    background: var(--gray-light);
}

.variants-table tr:hover td {
    background: var(--blue-bg);
}

.var-name {
    color: var(--blue-dark);
    font-weight: 600;
    white-space: nowrap;
}

/* ===== INFO BOX ===== */
.info-box {
    background: var(--blue-bg);
    border-left: 4px solid var(--blue-mid);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 24px 28px;
    margin: 24px 0;
}

.info-box h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--blue-dark);
}

.info-box p {
    color: var(--gray-text);
    line-height: 1.6;
}

.info-box-green {
    background: var(--green-light);
    border-left-color: var(--green);
}

.info-box-green h4 {
    color: var(--green-dark);
}

/* ===== ICON CARDS ===== */
.icon-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.icon-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.icon-card .icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: block;
}

.icon-card .icon-svg {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
    border-radius: 50%;
    padding: 12px;
}

.icon-card .icon-svg svg {
    width: 32px;
    height: 32px;
    fill: white;
    stroke: white;
}

.icon-card .icon-svg.green {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.icon-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.icon-card p {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.5;
}

/* ===== BUTTON ICONS ===== */
.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-white svg,
.btn-outline-white svg {
    fill: currentColor;
    stroke: currentColor;
}

/* ===== SPECS GRID ===== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
}

.spec-item {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-mid);
    font-size: 0.95rem;
}

.spec-label {
    font-weight: 600;
    color: var(--blue-dark);
    white-space: nowrap;
    min-width: 160px;
}

.spec-value {
    color: var(--gray-text);
}

/* ===== APP SHOWCASE ===== */
.app-showcase {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.app-screenshots {
    display: flex;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 300px;
    max-width: 100%;
    flex-shrink: 0;
}

.app-screenshots img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    max-height: 400px;
    object-fit: contain;
    flex-shrink: 0;
}

.app-text {
    flex: 1 1 320px;
    min-width: 280px;
    max-width: 100%;
}

.app-text h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.app-text p {
    color: var(--gray-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ===== CERTIFICATIONS ===== */
.cert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-mid);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--gray-text);
}

/* ===== CONTACT FORM ===== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-mid);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.80);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

.site-footer h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact-item {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    align-items: flex-start;
}

.footer-contact-item .icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== PAGE HERO (product pages) ===== */
.page-hero {
    position: relative;
    padding: 100px 0 60px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 82, 118, 0.85) 0%, rgba(26, 82, 118, 0.75) 100%);
    z-index: 1;
}

.page-hero>* {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.90;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-green::before {
    background: linear-gradient(180deg, rgba(30, 132, 73, 0.82) 0%, rgba(26, 82, 118, 0.78) 100%);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--gray-text);
}

.breadcrumb a {
    color: var(--blue-mid);
}

.breadcrumb span {
    margin: 0 6px;
    opacity: 0.5;
}

/* ===== MAP PLACEHOLDER ===== */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: 480px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats-row {
        gap: 32px;
    }

    .app-showcase {
        flex-direction: column;
    }

    .app-screenshots {
        justify-content: center;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .variants-table {
        font-size: 0.85rem;
    }

    .variants-table th,
    .variants-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    .hero-badges {
        gap: 8px;
    }

    .badge {
        font-size: 0.78rem;
        padding: 4px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .app-screenshots {
        flex-direction: column;
        align-items: center;
    }

    .app-screenshots img {
        max-height: 300px;
    }
}