/* ========================================
   Quick Search Extension - Official Website
   ======================================== */

/* --- CSS Variables --- */
:root {
    --primary: #007AFF;
    --primary-light: #5AC8FA;
    --primary-dark: #0056b3;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-light: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(0, 122, 255, 0.4);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #007AFF 0%, #5AC8FA 100%);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lang-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.lang-toggle:active {
    transform: translateY(0);
}

/* --- Hero Section - Split Layout --- */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 122, 255, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(90, 200, 250, 0.1), transparent);
    pointer-events: none;
}

.hero-split {
    position: relative;
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-left {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-2);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}

/* --- Visual Effects - Premium Aurora Glow --- */
.hero-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Primary ambient glow - soft blue-indigo */
.hero-glow-effect::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 40%;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at center,
            rgba(99, 102, 241, 0.35) 0%,
            rgba(79, 70, 229, 0.2) 30%,
            rgba(55, 48, 163, 0.1) 50%,
            transparent 70%);
    filter: blur(120px);
    animation: glowDrift1 20s ease-in-out infinite alternate;
}

/* Secondary accent - cyan-teal highlight */
.hero-glow-effect::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse 70% 50% at center,
            rgba(34, 211, 238, 0.25) 0%,
            rgba(6, 182, 212, 0.15) 35%,
            transparent 60%);
    filter: blur(100px);
    animation: glowDrift2 18s ease-in-out infinite alternate-reverse;
}

@keyframes glowDrift1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(-5%, 3%) scale(1.05);
        opacity: 0.85;
    }
}

@keyframes glowDrift2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }

    50% {
        opacity: 0.95;
    }

    100% {
        transform: translate(3%, -2%) scale(1.08);
        opacity: 0.75;
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 6px 2px rgba(255, 255, 255, 0.6),
        0 0 12px 4px rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: particleDrift linear infinite;
}

@keyframes particleDrift {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-150px) translateX(20px);
        opacity: 0;
    }
}

.cta-icon {
    width: 18px;
    height: 18px;
}

/* --- Hero Right: Demo Browser --- */
.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.demo-browser {
    width: 420px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    /* Colorful glow shadow to complement background */
    box-shadow:
        0 20px 60px rgba(139, 92, 246, 0.25),
        0 10px 30px rgba(59, 130, 246, 0.2),
        0 0 80px rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.browser-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f5f5f7;
    border-bottom: 1px solid #e0e0e0;
}

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

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

.browser-dot.red {
    background: #ff5f56;
}

.browser-dot.yellow {
    background: #ffbd2e;
}

.browser-dot.green {
    background: #27ca40;
}

.browser-address {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
}

.lock-icon {
    width: 12px;
    height: 12px;
    fill: #27ca40;
}

.browser-content {
    position: relative;
    padding: 20px;
    min-height: 280px;
    background: #fff;
}

/* Fake Article Content */
.fake-article {
    opacity: 0.9;
}

.fake-title {
    height: 18px;
    width: 70%;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 16px;
}

.fake-text {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    align-items: center;
}

.text-line {
    height: 10px;
    background: #e8e8e8;
    border-radius: 3px;
    flex: 1;
    min-width: 80px;
}

.text-line.short {
    flex: 0.4;
}

.text-highlight {
    display: inline-block;
    padding: 2px 6px;
    background: transparent;
    color: #333;
    font-size: 12px;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

/* --- Demo Animation Elements --- */
.demo-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    color: #333;
    opacity: 0;
    animation: cursorMove 8s infinite;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.demo-cursor svg {
    width: 100%;
    height: 100%;
}

@keyframes cursorMove {

    0%,
    5% {
        left: 280px;
        top: 180px;
        opacity: 0;
    }

    10% {
        left: 280px;
        top: 180px;
        opacity: 1;
    }

    20% {
        left: 20px;
        top: 103px;
        opacity: 1;
    }

    23%,
    35% {
        left: 110px;
        top: 103px;
        opacity: 1;
    }

    38%,
    100% {
        left: 110px;
        top: 103px;
        opacity: 0;
    }
}

/* Selection Animation */
.demo-selection {
    position: absolute;
    left: 20px;
    top: 103px;
    width: 0;
    height: 18px;
    background: rgba(0, 122, 255, 0.3);
    border-radius: 2px;
    opacity: 0;
    animation: selectionGrow 8s infinite;
    display: block;
}

@keyframes selectionGrow {

    0%,
    20% {
        width: 0;
        opacity: 0;
    }

    22% {
        width: 0;
        opacity: 1;
    }

    25%,
    65% {
        width: 90px;
        opacity: 1;
    }

    68%,
    100% {
        width: 90px;
        opacity: 0;
    }
}

/* Background Overlay for dimming */
.demo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: overlayShow 8s infinite;
    z-index: 22;
    pointer-events: none;
}

@keyframes overlayShow {

    0%,
    63% {
        opacity: 0;
    }

    65%,
    95% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Key Press Animation - Two Alt keys appear sequentially */
.demo-keypress {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

.demo-keypress span {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: scale(0.8);
}

.demo-keypress span:first-child {
    animation: keypressFirst 8s infinite;
}

.demo-keypress span:last-child {
    animation: keypressSecond 8s infinite;
}

@keyframes keypressFirst {

    0%,
    27% {
        opacity: 0;
        transform: scale(0.8);
    }

    30%,
    38% {
        opacity: 1;
        transform: scale(1);
    }

    40%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes keypressSecond {

    0%,
    32% {
        opacity: 0;
        transform: scale(0.8);
    }

    35%,
    38% {
        opacity: 1;
        transform: scale(1);
    }

    40%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Enter Key Animation */
.demo-enter {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%);
    z-index: 22;
    opacity: 0;
    animation: enterShow 8s infinite;
}

.demo-enter span {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: block;
}

@keyframes enterShow {

    0%,
    53% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }

    55%,
    62% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    64%,
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
}

/* Search Popup Animation */
.demo-popup {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    animation: popupShow 8s infinite;
    z-index: 20;
}

@keyframes popupShow {

    0%,
    38% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    40% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    60% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    63%,
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

.popup-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    min-width: 220px;
}

.popup-input {
    background: #f5f5f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 10px;
}

.input-text {
    font-size: 12px;
    color: #333;
}

.popup-buttons {
    display: flex;
    gap: 6px;
}

.popup-btn {
    flex: 1;
    padding: 6px 8px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 11px;
    color: #666;
    text-align: center;
}

.popup-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 122, 255, 0.1);
}

/* Result Window Animation */
.demo-result {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 360px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: resultShow 8s infinite;
    z-index: 25;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.result-controls {
    display: flex;
    gap: 4px;
}

.result-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.result-content {
    padding: 16px;
}

.result-item {
    margin-bottom: 14px;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-title {
    height: 16px;
    width: 85%;
    background: #1a0dab;
    border-radius: 2px;
    margin-bottom: 8px;
}

.result-desc {
    height: 12px;
    width: 100%;
    background: #eee;
    border-radius: 2px;
    margin-bottom: 4px;
}

.result-item .result-desc:last-child {
    width: 70%;
}

@keyframes resultShow {

    0%,
    63% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    65% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    92%,
    95% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

/* --- Demo Mode Toggle Buttons --- */
.demo-mode-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.mode-btn {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.mode-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* --- Instant Search Mode Animations --- */
/* Hide popup and enter key in instant mode */
.demo-browser.instant-mode .demo-popup,
.demo-browser.instant-mode .demo-enter {
    display: none !important;
}

/* Faster overlay in instant mode */
.demo-browser.instant-mode .demo-overlay {
    animation: instantOverlayShow 5s infinite;
}

@keyframes instantOverlayShow {

    0%,
    38% {
        opacity: 0;
    }

    40%,
    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Faster result show in instant mode */
.demo-browser.instant-mode .demo-result {
    animation: instantResultShow 5s infinite;
}

@keyframes instantResultShow {

    0%,
    38% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    40% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    88%,
    92% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

/* Faster cursor in instant mode */
.demo-browser.instant-mode .demo-cursor {
    animation: instantCursorMove 5s infinite;
}

@keyframes instantCursorMove {

    0%,
    5% {
        left: 280px;
        top: 180px;
        opacity: 0;
    }

    10% {
        left: 280px;
        top: 180px;
        opacity: 1;
    }

    20% {
        left: 20px;
        top: 103px;
        opacity: 1;
    }

    23%,
    35% {
        left: 110px;
        top: 103px;
        opacity: 1;
    }

    38%,
    100% {
        left: 110px;
        top: 103px;
        opacity: 0;
    }
}

/* Faster selection in instant mode */
.demo-browser.instant-mode .demo-selection {
    animation: instantSelectionGrow 5s infinite;
}

@keyframes instantSelectionGrow {

    0%,
    20% {
        width: 0;
        opacity: 0;
    }

    22% {
        width: 0;
        opacity: 1;
    }

    25%,
    38% {
        width: 90px;
        opacity: 1;
    }

    42%,
    100% {
        width: 90px;
        opacity: 0;
    }
}

/* Faster keypress in instant mode */
.demo-browser.instant-mode .demo-keypress span:first-child {
    animation: instantKeypressFirst 5s infinite;
}

.demo-browser.instant-mode .demo-keypress span:last-child {
    animation: instantKeypressSecond 5s infinite;
}

@keyframes instantKeypressFirst {

    0%,
    27% {
        opacity: 0;
        transform: scale(0.8);
    }

    30%,
    36% {
        opacity: 1;
        transform: scale(1);
    }

    38%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes instantKeypressSecond {

    0%,
    32% {
        opacity: 0;
        transform: scale(0.8);
    }

    35%,
    36% {
        opacity: 1;
        transform: scale(1);
    }

    38%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* --- Section Common --- */
section {
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

/* --- Features Section --- */
.features {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--glow-color), transparent 70%);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.3);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* --- Demo Section --- */
.demo {
    max-width: 1000px;
    margin: 0 auto;
}

.demo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    /* Shift content right to balance visual weight */
    padding-left: 80px;
}

.demo-mockup {
    flex: 1;
    min-width: 340px;
    max-width: 400px;
}

/* Mockup Popup Styles */
.mockup-popup {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 20px;
    /* Blue-purple glow shadow */
    box-shadow:
        0 20px 60px rgba(99, 102, 241, 0.25),
        0 10px 30px rgba(79, 70, 229, 0.2),
        0 0 80px rgba(139, 92, 246, 0.15);
    position: relative;
    transition: all 0.8s ease-in-out;
}

.mockup-drag-handle {
    height: 4px;
    width: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 16px;
    transition: background 0.8s ease;
}

.mockup-status {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color 0.8s ease;
}

.mockup-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.mockup-input {
    flex: 1;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.8s ease;
}

.mockup-settings {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 4px;
}

.mockup-settings .dot {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: background 0.8s ease;
}

.mockup-buttons {
    display: flex;
    gap: 8px;
    position: relative;
}

.mockup-btn {
    flex: 1;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.8s ease;
}

.mockup-btn.active {
    border-color: var(--primary);
    color: var(--primary);
}

.mockup-indicator {
    position: absolute;
    bottom: 5px;
    left: calc(12.5% - 3px);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #42e695, #3bb2b8);
    border-radius: 50%;
    animation: breathing 2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes breathing {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}



/* Light Mode Styles for Demo */
.mockup-popup.mode-light {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    /* Blue-purple glow shadow for light mode too */
    box-shadow:
        0 20px 60px rgba(99, 102, 241, 0.2),
        0 10px 30px rgba(79, 70, 229, 0.15),
        0 0 80px rgba(139, 92, 246, 0.12);
}

.mockup-popup.mode-light .mockup-status {
    color: #666;
}

.mockup-popup.mode-light .mockup-input {
    background: #f5f5f7;
    border-color: #e0e0e0;
    color: #333;
}

.mockup-popup.mode-light .mockup-settings .dot {
    background: #999;
}

.mockup-popup.mode-light .mockup-btn {
    background: #fff;
    border-color: #ddd;
    color: #555;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mockup-popup.mode-light .mockup-btn.active {
    background: rgba(0, 122, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.mockup-popup.mode-light .mockup-drag-handle {
    background: #e0e0e0;
}

.demo-features {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 15px;
}

.demo-feature-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Details Section --- */
.details {
    max-width: 900px;
    margin: 0 auto;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-normal);
}

.detail-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 122, 255, 0.2);
    transform: translateX(4px);
}

.detail-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    padding: 40px 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-text a,
.footer-link-text {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-text a:hover,
.footer-link-text:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.footer-highlight {
    color: var(--primary);
}

.copyright {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-filing a {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 10px;
}

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

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-right {
        width: 100%;
    }

    .demo-browser {
        width: 100%;
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 16px;
    }

    .logo-text {
        font-size: 16px;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    section {
        padding: 60px 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .features-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .demo-container {
        gap: 40px;
    }

    .demo-mockup {
        min-width: 280px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .demo-browser {
        max-width: 320px;
    }
}

/* --- Utility Classes --- */
.hidden {
    display: none !important;
}