/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}


.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: #1a1a1a;
    position: relative;
    cursor: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 3;
}

/* Block illumination behind all hero content */
.hero-content::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    right: -2rem;
    bottom: -2rem;
    background: #1a1a1a;
    z-index: -1;
    border-radius: 16px;
    border: 2px solid #333;
}

/* Illuminated background layer */
.illuminated-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}


.illuminated-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: none;
    text-align: center;
    opacity: 1; /* Full opacity for the container */
    padding: 0 2rem;
}

.illuminated-text p {
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
    position: relative;
    text-align: left;
    display: block;
    width: 100%;
    max-width: none;
    white-space: pre-wrap; /* Preserve whitespace including tabs */

    /* Create the illumination mask for the text - only visible on hover */
    background: radial-gradient(circle at var(--mouse-x, -100px) var(--mouse-y, -100px),
                    rgba(255, 255, 255, 1) 0%,
                    rgba(255, 255, 255, 0.9) 4%,
                    rgba(255, 255, 255, 0.6) 8%,
                    rgba(255, 255, 255, 0.3) 12%,
                    rgba(255, 255, 255, 0) 18%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Fallback illumination effect - only visible on hover */
    mask: radial-gradient(circle at var(--mouse-x, -100px) var(--mouse-y, -100px),
              rgba(0, 0, 0, 1) 0%,
              rgba(0, 0, 0, 0.9) 3%,
              rgba(0, 0, 0, 0.6) 6%,
              rgba(0, 0, 0, 0.3) 9%,
              rgba(0, 0, 0, 0) 12%);
}

/* Custom cursor - flashlight style */
.hero-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    transition: transform 0.1s ease;
    display: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Cursor visibility handled by JavaScript */

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 3;
}

.hero p {
    font-size: 1.25rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
}


.cta-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 3;
    display: inline-block;
    text-decoration: none;
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

/* Demo Section */
.demo-section {
    min-height: 100vh;
    padding: 5rem 2rem;
    background: #222222;
    display: flex;
    align-items: center;
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    align-items: center;
}

.demo-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #e0e0e0;
}

.demo-content p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.demo-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e0e0e0;
    font-size: 0.95rem;
}

.demo-feature-icon {
    font-size: 1.2rem;
}

.demo-mockup {
    background: #0d1117;
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #30363d;
}

.demo-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #21262d;
    border-radius: 12px 12px 0 0;
}

.demo-mockup::after {
    content: '● ● ●';
    position: absolute;
    top: 8px;
    left: 15px;
    color: #ff5f56;
    font-size: 12px;
}

.json-content {
    margin-top: 30px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.json-key {
    color: #79c0ff;
}

.json-string {
    color: #a5d6ff;
}

.json-number {
    color: #79c0ff;
}

.json-array {
    color: #f97583;
}

/* Features Section */
.features-section {
    padding: 5rem 2rem !important;
    background: #1a1a1a !important;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features-title {
    font-size: 2.5rem !important;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e0e0e0 !important;
}

.features-subtitle {
    font-size: 1.2rem !important;
    color: #b0b0b0 !important;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 3rem;
}

.feature-card {
    background: #222222 !important;
    border: 1px solid #333 !important;
    border-radius: 16px !important;
    padding: 2.5rem 2rem !important;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    border-color: #667eea !important;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) !important;
}

.feature-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 1.5rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
}

.feature-icon svg {
    color: white !important;
}

.feature-icon .material-icons {
    color: white !important;
    font-size: 64px !important;
    line-height: 1 !important;
}

.feature-card h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    color: #e0e0e0 !important;
    text-transform: capitalize;
}

.feature-card p {
    color: #b0b0b0 !important;
    line-height: 1.6 !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 2rem;
    background: #1a1a1a;
}

.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.pricing-description {
    color: #b0b0b0;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: #b0b0b0;
    margin-right: 0.25rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #e0e0e0;
}

.period {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-left: 0.25rem;
}

.pricing-features {
    margin-bottom: 2rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.feature-item svg {
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.feature-item.disabled {
    color: #666;
}

.pricing-cta {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.pricing-cta.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.pricing-cta.featured:hover {
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
}

/* Interactive Demo Section */
.interactive-demo-container {
    background: #0d1117;
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #30363d;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.interactive-demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #21262d;
    border-radius: 12px 12px 0 0;
}

.interactive-demo-container::after {
    content: '● ● ●';
    position: absolute;
    top: 8px;
    left: 15px;
    color: #ff5f56;
    font-size: 12px;
    z-index: 1;
}

/* Loading State */
.demo-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
}

.demo-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #30363d;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: demo-spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes demo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.demo-loading-text p {
    color: #b0b0b0;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Demo Results Container */
.demo-results-container {
    height: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

/* Test Navigation */
.demo-test-nav {
    margin-bottom: 1.5rem;
}

.demo-test-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.demo-test-btn {
    background: #30363d;
    color: #b0b0b0;
    border: 1px solid #404040;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-test-btn:hover {
    background: #404040;
    border-color: #667eea;
    color: #e0e0e0;
}

.demo-test-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* Results Display */
.demo-results-display {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    color: #e0e0e0;
    flex: 1;
    overflow-y: auto;
}

.demo-test-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.demo-test-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 0;
    font-family: inherit;
}

.demo-score {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.demo-score-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    font-family: inherit;
}

.demo-score-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-score-status.excellent {
    background: #10b981;
    color: white;
}

.demo-score-status.good {
    background: #f59e0b;
    color: white;
}

.demo-score-status.fair {
    background: #ef4444;
    color: white;
}

.demo-test-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-section {
    margin-bottom: 0;
}

.demo-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.75rem;
    font-family: inherit;
}

.demo-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-section li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #2a2a2a;
    color: #b0b0b0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.demo-section li:last-child {
    border-bottom: none;
}

/* Iframe Container */
.demo-iframe-container {
    flex: 1;
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.demo-iframe {
    width: 100%;
    height: 600px;
    border: none;
    background: white;
    transition: all 0.3s ease;
}

.demo-iframe.mobile-view {
    width: 375px;
    height: 667px;
    margin: 0 auto;
    display: block;
}

/* Demo Controls */
.demo-controls {
    margin-top: 1rem;
    padding: 1rem;
    background: #21262d;
    border-radius: 8px;
    border: 1px solid #30363d;
}

.demo-controls-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.demo-info h4 {
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.demo-info p {
    color: #b0b0b0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.demo-actions {
    display: flex;
    gap: 0.75rem;
}

.demo-refresh-btn,
.demo-resize-btn {
    background: #30363d;
    color: #e0e0e0;
    border: 1px solid #404040;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.demo-refresh-btn:hover,
.demo-resize-btn:hover {
    background: #404040;
    border-color: #667eea;
    color: #667eea;
}

.demo-resize-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* Responsive adjustments for demo */
@media (max-width: 768px) {
    .interactive-demo-container {
        height: 500px;
    }

    .demo-iframe {
        height: 500px;
    }

    .demo-iframe.mobile-view {
        width: 320px;
        height: 568px;
    }

    .demo-controls-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .demo-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 2rem;
    background: #1a1a1a;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
}

.faq-accordion {
    text-align: left;
}

.faq-item {
    border: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #1a1a1a;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #667eea;
}

.faq-question:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #b0b0b0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #667eea;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #222222;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #0f0f0f;
    padding: 3rem 2rem 1rem;
    border-top: 1px solid #333;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: #888;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #888;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    background: #1a1a1a;
    border: 1px solid #333;
    text-decoration: none;
}

.social-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    transform: translateY(-2px);
}

.contact-info p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.contact-info strong {
    color: #e0e0e0;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #667eea;
}


/* Demo Test Suite Styles */
.demo-test-suite {
    background: #0d1117;
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #30363d;
    width: 100%;
    margin: 0 auto;
    max-height: 600px;
}

/* Settings Bar */
.demo-settings-bar {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid #30363d;
    min-height: 40px;
}

.demo-settings-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    height: 32px;
}

/* Site Selector Design */
.demo-site-selector {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    gap: 0.5rem;
    height: 30px;
    box-sizing: border-box;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-site-selector:hover {
    border-color: #5a6ecd;
}

.demo-site-selector.open,
.demo-site-selector:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.demo-site-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.demo-favicon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.demo-site-dropdown-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    flex: 1;
}

.demo-site-dropdown-selected {
    color: #e0e0e0;
    font-size: 0.9rem;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    font-weight: 500;
    flex: 1;
    min-width: 120px;
}

.demo-site-dropdown-arrow {
    color: #b0b0b0;
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    width: 0.7rem;
    height: 0.7rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0b0b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.demo-site-dropdown-wrapper.open .demo-site-dropdown-arrow {
    transform: rotate(180deg);
}

.demo-site-dropdown-options {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-top: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.demo-site-dropdown-wrapper.open .demo-site-dropdown-options {
    display: block;
}

.demo-site-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #2a2a2a;
}

.demo-site-option:last-child {
    border-bottom: none;
}

.demo-site-option:hover {
    background: #2a2a2a;
}

.demo-option-favicon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.demo-site-option span {
    color: #e0e0e0;
    font-size: 0.9rem;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    font-weight: 500;
}

.demo-settings-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    height: 32px;
}

/* Feature Badges */
.demo-feature-badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.demo-feature-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
    transition: all 0.2s ease;
}

.demo-feature-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Git Commit Display */
.demo-git-commit {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: #222;
    border: 1px solid #404040;
    border-radius: 4px;
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
    color: #b0b0b0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    height: 32px;
    box-sizing: border-box;
}

.demo-git-icon {
    display: flex;
    align-items: center;
    color: #888;
}

.demo-git-hash {
    color: #e0e0e0;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.demo-settings-group label {
    color: #b0b0b0;
    font-weight: 500;
}

.demo-settings-group input,
.demo-settings-group select {
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 4px;
    color: #e0e0e0;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    font-weight: 500;
    width: 70px;
    height: 30px;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0b0b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 0.7rem;
    padding-right: 2rem;
}

.demo-settings-group input:focus,
.demo-settings-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.demo-settings-group select:hover {
    border-color: #5a6ecd;
}

.demo-run-tests-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
}

.demo-run-tests-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Test Interface */
.demo-test-interface {
    display: block;
    margin-top: 1rem;
    min-height: 450px;
    max-height: 450px;
}

/* Test Header Row with Back Arrow and Tools */
.demo-test-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.demo-test-title-with-back {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.back-arrow-btn {
    background: none;
    border: none;
    color: #667eea;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-arrow-btn:hover {
    color: #764ba2;
    background: rgba(102, 126, 234, 0.1);
}

.demo-test-title-with-back h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.demo-tools-inline {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Categories Panel */
.demo-categories-panel {
    border-right: 1px solid #30363d;
    padding-right: 1rem;
}

.demo-category-group {
    margin-bottom: 1.5rem;
}

.demo-category-group:last-child {
    margin-bottom: 0;
}

.demo-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #404040;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
    margin: 0 0 0.5rem 0;
}

.demo-test-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.demo-test-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8rem;
}

.demo-test-item.unlocked:hover {
    background: #1a1a1a;
}

.demo-test-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.demo-test-item.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.demo-test-name {
    flex: 1;
    font-weight: 500;
}

.demo-test-status.unlocked::after {
    content: '●';
    color: #10b981;
    font-size: 0.8rem;
}

.demo-test-status.locked {
    font-size: 0.7rem;
}

/* Test Badges */
.demo-test-badge {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-left: 0.5rem;
    line-height: 1;
}

.demo-test-badge.up {
    background: #10b981;
    color: white;
}

.demo-test-badge.down {
    background: #ef4444;
    color: white;
}

/* Test Scores */
.demo-test-score {
    font-size: 0.8rem;
    font-weight: 600;
    color: #667eea;
    padding: 0.2rem 0.4rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 4px;
    min-width: 24px;
    text-align: center;
}

.demo-test-item.active .demo-test-score {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Results Panel */
.demo-results-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    max-height: 450px;
}

/* Test Title */
.demo-test-title {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #404040;
    margin-bottom: 0.5rem;
}

.demo-test-title h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 0;
    font-family: 'Mukta', Arial, Helvetica, sans-serif;
}

/* Test Summary */
.demo-test-summary {
    margin-bottom: 1.5rem;
}

.demo-summary-layout {
    display: flex;
    gap: 1rem;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 6px;
    overflow: hidden;
}

.demo-score-section {
    flex: 0 0 25%;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-right: 1px solid #404040;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.demo-score-section h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-overall-score {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-overall-score .demo-score-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.demo-overall-score .demo-score-label {
    font-size: 1rem;
    color: #b0b0b0;
    font-weight: 500;
    margin-top: -0.2rem;
}

.demo-results-section {
    flex: 1;
    padding: 0.75rem;
}

.demo-results-section h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demo-results-section p {
    color: #b0b0b0;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Tools Used */
.demo-tools-used {
    margin-bottom: 1.5rem;
}

.demo-tools-used h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.demo-tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.demo-tool-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #404040;
    background: #1a1a1a;
    color: #888;
    transition: all 0.2s ease;
}

.demo-tool-badge.active {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    color: #667eea;
}

/* Test Runs */
.demo-test-runs h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

/* Run Results */
.demo-run-results {
    margin-top: 1rem;
}

.demo-run-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 6px 6px 0 0;
    border-bottom: none;
}

.demo-run-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e0e0e0;
}

.demo-run-score {
    font-size: 0.9rem;
    font-weight: 700;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.demo-run-content {
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 0 0 6px 6px;
    padding: 0.75rem;
}

.demo-run-content > p {
    color: #b0b0b0;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 0;
}

.demo-run-content .demo-result-section {
    margin-bottom: 1rem;
}

.demo-run-content .demo-result-section:last-child {
    margin-bottom: 0;
}

.demo-run-content h6 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.demo-run-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-run-content li {
    color: #b0b0b0;
    padding: 0.25rem 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 0.75rem;
    line-height: 1.3;
    position: relative;
    padding-left: 1rem;
}

.demo-run-content li:last-child {
    border-bottom: none;
}

.demo-run-content li::before {
    content: '•';
    color: #667eea;
    position: absolute;
    left: 0;
}

/* Website Preview */
.demo-website-preview {
    flex: 1;
    min-height: 300px;
}

.demo-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #1a1a1a;
    border-radius: 6px 6px 0 0;
    border: 1px solid #404040;
    border-bottom: none;
}

.demo-preview-title {
    font-size: 0.75rem;
    color: #b0b0b0;
}

.demo-preview-controls {
    display: flex;
    gap: 0.25rem;
}

.demo-device-btn {
    background: transparent;
    border: 1px solid #404040;
    border-radius: 3px;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-device-btn.active {
    background: #667eea;
    border-color: #667eea;
}

.demo-device-btn:hover {
    background: #404040;
}

.demo-iframe-container {
    border: 1px solid #404040;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    height: 300px;
    background: white;
}

.demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: all 0.3s ease;
    /* Hide default browser controls */
    -webkit-appearance: none;
    appearance: none;
}

.demo-iframe.mobile-view {
    width: 375px;
    margin: 0 auto;
    display: block;
}

/* Test Results */
.demo-test-results {
    flex: 1;
    min-height: 200px;
}

.demo-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #404040;
}

.demo-results-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin: 0;
}

.demo-test-progress {
    font-size: 0.75rem;
    color: #b0b0b0;
}

/* Score Panel */
.demo-score-panel {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 6px;
    border: 1px solid #404040;
}

.demo-score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-score-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.demo-score-label {
    font-size: 0.8rem;
    color: #b0b0b0;
    margin-top: 0.25rem;
}

/* Results Tabs */
.demo-results-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.demo-results-tab {
    flex: 1;
    padding: 0.4rem 0.5rem;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 4px;
    color: #b0b0b0;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-results-tab:hover {
    background: #404040;
    color: #e0e0e0;
}

.demo-results-tab.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* Results Content */
.demo-results-content {
    font-size: 0.8rem;
    max-height: 200px;
    overflow-y: auto;
}

.demo-result-section {
    margin-bottom: 1rem;
}

.demo-result-section h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.demo-result-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-result-section li {
    color: #b0b0b0;
    padding: 0.25rem 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 0.75rem;
    line-height: 1.3;
    position: relative;
    padding-left: 1rem;
}

.demo-result-section li:last-child {
    border-bottom: none;
}

.demo-result-section li::before {
    content: '•';
    color: #667eea;
    position: absolute;
    left: 0;
}

/* Responsive for Demo Test Suite */
@media (max-width: 768px) {
    .demo-test-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .demo-test-title-with-back {
        width: 100%;
    }
    
    .demo-tools-inline {
        width: 100%;
        justify-content: flex-start;
    }
    
    .demo-categories-panel {
        border-right: none;
        border-bottom: 1px solid #30363d;
        padding-right: 0;
        padding-bottom: 1rem;
    }
    
    .demo-results-panel {
        padding-top: 1rem;
    }
    
    .demo-settings-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .demo-settings-group {
        justify-content: space-between;
    }
    
    .demo-run-tests-btn {
        margin-left: 0;
    }
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.3s linear;
    pointer-events: none;
}
