/* ============================================
   SINAPSE — Landing Page Styles
   ============================================ */

:root {
    --red: #E63946;
    --red-dark: #c62f3b;
    --red-glow: rgba(230, 57, 70, 0.4);
    --black: #0a0a0a;
    --black-light: #111111;
    --black-card: #161616;
    --black-border: #222222;
    --white: #f5f5f5;
    --gray: #888888;
    --gray-light: #aaaaaa;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.text--accent {
    color: var(--red);
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 56px;
    max-width: 700px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.nav--scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.nav__logo-img {
    height: 32px;
    width: auto;
    display: inline-block;
}

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

.nav__links a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-light);
    transition: color 0.2s;
    letter-spacing: 0.3px;
}

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

.nav__cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav__cta:hover {
    background: var(--red-dark) !important;
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: glowPulse 6s ease-in-out infinite;
    opacity: 0.5;
}

.hero__glow--2 {
    width: 400px;
    height: 400px;
    top: auto;
    right: auto;
    bottom: -100px;
    left: -100px;
    animation-delay: -3s;
    opacity: 0.3;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

.hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--black-border);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-light);
    margin-bottom: 32px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
    50% { box-shadow: 0 0 0 6px transparent; }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero__title--accent {
    background: linear-gradient(135deg, var(--red), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--black-border);
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.hero__stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--red);
}

.hero__stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--red), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn--primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 24px var(--red-glow);
}

.btn--primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--red-glow);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--black-border);
}

.btn--ghost:hover {
    border-color: var(--gray);
    background: rgba(255,255,255,0.03);
}

.btn--large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.about__desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gray-light);
    margin-bottom: 16px;
}

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

.feature-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.1);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--red);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   SOLUTIONS
   ============================================ */
.solutions {
    padding: 120px 0;
    background: var(--black-light);
}

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

.solution-card {
    position: relative;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 20px;
    padding: 48px 40px;
    transition: transform 0.3s, border-color 0.3s;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 57, 70, 0.3);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card--featured {
    border-color: rgba(230, 57, 70, 0.2);
    background: linear-gradient(135deg, var(--black-card), rgba(230, 57, 70, 0.05));
}

.solution-card--featured::before {
    opacity: 1;
}

.solution-card__number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.04);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.solution-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.solution-card__icon {
    color: var(--red);
    flex-shrink: 0;
}

.solution-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.solution-card__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-light);
    margin-bottom: 24px;
}

.solution-card__list {
    margin-bottom: 28px;
}

.solution-card__list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 10px;
    line-height: 1.5;
}

.solution-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}

.solution-card__tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray);
    padding-top: 20px;
    border-top: 1px solid var(--black-border);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 120px 0;
}

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

.process__step {
    position: relative;
    padding: 40px 28px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 16px;
    transition: transform 0.3s, border-color 0.3s;
}

.process__step:hover {
    transform: translateY(-4px);
    border-color: var(--red);
}

.process__step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--red), rgba(230, 57, 70, 0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.process__step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.process__step-content p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   AUDIENCE
   ============================================ */
.audience {
    padding: 120px 0;
    background: var(--black-light);
}

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

.audience__card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.audience__card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
}

.audience__card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--red);
}

.audience__card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.audience__card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.25;
}

.cta__content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta__desc {
    font-size: 1.1rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--black-border);
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__brand .nav__logo-img {
    height: 24px;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--gray-light);
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--red);
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .process__grid,
    .audience__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--black-card);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.35s ease;
        border-left: 1px solid var(--black-border);
    }

    .nav__links.open {
        right: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero__stats {
        gap: 24px;
    }

    .hero__stat-number,
    .hero__stat-suffix {
        font-size: 1.8rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .solution-card {
        padding: 36px 28px;
    }

    .process__grid,
    .audience__grid {
        grid-template-columns: 1fr;
    }

    .footer__content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta__actions {
        flex-direction: column;
    }
}
