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

:root {
    --color-primary: #1a1a2e;
    --color-accent: #e2b714;
    --color-accent-hover: #c9a212;
    --color-dark: #0f0f23;
    --color-text: #333;
    --color-text-light: #666;
    --color-text-muted: #999;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-gray: #f0f0f5;
    --color-border: #e0e0e0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: var(--font-family);
}

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

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background: var(--color-bg-light);
}

.btn-dark {
    background: var(--color-dark);
    color: #fff;
}

.btn-dark:hover {
    background: #1a1a3a;
}

.btn-nav {
    background: var(--color-dark);
    color: #ffffff !important;
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-nav:hover {
    background: #2a2a4e;
    color: #ffffff !important;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 0 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.nav-links a:hover {
    color: var(--color-dark);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--color-dark);
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    margin-top: 64px;
    background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1400&q=80') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,15,35,0.85) 0%, rgba(26,26,46,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

/* ===================== ABOUT + PRODUCTS ===================== */
.about-products {
    padding: 80px 0;
    background: var(--color-bg);
}

.about-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-col h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.about-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.products-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
}

.view-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
}

.view-all:hover {
    color: var(--color-accent-hover);
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.product-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.product-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.product-icon.yellow {
    background: #fef3c7;
    color: #d97706;
}

.product-icon.green {
    background: #d1fae5;
    color: #059669;
}

.product-icon.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.product-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-dark);
}

.product-info p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ===================== STATS ===================== */
.stats-section {
    padding: 0 0 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.stat-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: #fff;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 12px;
}

.stat-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
}

/* ===================== HELP / SERVICES ===================== */
.help-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 48px;
}

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

.help-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s, transform 0.3s;
}

.help-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.help-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--color-bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--color-dark);
}

.help-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.help-card p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ===================== HISTORY ===================== */
.history-section {
    padding: 80px 0;
    background: var(--color-bg);
}

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

.history-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.history-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.history-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.history-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ===================== TEAM ===================== */
.team-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 500px;
    margin: 0 auto;
}

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

.team-avatar {
    margin-bottom: 16px;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: #d1d5db;
}

.team-member h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.team-member p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ===================== TESTIMONIAL ===================== */
.testimonial-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.testimonial-dark {
    background: var(--color-dark);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 20px;
}

.testimonial-dark h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}

.testimonial-dark p {
    font-size: 0.9rem;
    color: #a0a0b8;
    line-height: 1.6;
}

.testimonial-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.testimonial-actions {
    display: flex;
    gap: 12px;
}

.testimonial-img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* ===================== CTA / NEWSLETTER ===================== */
.cta-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

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

.cta-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.cta-content > p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.3s;
}

.cta-form input:focus {
    border-color: var(--color-accent);
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--color-dark);
    color: #a0a0b8;
    padding: 64px 0 32px;
}

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

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #7a7a98;
}

.footer-links-group h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

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

.footer-links-group a {
    font-size: 0.85rem;
    color: #7a7a98;
    transition: color 0.3s;
}

.footer-links-group a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    font-size: 0.82rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: #7a7a98;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #fff;
}

/* ===================== RESPONSIVE ===================== */

/* Tablet */
@media (max-width: 1024px) {
    .about-products-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .history-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero {
        min-height: 400px;
    }

    .hero-content {
        padding: 48px 16px;
    }

    .hero-content p {
        padding-right: 8px;
    }

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

    .help-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .history-content h2 {
        font-size: 1.4rem;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 400px;
    }

    .testimonial-dark {
        padding: 32px 24px;
    }

    .testimonial-dark h3 {
        font-size: 1.2rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .testimonial-actions {
        flex-direction: column;
    }

    .stat-card {
        min-height: 240px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-col h2,
    .products-header h2 {
        font-size: 1.3rem;
    }
}
