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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #0f172a;
    --muted: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --soft: #eef4ff;
    --dark: #0f172a;
    --dark-2: #111827;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    flex-shrink: 0;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.light-btn {
    background: var(--white);
    color: var(--dark);
}

/* Hero */
.hero-section {
    padding: 70px 0 50px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 32%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 50px;
}

.hero-badge,
.section-tag {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -1.2px;
    margin-bottom: 18px;
    max-width: 760px;
}

.hero-content p {
    font-size: 17px;
    color: var(--muted);
    max-width: 650px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-box {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 20px;
    padding: 22px 18px;
    box-shadow: var(--shadow);
}

.stat-box h3 {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--text);
}

.stat-box p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.hero-visual {
    position: relative;
    min-height: 540px;
}

.hero-card-main {
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.hero-card-main img {
    width: 100%;
    height: 540px;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 18px;
    padding: 14px 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    font-weight: 600;
    color: var(--text);
}

.top-card {
    top: 22px;
    left: -20px;
}

.bottom-card {
    right: -15px;
    bottom: 24px;
}

/* Sections */
.home-section {
    padding: 90px 0;
}

.soft-section {
    background: #f1f5f9;
}

.dark-section {
    background: linear-gradient(135deg, #0f172a, #111827);
    color: var(--white);
}

.section-head {
    margin-bottom: 42px;
}

.section-head.center {
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 46px;
}

.section-head h2,
.about-content h2,
.cta-text h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}

.section-head p,
.about-content p,
.cta-text p {
    color: var(--muted);
    font-size: 16px;
}

.light-tag {
    background: rgba(255,255,255,0.12);
    color: #bfdbfe;
}

/* Brands */
.brands-strip {
    padding: 22px 0 10px;
}

.brands-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.brand-chip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 12px 18px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow);
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.category-card {
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.category-card:hover {
    transform: translateY(-6px);
}

.category-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.category-content {
    padding: 24px;
}

.category-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.category-content p {
    color: var(--muted);
    margin-bottom: 18px;
}

.category-content a {
    color: var(--primary);
    font-weight: 600;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrap {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(0,0,0,0.22);
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}

.about-content p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 18px;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.feature-card p {
    color: var(--muted);
    font-size: 15px;
}

/* Cases */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 380px;
    box-shadow: var(--shadow);
}

.case-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: 0.35s ease;
}

.case-card:hover img {
    transform: scale(1.06);
}

.case-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 26px 22px 22px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.02));
}

.case-overlay h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 10px;
}

.case-overlay a {
    color: #bfdbfe;
    font-weight: 600;
}

/* CTA */
.cta-section {
    padding-top: 20px;
    padding-bottom: 100px;
}

.cta-box {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: var(--white);
    border-radius: 30px;
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.cta-text p {
    color: rgba(255,255,255,0.78);
}

.cta-action {
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background: #0b1220;
    color: #cbd5e1;
    padding: 70px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 28px;
    margin-bottom: 35px;
}

.footer-brand h3,
.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 14px;
}

.footer-brand p,
.footer-links a,
.footer-contact p {
    color: #94a3b8;
    font-size: 15px;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    transition: 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding-top: 18px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-grid,
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-visual {
        min-height: auto;
    }

    .hero-card-main img {
        height: 460px;
    }

    .about-image-wrap img {
        min-height: 380px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .header-wrap {
        min-height: 68px;
    }

    .logo img {
        height: 34px;
        max-width: 130px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        display: none;
        padding: 10px 0;
        box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
    }

    .main-nav a {
        width: 100%;
        padding: 14px 20px;
    }

    .main-nav a::after {
        display: none;
    }

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

    .hero-section {
        padding-top: 40px;
    }

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

    .hero-content p,
    .section-head p,
    .about-content p,
    .cta-text p {
        font-size: 15px;
    }

    .hero-stats,
    .feature-grid,
    .category-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .hero-card-main img,
    .case-card,
    .case-card img {
        height: auto;
        min-height: 280px;
    }

    .top-card,
    .bottom-card {
        position: static;
        margin-top: 12px;
        display: inline-flex;
    }

    .hero-visual {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .home-section {
        padding: 70px 0;
    }

    .cta-box {
        padding: 30px 22px;
        border-radius: 24px;
    }
}

@media (max-width: 520px) {
    .container {
        width: 94%;
    }

    .logo img {
        height: 30px;
        max-width: 115px;
    }

    .hero-content h1,
    .section-head h2,
    .about-content h2,
    .cta-text h2 {
        font-size: 30px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

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

    .stat-box {
        padding: 18px 16px;
    }

    .category-content,
    .feature-card {
        padding: 20px;
    }
}

