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

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2a2c31;
    background: #f5f6fa;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #1e1f25;
}

p {
    color: #5e6169;
}

/* Palette */
:root {
    --violet: #5235ff;
    --violet-dark: #2d1f78;
    --magenta: #ff5f9c;
    --peach: #ffb995;
    --blue-soft: #eef1ff;
    --graphite: #1e2130;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--violet) 0%, var(--magenta) 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(82, 53, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(82, 53, 255, 0.35);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--violet);
    border: 2px solid rgba(82, 53, 255, 0.4);
    font-size: 0.95rem;
    padding: 10px 18px;
}

.btn-outline:hover {
    background: rgba(82, 53, 255, 0.08);
    border-color: var(--violet);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 10px 30px rgba(18, 21, 36, 0.08);
    transition: transform 0.3s ease;
}

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

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

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

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

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

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

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

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

/* Hero */
.hero {
    padding: 130px 0 90px;
    background: linear-gradient(135deg, #1b1742 0%, #241b63 40%, #39207f 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 15% 25%, rgba(255, 95, 156, 0.35), transparent 55%),
                radial-gradient(circle at 85% 75%, rgba(82, 53, 255, 0.4), transparent 60%);
    animation: glowShift 18s ease-in-out infinite;
}

@keyframes glowShift {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.85; }
}

.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: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

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

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

.stage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 1rem;
}

.stage-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.6rem 1.4rem;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
}

.stage-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--peach);
}

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

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-chip {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    padding: 1.2rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-align: left;
    backdrop-filter: blur(10px);
}

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

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Section headings */
.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 3rem;
    position: relative;
    color: #1f2231;
}

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

/* Pipeline */
.event-pipeline {
    padding: 90px 0;
    background: linear-gradient(135deg, #eef1ff 0%, #fbecff 100%);
}

.pipeline-flow {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    margin-top: 3rem;
}

.pipeline-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--violet), var(--magenta));
    transform: translateY(-50%);
    z-index: 1;
}

.pipeline-stage {
    background: #fff;
    border-radius: 22px;
    padding: 2.2rem 1.8rem;
    text-align: center;
    box-shadow: 0 18px 40px rgba(24, 22, 58, 0.08);
    position: relative;
    z-index: 2;
    max-width: 260px;
}

.pipeline-stage:hover {
    transform: translateY(-8px);
    transition: transform 0.3s ease;
}

.stage-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet) 0%, var(--magenta) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.4rem;
    position: relative;
}

.stage-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(82, 53, 255, 0.25);
    animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.18); opacity: 0; }
}

.stage-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #24273a;
}

.stage-content p {
    margin: 0;
    font-size: 0.95rem;
}

.stage-connector {
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 3px;
    background: transparent;
}

/* Formats */
.formats {
    padding: 90px 0;
    background: #fff;
}

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

.solution-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(82, 53, 255, 0.12);
    box-shadow: 0 20px 40px rgba(18, 21, 36, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(18, 21, 36, 0.12);
}

.solution-icon {
    height: 200px;
    background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 50%, var(--magenta) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    position: relative;
}

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

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

.solution-content {
    padding: 2.2rem;
    display: grid;
    gap: 1.4rem;
}

.solution-content h3 {
    font-size: 1.45rem;
}

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

.feature-chip {
    padding: 0.5rem 0.9rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef1ff 0%, #f8f4ff 100%);
    color: #403769;
    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(82, 53, 255, 0.15), rgba(255, 95, 156, 0.25));
    color: #2a2750;
    padding: 0.35rem 0.85rem;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Services */
.services {
    padding: 90px 0;
    background: linear-gradient(135deg, #f6f7ff 0%, #eefaff 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 15px 35px rgba(18, 21, 36, 0.08);
    border: 1px solid rgba(82, 53, 255, 0.08);
}

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

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

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

.about-text p {
    margin-bottom: 1rem;
}

.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.3rem;
    color: var(--violet);
    margin-bottom: 0.4rem;
}

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

.about-placeholder {
    width: 420px;
    height: 320px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 40%, var(--magenta) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.2rem;
    box-shadow: 0 20px 45px rgba(18, 21, 36, 0.2);
}

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

/* Impact */
.impact {
    padding: 90px 0;
    background: linear-gradient(135deg, #1f153e 0%, #2a1d58 60%, #332170 100%);
    color: #fff;
}

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

.impact .section-title::after {
    background: linear-gradient(135deg, var(--magenta) 0%, #ffd6f0 100%);
}

.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.08);
    border-radius: 22px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    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.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* CTA */
.cta {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--violet) 0%, var(--magenta) 100%);
    color: #fff;
    text-align: center;
}

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

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

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

/* Footer */
.footer {
    background: #16172b;
    color: #d4d5de;
    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: #bbbfd5;
    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(--magenta);
}

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

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

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

    .stage-grid {
        justify-self: center;
    }

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

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

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

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

    .pipeline-flow {
        flex-direction: column;
        align-items: center;
    }

    .pipeline-flow::before,
    .stage-connector {
        display: none;
    }

    .pipeline-stage {
        max-width: 300px;
        width: 100%;
    }
}

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

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

    .stage-grid {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

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

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

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