/**
 * Sempire AI - Landing Page Styles
 * Award-winning design with sophisticated animations
 */

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-24) 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 218, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 218, 0, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(255, 218, 0, 0.15) 0%, rgba(255, 218, 0, 0.05) 30%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.hero-glow-2 {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(254, 204, 0, 0.08) 0%, transparent 50%);
    top: 20%;
    right: -10%;
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-primary-muted);
    border: 1px solid rgba(255, 218, 0, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--space-8);
    opacity: 0;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
    opacity: 0;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-10);
    line-height: 1.7;
    opacity: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    opacity: 0;
}

.hero-actions .btn svg {
    transition: transform 0.3s ease;
}

.hero-actions .btn:hover svg {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    margin-top: var(--space-16);
    padding-top: var(--space-12);
    border-top: 1px solid var(--color-border);
    opacity: 0;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    opacity: 0;
    animation: fade-in 1s ease 2s forwards;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 14px; opacity: 0.5; }
}

@keyframes fade-in {
    to { opacity: 0.6; }
}

/* Floating Elements */
.hero-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-element {
    position: absolute;
    opacity: 0;
}

.float-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.float-card-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.float-card-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.float-card-value {
    font-weight: 600;
    color: var(--color-text-primary);
}

.float-1 { top: 20%; left: 5%; }
.float-2 { top: 30%; right: 5%; }
.float-3 { bottom: 25%; left: 8%; }
.float-4 { bottom: 20%; right: 8%; }

/* ========================================
   SECTION BACKGROUNDS
   ======================================== */
.section-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.section-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 50%, var(--color-bg-secondary) 100%);
}

.section-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 218, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 218, 0, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
}

.section-header {
    position: relative;
    z-index: 2;
}

.section-label {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-primary-muted);
    border: 1px solid rgba(255, 218, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

/* ========================================
   HOW WE WORK SECTION
   ======================================== */
.how-we-work {
    padding: var(--space-24) 0;
    position: relative;
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.how-we-work .container {
    position: relative;
    z-index: 1;
}

.how-we-work .section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

/* Pipeline Showcase */
.pipeline-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.pipeline-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    padding: var(--space-8) 0;
    opacity: 0;
    transform: translateY(50px);
}

.pipeline-stage.reverse {
    direction: rtl;
}

.pipeline-stage.reverse > * {
    direction: ltr;
}

.stage-visual {
    position: relative;
}

.stage-animation {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scraping Animation */
.scraping-animation {
    gap: var(--space-6);
}

.scraping-browser {
    width: 280px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:last-child { background: #28c840; }

.browser-url {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex: 1;
    padding: var(--space-1) var(--space-3);
    background: var(--color-bg-primary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.browser-content {
    padding: var(--space-4);
    min-height: 180px;
}

.content-skeleton {
    height: 12px;
    background: linear-gradient(90deg, var(--color-border) 25%, var(--color-bg-secondary) 50%, var(--color-border) 75%);
    background-size: 200% 100%;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
    animation: skeleton-shimmer 1.5s infinite;
}

.content-skeleton.skeleton-title {
    height: 18px;
    width: 60%;
    margin-bottom: var(--space-4);
}

.content-skeleton.short { width: 45%; }
.content-skeleton.medium { width: 70%; }

@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.scraping-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    top: 50%;
    left: 30%;
    opacity: 0.8;
    animation: cursor-move 3s ease-in-out infinite;
    box-shadow: 0 0 20px var(--color-primary);
}

.scraping-highlight {
    position: absolute;
    top: 55%;
    left: 10%;
    width: 80%;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-sm);
    opacity: 0;
    animation: highlight-pulse 3s ease-in-out infinite;
}

@keyframes cursor-move {
    0%, 100% { top: 40%; left: 20%; }
    25% { top: 50%; left: 60%; }
    50% { top: 65%; left: 30%; }
    75% { top: 55%; left: 70%; }
}

@keyframes highlight-pulse {
    0%, 100% { opacity: 0; transform: scaleY(1); }
    30%, 70% { opacity: 0.5; transform: scaleY(1.1); }
}

/* Data Flow */
.data-flow {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.data-particle {
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: particle-flow 2s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes particle-flow {
    0% { transform: translateX(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(80px); opacity: 0; }
}

/* Data Collector */
.data-collector {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: center;
    min-width: 140px;
}

.collector-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2e2d1a, #3e3716);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.collector-icon img {
    filter: drop-shadow(0 0 8px rgba(255, 218, 0, 0.5));
}

.collector-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--space-2);
}

.collector-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-item {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Generation Animation */
.generation-animation {
    flex-direction: column;
    gap: var(--space-6);
}

.ai-core {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: var(--space-4);
}

.core-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--color-primary-glow);
    border-radius: 50%;
}

.core-ring.ring-1 {
    animation: ring-rotate 8s linear infinite;
    border-color: var(--color-primary-glow);
}

.core-ring.ring-2 {
    inset: 15px;
    animation: ring-rotate 6s linear infinite reverse;
    border-style: dashed;
    border-color: var(--color-primary-glow);
}

.core-ring.ring-3 {
    inset: 30px;
    animation: ring-rotate 4s linear infinite;
    border-color: var(--color-primary-glow);
}

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

.core-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2e2c1a, #1a170f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 40px rgba(99, 102, 241, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.core-center img {
    filter: drop-shadow(0 0 10px rgba(255, 218, 0, 0.6));
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 218, 0, 0.6)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 218, 0, 0.9)); }
}

/* Output Document */
.generation-output {
    width: 100%;
    max-width: 300px;
}

.output-document {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.doc-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.8125rem;
    font-weight: 500;
}

.doc-icon {
    color: var(--color-primary);
}

.doc-content {
    padding: var(--space-4);
}

.typing-line {
    height: 10px;
    background: linear-gradient(90deg, var(--color-primary-muted) var(--width), transparent var(--width));
    border-radius: 2px;
    margin-bottom: var(--space-2);
    animation: typing 2s ease-in-out infinite;
}

@keyframes typing {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.doc-badges {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-top: 1px solid var(--color-border);
}

.doc-badges .badge {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
}

.badge-seo {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.badge-human {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

/* Quality Meters */
.quality-meters {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.meter {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.meter-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    width: 80px;
    flex-shrink: 0;
}

.meter-bar {
    flex: 1;
    height: 8px;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: var(--value);
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-full);
    animation: meter-grow 2s ease-out forwards;
}

@keyframes meter-grow {
    from { width: 0; }
}

.meter-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    width: 40px;
    text-align: right;
}

/* Stage Content */
.stage-content {
    padding: var(--space-4);
}

.stage-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: linear-gradient(135deg, var(--color-primary-muted), rgba(254, 204, 0, 0.1));
    border: 1px solid rgba(255, 218, 0, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.stage-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.stage-description {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.stage-features {
    list-style: none;
}

.stage-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.stage-features svg {
    color: var(--color-success);
    flex-shrink: 0;
}

/* Pipeline Connector */
.pipeline-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-12) 0;
    position: relative;
}

.connector-track {
    position: relative;
    width: 2px;
    height: 120px;
}

.connector-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(99, 102, 241, 0.3) 20%,
        rgba(139, 92, 246, 0.5) 50%,
        rgba(99, 102, 241, 0.3) 80%,
        transparent 100%
    );
    border-radius: 1px;
}

.connector-flow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.flow-particle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary);
    animation: flow-down 2s ease-in-out infinite;
}

.flow-particle:nth-child(1) { animation-delay: 0s; }
.flow-particle:nth-child(2) { animation-delay: 0.6s; }
.flow-particle:nth-child(3) { animation-delay: 1.2s; }

@keyframes flow-down {
    0% { top: -10px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(100% + 10px); opacity: 0; }
}

.connector-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.connector-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2e2c1a, #1a170f);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(241, 239, 99, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.connector-icon img {
    filter: drop-shadow(0 0 8px rgba(255, 218, 0, 0.5));
}

.connector-pulse {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: connector-ring-pulse 2s ease-out infinite;
}

@keyframes connector-ring-pulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.connector-label {
    position: absolute;
    top: 50%;
    left: calc(50% + 50px);
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    white-space: nowrap;
    padding: var(--space-1) var(--space-3);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
}

/* ========================================
   HOW IT WORKS - JOURNEY SECTION
   ======================================== */
.how-it-works {
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.journey-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 218, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 218, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.journey-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(255, 218, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.how-it-works .section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

/* Journey Timeline */
.journey-timeline {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.timeline-track {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: visible;
}

.track-line {
    position: absolute;
    inset: 0;
    background: var(--color-border);
    border-radius: 2px;
}

.track-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    transition: width 1s ease;
}

.track-particles {
    position: absolute;
    inset: 0;
}

.track-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    animation: particle-move 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.5s);
}

@keyframes particle-move {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Journey Steps */
.journey-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    padding-top: var(--space-4);
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
}

/* Step Marker */
.step-marker {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-6);
}

.marker-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.journey-step:hover .marker-ring,
.journey-step.active .marker-ring {
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.marker-core {
    position: absolute;
    inset: 10px;
    background: linear-gradient(135deg, var(--color-primary-muted), rgba(255, 218, 0, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.marker-core svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.journey-step:hover .marker-core,
.journey-step.active .marker-core {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.journey-step:hover .marker-core svg,
.journey-step.active .marker-core svg {
    color: var(--color-text-inverse);
}

.marker-pulse {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    animation: marker-pulse 2s ease-out infinite;
}

@keyframes marker-pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Step Card */
.step-card {
    position: relative;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s ease;
    width: 100%;
}

.step-card:hover {
    border-color: rgba(255, 218, 0, 0.3);
    transform: translateY(-8px);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(255, 218, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    padding: var(--space-6);
}

.step-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    background: var(--color-primary-muted);
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.step-card .step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.step-card .step-description {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

/* Step Visuals */
.step-visual {
    padding: var(--space-4);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    min-height: 80px;
}

/* Visual: Browser */
.visual-browser {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
}

.mini-dots {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-2);
}

.mini-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border);
}

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

.mini-line {
    height: 6px;
    background: var(--color-border);
    border-radius: 2px;
    animation: skeleton-shimmer 2s infinite;
}

.step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.visual-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    animation: arrow-pulse 1.5s ease-in-out infinite;
}

@keyframes arrow-pulse {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(5px); opacity: 1; }
}

.visual-data svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

/* Visual: Sliders */
.visual-sliders {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: 100%;
}

.mini-slider {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.slider-label {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    width: 40px;
}

.slider-track {
    flex: 1;
    height: 6px;
    background: var(--color-bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.slider-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 3px;
    animation: slider-grow 2s ease-out forwards;
}

@keyframes slider-grow {
    from { width: 0; }
}

/* Visual: Output */
.visual-output {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: 100%;
}

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

.doc-line {
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary-muted), transparent);
    border-radius: 2px;
}

.output-badges {
    display: flex;
    gap: var(--space-2);
}

.mini-badge {
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    font-weight: 600;
}

.mini-badge.seo {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.mini-badge.human {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

/* ========================================
   PRICING SECTION - IMMERSIVE EXPERIENCE
   ======================================== */
.pricing {
    padding: var(--space-24) 0;
    position: relative;
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.pricing .container {
    position: relative;
    z-index: 1;
}

.pricing-bg-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 218, 0, 0.1);
    top: 10%;
    left: -10%;
    animation: orb-float 20s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(254, 204, 0, 0.08);
    top: 60%;
    right: -5%;
    animation: orb-float 15s ease-in-out infinite reverse;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(255, 218, 0, 0.06);
    bottom: 10%;
    left: 30%;
    animation: orb-float 25s ease-in-out infinite;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(20px, 20px) scale(1.02); }
}

.pricing-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at center, rgba(255, 218, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.pricing .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

/* Pricing Showcase */
.pricing-showcase {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-12) 0;
}

/* Orbit Background */
.pricing-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    pointer-events: none;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.orbit-1 {
    inset: 0;
    border: 1px solid rgba(241, 239, 99, 0.2);
    animation: orbit-rotate 80s linear infinite;
}

.orbit-1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -4px;
    width: 8px;
    height: 8px;
    background: rgba(241, 239, 99, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(241, 232, 99, 0.6);
}

.orbit-2 {
    inset: 80px;
    border: 1px dashed rgba(246, 231, 92, 0.15);
    animation: orbit-rotate 60s linear infinite reverse;
}

.orbit-2::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(246, 223, 92, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(246, 231, 92, 0.5);
}

.orbit-3 {
    inset: 160px;
    border: 1px solid rgba(232, 241, 99, 0.1);
    animation: orbit-rotate 45s linear infinite;
}

.orbit-3::before {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -3px;
    width: 5px;
    height: 5px;
    background: rgba(241, 239, 99, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(241, 227, 99, 0.4);
}

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

/* Featured Plan (Center) */
.pricing-featured {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--color-bg-tertiary) 0%, rgba(20, 20, 22, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    z-index: 10;
    opacity: 0;
    transform: scale(0.9);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 50px -20px rgba(0, 0, 0, 0.5),
        0 0 100px -50px rgba(99, 102, 241, 0.3);
}

.featured-glow {
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(241, 239, 99, 0.5), rgba(246, 210, 92, 0.5));
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    filter: blur(40px);
    animation: glow-pulse 4s ease-in-out infinite;
}

.pricing-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.01); }
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, #f1ef63, #f6d25c);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgb(0, 0, 0);
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(241, 232, 99, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.featured-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.featured-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: var(--space-2);
}

.featured-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fafec7;
}

.featured-price .amount {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fafec7, #fcf3a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.featured-price .period {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.featured-tagline {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

/* Featured Metrics */
.featured-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

.metric-bar {
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    width: var(--value);
    background: linear-gradient(90deg, #f1dc63, #fafca5);
    border-radius: 2px;
}

/* Featured Features */
.featured-features {
    list-style: none;
    margin-bottom: var(--space-6);
    text-align: left;
}

.featured-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    font-size: 0.9375rem;
    color: rgb(231, 231, 231);
}

.feature-check {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check::after {
    content: '✓';
    font-size: 0.75rem;
    color: #10b981;
}

.btn-featured {
    width: 100%;
    padding: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.btn-featured svg {
    transition: transform 0.3s ease;
}

.btn-featured:hover svg {
    transform: translateX(4px);
}

/* Side Plans */
.pricing-sides {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.side-plan {
    width: 280px;
    pointer-events: auto;
    opacity: 0;
}

.side-plan.left {
    transform: translateX(-20px);
}

.side-plan.right {
    transform: translateX(20px);
}

.plan-connector {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-4);
}

.side-plan.left .plan-connector {
    justify-content: flex-end;
}

.side-plan.right .plan-connector {
    justify-content: flex-start;
}

.connector-dot {
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
}

.connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.side-plan.right .connector-line {
    background: linear-gradient(90deg, transparent, var(--color-primary));
}

.plan-card {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all 0.4s ease;
}

.plan-card:hover {
    border-color: rgba(255, 218, 0, 0.3);
    transform: translateY(-4px);
}

.plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.plan-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.plan-icon-logo {
    position: relative;
    background: transparent;
    border-radius: var(--radius-md);
    overflow: visible;
}

.logo-glow {
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, rgba(254,218,0,0.4), rgba(254,218,0,0.1), transparent 70%);
    border-radius: 50%;
    opacity: 0.8;
    animation: logoGlow 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.plan-logo {
    position: relative;
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(254,218,0,0.6)) drop-shadow(0 0 24px rgba(254,218,0,0.3));
    z-index: 1;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(254,218,0,0.6)) drop-shadow(0 0 24px rgba(254,218,0,0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(254,218,0,0.9)) drop-shadow(0 0 40px rgba(254,218,0,0.5));
    }
}

.plan-badge {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-badge.trial {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.plan-badge.pro {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: var(--space-1);
}

.plan-price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.plan-price .period {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.plan-tagline {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.plan-stats {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-3);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.stat-label {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
}

.feature .check {
    width: 16px;
    height: 16px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature .check::after {
    content: '✓';
    font-size: 0.625rem;
    color: #10b981;
}

.btn-outline {
    width: 100%;
    padding: var(--space-3);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-muted);
}

/* Pricing Comparison */
.pricing-comparison {
    max-width: 900px;
    margin: var(--space-12) auto 0;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.comparison-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
}

.comparison-header span {
    font-weight: 600;
    font-size: 0.9375rem;
}

.comparison-toggle {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: var(--space-1);
    transition: transform 0.3s ease;
}

.comparison-toggle.open {
    transform: rotate(180deg);
}

.comparison-table {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.comparison-table.open {
    max-height: 600px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--color-border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: var(--color-bg-secondary);
    font-weight: 600;
    font-size: 0.8125rem;
}

.comparison-feature,
.comparison-plan {
    padding: var(--space-3) var(--space-4);
    font-size: 0.875rem;
}

.comparison-feature {
    color: var(--color-text-secondary);
}

.comparison-plan {
    text-align: center;
    color: var(--color-text-muted);
}

.comparison-plan.featured {
    background: rgba(255, 218, 0, 0.05);
    color: var(--color-text-primary);
    font-weight: 500;
}

.comparison-plan.check {
    color: var(--color-success);
}

.pricing-cta {
    text-align: center;
    margin-top: var(--space-8);
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.pricing-cta a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ========================================
   DEVELOPER SECTION
   ======================================== */
.developer-section {
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
}

.developer-section .container {
    position: relative;
    z-index: 1;
}

.dev-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.dev-bg-glow {
    position: absolute;
    top: 30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.developer-section .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.dev-showcase {
    max-width: 1100px;
    margin: 0 auto;
}

/* IDE Component */
.dev-ide {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
}

.ide-chrome {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: #161b22;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ide-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.ide-tabs {
    display: flex;
    gap: 2px;
    flex: 1;
}

.ide-tab {
    padding: var(--space-2) var(--space-4);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    color: #8b949e;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ide-tab:hover {
    color: #c9d1d9;
    background: rgba(255, 255, 255, 0.05);
}

.ide-tab.active {
    background: rgba(255, 244, 88, 0.1);
    color: var(--color-primary);
}

.ide-actions {
    display: flex;
    gap: var(--space-2);
}

.ide-copy {
    padding: var(--space-2);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #8b949e;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ide-copy:hover {
    color: #c9d1d9;
    border-color: rgba(255, 255, 255, 0.2);
}

.ide-body {
    display: flex;
    min-height: 320px;
}

.ide-sidebar {
    width: 180px;
    padding: var(--space-3);
    background: #0d1117;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: #8b949e;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #c9d1d9;
}

.sidebar-item.active {
    background: rgba(255, 244, 88, 0.1);
    color: var(--color-primary);
}

.ide-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.ide-line-numbers {
    display: flex;
    flex-direction: column;
    padding: var(--space-4) var(--space-3);
    background: #0d1117;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #484f58;
    user-select: none;
}

.ide-code {
    flex: 1;
    padding: var(--space-4);
    overflow-x: auto;
}

.code-block {
    display: none;
    margin: 0;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #c9d1d9;
    white-space: pre;
}

.code-block.active {
    display: block;
}

/* Syntax Highlighting */
.token.comment { color: #8b949e; font-style: italic; }
.token.keyword { color: #ff7b72; }
.token.string { color: #a5d6ff; }
.token.function { color: #d2a8ff; }
.token.flag { color: #79c0ff; }
.token.class { color: #ffa657; }
.token.variable { color: #ffa657; }
.token.boolean { color: #79c0ff; }
.token.builtin { color: #d2a8ff; }
.token.php { color: #ff7b72; }

/* Terminal */
.ide-terminal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #161b22;
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-title {
    font-size: 0.75rem;
    color: #8b949e;
    font-weight: 500;
}

.terminal-status {
    font-size: 0.6875rem;
    color: #8b949e;
}

.terminal-status.online {
    color: #3fb950;
}

.terminal-content {
    padding: var(--space-4);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.prompt {
    color: #3fb950;
}

.command {
    color: #c9d1d9;
}

.command.typing {
    position: relative;
}

.command.typing::after {
    content: '|';
    position: absolute;
    right: -8px;
    animation: blink 1s step-end infinite;
    color: #3fb950;
}

@keyframes blink {
    50% { opacity: 0; }
}

.terminal-line.response {
    gap: var(--space-3);
}

.response-status {
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
}

.response-status.success {
    background: rgba(63, 185, 80, 0.2);
    color: #3fb950;
}

.response-time {
    color: #8b949e;
    font-size: 0.6875rem;
}

.terminal-output {
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.terminal-output pre {
    margin: 0;
    color: #7ee787;
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Developer Features */
.dev-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.dev-feature {
    text-align: center;
    padding: var(--space-6);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.dev-feature:hover {
    border-color: var(--color-primary-glow);
    transform: translateY(-4px);
}

.dev-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-4);
    background: var(--color-primary-muted);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.dev-feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.dev-feature-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

.dev-cta {
    text-align: center;
    margin-top: var(--space-10);
}

.dev-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 218, 0, 0.1) 0%, transparent 60%);
}

.cta-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 218, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 218, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.cta-actions {
    margin-bottom: var(--space-6);
}

.cta-actions .btn svg {
    transition: transform 0.3s ease;
}

.cta-actions .btn:hover svg {
    transform: translateX(4px);
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.trust-item {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.trust-check {
    color: var(--color-primary);
    font-weight: 700;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand img {
    height: 32px;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
    color: var(--color-text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* ========================================
   LANDING NAV OVERRIDE
   ======================================== */
.landing-nav {
    background: transparent;
    border-bottom: none;
    transition: all var(--transition-base);
}

.landing-nav.scrolled {
    background: rgba(10, 10, 11, 0.95);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .pipeline-stage {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .pipeline-stage.reverse {
        direction: ltr;
    }
    
    .stage-visual {
        order: -1;
    }
    
    .stage-animation {
        height: 350px;
    }
    
    /* Journey Timeline - Tablet */
    .timeline-track {
        display: none;
    }
    
    .journey-steps {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .step-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Pricing - Tablet */
    .pricing-showcase {
        display: flex;
        flex-direction: column;
        gap: var(--space-8);
    }
    
    .pricing-orbit {
        display: none;
    }
    
    .pricing-featured {
        max-width: 400px;
        order: -1;
    }
    
    .pricing-sides {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: center;
        gap: var(--space-6);
        pointer-events: auto;
    }
    
    .side-plan {
        width: 100%;
        max-width: 400px;
        transform: none !important;
    }
    
    .plan-connector {
        display: none;
    }
    
    /* Developer - Tablet */
    .dev-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ide-sidebar {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .float-element {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-16) 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .stage-animation {
        height: 300px;
        transform: scale(0.85);
    }
    
    .scraping-browser {
        width: 240px;
    }
    
    .data-collector {
        display: none;
    }
    
    /* Journey - Mobile */
    .journey-step {
        padding: 0 var(--space-4);
    }
    
    .step-marker {
        width: 60px;
        height: 60px;
    }
    
    .marker-core svg {
        width: 22px;
        height: 22px;
    }
    
    .connector-label {
        display: none;
    }
    
    /* Pricing - Mobile */
    .pricing-featured {
        padding: var(--space-6);
    }
    
    .featured-price .amount {
        font-size: 3rem;
    }
    
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
    
    .comparison-feature,
    .comparison-plan {
        padding: var(--space-2);
        font-size: 0.75rem;
    }
    
    /* Developer - Mobile */
    .dev-features {
        grid-template-columns: 1fr;
    }
    
    .ide-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .ide-tab {
        white-space: nowrap;
        padding: var(--space-2) var(--space-3);
        font-size: 0.75rem;
    }
    
    .ide-body {
        min-height: 250px;
    }
    
    .ide-code {
        font-size: 0.7rem;
    }
    
    .ide-line-numbers {
        font-size: 0.7rem;
        padding: var(--space-3) var(--space-2);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: var(--space-6);
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .cta-trust {
        flex-direction: column;
        gap: var(--space-2);
    }
}

