/* ========================================================
   ROCA TECH SOLUTIONS — Design System & Styles
   Brand: Deep Navy (#0A192F), Electric Cyan (#00E5FF),
          Stark White (#FFFFFF), Conversion Orange (#FF6B00)
   ======================================================== */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --navy: #0A192F;
    --navy-light: #112240;
    --navy-mid: #0D1F3C;
    --cyan: #00E5FF;
    --cyan-dim: rgba(0, 229, 255, 0.15);
    --cyan-glow: rgba(0, 229, 255, 0.3);
    --white: #FFFFFF;
    --white-60: rgba(255, 255, 255, 0.6);
    --white-80: rgba(255, 255, 255, 0.8);
    --orange: #FF6B00;
    --orange-hover: #FF8A33;
    --danger: #FF4D6A;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-py: 120px;
    --container-max: 1200px;
    --container-px: 24px;

    /* Effects */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.15);
    --transition-fast: 0.2s ease;
    --transition-mid: 0.4s ease;
    --transition-slow: 0.6s ease;
}

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

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* === UTILITIES === */
.text--accent { color: var(--cyan); }
.text--danger { color: var(--danger); }

/* === SECTION BASE === */
.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    position: relative;
    z-index: 5;
}

.section__label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 16px;
}

.section__label--center { text-align: center; }

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

.section__title--center { text-align: center; }

.section__text {
    font-size: 1.05rem;
    color: var(--white-80);
    margin-bottom: 16px;
    max-width: 640px;
}

.section__text--highlight {
    color: var(--cyan);
    font-weight: 600;
    font-size: 1.15rem;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.btn--primary:hover {
    background: var(--orange-hover);
    box-shadow: 0 6px 30px rgba(255, 107, 0, 0.5);
    transform: translateY(-2px);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
}

.btn--ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.btn--lg { padding: 18px 36px; font-size: 1rem; }
.btn--xl { padding: 22px 48px; font-size: 1.15rem; }

.btn__arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-mid);
    background: transparent;
}

.nav--scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__logo-icon {
    width: 36px;
    height: 36px;
}

.nav__logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--white);
}

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

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white-60);
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link:hover {
    color: var(--cyan);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width var(--transition-fast);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--orange);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    box-shadow: 0 2px 12px rgba(255, 107, 0, 0.25);
}

.nav__cta-btn {
    will-change: transform, box-shadow;
}

.nav__cta-btn:hover {
    background: var(--orange-hover);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
    transform: translateY(-1px);
}

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

.nav__mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
}

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

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

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero__tagline {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--cyan);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero__title--accent {
    color: var(--cyan);
    text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--white-80);
    max-width: 520px;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero__stats {
    display: flex;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 1s forwards;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__stat-value {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
    text-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}

.hero__stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
    text-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}

.hero__stat-label {
    font-size: 0.8rem;
    color: var(--white-60);
    letter-spacing: 0.5px;
}

.hero__visual {
    position: relative;
    opacity: 0;
    transform: translateX(40px);
    animation: fadeLeft 1s ease 0.6s forwards;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero__image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.hero__image-glow {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--cyan-dim), transparent 50%);
    z-index: -1;
    filter: blur(20px);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--white-60);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulse-scroll 2s ease infinite;
}

.hero__scroll-indicator svg {
    width: 20px;
    height: 20px;
}

/* === PROBLEM SECTION === */
.problem {
    background: var(--navy-light);
}

.problem__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.problem__pain-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.problem__pain {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 77, 106, 0.06);
    border-left: 3px solid var(--danger);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    transition: all var(--transition-fast);
}

.problem__pain:hover {
    background: rgba(255, 77, 106, 0.1);
    transform: translateX(4px);
}

.problem__pain-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.problem__pain strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.problem__pain span {
    font-size: 0.85rem;
    color: var(--white-60);
}

.problem__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.problem__image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    filter: saturate(0.8);
}

.problem__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 77, 106, 0.1), transparent);
    border-radius: var(--radius-lg);
}

/* === SOLUTION SECTION === */
.solution__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.solution__card {
    background: var(--navy-light);
    border: 1px solid rgba(0, 229, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-mid);
    will-change: transform, box-shadow;
}

.solution__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity var(--transition-mid);
}

.solution__card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.solution__card:hover::before {
    opacity: 1;
}

.solution__card-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(0, 229, 255, 0.5);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
    transition: all var(--transition-mid);
}

.solution__card:hover .solution__card-number {
    color: rgba(0, 229, 255, 1);
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
}

.solution__card-icon {
    margin-bottom: 24px;
}

.solution__card-icon svg {
    width: 48px;
    height: 48px;
}

.solution__card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution__card-text {
    font-size: 0.95rem;
    color: var(--white-60);
    line-height: 1.7;
}

.solution__visual {
    margin-top: 60px;
    text-align: center;
}

.solution__image {
    border-radius: var(--radius-lg);
    max-height: 560px;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.25), 0 20px 60px rgba(0, 229, 255, 0.18), var(--shadow-card);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

/* === PROOF SECTION === */
.proof {
    background: var(--navy-light);
}

.proof__testimonial {
    max-width: 800px;
    margin: 48px auto 0;
    background: var(--navy-mid);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.proof__testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.proof__quote-icon {
    margin-bottom: 20px;
}

.proof__quote-icon svg {
    width: 48px;
    height: 48px;
}

.proof__quote {
    font-size: 1.1rem;
    color: var(--white-80);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 28px;
}

.proof__quote strong {
    color: var(--cyan);
    font-style: normal;
}

.proof__attribution {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.proof__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
}

.proof__name {
    font-weight: 600;
    font-size: 0.95rem;
}

.proof__company {
    font-size: 0.85rem;
    color: var(--white-60);
}

.proof__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.proof__metric {
    text-align: center;
}

.proof__metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 4px;
}

.proof__metric-label {
    font-size: 0.8rem;
    color: var(--white-60);
}

/* === AUTHORITY SECTION === */
.authority__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.authority__stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.authority__tech {
    padding: 6px 16px;
    background: var(--cyan-dim);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cyan);
    transition: all var(--transition-fast);
    will-change: box-shadow, background;
}

.authority__tech:hover {
    background: rgba(0, 229, 255, 0.25);
    border-color: var(--cyan);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
}

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

.authority__role {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--navy-light);
    border: 1px solid rgba(0, 229, 255, 0.06);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    will-change: transform, box-shadow;
}

.authority__role:hover {
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
    transform: translateY(-2px);
}

.authority__role-icon {
    font-size: 1.4rem;
}

.authority__role span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* === GUARANTEE SECTION === */
.guarantee {
    background: var(--navy-light);
}

.guarantee__card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 48px;
    background: var(--navy-mid);
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.guarantee__card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), transparent 40%, transparent 60%, rgba(0, 229, 255, 0.1));
    z-index: -1;
}

.guarantee__icon {
    margin-bottom: 24px;
}

.guarantee__icon svg {
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

.guarantee__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.guarantee__text {
    font-size: 1rem;
    color: var(--white-80);
    line-height: 1.7;
    margin-bottom: 12px;
}

.guarantee__seal {
    display: inline-block;
    margin-top: 28px;
    padding: 8px 32px;
    border: 2px solid var(--cyan);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

/* === FAQ SECTION === */
.faq__list {
    max-width: 720px;
    margin: 48px auto 0;
}

.faq__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

.faq__question:hover {
    color: var(--cyan);
}

.faq__chevron {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform var(--transition-mid);
    color: var(--cyan);
}

.faq__item.active .faq__chevron {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-mid), padding var(--transition-mid);
}

.faq__item.active .faq__answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq__answer p {
    font-size: 0.95rem;
    color: var(--white-60);
    line-height: 1.7;
}

/* === FINAL CTA SECTION === */
.final-cta {
    text-align: center;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.final-cta__bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08), transparent 60%);
    pointer-events: none;
}

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

.final-cta__text {
    font-size: 1.2rem;
    color: var(--white-80);
    margin-bottom: 40px;
}

.final-cta__subtext {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--white-60);
}

/* === FOOTER === */
.footer {
    background: var(--navy-light);
    border-top: 1px solid rgba(0, 229, 255, 0.06);
    padding: 60px 0 32px;
}

.footer__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 60px;
    margin-bottom: 48px;
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--white-60);
    margin-top: 12px;
    max-width: 300px;
}

.footer__links {
    display: flex;
    gap: 80px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.footer__link {
    font-size: 0.9rem;
    color: var(--white-60);
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--cyan);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: var(--white-60);
}

/* === TRON FX === */

/* Tron light-cycle trail SVG (sits over hero) */
.tron-trail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}
@keyframes tronTrace {
    to { stroke-dashoffset: 0; }
}
@keyframes tronFade {
    to { opacity: 0; }
}


/* Tron neon frame: glowing cyan border + corner brackets */
.tron-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(0, 229, 255, 0.35);
    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.15) inset,
        0 0 30px rgba(0, 229, 255, 0.18),
        0 0 60px rgba(0, 229, 255, 0.08);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.tron-frame:hover {
    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.4) inset,
        0 0 50px rgba(0, 229, 255, 0.45),
        0 0 100px rgba(0, 229, 255, 0.18);
}
.tron-frame::before,
.tron-frame::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid var(--cyan);
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.8));
}
.tron-frame::before {
    top: 8px; left: 8px;
    border-right: none; border-bottom: none;
}
.tron-frame::after {
    bottom: 8px; right: 8px;
    border-left: none; border-top: none;
}
.tron-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.tron-frame:hover img { transform: scale(1.04); }

/* Animated scanline sweeping vertically over the frame */
.tron-scanline {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 229, 255, 0.0) 45%,
        rgba(0, 229, 255, 0.45) 50%,
        rgba(255, 255, 255, 0.6) 50.5%,
        rgba(0, 229, 255, 0.45) 51%,
        transparent 56%,
        transparent 100%
    );
    background-size: 100% 240%;
    animation: tronScan 4.2s linear infinite;
    mix-blend-mode: screen;
    opacity: 0.55;
}
@keyframes tronScan {
    0%   { background-position: 0 -120%; }
    100% { background-position: 0 120%; }
}

/* Stacked problem images — second image fades in/out for emphasis */
.problem__image-stack {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    animation: tronCrossfade 9s ease-in-out infinite;
    mix-blend-mode: screen;
}
@keyframes tronCrossfade {
    0%, 40%   { opacity: 0; }
    50%, 80%  { opacity: 0.55; }
    100%      { opacity: 0; }
}

/* Solution gallery — three Tron frames side by side */
.tron-gallery {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 24px;
    align-items: center;
}
.solution__frame {
    height: 360px;
}
.solution__frame--main {
    height: 460px;
}
.solution__frame--main img {
    object-fit: contain;
    background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.08), transparent 70%);
}

/* Proof — relief image pair above the testimonial */
.proof__relief-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}
.proof__relief {
    height: 320px;
}
.proof__relief img {
    object-position: top center;
}

/* Tron divider — animated light strip between sections */
.tron-divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 229, 255, 0.0) 30%,
        var(--cyan) 50%,
        rgba(0, 229, 255, 0.0) 70%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: tronStream 4s linear infinite;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}
@keyframes tronStream {
    0%   { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

/* Tron circuit pattern overlay (subtle, body-wide) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 229, 255, 0.015) 3px 4px),
        repeating-linear-gradient(90deg, transparent 0 3px, rgba(0, 229, 255, 0.015) 3px 4px);
    mix-blend-mode: screen;
}

@media (max-width: 900px) {
    .tron-gallery {
        grid-template-columns: 1fr;
    }
    .solution__frame, .solution__frame--main { height: 320px; }
    .proof__relief-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .tron-scanline,
    .problem__image-stack,
    .tron-divider {
        animation: none !important;
    }
}

/* === WOW FX === */

/* Cursor halo — soft cyan spotlight that follows the pointer */
.glow-cursor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        320px circle at var(--mouse-x, -200px) var(--mouse-y, -200px),
        rgba(0, 229, 255, 0.08),
        transparent 60%
    );
    mix-blend-mode: screen;
    transition: background 0.08s linear;
}

/* Hero neural network canvas */
.hero__neural {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Hacker text scramble — glowing transient char */
.scramble__char {
    color: var(--cyan);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
    opacity: 0.95;
}

/* Magnetic buttons — smooth drift back to rest */
.magnetic {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* Shine sweep on reveal */
.shine-host {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.shine-host::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(0, 229, 255, 0.18) 48%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(0, 229, 255, 0.18) 52%,
        transparent 70%
    );
    transform: translateX(-110%);
    pointer-events: none;
    z-index: 2;
}
.shine-host.shine-go::after {
    animation: shineSweep 1.2s ease-out forwards;
}
@keyframes shineSweep {
    to { transform: translateX(110%); }
}

/* Subtle glitch on hero accent */
@keyframes glitchShift {
    0%   { transform: translate(0, 0); text-shadow: 0 0 40px rgba(0, 229, 255, 0.3); }
    20%  { transform: translate(-2px, 1px); text-shadow: 2px 0 0 #FF4D6A, -2px 0 0 var(--cyan), 0 0 40px rgba(0, 229, 255, 0.6); }
    40%  { transform: translate(2px, -1px); text-shadow: -2px 0 0 #FF4D6A, 2px 0 0 var(--cyan); }
    60%  { transform: translate(-1px, 0); text-shadow: 1px 0 0 var(--cyan), -1px 0 0 #FF4D6A; }
    100% { transform: translate(0, 0); text-shadow: 0 0 40px rgba(0, 229, 255, 0.3); }
}
.hero__title--accent.glitch {
    animation: glitchShift 0.32s steps(2, end);
}

/* Tech chips — holographic shimmer + lift */
.authority__tech {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.authority__tech::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        120deg,
        transparent 35%,
        rgba(0, 229, 255, 0.55) 50%,
        transparent 65%
    );
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    pointer-events: none;
}
.authority__tech:hover {
    transform: translateY(-3px);
    color: var(--cyan);
    border-color: var(--cyan) !important;
    box-shadow: 0 8px 28px rgba(0, 229, 255, 0.25);
}
.authority__tech:hover::before {
    transform: translateX(120%);
}

/* Background grid — subtle parallax breathing */
@keyframes gridDrift {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px; }
}
.hero__bg-grid {
    animation: gridDrift 24s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hero__bg-grid,
    .shine-host.shine-go::after,
    .hero__title--accent.glitch {
        animation: none !important;
    }
}

/* === ANIMATIONS === */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-scroll {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* Scroll reveal animation class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    :root {
        --section-py: 80px;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        margin: 0 auto 36px;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__visual {
        max-width: 600px;
        margin: 0 auto;
    }

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

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

    .solution__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    }

    .nav__links.active {
        display: flex;
    }

    .nav__cta-btn {
        display: none;
    }

    .nav__mobile-toggle {
        display: flex;
    }

    .nav__logo-text {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .proof__testimonial {
        padding: 32px 24px;
    }

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

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

    .guarantee__card {
        padding: 40px 24px;
    }

    .footer__top {
        flex-direction: column;
        gap: 32px;
    }

    .footer__links {
        flex-direction: column;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero__scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

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

/* === FLOATING CONTACT WIDGET === */
/* ===== FLOATING CONTACT — TRON LEGACY EDITION ===== */
.floating-contact {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 1000;
    /* entry animation: slide in from right */
    animation: contactEntrance 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 1.2s both;
}

@keyframes contactEntrance {
    from { transform: translateX(90px); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* TRON connector line between the two buttons */
.floating-contact::before {
    content: '';
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom,
        rgba(0, 229, 255, 0.6),
        rgba(0, 229, 255, 0.15));
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
    animation: connectorFlicker 3s ease-in-out infinite;
}

@keyframes connectorFlicker {
    0%, 100% { opacity: 0.8; }
    45%      { opacity: 0.3; }
    50%      { opacity: 1;   }
    55%      { opacity: 0.5; }
}

.contact-bubble {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.25s ease,
                filter 0.25s ease;
    /* TRON hexagonal clip suggestion via border */
    outline: none;
    text-decoration: none;
}

.contact-bubble:hover {
    transform: scale(1.14) translateY(-4px);
}

.contact-bubble:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

/* Tooltip */
.contact-bubble::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: rgba(10, 25, 47, 0.92);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: var(--cyan);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}

.contact-bubble:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Animated orbit ring */
.contact-bubble__ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid transparent;
    pointer-events: none;
    animation: bubbleRingSpin 5s linear infinite;
}

.contact-bubble__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    animation: bubblePulseOut 2.5s ease-out infinite;
}

@keyframes bubbleRingSpin {
    to { transform: rotate(360deg); }
}

@keyframes bubblePulseOut {
    0%   { transform: scale(1);    opacity: 0.6; }
    80%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

.contact-bubble svg {
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
    transition: filter 0.25s ease;
}

/* WhatsApp */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow:
        0 0 0 1px rgba(37, 211, 102, 0.5),
        0 4px 20px rgba(37, 211, 102, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.15);
}
.whatsapp-btn .contact-bubble__ring {
    border-color: rgba(37, 211, 102, 0.7);
    border-top-color: #25D366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}
.whatsapp-btn .contact-bubble__pulse {
    background: radial-gradient(circle, rgba(37, 211, 102, 0.35) 0%, transparent 70%);
}
.whatsapp-btn:hover {
    box-shadow:
        0 0 0 1px rgba(37, 211, 102, 0.8),
        0 6px 28px rgba(37, 211, 102, 0.7),
        0 0 40px rgba(37, 211, 102, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.2);
    filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.8));
}

/* Telegram */
.telegram-btn {
    background: linear-gradient(135deg, #2AABEE 0%, #006EA0 100%);
    box-shadow:
        0 0 0 1px rgba(0, 136, 204, 0.5),
        0 4px 20px rgba(0, 136, 204, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.15);
    animation-delay: 0.5s;
}
.telegram-btn .contact-bubble__ring {
    border-color: rgba(0, 136, 204, 0.7);
    border-top-color: #2AABEE;
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
    animation-duration: 4s;
    animation-direction: reverse;
}
.telegram-btn .contact-bubble__pulse {
    background: radial-gradient(circle, rgba(0, 136, 204, 0.35) 0%, transparent 70%);
    animation-delay: 1.25s;
}
.telegram-btn:hover {
    box-shadow:
        0 0 0 1px rgba(0, 136, 204, 0.8),
        0 6px 28px rgba(0, 136, 204, 0.7),
        0 0 40px rgba(0, 136, 204, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.2);
    filter: drop-shadow(0 0 10px rgba(0, 136, 204, 0.8));
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    .contact-bubble {
        width: 50px;
        height: 50px;
    }
    .contact-bubble svg {
        width: 24px;
        height: 24px;
    }
    .contact-bubble::after { display: none; }
}
