/* -------------------- RESET + BASE -------------------- */

html {
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background-color: #060d1a;
    color: white;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -------------------- HEADER + NAV -------------------- */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                backdrop-filter 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    background: transparent;
}

.header.scrolled {
    background: rgba(6, 13, 26, 0.72);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header .logo-container {
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.header .logo-container img {
    height: 46px;
    margin-right: 10px;
}

.header .logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: white;
}

.nav {
    display: flex;
    gap: 50px;
    margin-right: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2A6BFF;
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a:hover {
    color: white;
}

.nav a:hover::after {
    width: 100%;
}

.nav a.active {
    color: white;
}

.nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 11;
    margin-right: 25px;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

/* -------------------- HERO -------------------- */

.solutions-main {
    min-height: 100vh;
}

.solutions-hero {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    padding: 0 8%;
    background-color: #060d1a;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Particle canvas sits behind everything */
#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.solutions-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../ressources/starry.png');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}

/* Multiple glow orbs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    top: 10%;
    left: 20%;
    background: radial-gradient(circle, rgba(42, 107, 255, 0.15) 0%, transparent 70%);
    animation: glowFloat1 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    bottom: 10%;
    right: 15%;
    background: radial-gradient(circle, rgba(138, 92, 255, 0.1) 0%, transparent 70%);
    animation: glowFloat2 10s ease-in-out infinite;
}

.hero-glow-3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 60%;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.08) 0%, transparent 70%);
    animation: glowFloat3 12s ease-in-out infinite;
}

@keyframes glowFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -40px); }
}

@keyframes glowFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, 30px); }
}

@keyframes glowFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.hero-center,
.scroll-indicator {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(6, 13, 26, 0.6) 70%, rgba(6, 13, 26, 1) 100%);
    z-index: 1;
}

.hero-center {
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-kicker {
    font-size: 0.82rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0;
    margin-bottom: 28px;
    color: #6b9fff;
    font-weight: 600;
    animation: fadeUp 1s ease 0.2s forwards;
}

/* Hero title with letter-by-letter reveal */
.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 28px;
    letter-spacing: -0.03em;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.hero-title .word {
    display: inline-block;
    overflow: hidden;
}

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: charReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
    opacity: 0;
    color: rgba(255, 255, 255, 0.55);
    max-width: 560px;
    margin: 0 auto 48px;
    font-weight: 400;
    animation: fadeUp 1s ease 1.2s forwards;
}

.hero-cta {
    border: none;
    background: linear-gradient(135deg, #2A6BFF 0%, #5b8fff 100%);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 18px 44px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(42, 107, 255, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    opacity: 0;
    animation: fadeUp 1s ease 1.4s forwards;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-cta:hover::before {
    transform: translateX(100%);
}

.hero-cta-icon {
    font-size: 1.1rem;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 48px rgba(42, 107, 255, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}

.hero-cta:hover .hero-cta-icon {
    transform: translateX(6px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: fadeUp 1s ease 1.6s forwards;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.25);
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    transform: rotate(45deg);
    animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.3; }
    50% { transform: rotate(45deg) translate(8px, 8px); opacity: 0.8; }
}

/* -------------------- STATS COUNTER SECTION -------------------- */

.stats-section {
    padding: 80px 8%;
    background: linear-gradient(180deg, #060d1a 0%, #0a1430 50%, #060d1a 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42, 107, 255, 0.2), transparent);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 140px;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #6b9fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* -------------------- SOLUTIONS GRID OVERVIEW -------------------- */

.solutions-overview {
    padding: 100px 8% 80px;
    background-color: #060d1a;
    position: relative;
}

.overview-label {
    font-size: 0.78rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #6b9fff;
    font-weight: 600;
    margin-bottom: 16px;
}

.overview-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin: 0 0 64px;
    letter-spacing: -0.03em;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Glowing border card */
.solution-card-mini {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: white;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animated glow border on hover */
.solution-card-mini::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    padding: 1px;
    background: conic-gradient(from var(--angle, 0deg), transparent 40%, rgba(42, 107, 255, 0.5), rgba(138, 92, 255, 0.5), rgba(0, 200, 255, 0.5), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.solution-card-mini:hover::before {
    opacity: 1;
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    to { --angle: 360deg; }
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.solution-card-mini:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
}

/* Glow effect behind card on hover */
.solution-card-mini::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 50%, rgba(42, 107, 255, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.solution-card-mini:hover::after {
    opacity: 1;
}

.card-mini-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-card-mini:hover .card-mini-icon {
    transform: scale(1.1);
}

.card-mini-text {
    text-align: left;
    position: relative;
    z-index: 1;
}

.card-mini-name {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.card-mini-desc {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
}

.card-mini-arrow {
    margin-left: auto;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.solution-card-mini:hover .card-mini-arrow {
    color: #6b9fff;
    transform: translateX(4px);
}

/* Card icon colors */
.icon-blue { background: rgba(42, 107, 255, 0.12); color: #5b9aff; }
.icon-cyan { background: rgba(0, 200, 255, 0.1); color: #00c8ff; }
.icon-purple { background: rgba(138, 92, 255, 0.12); color: #a07cff; }
.icon-green { background: rgba(52, 199, 89, 0.12); color: #34c759; }
.icon-orange { background: rgba(255, 148, 17, 0.12); color: #FF9411; }
.icon-red { background: rgba(255, 69, 58, 0.12); color: #ff6b6b; }
.icon-teal { background: rgba(0, 199, 190, 0.12); color: #00c7be; }
.icon-gold { background: rgba(255, 214, 10, 0.12); color: #ffd60a; }

/* -------------------- SCROLL PROGRESS DOTS -------------------- */

.scroll-progress {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scroll-progress.visible {
    opacity: 1;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.scroll-dot.active {
    background: #2A6BFF;
    box-shadow: 0 0 12px rgba(42, 107, 255, 0.5);
    transform: scale(1.4);
}

.scroll-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.3);
}

.scroll-dot .dot-label {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-50%) translateX(8px);
}

.scroll-dot:hover .dot-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* -------------------- PRODUCT SECTIONS -------------------- */

.solution-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Each section has its own subtle bg color shift */
.solution-section:nth-child(odd) {
    background: linear-gradient(180deg, #060d1a 0%, #0a1430 50%, #060d1a 100%);
}

.solution-section:nth-child(even) {
    background: linear-gradient(180deg, #060d1a 0%, #0d1225 50%, #060d1a 100%);
}

/* Ambient glow per section */
.section-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.4;
    z-index: 0;
}

.solution-inner {
    margin: 0 auto;
    max-width: 1400px;
    padding: 140px 48px;
    text-align: left;
    position: relative;
    z-index: 1;
}

/* ---- Header ---- */

.solution-header-row {
    margin-bottom: 64px;
}

.solution-title-block {
    width: 100%;
}

.solution-category {
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #6b9fff;
    font-weight: 600;
    margin: 0 0 14px;
}

.solution-name-main {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 20%, rgba(255, 255, 255, 0.35) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.05;
}

.solution-tagline {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.5);
    margin: 20px 0 0;
    line-height: 1.7;
    max-width: 560px;
}

/* ---- Main content grid ---- */

.solution-main-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 56px;
}

.solution-main-row.reverse {
    direction: rtl;
}

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

.solution-text {
    font-size: 0.98rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.72);
}

.solution-subtitle {
    font-size: 1rem;
    font-weight: 700;
    margin: 32px 0 10px;
    color: #ffffff;
}

.solution-subtitle:first-of-type {
    margin-top: 0;
}

.solution-feature-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 18px 0 6px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}

.solution-list {
    padding-left: 20px;
    margin: 10px 0 18px;
}

.solution-list li {
    margin-bottom: 10px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}

.solution-list li::marker {
    color: #2A6BFF;
}

.solution-pricing {
    margin-top: 32px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.solution-pricing strong {
    color: #6b9fff;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ---- Visual with 3D tilt ---- */

.solution-visual,
.solution-visual-sarchat,
.solution-visual-ch16 {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.solution-visual img,
.solution-visual-sarchat img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
    will-change: transform;
}

.solution-visual:hover img,
.solution-visual-sarchat:hover img {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 60px rgba(42, 107, 255, 0.1);
}

/* CH16 mobile mockup — no frame, taller aspect */
.solution-visual-ch16 img {
    max-width: 85%;
    max-height: 620px;
    height: auto;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 60px rgba(255, 214, 10, 0.12));
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
    will-change: transform;
}

.solution-visual-ch16:hover img {
    filter: drop-shadow(0 50px 100px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 80px rgba(255, 214, 10, 0.2));
}

/* CH16 store badges */
.ch16-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.ch16-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.ch16-badge i {
    font-size: 1.8rem;
}

.ch16-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ch16-badge small {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ch16-badge strong {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ch16-badge-apple:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.ch16-badge-android {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ---- Actions ---- */

.solution-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* -------------------- BUTTONS -------------------- */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #2A6BFF 0%, #4d8aff 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 24px rgba(42, 107, 255, 0.25);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(42, 107, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* -------------------- SECTION BROCHURE -------------------- */

.brochure-section {
    padding: 80px 8% 140px;
    background: linear-gradient(180deg, #060d1a 0%, #0a1430 100%);
    text-align: center;
    position: relative;
}

.brochure-section::before {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42, 107, 255, 0.25), transparent);
    margin: 0 auto 80px;
}

.brochure-inner {
    max-width: 680px;
    margin: 0 auto;
}

.brochure-cover {
    width: 200px;
    max-width: 50%;
    height: auto;
    margin-bottom: 36px;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.brochure-cover:hover {
    transform: translateY(-8px) rotateX(2deg);
}

.brochure-text {
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.brochure-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* -------------------- SCROLL ANIMATIONS -------------------- */

.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------- FOOTER -------------------- */

.footer {
    background-color: #060d1a;
    width: 100%;
    padding: 60px 0 30px;
    color: white;
    text-align: center;
}

.footer .top {
    text-align: center;
    opacity: 0.2;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 4px;
}

.footer .subtitle {
    font-size: 14px;
    margin-top: 12px;
    letter-spacing: 5px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}

.subtitle-partner {
    font-size: 13px;
    font-style: italic;
    margin-top: 25px;
    letter-spacing: 3px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
}

.logo-partner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 0 5%;
}

.logo-partner img {
    max-width: 140px;
    opacity: 0.2;
    width: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-partner img:hover {
    opacity: 0.45;
}

.footer .separator {
    width: 90%;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 40px auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    text-align: left;
    gap: 20px;
}

.footer .footer-block {
    text-decoration: none;
}

.footer-block.large {
    flex: 2;
    min-width: 250px;
}

.footer-block.small {
    flex: 1;
    min-width: 180px;
}

.footer-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 24px;
    color: white;
}

.footer-content a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #6b9fff;
}

.footer-block p {
    margin-bottom: 18px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

.footer-block i {
    color: #6b9fff;
    font-size: 14px;
    margin-right: 8px;
}

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

.footer-input {
    flex: 1;
    width: auto;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.footer-input::placeholder {
    color: rgba(255,255,255,0.35);
    font-style: italic;
}

.footer-input:focus {
    border-color: #2A6BFF;
    background: rgba(42, 107, 255, 0.08);
}

.newsletter-button {
    background: linear-gradient(135deg, #2A6BFF, #4d8bff);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(42, 107, 255, 0.25);
}

.newsletter-button i {
    font-size: 14px;
}

.newsletter-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(42, 107, 255, 0.4);
}

.footer .bottom-bar {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 10px auto;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

.footer .bottom-bar a {
    text-decoration: none;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s ease;
}

.footer .bottom-bar a:hover {
    color: rgba(255,255,255,0.6);
}

.footer .bottom-text {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* Snackbar */

.snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #34c759;
    color: white;
    text-align: center;
    border-radius: 14px;
    padding: 14px 24px;
    position: fixed;
    z-index: 999;
    left: 50%;
    bottom: 30px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.5s ease, bottom 0.5s ease;
    backdrop-filter: blur(8px);
}

.snackbar.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

.snackbar.error {
    background-color: #ff453a;
}

/* ---------- CONTACT MODAL ---------- */

.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.contact-modal-content {
    background: linear-gradient(135deg, #1a2d4d 0%, #0f1d35 100%);
    padding: 48px;
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    color: white;
    text-align: left;
    margin: 30px;
    animation: modalIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.contact-close {
    font-size: 26px;
    cursor: pointer;
    float: right;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.contact-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.7rem;
    font-weight: 700;
}

.contact-product {
    opacity: 0.5;
    margin-bottom: 24px;
    font-size: 0.88rem;
}

#contact-form input,
#contact-form textarea {
    width: 96%;
    padding: 14px;
    margin: 6px 0 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: rgba(42, 107, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(42, 107, 255, 0.1);
}

#contact-form label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

.contact-submit {
    background: linear-gradient(135deg, #2A6BFF 0%, #4d8aff 100%);
    color: white;
    padding: 16px 22px;
    border-radius: 14px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(42, 107, 255, 0.2);
}

.contact-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(42, 107, 255, 0.35);
}

#contact-status {
    margin-top: 12px;
    font-size: 0.9rem;
}

/* Snackbar Contact */
#snackbar-contact {
    visibility: hidden;
    min-width: 260px;
    padding: 14px 24px;
    background-color: #34c759;
    color: #fff;
    text-align: center;
    border-radius: 14px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    opacity: 0;
    font-weight: 600;
    transition: opacity .5s ease, bottom .5s ease;
}

#snackbar-contact.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* -------------------- RESPONSIVE -------------------- */

@media (max-width: 1024px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        margin-right: 0;
        background: rgba(6, 13, 26, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 28px;
        display: flex;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav a {
        font-size: 1.1rem;
    }

    .hamburger {
        display: block;
    }

    .header .logo {
        font-size: 13px;
        font-weight: bold;
    }

    .header .logo-container img {
        height: 35px;
        margin-right: 10px;
    }

    .solution-inner {
        padding: 80px 28px;
    }

    .solution-main-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-main-row.reverse {
        direction: ltr;
    }

    .solution-name-main {
        font-size: clamp(2.2rem, 6vw, 3.5rem);
    }

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

    .scroll-progress {
        display: none;
    }

    .stats-grid {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .solutions-hero {
        padding: 0 18px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .solution-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .solution-title-block {
        max-width: 100%;
    }

    .brochure-cover {
        width: 180px;
    }

    .solutions-overview {
        padding: 80px 6% 40px;
    }

    .hero-glow-1,
    .hero-glow-2,
    .hero-glow-3 {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .footer .top {
        font-size: 22px;
    }

    .footer .subtitle {
        font-size: 10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .solution-inner {
        padding: 60px 20px;
    }

    .solution-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .stats-grid {
        gap: 32px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}
