/* ============================================
   SIMPLE QR CODE GENERATOR - EXTENSION WEBSITE
   Redesigned: Icon Color Palette, Non-Card Layouts
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Icon-derived palette */
    --navy-deep: #0d1521;
    --navy: #1a2332;
    --navy-light: #243044;
    --navy-lighter: #2d3b52;
    --teal: #00b8d4;
    --teal-light: #4dd9e8;
    --teal-dark: #009ab3;
    --blue: #4285f4;
    --blue-light: #6ba3f7;
    --blue-dark: #2a6dd9;
    --white: #f0f4f8;
    --white-pure: #ffffff;
    --gray-100: #e1e8f0;
    --gray-200: #c4cfdc;
    --gray-300: #8e9bb0;
    --gray-400: #5f6d82;
    --gray-500: #3d4a5e;

    --green: #34d399;
    --red: #ef4444;
    --yellow: #fbbf24;

    /* Surfaces */
    --bg-body: var(--navy-deep);
    --bg-section: var(--navy);
    --bg-section-alt: #111d2e;
    --bg-surface: rgba(255, 255, 255, 0.04);
    --bg-nav: rgba(13, 21, 33, 0.9);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 184, 212, 0.3);

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1100px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 50px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Highlight Text (replaces gradient-text) ---- */
.highlight-text {
    color: var(--teal);
}

/* ---- Section Header ---- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    color: var(--white-pure);
}

.section-header p {
    font-size: 17px;
    color: var(--gray-300);
    max-width: 520px;
    margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal);
    color: var(--navy-deep);
}

.btn-primary:hover {
    background: var(--teal-dark);
    color: var(--white-pure);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-200);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
}

.nav-logo img {
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-300);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: var(--white-pure);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    background: var(--teal);
    color: var(--navy-deep);
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}

.nav-cta:hover {
    background: var(--teal-dark);
    color: var(--white-pure);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 68px;
    padding-bottom: 40px;
    background: var(--bg-body);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--teal);
    border: 1px solid rgba(0, 184, 212, 0.25);
    background: rgba(0, 184, 212, 0.06);
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
    animation: fadeUp 0.7s ease 0.1s both;
}

.hero h1 {
    font-size: clamp(38px, 5.5vw, 58px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
    animation: fadeUp 0.7s ease 0.2s both;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--gray-300);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 32px;
    animation: fadeUp 0.7s ease 0.35s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.7s ease 0.5s both;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 36px;
    animation: fadeUp 0.7s ease 0.65s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-300);
    padding: 0 16px;
}

.trust-divider {
    width: 1px;
    height: 16px;
    background: var(--gray-500);
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeUp 0.9s ease 0.3s both;
}

.hero-laptop-img {
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   STATS RIBBON (marquee)
   ============================================ */
.stats-ribbon {
    background: var(--navy);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 16px 0;
}

.stats-track {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.stat-pill {
    font-size: 14px;
    color: var(--gray-200);
}

.stat-pill strong {
    color: var(--teal);
    font-weight: 700;
}

.stat-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-500);
    flex-shrink: 0;
}

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

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

/* ============================================
   FEATURES - Alternating Rows
   ============================================ */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-section-alt);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse>* {
    direction: ltr;
}

.feature-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
    margin-bottom: 14px;
}

.feature-row-text h3 {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.feature-row-text p {
    font-size: 15px;
    color: var(--gray-300);
    line-height: 1.75;
    margin-bottom: 20px;
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(0, 184, 212, 0.08);
    border: 1px solid rgba(0, 184, 212, 0.15);
    color: var(--gray-200);
    transition: all 0.2s;
}

.feature-pills span:hover {
    background: rgba(0, 184, 212, 0.15);
    border-color: var(--teal);
    color: var(--teal-light);
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-300);
    line-height: 1.6;
}

.check-list li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-row-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ---- Feature Trio (horizontal, no cards) ---- */
.feature-trio {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 48px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.feature-trio:last-child {
    border-bottom: 1px solid var(--border);
}

.trio-item {
    flex: 1;
    padding: 0 32px;
    text-align: center;
}

.trio-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.trio-icon-teal {
    background: rgba(0, 184, 212, 0.1);
    color: var(--teal);
}

.trio-icon-blue {
    background: rgba(66, 133, 244, 0.1);
    color: var(--blue);
}

.trio-icon-navy {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gray-200);
}

.trio-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.trio-item p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.65;
    max-width: 280px;
    margin: 0 auto;
}

.trio-divider {
    width: 1px;
    height: 120px;
    background: var(--border);
    align-self: center;
    flex-shrink: 0;
}

/* ============================================
   HOW IT WORKS - Vertical Timeline
   ============================================ */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--bg-body);
}

.timeline {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-step {
    display: flex;
    gap: 24px;
    padding: 8px 0;
}

.timeline-marker {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid var(--teal);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-body {
    padding-top: 6px;
    padding-bottom: 8px;
}

.timeline-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-body p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

.timeline-line {
    height: 32px;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison {
    padding: var(--section-padding) 0;
    background: var(--bg-section-alt);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--navy);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.compare-table th,
.compare-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table thead th {
    background: rgba(0, 184, 212, 0.04);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    color: var(--gray-200);
}

.compare-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.highlight-col {
    background: rgba(0, 184, 212, 0.04) !important;
    font-weight: 600;
    color: var(--white-pure);
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
}

.badge-green {
    background: rgba(52, 211, 153, 0.12);
    color: var(--green);
}

.badge-red {
    background: rgba(239, 68, 68, 0.12);
    color: var(--red);
}

.badge-yellow {
    background: rgba(251, 191, 36, 0.12);
    color: var(--yellow);
}

/* ============================================
   PRIVACY - Horizontal Banner
   ============================================ */
.privacy {
    padding: var(--section-padding) 0;
    background: var(--bg-body);
}

.privacy-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--navy);
    overflow: hidden;
}

.privacy-item {
    padding: 36px 28px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background 0.2s;
}

.privacy-item:last-child {
    border-right: none;
}

.privacy-item:hover {
    background: rgba(0, 184, 212, 0.03);
}

.privacy-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 184, 212, 0.08);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.privacy-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.privacy-item p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================
   BROWSER INSTALL - Horizontal Chips
   ============================================ */
.browsers {
    padding: var(--section-padding) 0;
    background: var(--bg-section-alt);
}

.browsers-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.browser-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    min-width: 200px;
}

.browser-chip:hover {
    border-color: var(--teal);
    background: var(--navy-light);
}

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

.browser-name {
    font-size: 15px;
    font-weight: 700;
}

.browser-sub {
    font-size: 11px;
    color: var(--gray-400);
}

.browser-arrow {
    margin-left: auto;
    font-size: 18px;
    color: var(--gray-500);
    transition: all 0.2s;
}

.browser-chip:hover .browser-arrow {
    color: var(--teal);
    transform: translateX(4px);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--section-padding) 0;
    background: var(--bg-body);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 22px 0;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--gray-500);
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--teal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

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

.faq-answer p {
    margin: 0;
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.8;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: var(--section-padding) 0;
    text-align: center;
    background: var(--bg-section-alt);
}

.cta-content h2 {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.cta-content p {
    font-size: 17px;
    color: var(--gray-300);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-deep);
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 56px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-logo img {
    border-radius: 6px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 260px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    padding: 3px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--teal);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-500);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .hero-laptop-img {
        max-width: 420px;
        margin: 0 auto;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row-reverse {
        direction: ltr;
    }

    .feature-row-text {
        text-align: center;
    }

    .feature-row-image img {
        max-width: 500px;
        margin: 0 auto;
    }

    .feature-pills {
        justify-content: center;
    }

    .check-list {
        align-items: center;
    }

    .privacy-banner {
        grid-template-columns: repeat(2, 1fr);
    }

    .privacy-item:nth-child(2) {
        border-right: none;
    }

    .privacy-item:nth-child(1),
    .privacy-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 56px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--bg-nav);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -5px);
    }

    .hero h1 {
        font-size: clamp(30px, 8vw, 44px);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 10px;
    }

    .trust-divider {
        display: none;
    }

    .feature-trio {
        flex-direction: column;
        gap: 32px;
    }

    .trio-divider {
        width: 100%;
        height: 1px;
    }

    .trio-item {
        padding: 0;
    }

    .browsers-row {
        flex-direction: column;
        align-items: center;
    }

    .browser-chip {
        width: 100%;
        max-width: 320px;
    }

    .privacy-banner {
        grid-template-columns: 1fr;
    }

    .privacy-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .privacy-item:last-child {
        border-bottom: none;
    }

    .table-wrapper {
        margin: 0 -24px;
        border-radius: 0;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-laptop-img {
        max-width: 300px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}