/* ═══════════════════════════════════════════════════════
   RBXLabs — Silk / Indigo Design System
   Primary: #434293 (indigo)  Accent: #6c6bcc  Glow: #a5a4e8
   ═══════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background: #0c0c18;
    color: #e8e8f4;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: 100px;
}

/* ── Subtle grid pattern ── */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(rgba(67, 66, 147, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 66, 147, 0.06) 1px, transparent 1px);
    background-size: 160px 160px;
    z-index: 0;
    pointer-events: none;
}

/* ── Grid highlights ── */
.grid-highlights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.grid-cell {
    position: absolute;
    width: 160px;
    height: 160px;
    background: rgba(108, 107, 204, 0.04);
    border: 1px solid rgba(108, 107, 204, 0.08);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.grid-cell.active {
    opacity: 1;
}

/* ══════════════════ NAVBAR ══════════════════ */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 1200px;
    font-family: 'Space Grotesk', sans-serif;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(12, 12, 28, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(108, 107, 204, 0.22);
    border-radius: 50px;
    box-shadow: 0 8px 40px rgba(67, 66, 147, 0.18), inset 0 1px 0 rgba(165, 164, 232, 0.08);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #e8e8f4;
    letter-spacing: -0.02em;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 25px;
    color: rgba(232, 232, 244, 0.55);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: #e8e8f4;
    background: rgba(108, 107, 204, 0.12);
}

.nav-link.active {
    color: #c4c3f0;
    background: rgba(67, 66, 147, 0.22);
    border: 1px solid rgba(108, 107, 204, 0.25);
}

.nav-link svg {
    width: 17px;
    height: 17px;
}

/* ══════════════════ CONTAINER ══════════════════ */
.container {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 40px 20px;
    max-width: 1200px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ══════════════════ BADGE ══════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid rgba(108, 107, 204, 0.40);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 36px;
    background: rgba(67, 66, 147, 0.15);
    color: #c4c3f0;
    backdrop-filter: blur(8px);
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #a5a4e8;
    border-radius: 50%;
    box-shadow: 0 0 8px #a5a4e8;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.65); }
}

.badge:hover {
    background: rgba(67, 66, 147, 0.22);
    border-color: rgba(108, 107, 204, 0.55);
    transform: translateY(-2px);
}

/* ══════════════════ HERO TITLE ══════════════════ */
.main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #f0f0fb;
    margin: 0 0 22px;
    text-shadow: 0 0 80px rgba(108, 107, 204, 0.35);
}

.highlight {
    background: linear-gradient(135deg, #a5a4e8 0%, #6c6bcc 50%, #434293 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 24px rgba(108, 107, 204, 0.6));
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: rgba(200, 200, 230, 0.60);
    line-height: 1.75;
    max-width: 480px;
    margin: 0 auto 42px;
}

/* ══════════════════ BUTTONS ══════════════════ */
.buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.btn {
    padding: 15px 38px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #5452b8, #434293);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(67, 66, 147, 0.45), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6c6bcc, #5452b8);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(67, 66, 147, 0.60), inset 0 1px 0 rgba(255,255,255,0.15);
}

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

.btn-secondary {
    background: rgba(108, 107, 204, 0.08);
    color: #c4c3f0;
    border: 1px solid rgba(108, 107, 204, 0.28);
}

.btn-secondary:hover {
    background: rgba(108, 107, 204, 0.16);
    border-color: rgba(108, 107, 204, 0.50);
    color: #e0e0f8;
    transform: translateY(-2px);
}

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

/* ══════════════════ FEATURES SECTION ══════════════════ */
.features-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    color: #f0f0fb;
}

.features-subtitle {
    text-align: center;
    font-size: 16px;
    color: rgba(200, 200, 230, 0.55);
    line-height: 1.65;
    margin-bottom: 80px;
}

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

.feature-card {
    text-align: center;
    padding: 36px 28px;
    background: rgba(20, 20, 45, 0.70);
    border: 1px solid rgba(108, 107, 204, 0.16);
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    border-color: rgba(108, 107, 204, 0.40);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(67, 66, 147, 0.18);
    background: rgba(25, 25, 55, 0.80);
}

.feature-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #e8e8f8;
}

.feature-description {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(180, 180, 220, 0.65);
}

/* ══════════════════ INTEGRATIONS ══════════════════ */
.integrations-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.integrations-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.integrations-text {
    padding-right: 40px;
}

.integrations-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #a5a4e8;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.integrations-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 18px;
    letter-spacing: -0.025em;
    color: #f0f0fb;
}

.integrations-description {
    font-size: 16px;
    line-height: 1.68;
    color: rgba(200, 200, 230, 0.55);
    margin-bottom: 48px;
}

.integrations-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.integration-feature {
    display: flex;
    align-items: center;
    gap: 18px;
}

.feature-icon-small {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #a5a4e8;
    background: rgba(67, 66, 147, 0.18);
    border: 1px solid rgba(108, 107, 204, 0.22);
    border-radius: 12px;
}

.integration-feature h4 {
    font-size: 15px;
    font-weight: 500;
    color: #d0d0ea;
    margin: 0;
}

.integrations-carousel {
    position: relative;
    height: 600px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 18px;
    height: 100%;
}

.carousel-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.1s linear;
}

.carousel-column:nth-child(1) { transform: translateY(-200px); }
.carousel-column:nth-child(2) { transform: translateY(-50px); }
.carousel-column:nth-child(3) { transform: translateY(-280px); }

.carousel-item {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(108, 107, 204, 0.18);
    border-radius: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(67, 66, 147, 0.10);
}

/* ══════════════════ STATS ══════════════════ */
.stats-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.stats-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    padding: 36px 40px;
    border: 1px solid rgba(108, 107, 204, 0.20);
    border-radius: 18px;
    background: rgba(20, 20, 45, 0.65);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6c6bcc, transparent);
}

.stat-card:hover {
    border-color: rgba(108, 107, 204, 0.38);
    transform: translateX(4px);
    box-shadow: 0 8px 32px rgba(67, 66, 147, 0.15);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #c4c3f0;
    letter-spacing: -0.02em;
}

.stat-description {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(180, 180, 220, 0.60);
    margin: 0;
}

.stats-info {
    padding-left: 40px;
}

.stats-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #a5a4e8;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.stats-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 18px;
    letter-spacing: -0.025em;
    color: #f0f0fb;
}

.stats-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(200, 200, 230, 0.55);
    margin-bottom: 48px;
}

.stats-features {
    display: flex;
    gap: 36px;
}

.stats-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stats-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5a4e8;
    background: rgba(67, 66, 147, 0.18);
    border: 1px solid rgba(108, 107, 204, 0.22);
    border-radius: 14px;
    margin-bottom: 14px;
}

.stats-feature-title {
    font-size: 13px;
    font-weight: 500;
    color: rgba(180, 180, 220, 0.70);
    line-height: 1.45;
    margin: 0;
}

/* ══════════════════ CTA ══════════════════ */
.cta-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-card {
    padding: 80px 60px;
    border: 1px solid rgba(108, 107, 204, 0.22);
    border-radius: 28px;
    background: rgba(20, 20, 48, 0.80);
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 80px rgba(67, 66, 147, 0.12);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(165, 164, 232, 0.50), transparent);
}

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    color: #f0f0fb;
}

.cta-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(200, 200, 230, 0.58);
    margin-bottom: 56px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 56px;
    margin-bottom: 50px;
}

.cta-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-feature-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5a4e8;
    background: rgba(67, 66, 147, 0.18);
    border: 1px solid rgba(108, 107, 204, 0.25);
    border-radius: 16px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.cta-feature-item:hover .cta-feature-icon {
    background: rgba(67, 66, 147, 0.30);
    border-color: rgba(108, 107, 204, 0.45);
    box-shadow: 0 4px 20px rgba(67, 66, 147, 0.25);
}

.cta-feature-text {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(180, 180, 220, 0.65);
    margin: 0;
}

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

/* ══════════════════ TESTIMONIALS ══════════════════ */
.testimonials-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 52px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    color: #f0f0fb;
}

.testimonials-subtitle {
    text-align: center;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(200, 200, 230, 0.55);
    margin-bottom: 72px;
}

.testimonials-container {
    overflow: hidden;
    margin-bottom: 36px;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 28px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    width: calc((100% - 28px) / 2);
    min-width: calc((100% - 28px) / 2);
    padding: 40px;
    background: rgba(20, 20, 45, 0.75);
    border: 1px solid rgba(108, 107, 204, 0.18);
    border-radius: 22px;
    flex-shrink: 0;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(108, 107, 204, 0.35);
    box-shadow: 0 12px 40px rgba(67, 66, 147, 0.14);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(108, 107, 204, 0.35);
}

.testimonial-info { flex: 1; }

.testimonial-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #e8e8f8;
    margin: 0 0 4px;
}

.testimonial-role {
    font-size: 11px;
    font-weight: 600;
    color: rgba(165, 164, 232, 0.65);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(180, 180, 220, 0.70);
    margin: 0;
}

.testimonials-nav {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.testimonial-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(108, 107, 204, 0.28);
    background: rgba(67, 66, 147, 0.10);
    color: #c4c3f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.testimonial-nav-btn:hover {
    border-color: rgba(108, 107, 204, 0.55);
    background: rgba(67, 66, 147, 0.22);
    box-shadow: 0 4px 16px rgba(67, 66, 147, 0.25);
}

/* ══════════════════ TOOLS ══════════════════ */
.tools-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tools-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 52px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 72px;
    letter-spacing: -0.03em;
    color: #f0f0fb;
}

.tools-carousel-container {
    overflow: hidden;
    margin-bottom: 36px;
}

.tools-carousel {
    display: flex;
    gap: 28px;
    transition: transform 0.5s ease;
}

.tool-card-new {
    min-width: calc((100% - 56px) / 3);
    width: calc((100% - 56px) / 3);
    background: rgba(18, 18, 42, 0.80);
    border: 1px solid rgba(108, 107, 204, 0.16);
    border-radius: 22px;
    padding: 32px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card-new:hover {
    border-color: rgba(108, 107, 204, 0.40);
    transform: translateY(-5px);
    box-shadow: 0 20px 56px rgba(67, 66, 147, 0.18);
}

.tool-card-new.featured {
    border-color: rgba(108, 107, 204, 0.45);
    box-shadow: 0 0 50px rgba(67, 66, 147, 0.22);
    background: rgba(22, 22, 52, 0.90);
}

.tool-card-new.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(165, 164, 232, 0.60), transparent);
}

.tool-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(67, 66, 147, 0.18);
    color: #a5a4e8;
    border: 1px solid rgba(108, 107, 204, 0.22);
    padding: 7px 14px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 22px;
    width: fit-content;
    font-family: 'Space Grotesk', sans-serif;
}

.tool-badge svg {
    width: 14px;
    height: 14px;
}

.tool-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #e8e8f8;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.tool-card-desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(180, 180, 220, 0.60);
    margin: 0 0 26px;
}

.tool-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}

.tool-features li {
    font-size: 14px;
    color: rgba(180, 180, 220, 0.65);
    padding: 9px 0;
    padding-left: 32px;
    position: relative;
    font-weight: 500;
    border-bottom: 1px solid rgba(108, 107, 204, 0.08);
}

.tool-features li:last-child {
    border-bottom: none;
}

.tool-features li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 18px;
    background-image: url('alt.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 10px;
}

.tool-card-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #5452b8, #434293);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 4px 18px rgba(67, 66, 147, 0.35);
    transition: all 0.25s ease;
}

.tool-card-btn:hover {
    background: linear-gradient(135deg, #6c6bcc, #5452b8);
    box-shadow: 0 6px 24px rgba(67, 66, 147, 0.50);
    transform: translateY(-1px);
}

.tool-card-btn img {
    width: 16px;
    height: 16px;
    filter: invert(1);
}

.tools-carousel-nav {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.tools-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(108, 107, 204, 0.28);
    background: rgba(67, 66, 147, 0.10);
    color: #c4c3f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.tools-nav-btn:hover {
    border-color: rgba(108, 107, 204, 0.55);
    background: rgba(67, 66, 147, 0.22);
    box-shadow: 0 4px 16px rgba(67, 66, 147, 0.25);
}

/* ══════════════════ NEWSLETTER ══════════════════ */
.newsletter-section {
    padding: 100px 40px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 25, 0.90);
    border-top: 1px solid rgba(108, 107, 204, 0.15);
}

.newsletter-section .newsletter-content {
    max-width: 1400px;
    margin: 0 auto;
}

.newsletter-content {
    text-align: center;
}

.newsletter-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    color: #f0f0fb;
}

.newsletter-description {
    font-size: 16px;
    line-height: 1.68;
    color: rgba(200, 200, 230, 0.55);
    margin-bottom: 44px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 580px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 17px 22px;
    background: rgba(20, 20, 45, 0.80);
    border: 1px solid rgba(108, 107, 204, 0.25);
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: #e8e8f4;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-input::placeholder {
    color: rgba(180, 180, 220, 0.38);
}

.newsletter-input:focus {
    border-color: rgba(108, 107, 204, 0.50);
}

.newsletter-btn {
    padding: 17px 38px;
    background: linear-gradient(135deg, #5452b8, #434293);
    color: #ffffff;
    border: none;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 4px 18px rgba(67, 66, 147, 0.35);
    transition: all 0.25s ease;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #6c6bcc, #5452b8);
}

.newsletter-success {
    display: none;
    margin-top: 20px;
    padding: 14px 28px;
    background: rgba(67, 66, 147, 0.16);
    border: 1px solid rgba(108, 107, 204, 0.35);
    border-radius: 10px;
    color: #a5a4e8;
    font-size: 15px;
    font-weight: 500;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════ NOTIFICATION ══════════════════ */
.custom-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    transition: top 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 340px;
}

.custom-notification.show {
    top: 40px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 26px;
    background: rgba(16, 16, 38, 0.96);
    border: 1px solid rgba(108, 107, 204, 0.28);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(67, 66, 147, 0.30);
    backdrop-filter: blur(16px);
}

.notification-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-notification.success .notification-content {
    border-color: rgba(108, 107, 204, 0.45);
    background: rgba(67, 66, 147, 0.18);
}

.custom-notification.success .notification-icon {
    color: #a5a4e8;
}

.custom-notification.success #notificationText {
    color: #c4c3f0;
}

.custom-notification.error .notification-content {
    border-color: rgba(255, 82, 82, 0.35);
    background: rgba(255, 60, 60, 0.10);
}

.custom-notification.error .notification-icon {
    color: #ff6b6b;
}

.custom-notification.error #notificationText {
    color: #ff9494;
}

#notificationText {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* ══════════════════ SCROLLBAR ══════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0c0c18; }
::-webkit-scrollbar-thumb { background: #434293; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6c6bcc; }

/* ══════════════════ TOOL PAGE ══════════════════ */
.tool-page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.back-button {
    position: absolute;
    top: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: rgba(20, 20, 45, 0.90);
    border: 1px solid rgba(108, 107, 204, 0.22);
    border-radius: 25px;
    color: rgba(180, 180, 220, 0.70);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Space Grotesk', sans-serif;
    backdrop-filter: blur(10px);
}

.back-button:hover {
    color: #e8e8f8;
    background: rgba(67, 66, 147, 0.20);
    border-color: rgba(108, 107, 204, 0.42);
}

.back-button svg {
    width: 18px;
    height: 18px;
}

.tool-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    max-width: 1200px;
    width: 100%;
    margin-top: 20px;
}

.tool-form-card {
    background: rgba(18, 18, 42, 0.85);
    border: 1px solid rgba(108, 107, 204, 0.18);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(14px);
}

.tool-page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #f0f0fb;
    margin: 0 0 16px;
    letter-spacing: -0.025em;
}

.tool-page-description {
    font-size: 15px;
    line-height: 1.68;
    color: rgba(180, 180, 220, 0.60);
    margin: 0 0 36px;
}

.tool-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tool-input {
    padding: 16px 22px;
    background: rgba(12, 12, 30, 0.70);
    border: 1px solid rgba(108, 107, 204, 0.20);
    border-radius: 12px;
    color: #e8e8f4;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.25s ease;
    resize: vertical;
}

.tool-textarea {
    min-height: 120px;
    line-height: 1.55;
}

.tool-input::placeholder {
    color: rgba(180, 180, 220, 0.35);
}

.tool-input:focus {
    border-color: rgba(108, 107, 204, 0.50);
    background: rgba(67, 66, 147, 0.08);
    box-shadow: 0 0 0 3px rgba(67, 66, 147, 0.12);
}

.tool-submit-btn {
    padding: 16px 22px;
    background: linear-gradient(135deg, #5452b8, #434293);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(67, 66, 147, 0.35);
    font-family: 'Space Grotesk', sans-serif;
}

.tool-submit-btn:hover {
    background: linear-gradient(135deg, #6c6bcc, #5452b8);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(67, 66, 147, 0.50);
}

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

.tool-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tool-video-card {
    background: rgba(18, 18, 42, 0.85);
    border: 1px solid rgba(108, 107, 204, 0.18);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    min-height: 380px;
    backdrop-filter: blur(14px);
}

.video-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #f0f0fb;
    margin: 0 0 8px;
}

.video-subtitle {
    font-size: 15px;
    color: rgba(180, 180, 220, 0.55);
    margin: 0 0 36px;
}

.video-play-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5452b8, #434293);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(67, 66, 147, 0.40);
}

.video-play-btn:hover {
    background: linear-gradient(135deg, #6c6bcc, #5452b8);
    transform: scale(1.1);
    box-shadow: 0 8px 36px rgba(67, 66, 147, 0.55);
}

.video-play-btn svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

/* ══════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 1200px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .integrations-content { grid-template-columns: 1fr; gap: 60px; }
    .integrations-text { padding-right: 0; }
    .stats-content { grid-template-columns: 1fr; gap: 60px; }
    .stats-info { padding-left: 0; }
    .tool-card-new {
        min-width: calc((100% - 28px) / 2);
        width: calc((100% - 28px) / 2);
    }
}

@media (max-width: 768px) {
    .main-title { font-size: 42px; }
    .subtitle { font-size: 15px; }
    .buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; max-width: 300px; }
    .features-section { padding: 80px 20px; }
    .features-title { font-size: 32px; }
    .features-grid { grid-template-columns: 1fr; gap: 18px; }
    .tool-card-new { min-width: 100%; width: 100%; }
    .testimonial-card { min-width: 100%; width: 100%; }
    .back-button { top: 20px; left: 20px; }
    .tool-form-card, .tool-video-card { padding: 28px; }
    .tool-page-title { font-size: 30px; }
}

@media (max-width: 480px) {
    .main-title { font-size: 32px; }
    .badge { font-size: 11px; padding: 7px 16px; }
    .cta-title { font-size: 36px; }
    .cta-features { flex-wrap: wrap; gap: 30px; }
}

@media (max-width: 1024px) {
    .tool-content-wrapper { grid-template-columns: 1fr; gap: 28px; }
}

/* ══════════════════════════════════════════════
   SMOOTH ANIMATIONS & TRANSITIONS UPGRADE
   ══════════════════════════════════════════════ */

/* Scroll-reveal base */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Smoother card hovers */
.feature-card,
.tool-card-new,
.stat-card,
.testimonial-card,
.cta-card,
.cta-feature-item,
.integration-feature {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.4s ease,
                background 0.4s ease;
}

/* Buttons — springy feel */
.btn,
.tool-card-btn,
.newsletter-btn,
.tool-submit-btn,
.video-play-btn {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                background 0.25s ease,
                opacity 0.2s ease;
}

/* Nav links */
.nav-link {
    transition: color 0.3s ease,
                background 0.3s ease;
}

/* Navbar scroll shrink */
.navbar-content {
    transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.4s ease,
                box-shadow 0.4s ease;
}
.navbar.scrolled .navbar-content {
    padding: 10px 24px;
    background: rgba(10, 10, 24, 0.96);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* Carousel cards — no jump */
.tools-carousel,
.testimonials-track {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Page load fade */
body {
    animation: pageFadeIn 0.5s ease both;
}
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Stat card slide-in from left */
.stat-card.visible {
    animation: slideInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Smooth input focus */
.tool-input,
.newsletter-input {
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease;
}

/* Nav button smooth border */
.testimonial-nav-btn,
.tools-nav-btn {
    transition: border-color 0.3s ease,
                background 0.35s ease,
                box-shadow 0.35s ease,
                transform 0.2s ease;
}
.testimonial-nav-btn:hover,
.tools-nav-btn:hover {
    transform: scale(1.06);
}

/* ══════════════════════════════════════════════
   GPU COMPOSITING HINTS
   ══════════════════════════════════════════════ */

/* Promote only elements that animate transform/opacity — avoids layout thrash */
.feature-card,
.tool-card-new,
.stat-card,
.btn,
.tool-card-btn,
.newsletter-btn,
.tool-submit-btn {
    will-change: transform;
    transform: translateZ(0); /* force GPU layer */
}

/* Remove will-change after hover to free GPU memory */
.feature-card:not(:hover),
.tool-card-new:not(:hover),
.stat-card:not(:hover) {
    will-change: auto;
}

/* Contain scroll-reveal elements to avoid layout recalcs */
.features-section,
.stats-section,
.tools-section,
.testimonials-section,
.cta-section {
    contain: layout style;
}