:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --primary: #8a2be2;
    --primary-glow: rgba(138, 43, 226, 0.4);
    --secondary: #00f5ff;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass-blur: 12px;

    /* Extension Specific Colors */
    --ext-toolbar-bg: rgba(26, 26, 26, 0.95);
    --ext-red: #ff5f57;
    --ext-yellow: #febc2e;
    --ext-pink: #ff7eb9;
    --ext-purple: #5e5ce6;
    --ext-green: #28c840;
    --ext-cyan: #7afcff;
    --ext-orange: #fe9a2e;
    --ext-violet: #9b51e0;
    --fluorescent-green: #ccff00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header */
.simple-logo-header {
    padding: 2rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    padding: 8px;
}

.simple-logo-header .logo {
    font-size: 4.5rem;
    gap: 1.5rem;
    letter-spacing: -0.02em;
}

.simple-logo-header .logo-icon {
    width: 80px;
    height: 80px;
}

/* Hero Section */
.hero {
    padding-top: 6rem;
    padding-bottom: 8rem;
    position: relative;
    text-align: center;
}

/* Explicit Footer Logo Styling */
.footer-brand .logo {
    font-size: 1.8rem !important;
    gap: 0.85rem !important;
}

.footer-brand .logo-icon {
    width: 48px !important;
    height: 48px !important;
    padding: 6px !important;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem; /* Reduced from 5rem to accommodate browsers list */
}

/* Available Platforms List */
.available-platforms {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.hero-content .available-platforms {
    margin-bottom: 5rem;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.platform-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.platform-badge img {
    width: 20px;
    height: 20px;
}

.available-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: 1;
    filter: blur(80px);
    pointer-events: none;
}

/* Mockup */
.hero-demo-container {
    width: 100%;
    max-width: 1000px;
    perspective: 1000px;
}

.hero-mockup {
    width: 100%;
    height: 500px;
    overflow: hidden;
    transform: rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.url-bar {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 0.25rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-grow: 1;
    text-align: left;
    display: flex;
    align-items: center;
}

.mockup-favicon {
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border-radius: 2px;
    object-fit: contain;
    padding: 1px;
}

.mockup-body {
    display: flex;
    flex-grow: 1;
    padding: 2rem;
    gap: 2rem;
    text-align: left;
    position: relative;
}

.content-skeleton {
    flex: 2;
}

.line {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    border-radius: 4px;
    position: relative;
    width: 100%;
}

.line:nth-child(odd) {
    width: 90%;
}

.line:nth-child(3n) {
    width: 70%;
}

.underline-purple {
    background: transparent !important;
    border-bottom: 2px solid var(--ext-violet);
    color: white;
    height: auto;
    padding-bottom: 2px;
    font-size: 0.9rem;
}

.highlight-red {
    background: rgba(255, 95, 87, 0.3) !important;
    border-left: 3px solid var(--ext-red);
    height: auto;
    padding: 4px 8px;
    font-size: 0.9rem;
}

.highlight-yellow {
    background: rgba(254, 188, 46, 0.3) !important;
    border-left: 3px solid var(--ext-yellow);
    height: auto;
    padding: 4px 8px;
    font-size: 0.9rem;
}

.highlight-green {
    background: rgba(40, 200, 64, 0.3) !important;
    border-left: 3px solid var(--ext-green);
    height: auto;
    padding: 4px 8px;
    font-size: 0.9rem;
}

/* Real Extension UI Mockup from Image */
.mockup-selection {
    background: rgba(0, 120, 215, 0.4);
    position: relative;
    border-radius: 2px;
    padding: 2px 4px;
    color: white;
}

.mockup-palette-container {
    position: absolute;
    top: -180px;
    /* Adjusted to float nicely above selection */
    left: 60%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 100;
}

.mockup-color-grid {
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.grid-dot {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.grid-dot:hover {
    transform: scale(1.1);
}

.mockup-toolbar-main {
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 2px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.tool-btn {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
}

.text-marker {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.text-underline {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.tool-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
}

.mockup-tooltip {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 10px;
    border-radius: 6px;
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.tooltip-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.tooltip-link:hover {
    text-decoration: underline;
}

.mockup-sidepanel {
    flex: 1;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.sidepanel-header {
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.sidepanel-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

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

.feature-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.feature-card::after {
    content: 'Click to Enlarge';
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 20;
}

.feature-card:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.feature-card:hover .feature-content {
    opacity: 0.2;
    filter: blur(4px);
}

.feature-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    padding: 1rem;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.4);
}

.feature-card:hover .feature-media {
    opacity: 1;
    pointer-events: auto;
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-media img {
    transform: scale(1);
}

.feature-content {
    transition: all 0.5s ease;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Privacy Section */
.privacy-callout {
    padding: 100px 0;
}

.callout-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    padding: 4rem;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.callout-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.callout-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-weight: 500;
}

.check-list i {
    color: var(--secondary);
    width: 20px;
}

.callout-graphic {
    display: flex;
    justify-content: center;
    position: relative;
}

.floating-lock {
    width: 150px;
    height: 150px;
    color: var(--primary);
    filter: drop-shadow(0 0 30px var(--primary-glow));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Free/Support Section */
.free-callout {
    padding: 100px 0;
}

.callout-reverse {
    grid-template-columns: 1fr 1.5fr;
}

.floating-gift {
    width: 150px;
    height: 150px;
    color: var(--secondary);
    filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.4));
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s; /* Offset from lock animation */
}

.support-btns {
    margin-top: 2rem;
}

.support-text {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
    color: var(--text-muted);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-patreon {
    background: #FF424D;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 66, 77, 0.2);
}

.btn-patreon:hover {
    background: #e63c45;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 66, 77, 0.4);
}

.btn-bmc {
    background: #FFDD00;
    color: #000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 221, 0, 0.2);
}

.btn-bmc:hover {
    background: #e6c700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 221, 0, 0.4);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 245, 255, 0.1));
    position: relative;
    overflow: hidden;
}

.cta-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--primary-glow));
    animation: float-short 4s ease-in-out infinite;
}

.cta-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    padding: 10px;
}

@keyframes float-short {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-content h2 {
    font-size: 3rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
}

.cta-btns {
    display: flex;
    gap: 1.5rem;
}

/* Footer Improvements */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-group a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.made-with {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.heart-icon {
    width: 16px;
    height: 16px;
    color: var(--fluorescent-green);
    fill: var(--fluorescent-green);
    filter: drop-shadow(0 0 5px rgba(204, 255, 0, 0.4));
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

/* Responsive */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 3rem;
    }

    .simple-logo-header .logo {
        font-size: 3rem;
        gap: 1rem;
    }

    .simple-logo-header .logo-icon {
        width: 56px;
        height: 56px;
    }

    .callout-content,
    .callout-reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        gap: 2rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    width: auto;
    max-width: 95%;
    position: relative;
    padding: 0.5rem;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    display: flex;
    flex-direction: column;
}

.modal-media {
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-media img {
    max-width: 100%;
    height: auto;
    max-height: 85vh;
    display: block;
}

.modal-text {
    padding: 1.5rem 1rem 0;
    text-align: center;
}

.modal-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-text p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .modal-container {
        max-width: 90%;
    }
}
/* Video Demo Section */
.video-demo {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 50px 120px rgba(138, 43, 226, 0.2);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .video-demo {
        padding: 60px 0;
    }
    
    .video-wrapper {
        padding: 1rem;
    }
}
