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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: #1f2429;
    background: #f4f5f2;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    color: #1a1f24;
}

p {
    color: #5d6268;
}

:root {
    --terracotta: #d86b45;
    --deep-terracotta: #a0482c;
    --sage: #3a7560;
    --sage-soft: #e3f1ea;
    --sand: #f1dfce;
    --night: #1d1f24;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--terracotta), var(--sage));
    color: #fff;
    box-shadow: 0 16px 32px rgba(58, 117, 96, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 45px rgba(58, 117, 96, 0.3);
}

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

.btn-secondary:hover {
    background: var(--terracotta);
    color: #fff;
}

.btn-outline {
    border: 2px solid rgba(216, 107, 69, 0.3);
    color: var(--terracotta);
    padding: 10px 18px;
}

.btn-outline:hover {
    border-color: var(--terracotta);
    background: rgba(216, 107, 69, 0.12);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 12px 30px rgba(18, 20, 25, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo h2 {
    color: var(--terracotta);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #283038;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--terracotta);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--sage);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 26px;
    height: 3px;
    background: #1f2429;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    padding: 130px 0 90px;
    background: linear-gradient(135deg, #1f2d2a 0%, #223834 45%, #2c4a44 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(216, 107, 69, 0.35), transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(225, 200, 170, 0.22), transparent 55%);
    animation: flow 18s ease-in-out infinite;
}

@keyframes flow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.6rem;
    align-items: center;
}

.hero-title {
    font-size: 3.1rem;
    color: #fff;
    margin-bottom: 1.6rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 2.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: grid;
    gap: 1.6rem;
}

.hero-panels {
    display: grid;
    gap: 1.2rem;
}

.panel-card {
    position: relative;
    padding: 1.9rem 1.8rem;
    border-radius: 34px 12px 32px 12px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(241, 223, 206, 0.35);
    backdrop-filter: blur(16px);
    color: #fff;
    overflow: hidden;
    display: grid;
    gap: 0.9rem;
}

.panel-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -80px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
    transform: rotate(25deg);
    opacity: 0.5;
}

.panel-card:nth-child(2)::after {
    top: auto;
    bottom: -70px;
    left: -90px;
}

.primary-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(58, 117, 96, 0.18));
}

.secondary-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(216, 107, 69, 0.18));
}

.panel-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px 8px 18px 8px;
    background: rgba(0, 0, 0, 0.28);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    color: var(--sand);
}

.panel-card h3 {
    font-size: 1.4rem;
}

.panel-card p {
    color: rgba(255, 255, 255, 0.82);
}

.panel-list {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.panel-list li {
    position: relative;
    padding-left: 1.1rem;
}

.panel-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sand);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.stat-pill {
    position: relative;
    padding: 1.2rem 1.6rem;
    border-radius: 30px 12px 28px 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(12px);
}

.stat-pill::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 12px 6px 12px 6px;
    background: rgba(255, 255, 255, 0.18);
}

.stat-number {
    display: block;
    font-size: 1.55rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--terracotta), var(--sage));
}

.pipeline {
    padding: 90px 0;
    background: linear-gradient(135deg, #fff9f4 0%, #f1f6f2 100%);
}

.pipeline-rail {
    position: relative;
    display: grid;
    gap: 1.6rem;
    padding-left: 2.6rem;
    margin-top: 3rem;
}

.pipeline-rail::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.2rem;
    width: 2px;
    background: linear-gradient(180deg, var(--terracotta), var(--sage));
    opacity: 0.6;
}

.rail-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
    padding: 1.4rem 1.6rem;
    background: #fff;
    border-radius: 24px 12px 24px 12px;
    border: 1px solid rgba(58, 117, 96, 0.14);
    box-shadow: 0 18px 36px rgba(32, 45, 41, 0.12);
    transition: transform 0.3s ease;
}

.rail-card::before {
    content: '';
    position: absolute;
    left: 1.2rem;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #fff;
    border: 2px solid rgba(58, 117, 96, 0.35);
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 2;
}

.rail-card:hover {
    transform: translateX(6px);
}

.rail-badge {
    width: 46px;
    height: 46px;
    border-radius: 18px 6px 18px 6px;
    background: linear-gradient(135deg, var(--terracotta), var(--sage));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 1rem;
    z-index: 3;
}

.rail-body h3 {
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
    color: #283038;
}

.rail-body p {
    margin: 0;
    font-size: 0.95rem;
    color: #5d6268;
}

.solutions {
    padding: 90px 0;
    background: #fff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.solution-card {
    position: relative;
    border-radius: 38px 14px 32px 14px;
    overflow: hidden;
    border: 1px solid rgba(58, 117, 96, 0.18);
    box-shadow: 0 24px 48px rgba(32, 45, 41, 0.14);
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(216, 107, 69, 0.35) 0%, transparent 70%);
    transform: rotate(32deg);
    z-index: 0;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 70px rgba(32, 45, 41, 0.18);
}

.solution-icon {
    height: 200px;
    background: linear-gradient(135deg, #233733, #355046);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    position: relative;
    border-radius: 38px 14px 0 0;
}

.glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 35%, rgba(255, 255, 255, 0.25) 55%, transparent 70%);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.solution-content {
    position: relative;
    padding: 2.2rem;
    display: grid;
    gap: 1.4rem;
    z-index: 1;
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-chip {
    background: linear-gradient(135deg, #f1dfce, #f6eee5);
    color: #724331;
    padding: 0.5rem 0.9rem;
    border-radius: 18px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-badge {
    background: linear-gradient(135deg, rgba(58, 117, 96, 0.18), rgba(216, 107, 69, 0.22));
    color: #2f423b;
    padding: 0.35rem 0.85rem;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 500;
}

.services {
    padding: 90px 0;
    background: linear-gradient(135deg, #f1f6f2 0%, #eaf0f7 100%);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.service-item {
    background: #fff;
    border-radius: 22px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 18px 40px rgba(32, 45, 41, 0.1);
    border: 1px solid rgba(216, 107, 69, 0.1);
}

.service-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta), var(--sage));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 1.2rem;
}

.about {
    padding: 90px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.2rem;
    align-items: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--sage);
    margin-bottom: 0.4rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-placeholder {
    width: 410px;
    height: 310px;
    border-radius: 26px;
    background: linear-gradient(135deg, #223834, #2d4741 45%, #36574d 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    box-shadow: 0 24px 50px rgba(23, 33, 30, 0.22);
}

.about-placeholder p {
    margin-top: 1rem;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
}

.impact {
    padding: 90px 0;
    background: linear-gradient(135deg, #1f2b29 0%, #283c38 65%, #314b45 100%);
    color: #fff;
}

.impact .section-title {
    color: #fff;
}

.impact .section-title::after {
    background: linear-gradient(135deg, #f1dfce, #d86b45);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.impact-category {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(241, 223, 206, 0.22);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
}

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

.impact-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-item i {
    font-size: 1.6rem;
    color: #f1dfce;
}

.cta {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--terracotta), var(--sage));
    color: #fff;
    text-align: center;
}

.cta p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
    margin: 0 auto 2rem;
}

.cta .btn-primary {
    background: #fff;
    color: var(--terracotta);
    box-shadow: none;
}

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(23, 33, 30, 0.2);
}

.footer {
    background: #1a1d20;
    color: #c6c8cf;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: #d9dce3;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 0.9rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-4px);
    background: var(--terracotta);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: #81858d;
}

@media (max-width: 992px) {
    .hero-container,
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-panels {
        justify-items: center;
    }

    .hero-panels .panel-card {
        max-width: 340px;
    }

    .hero-stats {
        justify-items: center;
        text-align: center;
    }

    .about-placeholder {
        max-width: 360px;
        width: 100%;
    }
}

@media (max-width: 820px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: #fff;
        padding: 2.2rem 1.5rem;
        gap: 1.2rem;
        box-shadow: 0 18px 32px rgba(18, 20, 25, 0.1);
        transition: left 0.3s ease;
        text-align: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .pipeline-rail {
        padding-left: 2rem;
    }
}

@media (max-width: 560px) {
    .hero-title {
        font-size: 2.3rem;
    }

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

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

    .solutions-grid,
    .service-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(3, minmax(80px, 1fr));
        gap: 1rem;
    }

    .pipeline-rail {
        padding-left: 1.6rem;
    }

    .rail-card {
        grid-template-columns: 1fr;
        padding-left: 1.4rem;
    }
}
