.hero-builder-section {
    position: relative;
    padding: 160px 0 220px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.hero-mesh-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    filter: blur(90px);
    opacity: 0.25;
    border-radius: 50%;
    animation: blobFloat 12s infinite alternate;
}

.blob-1 {
    top: -15%; left: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--hero-primary-blob) 0%, rgba(99, 102, 241, 0.15) 100%);
}

.blob-2 {
    bottom: -15%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, var(--hero-primary-border) 100%);
    animation-delay: -6s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    z-index: 1;
    pointer-events: none;
}

.hero-content-wrapper {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.ai-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    background-color: var(--hero-primary-soft); 
    border: 1px solid var(--hero-primary-border);
    border-radius: 50px;
    color: var(--hero-primary); 
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.ai-pill-badge:hover {
    background-color: var(--hero-primary-soft);
    transform: translateY(-2px);
    border-color: var(--hero-primary);
}

.pill-icon {
    color: var(--hero-primary); 
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-title {
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    color: #111827;
}

.hero-main-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.builder-simulator-box {
    position: relative;
    max-width: 850px;
    margin: 0 auto 50px auto;
    perspective: 1000px;
}

.simulator-glass-panel {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.sim-icon {
    width: 54px;
    height: 54px;
    background: var(--hero-primary-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hero-primary);
    font-size: 1.4rem;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px var(--hero-primary-border);
}

.sim-input-wrapper {
    flex-grow: 1;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.sim-static { 
    color: #111827; 
    margin-right: 10px; 
    font-weight: 800; 
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sim-typing { 
    color: #4b5563; 
    font-weight: 500; 
}

.sim-cursor { 
    color: var(--hero-primary); 
    animation: blink 1s infinite; 
    font-weight: 300; 
    margin-left: 2px; 
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.btn-builder-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hero-primary);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 10px 20px -10px var(--hero-primary);
    margin-left: 15px;
}

.btn-builder-action:hover {
    background: #111827;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px rgba(17, 24, 39, 0.5);
}

.simulator-shadow {
    position: absolute;
    bottom: -25px;
    left: 5%;
    width: 90%;
    height: 25px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
}

.floating-ui-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ui-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(226,232,240,0.8);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: floatCard 8s ease-in-out infinite;
    transition: all 0.3s ease;
    min-width: 220px;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.ui-icon-box {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ui-icon-box.success { background: #dcfce7; color: #16a34a; }
.ui-icon-box.primary { background: var(--hero-primary-soft); color: var(--hero-primary); }

.ui-text-col { display: flex; flex-direction: column; width: 100%; }
.ui-label { font-size: 0.75rem; color: #6b7280; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px;}
.ui-value { font-size: 1.2rem; font-weight: 900; color: #111827; display: flex; align-items: center; justify-content: space-between;}

.ui-badge {
    background: #dcfce7; color: #16a34a; padding: 4px 8px;
    border-radius: 6px; font-weight: 800; font-size: 0.75rem;
}

.hero-footer-badges {
    display: flex; justify-content: center; gap: 35px;
    color: #4b5563; font-weight: 600; font-size: 0.95rem;
}

.hero-footer-badges i { color: var(--hero-primary); margin-right: 8px; font-size: 1.1rem; }

@media (max-width: 992px) {
    .hero-main-title { font-size: 3.2rem; }
    .floating-ui-container { display: none; }
    .hero-builder-section { padding: 120px 0; }
}

@media (max-width: 768px) {
    .simulator-glass-panel { flex-direction: column; gap: 15px; padding: 20px; }
    .sim-input-wrapper { width: 100%; justify-content: center; margin-bottom: 10px; white-space: normal; text-align: center; display: block; height: 60px;}
    .sim-action, .btn-builder-action { width: 100%; text-align: center; margin-left: 0; justify-content: center;}
    .sim-icon { display: none; }
    .hero-footer-badges { flex-direction: column; gap: 15px; }
    .hero-main-title { font-size: 2.5rem; }
}