/* Hero Lineups */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-layout {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-metrics {
        justify-content: center;
    }

    .iphone-mockup {
        margin: 0 auto;
    }
}

/* Hero Content */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    background: var(--bg-overlay);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pulse-dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success-color);
    box-shadow: 0 0 0 0 rgba(46, 204, 166, 0.4);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    70% {
        box-shadow: 0 0 0 6px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

.hero-title {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.title-gradient {
    background: linear-gradient(180deg, #FFFFFF 0%, #888888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 90%;
    margin-bottom: 2.5rem;
}

.hero-subtitle b {
    color: var(--text-primary);
    font-weight: 500;
}

.hero-subtitle strong {
    color: var(--success-color);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-metrics {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.h-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hm-value {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hm-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.h-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

/* Trusted Ticker (Integrations) */
.trusted-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    scroll-margin-top: 80px;
    overflow: hidden;
}

.trusted-text {
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
    font-weight: 500;
}

.logo-ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scrollTicker 30s linear infinite;
    gap: 5rem;
    align-items: center;
    padding-right: 5rem;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

.ticker-item:hover {
    color: var(--text-primary);
    opacity: 1;
}

.ticker-item i {
    font-size: 2rem;
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50%));
    }
}

/* iPhone Hardware Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.iphone-mockup {
    width: 340px;
    height: 680px;
    background: #000;
    border-radius: 46px;
    padding: 12px;
    box-shadow: 0 0 0 1px #222, 0 0 0 3px #111, 0 30px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s var(--bezier-smooth);
}

.iphone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.iphone-hardware {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    background: var(--bg-elevated);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 32px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.iphone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

.comp-panel {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-elevated);
    overflow: hidden;
}

.c-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.c-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.c-badge.critical {
    background: rgba(255, 74, 74, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(255, 74, 74, 0.2);
}

.c-badge.optimum {
    background: rgba(46, 204, 166, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(46, 204, 166, 0.2);
}

.c-viewport {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 250px;
    background: var(--bg-base);
}

.c-msg {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    max-width: 90%;
    line-height: 1.5;
}

.c-user {
    align-self: flex-end;
    background: #1a1a1a;
    border: 1px solid var(--border-color);
}

.c-bot {
    align-self: flex-start;
    border: 1px solid var(--border-color);
}

.c-ai {
    border-color: var(--border-highlight);
    background: var(--bg-overlay);
}

.c-insight {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: -0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-surface);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Final CTA */
.cta-section {
    padding-bottom: 8rem;
}

.cta-container {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ROI Calculator Section */
.roi-section {
    padding: 6rem 0;
    position: relative;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.4) 0%, transparent 60%);
}

.roi-calculator {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.roi-controls {
    margin-bottom: 3rem;
}

.roi-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-surface);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.roi-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    outline: none;
    transition: background 0.2s;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: transform 0.1s;
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.roi-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.roi-stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.roi-stat-card:hover {
    transform: translateY(-5px);
}

.roi-stat-card.primary {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.rs-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-primary);
}

.roi-stat-card.primary .rs-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rs-info {
    display: flex;
    flex-direction: column;
}

.rs-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.rs-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.roi-footer {
    font-size: 0.75rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

@media (max-width: 768px) {
    .roi-results {
        grid-template-columns: 1fr;
    }

    .roi-calculator {
        padding: 1.5rem;
    }

    .hero {
        padding: 120px 32px 60px 32px;
    }

    .hero-layout {
        gap: 3rem;
    }

    .hero-content {
        align-items: flex-start;
        text-align: left;
    }

    .hero-metrics {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}