/* ========================================
   TRENDMEUP Homepage Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    /* Color Palette */
    --bg-dark: #0B1628;
    --bg-accent: #1A4B5C;
    --bg-gradient: linear-gradient(135deg, #0B1628 0%, #0F2337 50%, #1A4B5C 100%);

    --text-white: #FFFFFF;
    --text-muted: #B0BEC5;
    --text-light: #E0E7EE;

    --btn-primary: #00B4D8;
    --btn-primary-dark: #0096B7;
    --btn-glow: rgba(0, 180, 216, 0.4);
    --btn-glow-strong: rgba(0, 180, 216, 0.6);

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --container-max: 1280px;
    --container-padding: 24px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: auto;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(11, 22, 40, 0.95) 0%,
        rgba(11, 22, 40, 0.85) 40%,
        rgba(11, 22, 40, 0.4) 70%,
        rgba(11, 22, 40, 0.2) 100%
    );
}

.hero__logo {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__logo img {
    width: 50px;
    height: auto;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(160deg);
    opacity: 0.6;
}

.hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
    padding-top: 80px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    align-items: end;
}

/* Hero Content (Left) */
.hero__content {
    max-width: 100%;
    padding-bottom: 15vh;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}

/* CTA Buttons */
.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    padding: 16px 48px;
    font-size: 1rem;
    color: var(--bg-dark);
    background: linear-gradient(135deg, #00D4FF 0%, #00B4D8 50%, #0096B7 100%);
    border-radius: 12px;
    box-shadow:
        0 0 20px var(--btn-glow),
        0 0 40px var(--btn-glow),
        0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #00E5FF 0%, #00D4FF 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 30px var(--btn-glow-strong),
        0 0 60px var(--btn-glow),
        0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn--primary:hover::before {
    opacity: 1;
}

.btn--primary span {
    position: relative;
    z-index: 1;
}

.btn--secondary {
    padding: 12px 0;
    font-size: 0.9375rem;
    color: var(--text-light);
    background: transparent;
}

.btn--secondary:hover {
    color: var(--text-white);
}

.btn--secondary i {
    transition: transform 0.3s ease;
}

.btn--secondary:hover i {
    transform: translateX(4px);
}

/* Hero Image (Right) */
.hero__image {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}

.hero__image img {
    height: 80vh;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    object-position: top center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero__image-caption {
    position: absolute;
    bottom: 5%;
    left: 0;
    text-align: left;
    z-index: 2;
}

.hero__image-tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--btn-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.hero__image-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.hero__image-role {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero__image-cta {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    padding: 10px 20px;
    background: rgba(0, 180, 216, 0.2);
    border: 1px solid rgba(0, 180, 216, 0.4);
    border-radius: 8px;
    display: inline-block;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem {
    padding: 60px 5% 40px;
    background: #0B1628;
    position: relative;
    overflow: hidden;
}

.problem__header {
    text-align: center;
    margin-bottom: 40px;
}

.problem__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.problem__heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.problem__description {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.problem::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.problem__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.problem__item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.problem__item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.problem__item--result {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border-color: rgba(0, 180, 216, 0.3);
}

.problem__item--result:hover {
    border-color: rgba(0, 180, 216, 0.5);
    box-shadow: 0 20px 60px rgba(0, 180, 216, 0.15);
}

.problem__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    flex-shrink: 0;
}

.problem__icon i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.6);
}

.problem__icon--glow {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.3);
}

.problem__icon--glow i {
    color: #00D4FF;
}

.problem__content {
    text-align: left;
}

.problem__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 4px;
}

.problem__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.highlight {
    font-weight: 700;
}

.highlight--cyan {
    color: #00D4FF;
}

.highlight--purple {
    color: #A855F7;
}

.highlight--gradient {
    background: linear-gradient(135deg, #00D4FF 0%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.problem__connector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem__plus,
.problem__equals {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
}

.problem__equals {
    font-size: 2.5rem;
    color: #00D4FF;
    text-shadow: 0 0 20px rgba(0, 180, 216, 0.5);
}

/* Problem Section Responsive */
@media (max-width: 1100px) {
    .problem__container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .problem__item {
        padding: 24px 30px;
    }

    .problem__title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .problem {
        padding: 50px 5% 30px;
    }

    .problem__header {
        margin-bottom: 30px;
    }

    .problem__container {
        flex-direction: column;
        gap: 16px;
    }

    .problem__item {
        width: 100%;
        max-width: 400px;
        padding: 20px 24px;
    }

    .problem__icon {
        width: 50px;
        height: 50px;
    }

    .problem__icon i {
        font-size: 24px;
    }

    .problem__title {
        font-size: 1.125rem;
    }

    .problem__subtitle {
        font-size: 0.875rem;
    }

    .problem__connector {
        height: 30px;
    }

    .problem__plus,
    .problem__equals {
        font-size: 1.5rem;
    }

    .problem__equals {
        font-size: 1.75rem;
    }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: 100px 5%;
    background: linear-gradient(180deg, #0a0f18 0%, #0B1628 100%);
}

.services__container {
    max-width: 1200px;
    margin: 0 auto;
}

.services__header {
    text-align: center;
    margin-bottom: 80px;
}

.services__badge {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--btn-primary);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
}

.services__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.services__description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Service Row - Alternating Layout */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-row:last-child {
    border-bottom: none;
}

.service-row--reverse {
    direction: rtl;
}

.service-row--reverse > * {
    direction: ltr;
}

.service-row__content {
    padding: 20px 0;
}

.service-row__number {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.service-row--blue .service-row__number { color: #3B82F6; }
.service-row--purple .service-row__number { color: #8B5CF6; }
.service-row--orange .service-row__number { color: #F59E0B; }
.service-row--green .service-row__number { color: #10B981; }

.service-row__title {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.service-row__description {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.service-row__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

/* ========================================
   FUNNEL DIAGRAM (Blue)
   ======================================== */
.funnel-diagram {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 30px 40px;
    background: linear-gradient(180deg, rgba(0, 180, 216, 0.08) 0%, rgba(0, 180, 216, 0.02) 100%);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 16px;
    clip-path: polygon(0 0, 100% 25%, 100% 75%, 0 100%);
}

.funnel-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.funnel-stage--1 { min-width: 85px; min-height: 100px; }
.funnel-stage--2 { min-width: 78px; min-height: 88px; }
.funnel-stage--3 { min-width: 70px; min-height: 76px; }
.funnel-stage--4 { min-width: 62px; min-height: 64px; }
.funnel-stage--5 { min-width: 54px; min-height: 52px; }

.funnel-stage:hover {
    background: rgba(0, 180, 216, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.2);
}

.funnel-stage i {
    font-size: 22px;
    color: #00B4D8;
}

.funnel-stage--4 i,
.funnel-stage--5 i {
    font-size: 18px;
}

.funnel-stage__label {
    font-size: 10px;
    font-weight: 600;
    color: #3B82F6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.funnel-stage--4 .funnel-stage__label,
.funnel-stage--5 .funnel-stage__label {
    font-size: 9px;
}

.funnel-arrow {
    color: rgba(0, 180, 216, 0.5);
    font-size: 16px;
}

/* ========================================
   LANDING SHOWCASE (Purple)
   ======================================== */
.landing-showcase {
    width: 100%;
    max-width: 500px;
    height: 280px;
    background-image: url('../assets/images/general/hero-background.webp');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    box-shadow:
        0 20px 60px rgba(139, 92, 246, 0.2),
        0 0 0 1px rgba(139, 92, 246, 0.1);
}

/* ========================================
   ADS FLOW DIAGRAM (Orange)
   ======================================== */
.ads-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
}

.ads-flow__linear {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ads-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    min-width: 100px;
    transition: all 0.3s ease;
}

.ads-step:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.ads-step__icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-step__icon i {
    font-size: 24px;
    color: #F59E0B;
}

.ads-step span {
    font-size: 12px;
    font-weight: 600;
    color: #F59E0B;
    text-align: center;
}

.ads-arrow {
    color: rgba(245, 158, 11, 0.5);
    font-size: 20px;
}

.ads-flow__label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 30px;
    color: #F59E0B;
    font-size: 13px;
    font-weight: 600;
}

.ads-flow__label i {
    font-size: 18px;
}

/* ========================================
   VIRAL SCOPE FLOW (Green)
   ======================================== */
.service-row--green .service-row__visual {
    flex-direction: column;
    gap: 20px;
}

.viral-flow {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
}

.viral-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    min-width: 100px;
    transition: all 0.3s ease;
}

.viral-step:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.viral-step__icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viral-step__icon i {
    font-size: 24px;
    color: #10B981;
}

.viral-step span {
    font-size: 12px;
    font-weight: 600;
    color: #10B981;
    text-align: center;
}

.viral-arrow {
    color: rgba(16, 185, 129, 0.5);
    font-size: 20px;
}

.viral-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.viral-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 30px;
    color: #10B981;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.viral-badge i {
    font-size: 14px;
}

/* ========================================
   SERVICES RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .service-row--reverse {
        direction: ltr;
    }

    .service-row__content {
        order: 1;
    }

    .service-row__visual {
        order: 2;
    }

    .funnel-diagram {
        flex-wrap: wrap;
        justify-content: center;
        clip-path: none;
    }

    .funnel-stage--1,
    .funnel-stage--2,
    .funnel-stage--3,
    .funnel-stage--4,
    .funnel-stage--5 {
        min-width: 60px;
        min-height: auto;
        padding: 12px 8px;
    }

    .funnel-stage i,
    .funnel-stage--4 i,
    .funnel-stage--5 i {
        font-size: 20px;
    }

    .funnel-stage__label,
    .funnel-stage--4 .funnel-stage__label,
    .funnel-stage--5 .funnel-stage__label {
        font-size: 9px;
    }
}

@media (max-width: 600px) {
    .services {
        padding: 60px 5%;
    }

    .services__header {
        margin-bottom: 40px;
    }

    .service-row {
        padding: 40px 0;
    }

    .service-row__visual {
        min-height: auto;
    }

    /* Vertical funnel on mobile */
    .funnel-diagram {
        flex-direction: column;
        align-items: center;
        padding: 30px 40px;
        gap: 6px;
        clip-path: polygon(0 0, 100% 0, 75% 100%, 25% 100%);
    }

    .funnel-stage {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        min-height: auto;
        padding: 10px 14px;
    }

    .funnel-stage--1,
    .funnel-stage--2,
    .funnel-stage--3,
    .funnel-stage--4,
    .funnel-stage--5 {
        min-width: unset;
        width: auto;
    }

    .funnel-arrow {
        font-size: 12px;
        transform: rotate(90deg);
    }

    .ads-flow__linear {
        flex-direction: column;
        gap: 12px;
    }

    .ads-arrow {
        transform: rotate(90deg);
    }

    .ads-step {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        min-width: auto;
        padding: 12px 20px;
    }

    .viral-flow {
        flex-direction: column;
        gap: 12px;
    }

    .viral-arrow {
        transform: rotate(90deg);
    }

    .viral-step {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
}

/* ========================================
   AI AUTOMATION SECTION
   ======================================== */
.automation {
    padding: 100px 5%;
    background: linear-gradient(180deg, #f8f9fc 0%, #eef1f6 100%);
    position: relative;
    overflow: hidden;
}

.automation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.automation__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.automation__header {
    text-align: center;
    margin-bottom: 60px;
}

.automation__badge {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    color: #00B4D8;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
}

.automation__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.automation__description {
    font-size: 18px;
    color: #5a6a7a;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.automation__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.automation-step {
    background: #ffffff;
    border: 1px solid rgba(0, 180, 216, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.automation-step:hover {
    border-color: rgba(0, 180, 216, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 180, 216, 0.12);
}

.automation-step__number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(0, 180, 216, 0.3);
    letter-spacing: 1px;
}

.automation-step__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.2) 0%, rgba(0, 180, 216, 0.1) 100%);
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.15);
}

.automation-step__icon i {
    font-size: 28px;
    color: #00B4D8;
}

.automation-step__title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.automation-step__description {
    font-size: 15px;
    color: #5a6a7a;
    line-height: 1.7;
    margin: 0;
}

/* Automation Responsive */
@media (max-width: 1024px) {
    .automation__steps {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .automation-step {
        padding: 36px 28px;
    }
}

@media (max-width: 600px) {
    .automation {
        padding: 60px 5%;
    }

    .automation__header {
        margin-bottom: 40px;
    }

    .automation-step {
        padding: 30px 24px;
    }

    .automation-step__icon {
        width: 56px;
        height: 56px;
    }

    .automation-step__icon i {
        font-size: 24px;
    }

    .automation-step__title {
        font-size: 20px;
    }

    .automation-step__description {
        font-size: 14px;
    }
}

/* ========================================
   STRATEGY CTA SECTION
   ======================================== */
.strategy {
    padding: 100px 5%;
    background: linear-gradient(135deg, #0F2337 0%, #1A4B5C 100%);
    position: relative;
    overflow: hidden;
}

.strategy::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(0, 180, 216, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.strategy__container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.strategy__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 180, 216, 0.2);
    border: 1px solid rgba(0, 180, 216, 0.4);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--btn-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.strategy__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.strategy__description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.strategy__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
    margin-bottom: 40px;
}

.strategy__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.strategy__list i {
    color: var(--btn-primary);
    font-size: 18px;
}

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

.btn--large i {
    font-size: 20px;
}

/* Strategy Form */
.strategy__form {
    background: rgba(11, 22, 40, 0.6);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--btn-primary);
    background: rgba(0, 180, 216, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.form-select option {
    background: #0B1628;
    color: var(--text-white);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.phone-input-wrapper {
    display: flex;
    gap: 10px;
}

.country-select {
    width: 90px;
    flex-shrink: 0;
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 14px;
    padding-right: 24px;
}

.country-select:focus {
    outline: none;
    border-color: var(--btn-primary);
}

.country-select option {
    background: #0B1628;
}

.phone-input {
    flex: 1;
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 60px;
    color: #00D4FF;
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 12px;
}

.form-success p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 24px;
}

.form-success__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.btn--whatsapp {
    padding: 14px 24px;
    font-size: 0.9375rem;
    color: #fff;
    background: #25D366;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn--whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp i {
    font-size: 20px;
    color: #fff;
    margin-bottom: 0;
}

.form-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #EF4444;
    font-size: 14px;
}

/* Strategy Responsive */
@media (max-width: 600px) {
    .strategy {
        padding: 60px 5%;
    }

    .strategy__list {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn--large {
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal__container {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #0F2337 0%, #1A3A4A 100%);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 20px;
    padding: 40px;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.modal.is-open .modal__container {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    transition: all 0.2s ease;
}

.modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.modal__header {
    text-align: center;
    margin-bottom: 32px;
}

.modal__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.modal__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

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

@media (max-width: 600px) {
    .modal__container {
        padding: 30px 24px;
    }

    .modal__title {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   HISTORY SECTION
   ======================================== */
.history {
    padding: 100px 5%;
    width: 100%;
    background: linear-gradient(135deg, #0B1628 0%, #0F2337 100%);
    position: relative;
    overflow: hidden;
}

.history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.history__header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.history__badge {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--btn-primary);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
}

.history__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.history__description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Two-column layout with center timeline */
.history__content {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    grid-template-rows: auto auto auto;
    gap: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Position cards in zig-zag pattern */
.history-card[data-order="1"] {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
}

.history-card[data-order="2"] {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
}

.history-card[data-order="3"] {
    grid-column: 1;
    grid-row: 3;
    justify-self: end;
}

/* Center Timeline Line */
.history__timeline-line {
    grid-column: 2;
    grid-row: 1 / 4;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.history__timeline-line::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom,
        rgba(0, 180, 216, 0.3) 0%,
        var(--btn-primary) 15%,
        var(--btn-primary) 85%,
        rgba(0, 180, 216, 0.3) 100%);
}

/* Connector Dots - positioned relative to each row */
.timeline-dot {
    width: 14px;
    height: 14px;
    background: var(--btn-primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.6);
}

.timeline-dot--1 {
    top: 80px;
}

.timeline-dot--2 {
    top: 50%;
    transform: translate(-50%, -50%);
}

.timeline-dot--3 {
    bottom: 80px;
}

/* History Card */
.history-card {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.history-card__year {
    display: inline-block;
    background: var(--btn-primary);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.history-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 0 30px rgba(0, 180, 216, 0.3),
        0 0 60px rgba(0, 180, 216, 0.15),
        inset 0 0 0 1px rgba(0, 180, 216, 0.3);
}

.history-card__image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.5), rgba(0, 180, 216, 0.1));
    border-radius: 18px;
    z-index: -1;
}

.history-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.history-card__title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.history-card__text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.history-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

/* History Tablet */
@media (max-width: 900px) {
    .history__content {
        grid-template-columns: 30px 1fr;
        grid-template-rows: auto auto auto;
        gap: 40px;
    }

    .history-card[data-order="1"],
    .history-card[data-order="2"],
    .history-card[data-order="3"] {
        grid-column: 2;
        justify-self: start;
        max-width: 100%;
    }

    .history-card[data-order="1"] {
        grid-row: 1;
    }

    .history-card[data-order="2"] {
        grid-row: 2;
    }

    .history-card[data-order="3"] {
        grid-row: 3;
    }

    .history__timeline-line {
        grid-column: 1;
        grid-row: 1 / 4;
    }

    .timeline-dot--1 {
        top: 60px;
    }

    .timeline-dot--2 {
        top: 50%;
    }

    .timeline-dot--3 {
        bottom: 60px;
    }
}

@media (max-width: 600px) {
    .history {
        padding: 60px 5%;
    }

    .history__content {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .history__timeline-line {
        display: none;
    }

    .history-card {
        order: var(--mobile-order, 0);
    }

    .history-card[data-order="1"] {
        order: 1;
    }

    .history-card[data-order="2"] {
        order: 2;
    }

    .history-card[data-order="3"] {
        order: 3;
    }

    .history-card__image {
        box-shadow:
            0 0 20px rgba(0, 180, 216, 0.25),
            0 0 40px rgba(0, 180, 216, 0.1);
    }

    .history-card__overlay {
        padding: 40px 15px 15px 15px;
    }

    .history-card__title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .history-card__text {
        font-size: 14px;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 40px var(--container-padding);
    background: #060a10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__content {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.footer__copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer__address {
    font-size: 0.8125rem;
    font-style: normal;
    color: rgba(176, 190, 197, 0.6);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .hero__logo {
        top: 16px;
    }

    .hero__logo img {
        width: 50px;
        opacity: 0.5;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 80px;
        padding-bottom: 0;
    }

    .hero__content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px;
    }

    .hero__subtitle {
        max-width: 600px;
    }

    .hero__cta {
        align-items: center;
    }

    .hero__image {
        justify-content: flex-end;
        min-height: auto;
        margin-top: 8px;
    }

    .hero__image img {
        height: 50vh;
        max-height: none;
        object-fit: cover;
        object-position: top center;
    }

    .hero__image-caption {
        position: absolute;
        bottom: 5%;
        left: 0;
        right: auto;
        text-align: left;
        margin-top: 0;
    }

    .history__content {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }

    .hero__logo img {
        width: 40px;
    }

    .hero {
        min-height: auto;
        padding: 40px 0 0;
    }

    .hero__container {
        padding-top: 60px;
        gap: 0;
    }

    .hero__content {
        padding-bottom: 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn--primary {
        padding: 14px 28px;
        width: 100%;
        max-width: 300px;
    }

    .hero__image {
        margin-top: 8px;
        justify-content: flex-end;
        padding-left: 20%;
    }

    .hero__image img {
        height: 60vh;
        width: auto;
        max-height: none;
        object-fit: cover;
        object-position: center 15%;
    }

    .hero__image-caption {
        top: 5%;
        bottom: auto;
        left: 0;
    }

    .hero__image-tagline {
        font-size: 9px;
        letter-spacing: 1px;
        margin-bottom: 2px;
    }

    .hero__image-name {
        font-size: 16px;
        margin-bottom: 0;
    }

    .hero__image-role {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .hero__image-cta {
        font-size: 11px;
        padding: 6px 12px;
    }

    .history__header {
        margin-bottom: 40px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.75rem;
    }

    .hero__image img {
        height: 55vh;
        width: auto;
        object-position: center 15%;
    }
}
