/* ==============================
   SecureVault Landing Page
   Super AMOLED Black + White
   Futuristic / Next.js Style
   ============================== */

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

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --gray-950: #0a0a0a;
    --accent: #ffffff;
    --glow: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

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

.bg-glow-2 {
    bottom: -300px;
    left: -200px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Animation */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ======== NAVIGATION ======== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

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

.nav-btn {
    padding: 8px 18px !important;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    font-size: 13px !important;
    transition: var(--transition) !important;
}

.nav-btn:hover {
    border-color: var(--border-hover);
    background: var(--glow);
}

.nav-btn-primary {
    background: var(--white) !important;
    color: var(--black) !important;
    border-color: var(--white) !important;
}

.nav-btn-primary:hover {
    opacity: 0.9;
}

/* Mobile toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

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

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

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

/* ======== HERO ======== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 32px;
    background: rgba(255,255,255,0.02);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #888 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-desc {
    font-size: 17px;
    color: var(--gray-400);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255,255,255,0.15);
}

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

.btn-ghost:hover {
    border-color: var(--gray-500);
    background: var(--glow);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    flex: 0 0 380px;
}

.vault-card {
    background: var(--gray-950);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 80px rgba(255,255,255,0.03);
    animation: float 6s ease-in-out infinite;
}

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

.vault-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

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

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

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.vault-title {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.vault-card-body {
    padding: 8px;
}

.vault-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.vault-item:hover,
.vault-item.active {
    background: rgba(255,255,255,0.04);
}

.vault-item-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.vault-item-info {
    flex: 1;
    min-width: 0;
}

.vault-item-name {
    font-size: 14px;
    font-weight: 600;
}

.vault-item-user {
    font-size: 12px;
    color: var(--gray-500);
    font-family: var(--font-mono);
}

.vault-item-strength {
    width: 32px;
    height: 4px;
    border-radius: 2px;
}

.vault-item-strength.good { background: #facc15; }
.vault-item-strength.excellent { background: #22c55e; }

.vault-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--gray-600);
}

.vault-encrypted {
    color: #22c55e;
}

/* ======== SECTIONS ======== */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--gray-950);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.02);
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray-400);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ======== FEATURES ======== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.01);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 18px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ======== SECURITY ======== */
.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.security-card {
    padding: 36px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.01);
    transition: var(--transition);
    position: relative;
}

.security-card:hover {
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.02);
}

.security-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(255,255,255,0.04);
    font-family: var(--font-mono);
    position: absolute;
    top: 20px;
    right: 24px;
    line-height: 1;
}

.security-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.security-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ======== EXTENSION ======== */
.extension-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.extension-info {
    flex: 1;
}

.extension-info .section-tag {
    margin-bottom: 16px;
}

.extension-info .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.extension-info .section-desc {
    margin: 0 0 32px;
    text-align: left;
}

.extension-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.extension-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-300);
}

.extension-features li svg {
    color: #22c55e;
    flex-shrink: 0;
}

.extension-preview {
    flex: 0 0 380px;
}

/* Browser Frame */
.browser-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-950);
    box-shadow: 0 0 80px rgba(255,255,255,0.03);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}

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

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-800);
}

.browser-url {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray-500);
    font-family: var(--font-mono);
    padding: 4px 10px;
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    flex: 1;
}

.browser-content {
    padding: 16px;
}

/* Extension Popup Mock */
.ext-popup {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--black);
}

.ext-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}

.ext-logo {
    font-size: 14px;
    font-weight: 700;
}

.ext-status {
    font-size: 11px;
    color: #22c55e;
}

.ext-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

.ext-tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    color: var(--gray-500);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.ext-tab.active {
    color: var(--white);
    border-bottom-color: var(--white);
}

.ext-search {
    padding: 8px 12px;
    font-size: 12px;
    color: var(--gray-600);
    background: rgba(255,255,255,0.02);
    margin: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ext-items {
    padding: 4px 8px;
}

.ext-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.ext-item:hover {
    background: rgba(255,255,255,0.04);
}

.ext-item-icon {
    font-size: 16px;
}

.ext-item-name {
    font-size: 13px;
    font-weight: 600;
}

.ext-item-user {
    font-size: 11px;
    color: var(--gray-600);
    font-family: var(--font-mono);
}

.ext-item-actions {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.5;
}

.ext-footer {
    text-align: center;
    font-size: 10px;
    color: var(--gray-700);
    padding: 8px;
    border-top: 1px solid var(--border);
}

/* ======== PLANS ======== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.plan-card {
    padding: 36px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.01);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.plan-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.plan-featured {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.03);
}

.plan-featured:hover {
    border-color: rgba(255,255,255,0.35);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--white);
    color: var(--black);
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-name {
    font-size: 14px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.plan-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray-500);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    text-align: left;
}

.plan-features li {
    font-size: 14px;
    color: var(--gray-400);
    padding-left: 20px;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-size: 13px;
}

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

/* ======== DEVELOPER ======== */
.developer-card {
    display: flex;
    gap: 48px;
    align-items: center;
    padding: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.developer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.dev-avatar {
    position: relative;
    flex-shrink: 0;
}

.dev-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.dev-avatar-ring {
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: spin-slow 15s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dev-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.dev-role {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.dev-bio {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.dev-bio strong {
    color: var(--gray-300);
}

.dev-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.skill-tag {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--gray-400);
    background: rgba(255,255,255,0.02);
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--border-hover);
    color: var(--white);
}

.dev-links {
    display: flex;
    gap: 16px;
}

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-400);
    transition: color 0.2s;
    font-weight: 500;
}

.dev-link:hover {
    color: var(--white);
}

/* ======== CTA ======== */
.cta-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    padding: 64px 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%);
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--gray-400);
    font-size: 16px;
    margin-bottom: 28px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ======== FOOTER ======== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

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

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

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

.footer-brand p a {
    color: var(--gray-300);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: var(--gray-400);
    transition: color 0.2s;
}

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

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

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

.footer-bottom a {
    color: var(--gray-400);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        flex: none;
        width: 100%;
        max-width: 380px;
    }

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

    .extension-layout {
        flex-direction: column;
        text-align: center;
    }

    .extension-info .section-title,
    .extension-info .section-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .extension-features {
        align-items: center;
    }

    .extension-preview {
        flex: none;
        width: 100%;
        max-width: 380px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 20px;
    }

    .nav-mobile-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .developer-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .dev-links {
        justify-content: center;
    }

    .dev-skills {
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats .stat {
        flex-basis: 40%;
    }

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

    .cta-content {
        padding: 40px 24px;
    }
}

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

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

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

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

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

    .cta-actions .btn {
        justify-content: center;
    }
}
