/**
 * CTA-1 Block - Premium Tech Redesign 2026
 * Style: Apple + Awwwards + Startup Tech (LIGHT MODE)
 */

.cta-1-block {
    position: relative !important;
    padding: 12rem 0 !important;
    background: #F8FAFC !important;
    /* Premium Soft White */
    color: #1A1A2E !important;
    /* Dark Navy contrast */
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

/* === BACKGROUND SYSTEM === */
.cta1-bg-system {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Tech Grid (Light version) */
.cta1-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(26, 26, 46, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 26, 46, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Grainy Texture (Multiply for light theme) */
.cta1-grain-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: multiply;
}

/* Glowing Orbs (Softer for light mode) */
.cta1-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #EC4899 0%, transparent 70%);
    top: -20%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
}

/* === SVG CONNECTIONS === */
.cta1-svg-connections {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.cta1-svg-connections svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === CONTAINER === */
.cta1-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 10;
}

/* === HERO STACK === */
.cta1-hero-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 8rem;
}

/* Content Layer */
.cta1-headline {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: -0.05em !important;
    text-transform: uppercase !important;
    margin-bottom: 2rem;
    color: #1A1A2E;
}

.cta1-word-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.cta1-word {
    display: inline-block;
    will-change: transform, opacity;
}

.cta1-word mark,
.cta1-word span[style*="color"] {
    background: transparent;
    color: #EC4899 !important;
}

.cta1-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: rgba(26, 26, 46, 0.7) !important;
    max-width: 520px;
    margin-bottom: 3.5rem;
}

/* === CTA BUTTON (Dark Navy for light mode impact) === */
.cta1-magnetic-wrap {
    display: inline-block;
}

.cta1-btn-tech {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 3rem;
    background: #1A1A2E;
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), background 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta1-btn-tech:hover .btn-glow {
    transform: translateX(100%);
}

.cta1-btn-tech:hover {
    background: #EC4899;
    color: #FFFFFF !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.4);
}

.btn-arrow {
    display: flex;
    transition: transform 0.3s ease;
}

.cta1-btn-tech:hover .btn-arrow {
    transform: translateX(5px);
}

/* === VISUAL LAYER === */
.cta1-visual-layer {
    position: relative;
}

.cta1-image-perspective {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.cta1-img-main-wrap {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta1-img-main {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.cta1-img-main-wrap:hover .cta1-img-main {
    transform: scale(1);
}

.cta1-img-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3B82F6, transparent);
    box-shadow: 0 0 20px #3B82F6;
    animation: scannerMove 4s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes scannerMove {

    0%,
    100% {
        top: 10%;
    }

    50% {
        top: 90%;
    }
}

.cta1-ui-floating {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1A1A2E;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.ui-1 {
    top: 15%;
    left: -10%;
    animation: float 6s ease-in-out infinite;
}

.ui-2 {
    bottom: 15%;
    right: -5%;
    animation: float 6s ease-in-out infinite 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.cta1-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: 1;
}

/* === CARDS ECOSYSTEM === */
.cta1-cards-ecosystem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.cta1-tech-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 32px;
    padding: 3.5rem;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.cta1-tech-card:hover {
    transform: translateY(-12px);
    border-color: rgba(236, 72, 153, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.cta1-tech-card:hover .card-icon {
    transform: rotate(12deg) scale(1.1);
    background: rgba(236, 72, 153, 0.1);
}

.card-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #1A1A2E;
    margin: 0;
    letter-spacing: -0.02em;
}

.card-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    color: rgba(26, 26, 46, 0.7) !important;
    margin: 0;
}

.card-scanner-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #EC4899, #8B5CF6);
    transition: width 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.cta1-tech-card:hover .card-scanner-line {
    width: 100%;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .cta1-hero-stack {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5rem;
    }

    .cta1-description {
        margin: 0 auto 3.5rem;
    }

    .cta1-image-perspective {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cta1-cards-ecosystem {
    display: none;
}
    .cta-1-block {
        padding:0px !important;
    }

    .cta1-headline {
        font-size: 2.8rem !important;
    }

    .cta1-cards-ecosystem {
        grid-template-columns: 1fr;
    }

    .cta1-tech-card {
        padding: 2.5rem;
    }

    .cta1-btn-tech {
        width: fit-content;
        margin: 0 auto;
        justify-content: center;
    }

    .cta1-svg-connections {
        display: none;
    }
}