/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Apple-inspired Colors - Light Mode */
    --color-white: #ffffff;
    --color-black: #1d1d1f;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f7;
    --color-gray-200: #e8e8ed;
    --color-gray-300: #d2d2d7;
    --color-gray-400: #86868b;
    --color-gray-600: #515154;
    --color-gray-900: #1d1d1f;

    /* Background colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --text-tertiary: #86868b;
    --border-primary: #e8e8ed;
    --border-secondary: #d2d2d7;

    /* Apple System Colors */
    --color-blue: #007aff;
    --color-blue-dark: #0051d5;
    --color-green: #34c759;
    --color-orange: #ff9500;
    --color-red: #ff3b30;
    --color-purple: #af52de;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #007aff 0%, #5ac8fa 100%);
    --gradient-primary: linear-gradient(135deg, #007aff 0%, #5ac8fa 100%);
    --gradient-accent: linear-gradient(135deg, #ff9500 0%, #ff3b30 100%);
    --gradient-cyber: linear-gradient(135deg, #af52de 0%, #5ac8fa 100%);

    /* Cyber colors (legacy compatibility) */
    --color-cyber-blue: #007aff;
    --color-cyber-purple: #af52de;
    --color-cyber-pink: #ff3b30;
    --color-cyber-green: #34c759;
    --color-cyber-yellow: #ff9500;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.06), 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.08), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

/* Ensure good contrast in light theme */
[data-theme="light"] .section-title {
    color: #1d1d1f !important;
}

[data-theme="light"] .section-subtitle {
    color: #515154 !important;
}

[data-theme="light"] .pricing-card .feature-item,
[data-theme="light"] .pricing-card .pricing-title {
    color: #1d1d1f !important;
}

[data-theme="light"] .pricing-card .price-value {
    color: #1d1d1f !important;
}

[data-theme="light"] .pricing-card .price-period {
    color: #515154 !important;
}

[data-theme="light"] .step-card .step-number,
[data-theme="light"] .step-card .step-title {
    color: #1d1d1f !important;
}

[data-theme="light"] .step-card .step-desc {
    color: #515154 !important;
}

[data-theme="light"] .cta-subtitle {
    color: #515154 !important;
}

[data-theme="light"] .cta-title {
    color: #1d1d1f !important;
}

[data-theme="light"] .contact-title {
    color: #1d1d1f !important;
}

[data-theme="light"] .contact-desc {
    color: #515154 !important;
}

[data-theme="dark"] {
    /* Apple-inspired Colors - Dark Mode */
    --color-white: #000000;
    --color-black: #ffffff;
    --color-gray-50: #1c1c1e;
    --color-gray-100: #2c2c2e;
    --color-gray-200: #3a3a3c;
    --color-gray-300: #48484a;
    --color-gray-400: #98989d;
    --color-gray-600: #aeaeb2;
    --color-gray-900: #f5f5f7;

    /* Background colors */
    --bg-primary: #000000;
    --bg-secondary: #1c1c1e;
    --bg-tertiary: #2c2c2e;
    --text-primary: #f5f5f7;
    --text-secondary: #aeaeb2;
    --text-tertiary: #98989d;
    --border-primary: #3a3a3c;
    --border-secondary: #48484a;

    /* Apple System Colors */
    --color-blue: #007aff;
    --color-blue-dark: #0051d5;
    --color-blue-light: #5ac8fa;
    --color-green: #34c759;
    --color-orange: #ff9500;
    --color-red: #ff3b30;
    --color-purple: #af52de;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #007aff 0%, #5ac8fa 100%);
    --gradient-mesh: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(90, 200, 250, 0.05) 100%);
    --gradient-primary: linear-gradient(135deg, #007aff 0%, #5ac8fa 100%);
    --gradient-accent: linear-gradient(135deg, #ff9500 0%, #ff3b30 100%);
    --gradient-cyber: linear-gradient(135deg, #af52de 0%, #5ac8fa 100%);

    /* Cyber colors (legacy compatibility) */
    --color-cyber-blue: #007aff;
    --color-cyber-purple: #af52de;
    --color-cyber-pink: #ff3b30;
    --color-cyber-green: #34c759;
    --color-cyber-yellow: #ff9500;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.06), 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.08), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth theme transitions */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease !important;
}

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

/* ==================== BACKGROUND EFFECTS ==================== */
.cyber-grid {
    display: none;
}

.glow-orb {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    animation: float 25s infinite ease-in-out;
}

.glow-orb-1 {
    background: radial-gradient(circle, rgba(0, 122, 255, 0.3) 0%, transparent 70%);
    top: -400px;
    right: -200px;
}

.glow-orb-2 {
    background: radial-gradient(circle, rgba(90, 200, 250, 0.2) 0%, transparent 70%);
    bottom: -400px;
    left: -200px;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-primary);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
    padding: 16px 0;
    transition: all 0.3s ease;
}

[data-theme="dark"] .header {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Ensure good contrast in dark theme */
[data-theme="dark"] .section-title {
    color: #f5f5f7 !important;
}

[data-theme="dark"] .section-subtitle {
    color: #aeaeb2 !important;
}

[data-theme="dark"] .pricing-card .feature-item,
[data-theme="dark"] .pricing-card .pricing-title {
    color: #f5f5f7 !important;
}

[data-theme="dark"] .pricing-card .price-value {
    color: #f5f5f7 !important;
}

[data-theme="dark"] .pricing-card .price-period {
    color: #aeaeb2 !important;
}

[data-theme="dark"] .step-card .step-number,
[data-theme="dark"] .step-card .step-title {
    color: #f5f5f7 !important;
}

[data-theme="dark"] .step-card .step-desc {
    color: #aeaeb2 !important;
}

[data-theme="dark"] .cta-subtitle {
    color: #aeaeb2 !important;
}

[data-theme="dark"] .cta-title {
    color: #f5f5f7 !important;
}

[data-theme="dark"] .contact-title {
    color: #f5f5f7 !important;
}

[data-theme="dark"] .contact-desc {
    color: #aeaeb2 !important;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 21px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    color: var(--text-primary);
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 17px;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
}

/* ==================== THEME TOGGLE ==================== */
.style-switcher-container {
    position: relative;
}

.style-switcher-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.style-switcher-toggle:hover {
    background: var(--border-secondary);
    transform: scale(1.1);
}

.style-switcher-toggle:active {
    transform: scale(0.95);
}

.style-switcher-toggle:focus {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

.theme-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.btn-chrome {
    background: var(--color-blue);
    color: var(--color-white);
    padding: 10px 20px;
    border: none;
    border-radius: 980px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.15);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-chrome:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
    background: var(--color-blue-dark);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

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

.badge {
    display: inline-block;
    background: var(--color-gray-100);
    color: var(--color-blue);
    padding: 6px 14px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.2px;
    border-radius: 980px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Hero subtitle - cleaner structure */
.hero-subtitle-intro {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--color-blue);
    color: var(--color-white);
    padding: 14px 28px;
    border: none;
    border-radius: 980px;
    font-weight: 500;
    font-size: 17px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-hero {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
    background: var(--color-blue-dark);
}

.btn-primary svg {
    transition: transform 0.2s;
    position: relative;
    z-index: 1;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-blue);
    padding: 14px 28px;
    border: none;
    border-radius: 980px;
    font-weight: 500;
    font-size: 17px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: var(--color-gray-100);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    padding: 0;
    border: none;
    font-weight: 400;
    font-size: 17px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-text:hover {
    color: var(--text-primary);
}

.btn-text svg {
    transition: transform 0.2s;
}

.btn-text:hover svg {
    transform: translateY(2px);
}

.btn-secondary,
.btn-secondary *,
.btn-primary,
.btn-primary *,
.btn-pricing,
.btn-pricing *,
.btn-chrome,
.btn-chrome * {
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 22px 44px;
    font-size: 18px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Stats styles moved to Apple Style section at end of file */

/* ==================== BROWSER VISUAL ==================== */
.hero-visual {
    position: relative;
}

/* Browser window styles moved to Apple Style section at end of file */

.ioc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* IOC and threat badge styles moved to Apple Style section */

.threat-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

/* Threat level styles moved to Apple Style section */

.intel-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Source chip styles moved to Apple Style section */

/* ==================== DEMO SECTION ==================== */
.demo-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
}

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

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
}

.demo-browser-header {
    background: var(--bg-secondary);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-primary);
}

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

.demo-browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-browser-dots span:nth-child(1) {
    background: #ff5f57;
}

.demo-browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.demo-browser-dots span:nth-child(3) {
    background: #28ca42;
}

.demo-browser-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.demo-gif {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    position: relative;
    padding: var(--section-padding) 0;
}

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

.section-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: rgba(0, 240, 255, 0.03);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.4s;
    pointer-events: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
    filter: blur(20px);
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 240, 255, 0.6);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.3), 0 0 80px rgba(176, 38, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.feature-card:hover::after {
    opacity: 0.6;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    transition: all 0.3s ease;
}

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

.feature-card:hover .feature-icon {
    color: var(--color-blue-dark);
    transform: scale(1.1);
}

.feature-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

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

/* ==================== PRICING SECTION ==================== */
.pricing {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(0, 240, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 20px 80px rgba(0, 240, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-card-pro {
    border-color: rgba(176, 38, 255, 0.4);
    background: rgba(176, 38, 255, 0.03);
    box-shadow: 0 12px 48px rgba(176, 38, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-card-pro:hover {
    border-color: rgba(176, 38, 255, 0.6);
    box-shadow: 0 20px 80px rgba(176, 38, 255, 0.4), 0 0 100px rgba(176, 38, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    right: 32px;
    background: var(--gradient-accent);
    color: var(--color-black);
    padding: 10px 24px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 237, 0, 0.6);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(255, 0, 110, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.pricing-header {
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    padding-bottom: 32px;
    margin-bottom: 32px;
    box-shadow: inset 0 -1px 0 rgba(0, 240, 255, 0.2);
}

.pricing-card-pro .pricing-header {
    border-color: rgba(176, 38, 255, 0.3);
    box-shadow: inset 0 -1px 0 rgba(176, 38, 255, 0.2);
}

.pricing-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-value {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 16px;
    color: var(--text-tertiary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.check-icon {
    flex-shrink: 0;
    stroke: var(--color-cyber-green);
    margin-top: 2px;
}

/* Pricing button styles moved to Apple Style section at end of file */

/* ==================== HOW IT WORKS SECTION ==================== */
.how-it-works {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-black);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    position: relative;
    padding: 48px 32px;
    background: rgba(176, 38, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(176, 38, 255, 0.3);
    border-radius: 20px;
    transition: all 0.4s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-cyber);
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.4s;
}

.step-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-cyber);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
    filter: blur(30px);
}

.step-card:hover {
    transform: translateY(-12px);
    border-color: rgba(176, 38, 255, 0.6);
    box-shadow: 0 20px 80px rgba(176, 38, 255, 0.4), 0 0 100px rgba(176, 38, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.step-card:hover::before {
    opacity: 0.1;
}

.step-card:hover::after {
    opacity: 0.8;
}

.step-number {
    font-size: 64px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.step-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

/* ==================== CTA SECTION ==================== */
.cta {
    position: relative;
    padding: var(--section-padding) 0;
}

.cta-card {
    background: rgba(176, 38, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(176, 38, 255, 0.4);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    box-shadow: 0 20px 100px rgba(176, 38, 255, 0.4), 0 0 0 1px rgba(176, 38, 255, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-cyber);
    opacity: 0.08;
    z-index: 0;
}

.cta-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.2) 0%, transparent 70%);
    animation: ctaPulse 8s infinite ease-in-out;
    z-index: 0;
}

@keyframes ctaPulse {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(10%, 10%) scale(1.1); opacity: 0.5; }
}

.cta-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.download-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.download-options a,
.download-options a * {
    position: relative;
    z-index: 1;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 80px 0;
    background: var(--color-gray);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 24px;
    background: rgba(0, 240, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 12px 48px rgba(0, 240, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--color-black);
    border-top: 4px solid var(--color-cyber-blue);
    padding: 60px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-desc {
    color: var(--text-tertiary);
    margin-top: 12px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-link:hover {
    color: var(--color-cyber-blue);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 2px solid var(--color-gray);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 14px;
}

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

    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: 56px;
    }

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

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

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

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

    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .btn-chrome {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle-intro {
        font-size: 18px;
    }

    .demo-container {
        border-radius: var(--border-radius-md);
    }

    .demo-browser-header {
        padding: 12px 16px;
    }

    .demo-browser-title {
        font-size: 12px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-primary-hero {
        width: 100%;
        justify-content: center;
    }

    .btn-text {
        justify-content: center;
        padding: 12px 0;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat {
        padding: 20px;
    }

    .stat-value {
        font-size: 36px;
    }

    .section-title {
        font-size: 36px;
    }

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

    .cta-card {
        padding: 60px 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .download-options {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card,
    .pricing-card {
        padding: 32px 24px;
    }

    .browser-content {
        padding: 20px;
    }

    .ioc-card {
        padding: 16px;
    }

    .btn-primary-hero {
        padding: 14px 24px;
        font-size: 16px;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat {
        padding: 16px;
    }

    .stat-value {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }

    .demo-browser-dots span {
        width: 10px;
        height: 10px;
    }

    .cta-title {
        font-size: 28px;
    }

    .pricing-note {
        font-size: 13px;
    }
}

/* ==================== MODERN SCROLL ANIMATIONS ==================== */
/* Fade in from bottom - modern Apple-style */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade in with scale */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Fade in from left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade in from right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Elements hidden by default until they appear */
.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
}

.scroll-reveal.revealed {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.95);
}

.scroll-reveal-scale.revealed {
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.scroll-reveal-left.revealed {
    animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

.scroll-reveal-right.revealed {
    animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger delays for multiple elements */
.scroll-reveal:nth-child(1) { transition-delay: 0s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.5s; }

/* Hero animations - immediate */
.hero-content {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual {
    animation: fadeInScale 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

/* Demo section smooth appearance */
.demo-container {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}
/* Cette feuille de style remplace complètement l'ancien style cyber/neo-brutal par un style Apple soft et minimal */

/* Stats Apple Style */
.stat {
    padding: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Browser Window Apple Style */
.browser-window {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    animation: browserFloat 6s infinite ease-in-out;
}

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

.browser-header {
    background: var(--bg-secondary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-primary);
}

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

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #28ca42;
}

.browser-url {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 6px;
    padding: 6px 12px;
    flex: 1;
    font-size: 13px;
    font-family: -apple-system, monospace;
    color: var(--text-secondary);
}

.browser-content {
    padding: 32px;
    background: var(--bg-secondary);
}

.ioc-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--border-radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.ioc-type {
    background: var(--color-blue);
    color: var(--color-white);
    padding: 4px 10px;
    font-weight: 600;
    font-size: 11px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ioc-value {
    font-family: -apple-system, monospace;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.threat-badge {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    font-family: -apple-system, monospace;
}

.threat-high {
    background: rgba(255, 59, 48, 0.1);
    color: var(--color-red);
}

.threat-medium {
    background: rgba(255, 149, 0, 0.1);
    color: var(--color-orange);
}

.threat-low {
    background: rgba(52, 199, 89, 0.1);
    color: var(--color-green);
}

.source-chip {
    background: var(--bg-tertiary);
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.source-chip:hover {
    background: var(--border-secondary);
}

/* Features Section Apple Style */
.features {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
    color: var(--text-primary);
    text-align: center;
}

.section-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 400;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--border-radius-xl);
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    display: none;
}

.feature-card::after {
    display: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-secondary);
}

/* Styles déjà définis plus haut dans le fichier */

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

/* Pricing Section Apple Style */
.pricing {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.pricing-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-xl);
    padding: 48px;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card-pro {
    border: 2px solid var(--color-blue);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--color-blue);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 32px;
    background: var(--color-blue);
    color: var(--color-white);
    padding: 6px 14px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 980px;
    letter-spacing: 0.5px;
}

.pricing-header {
    border-bottom: 1px solid var(--color-gray-200);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.pricing-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-gray-900);
}

.pricing-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
    margin-bottom: 0;
}

.price-value {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: -2px;
}

.price-period {
    font-size: 16px;
    color: var(--color-gray-600);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--color-gray-900);
    font-size: 16px;
}

.check-icon {
    flex-shrink: 0;
    stroke: var(--color-green);
    margin-top: 2px;
}

.btn-pricing {
    width: 100%;
    background: var(--color-blue);
    color: var(--color-white);
    padding: 14px 28px;
    border: none;
    border-radius: 980px;
    font-weight: 500;
    font-size: 17px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

.btn-pricing:hover {
    background: var(--color-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.3);
}

.btn-pricing-pro {
    background: var(--color-blue);
    color: var(--color-white);
}

/* Step Cards Apple Style */
.how-it-works {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.step-card {
    position: relative;
    padding: 40px 32px;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-xl);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.step-card::before {
    display: none;
}

.step-card::after {
    display: none;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--color-white);
}

.step-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 16px;
    line-height: 1;
    position: relative;
    z-index: 1;
    letter-spacing: -2px;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    color: var(--color-gray-900);
}

.step-desc {
    color: var(--color-gray-600);
    line-height: 1.6;
    font-size: 16px;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* CTA Section Apple Style */
.cta {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--color-gray-50);
}

.cta-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-xl);
    padding: 80px 60px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    display: none;
}

.cta-card::after {
    display: none;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    color: var(--color-gray-900);
    letter-spacing: -1px;
}

.cta-subtitle {
    font-size: 19px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* Contact Section Apple Style */
.contact {
    padding: 80px 0;
    background: var(--color-white);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-xl);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.contact-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-gray-900);
}

.contact-desc {
    color: var(--color-gray-600);
    margin-bottom: 24px;
    font-size: 17px;
}

/* Footer Apple Style */
.footer {
    background: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-200);
    padding: 60px 0 32px;
}

.footer-desc {
    color: var(--color-gray-600);
    margin-top: 8px;
    max-width: 300px;
    font-size: 15px;
}

.footer-link {
    color: var(--color-gray-600);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: all 0.2s;
}

.footer-link:hover {
    color: var(--color-gray-900);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
    text-align: center;
    color: var(--color-gray-600);
    font-size: 13px;
}

/* ==================== POPUP EMBED STYLES ==================== */
.browser-content.popup-embed {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #e0e0e0;
    background: #1e1e1e !important;
    max-height: 500px;
    overflow-y: auto;
    padding: 0 !important;
}

.popup-container {
    padding: 16px;
}

.popup-header h1 {
    font-size: 16px;
    font-weight: 600;
    color: #00aaff;
    margin: 0;
}

.popup-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.popup-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

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

.popup-theme-toggle-btn {
    background: transparent;
    border: 2px solid #00aaff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.popup-theme-toggle-btn:hover {
    background: #00aaff;
    transform: rotate(180deg);
}

.popup-theme-icon {
    font-size: 16px;
    line-height: 1;
}

.popup-ioc-value {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #2a2a2a;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #ffcc00;
}

.popup-ioc-type {
    padding: 2px 8px;
    background: #444;
    border-radius: 3px;
    font-size: 10px;
    text-transform: uppercase;
    color: #d0d0d0;
}

.popup-section {
    margin-bottom: 12px;
    padding: 10px;
    background: #2a2a2a;
    border-radius: 6px;
    border-left: 3px solid #00aaff;
}

.popup-section h2 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #00aaff;
}

.popup-reputation-score {
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-indicator {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-status-icon {
    font-size: 32px;
    line-height: 1;
}

.popup-reputation-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #ff6666;
}

.popup-reputation-message {
    font-size: 11px;
    color: #999;
}

.popup-api-verdict-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    margin-bottom: 4px;
    background: #1e1e1e;
    border-radius: 4px;
    font-size: 11px;
    border-left: 3px solid;
    gap: 6px;
}

.popup-api-verdict-item.suspicious {
    border-left-color: #ffaa00;
}

.popup-api-verdict-item.malicious {
    border-left-color: #ff0000;
}

.popup-api-verdict-name {
    font-weight: 600;
    color: #e0e0e0;
    white-space: nowrap;
}

.popup-api-verdict-score {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
}

.popup-api-verdict-detail {
    font-size: 10px;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.popup-api-verdict-badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.popup-api-verdict-badge.suspicious {
    background: rgba(255, 170, 0, 0.2);
    color: #ffaa00;
}

.popup-api-verdict-badge.malicious {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

.popup-threats-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.popup-threat-item {
    padding: 8px 10px;
    background: #3a1a1a;
    border-left: 3px solid #ff6666;
    border-radius: 3px;
    font-size: 12px;
}

.popup-threat-item strong {
    color: #ff6666;
    display: block;
    margin-bottom: 3px;
}

.popup-threat-meta {
    font-size: 10px;
    color: #ffffff;
    margin-top: 3px;
}

.popup-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.popup-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.popup-tag-malware {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.popup-tag-attack {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.2) 0%, rgba(194, 65, 12, 0.1) 100%);
    border: 1px solid #ea580c;
    color: #fdba74;
    font-family: 'SF Mono', 'Monaco', monospace;
}

/* Scrollbar for popup */
.browser-content.popup-embed::-webkit-scrollbar {
    width: 8px;
}

.browser-content.popup-embed::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.browser-content.popup-embed::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.browser-content.popup-embed::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Info grid styles */
.popup-info-grid {
    display: grid;
    gap: 8px;
}

.popup-info-item {
    display: flex;
    padding: 6px 8px;
    background: #1e1e1e;
    border-radius: 3px;
}

.popup-label {
    font-weight: 600;
    color: #c0c0c0;
    min-width: 120px;
}

.popup-value {
    color: #e0e0e0;
    word-break: break-word;
}

/* Tag categories */
.popup-tag-category {
    margin-bottom: 16px;
}

.popup-tag-category h3 {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-tag-threat {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 1px solid #f59e0b;
    color: #fbbf24;
}

.popup-tag-general {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 1px solid #00d9ff;
    color: #7dd3fc;
}

.popup-api-verdict-badge.clean {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
}

.popup-api-verdict-badge.error {
    background: rgba(255, 102, 0, 0.2);
    color: #ff6600;
}

.popup-api-verdict-item.clean {
    border-left-color: #00ff00;
}

.popup-api-verdict-item.error {
    border-left-color: #ff6600;
}

/* Section header with action button */
.popup-section-header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.popup-section-header-with-action h2 {
    margin: 0;
}

.popup-btn-open-all {
    padding: 6px 12px;
    background: #00aaff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.popup-btn-open-all:hover {
    background: #0099ee;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 170, 255, 0.4);
}

/* External links */
.popup-external-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.popup-external-link-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #2a2a2a;
    border: 1px solid #00aaff;
    border-radius: 4px;
    color: #00aaff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.popup-external-link-btn:hover {
    background: #00aaff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 170, 255, 0.3);
}

/* Actions */
.popup-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.popup-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-btn-primary {
    background: #00aaff;
    color: #fff;
}

.popup-btn-primary:hover {
    background: #0088cc;
}

.popup-btn-secondary {
    background: #444;
    color: #e0e0e0;
}

.popup-btn-secondary:hover {
    background: #555;
}

.popup-btn:active {
    transform: scale(0.98);
}

/* Footer */
.popup-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #333;
    font-size: 11px;
    color: #999;
    text-align: center;
}

.popup-pro-status-badge {
    margin-top: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6b00 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(255, 149, 0, 0.3);
    letter-spacing: 1px;
}

/* ==================== POPUP LIGHT THEME ==================== */
.popup-container[data-theme="light"] {
    color: #1d1d1f;
}

.browser-content.popup-embed[data-theme="light"] {
    background: #ffffff !important;
    color: #1d1d1f;
}

.browser-content.popup-embed[data-theme="light"]::-webkit-scrollbar-track {
    background: #f5f5f7;
}

.browser-content.popup-embed[data-theme="light"]::-webkit-scrollbar-thumb {
    background: #d2d2d7;
}

.browser-content.popup-embed[data-theme="light"]::-webkit-scrollbar-thumb:hover {
    background: #b4b4b9;
}

.popup-container[data-theme="light"] .popup-header h1 {
    color: #007aff;
}

.popup-container[data-theme="light"] .popup-header {
    border-bottom-color: #e8e8ed;
}

.popup-container[data-theme="light"] .popup-theme-toggle-btn {
    border-color: #007aff;
}

.popup-container[data-theme="light"] .popup-theme-toggle-btn:hover {
    background: #007aff;
}

.popup-container[data-theme="light"] .popup-ioc-value {
    background: #f5f5f7;
    color: #ff9500;
}

.popup-container[data-theme="light"] .popup-ioc-type {
    background: #e8e8ed;
    color: #515154;
}

.popup-container[data-theme="light"] .popup-section {
    background: #f5f5f7;
    border-left-color: #007aff;
}

.popup-container[data-theme="light"] .popup-section h2 {
    color: #007aff;
}

.popup-container[data-theme="light"] .popup-reputation-text strong {
    color: #ff3b30;
}

.popup-container[data-theme="light"] .popup-reputation-message {
    color: #86868b;
}

.popup-container[data-theme="light"] .popup-api-verdict-item {
    background: #ffffff;
    color: #1d1d1f;
}

.popup-container[data-theme="light"] .popup-api-verdict-name {
    color: #1d1d1f;
}

.popup-container[data-theme="light"] .popup-api-verdict-detail {
    color: #515154;
}

.popup-container[data-theme="light"] .popup-threat-item {
    background: #ffebee;
    border-left-color: #ff3b30;
    color: #1d1d1f;
}

.popup-container[data-theme="light"] .popup-threat-item strong {
    color: #ff3b30;
}

.popup-container[data-theme="light"] .popup-threat-meta {
    color: #515154;
}

.popup-container[data-theme="light"] .popup-tag-malware {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #dc2626;
}

.popup-container[data-theme="light"] .popup-tag-attack {
    background: rgba(234, 88, 12, 0.1);
    border-color: #ea580c;
    color: #c2410c;
}

.popup-container[data-theme="light"] .popup-tag-threat {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #d97706;
}

.popup-container[data-theme="light"] .popup-tag-general {
    background: rgba(14, 165, 233, 0.1);
    border-color: #0ea5e9;
    color: #0369a1;
}

.popup-container[data-theme="light"] .popup-info-item {
    background: #ffffff;
}

.popup-container[data-theme="light"] .popup-label {
    color: #515154;
}

.popup-container[data-theme="light"] .popup-value {
    color: #1d1d1f;
}

.popup-container[data-theme="light"] .popup-tag-category h3 {
    color: #515154;
}

.popup-container[data-theme="light"] .popup-btn-open-all {
    background: #007aff;
}

.popup-container[data-theme="light"] .popup-btn-open-all:hover {
    background: #0051d5;
}

.popup-container[data-theme="light"] .popup-external-link-btn {
    background: #f5f5f7;
    border-color: #007aff;
    color: #007aff;
}

.popup-container[data-theme="light"] .popup-external-link-btn:hover {
    background: #007aff;
    color: #ffffff;
}

.popup-container[data-theme="light"] .popup-btn-primary {
    background: #007aff;
}

.popup-container[data-theme="light"] .popup-btn-primary:hover {
    background: #0051d5;
}

.popup-container[data-theme="light"] .popup-btn-secondary {
    background: #e8e8ed;
    color: #1d1d1f;
}

.popup-container[data-theme="light"] .popup-btn-secondary:hover {
    background: #d2d2d7;
}

.popup-container[data-theme="light"] .popup-footer {
    border-top-color: #e8e8ed;
    color: #86868b;
}

/* Mobile responsive for popup */
@media (max-width: 480px) {
    .browser-content.popup-embed {
        max-height: 400px;
    }

    .popup-container {
        padding: 12px;
    }

    .popup-header h1 {
        font-size: 14px;
    }

    .popup-section {
        padding: 8px;
    }

    .popup-section h2 {
        font-size: 12px;
    }

    .popup-tag {
        font-size: 9px;
        padding: 2px 6px;
    }

    .popup-api-verdict-item {
        padding: 5px 6px;
        font-size: 10px;
    }

    .popup-label {
        min-width: 80px;
        font-size: 10px;
    }

    .popup-value {
        font-size: 10px;
    }
}
