/* ══════════════════════════════════════════════
   NOTTY PAGE — Dedicated Styles
   Extends landing.css design system
   ══════════════════════════════════════════════ */

/* ─── GRADIENT OVERRIDE ─── */
.text-gradient-notty {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── NOTTY HERO ─── */
.notty-hero {
    background: linear-gradient(160deg, #0F172A 0%, #1E293B 40%, #0F172A 100%);
    color: white;
}

.notty-hero .hero-title {
    color: white;
}

.notty-hero .hero-lead {
    color: rgba(255, 255, 255, 0.7);
}

.notty-hero .hero-badge {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: #A78BFA;
}

.notty-hero .badge-pulse {
    background: #8B5CF6;
}

.notty-hero-logo {
    margin-bottom: 20px;
}

.notty-hero-logo img {
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
    margin: 0 auto;
}

.notty-hero .hero-wave svg path {
    fill: #ffffff;
}

/* Trust checks */
.hero-trust .trust-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
}

.hero-trust .trust-check i {
    color: #22C55E;
    font-size: 0.75rem;
}

/* ─── NOTTY HERO BROWSER MOCKUP ─── */
.notty-hero-mockup {
    max-width: 740px;
    margin: 40px auto 0;
    position: relative;
}

.notty-browser-mock-lg {
    background: #1A2234;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
}

.notty-browser-mock-lg .nbm-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.notty-browser-mock-lg .nbm-url {
    margin-left: 12px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 6px;
}

.notty-browser-mock-lg .nbm-url i {
    color: #22C55E;
    font-size: 0.6rem;
}

.nbm-content-lg {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nbm-heading {
    height: 16px;
    width: 45%;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    margin-bottom: 6px;
}

.nbm-text-line {
    height: 9px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.nbm-text-line.short {
    width: 60%;
}

.nbm-text-line.hl-yellow {
    background: rgba(251, 191, 36, 0.25);
}

.nbm-text-line.hl-blue {
    background: rgba(59, 130, 246, 0.25);
}

.nbm-text-line.hl-green {
    background: rgba(34, 197, 94, 0.25);
}

/* Floating toolbar mock */
.notty-toolbar-mock {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: floatToolbar 4s ease-in-out infinite;
    z-index: 10;
}

.ntb-color {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ntb-color:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ntb-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 4px;
}

.ntb-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    transition: var(--transition);
}

.ntb-icon:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Floating panel */
.notty-panel-float {
    position: absolute;
    top: 60px;
    right: -280px;
    width: 260px;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: floatPanel 5s ease-in-out infinite;
    z-index: 5;
}

.npf-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.npf-header img {
    border-radius: 6px;
}

.npf-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    padding: 10px 8px;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 6px;
    transition: var(--transition);
}

.npf-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.npf-item:last-child {
    margin-bottom: 0;
}

.npf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    box-shadow: 0 0 8px currentColor;
}

.npf-check {
    color: #22C55E;
    margin-left: auto;
    flex-shrink: 0;
}

/* ─── VALUE GRID ─── */
.notty-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nv-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    text-align: center;
    cursor: default;
}

.nv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #8B5CF6;
}

.nv-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    display: grid;
    place-items: center;
    color: #8B5CF6;
    font-size: 1.3rem;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.nv-card:hover .nv-icon {
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    color: white;
    transform: scale(1.1);
}

.nv-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.nv-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ─── STEPS ROW ─── */
.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #8B5CF6;
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    color: white;
    font-size: 0.78rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.08));
    display: grid;
    place-items: center;
    color: #8B5CF6;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.step-arrow {
    color: var(--text-light);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ─── FEATURE VISUALS (Notty-specific) ─── */

/* Highlighter demo */
.fv-highlighter-demo {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    margin: 0 auto;
}

.fvh-toolbar {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.fvh-color {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
}

.fvh-color.active {
    border-color: var(--text-dark);
    transform: scale(1.15);
}

.fvh-color:hover {
    transform: scale(1.15);
}

.fvh-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fvh-line {
    height: 10px;
    background: var(--bg-alt);
    border-radius: 4px;
}

.fvh-line.hl {
    border-radius: 4px;
}

.fvh-saved {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #22C55E;
    padding: 10px 14px;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.15);
    animation: fadeUp 0.6s ease forwards;
}

/* Capture demo */
.fv-capture-demo {
    max-width: 380px;
    margin: 0 auto;
    position: relative;
}

.fvc-area {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(59, 130, 246, 0.08));
    border: 2px dashed #8B5CF6;
    border-radius: var(--radius-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.fvc-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 3px solid #8B5CF6;
}

.fvc-corner.tl {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
    border-radius: 4px 0 0 0;
}

.fvc-corner.tr {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 4px 0 0;
}

.fvc-corner.bl {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 4px;
}

.fvc-corner.br {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 4px 0;
}

.fvc-content {
    text-align: center;
    color: #8B5CF6;
}

.fvc-content i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.fvc-content span {
    font-size: 0.82rem;
    font-weight: 600;
}

.fvc-toast {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    background: #22C55E;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

/* Transcript demo */
.fv-transcript-demo {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    margin: 0 auto;
}

.fvt-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-dark);
}

.fvt-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: grid;
    place-items: center;
    color: var(--bg-dark);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.fvt-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.fvt-progress {
    width: 55%;
    height: 100%;
    background: #8B5CF6;
    border-radius: 4px;
}

.fvt-lines {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fvt-line {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.fvt-line.active {
    background: rgba(139, 92, 246, 0.08);
    color: var(--text-dark);
    font-weight: 500;
    border-left: 3px solid #8B5CF6;
}

.fvt-time {
    font-size: 0.7rem;
    font-weight: 700;
    color: #8B5CF6;
    margin-right: 8px;
}

/* Voice demo */
.fv-voice-demo {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 380px;
    margin: 0 auto;
}

.fvv-mic {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
    animation: pulse 2s infinite;
}

.fvv-waves {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
    height: 32px;
    align-items: center;
}

.fvv-waves span {
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(to top, #8B5CF6, #3B82F6);
    animation: wave 1s ease-in-out infinite;
}

.fvv-waves span:nth-child(1) {
    height: 12px;
    animation-delay: 0s;
}

.fvv-waves span:nth-child(2) {
    height: 24px;
    animation-delay: 0.1s;
}

.fvv-waves span:nth-child(3) {
    height: 32px;
    animation-delay: 0.2s;
}

.fvv-waves span:nth-child(4) {
    height: 20px;
    animation-delay: 0.3s;
}

.fvv-waves span:nth-child(5) {
    height: 16px;
    animation-delay: 0.4s;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.4);
    }
}

.fvv-text {
    font-size: 0.88rem;
    font-style: italic;
    color: var(--text-secondary);
    padding: 14px;
    background: var(--bg-alt);
    border-radius: 10px;
    border-left: 3px solid #8B5CF6;
    text-align: left;
}

/* ─── CONNECT FLOW ─── */
.notty-connect-section {
    background: linear-gradient(165deg, #0F172A 0%, #1E293B 100%);
    color: white;
}

.notty-connect-section .section-title {
    color: white;
}

.notty-connect-section .section-desc {
    color: rgba(255, 255, 255, 0.65);
}

.connect-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cf-source,
.cf-destination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
}

.cf-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    transition: var(--transition);
}

.cf-icon:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.12);
}

.cf-icon img {
    border-radius: 12px;
}

.cf-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
}

.cf-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.cf-method {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.cf-method:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.cf-method i {
    color: #8B5CF6;
}

/* ─── FAQ ─── */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #8B5CF6;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question i {
    color: var(--text-light);
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: #8B5CF6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── NOTTY CTA FINAL ─── */
.notty-cta-final {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 50%, #06B6D4 100%);
    color: white;
    padding: 100px 0;
}

.notty-cta-final .cta-title {
    color: white;
}

.notty-cta-final .cta-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .notty-value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-row {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .step-card {
        width: 100%;
        max-width: 400px;
    }

    .connect-flow {
        flex-direction: column;
    }

    .cf-arrow {
        transform: rotate(90deg);
    }

    .notty-panel-float {
        display: none;
    }

    .notty-toolbar-mock {
        display: none;
    }
}

@media (max-width: 768px) {
    .notty-value-grid {
        grid-template-columns: 1fr;
    }

    .notty-hero-mockup {
        max-width: 100%;
    }

    .cf-methods {
        flex-direction: column;
        align-items: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .faq-question {
        font-size: 0.88rem;
        padding: 14px 18px;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-item.open .faq-answer {
        padding: 0 18px 16px;
    }
}

/* ─── ANIMATIONS ─── */
@keyframes floatToolbar {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes floatPanel {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}
