html, body { overflow-x: hidden; }
/* ============================================
   Landing Page — PerfectQRCode
   ============================================ */

/* Hero */
.hero {
    padding: calc(72px + var(--space-20)) 0 var(--space-20);
    background: linear-gradient(180deg, var(--blue-50) 0%, var(--bg-primary) 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute; bottom: -100px; left: -150px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content {
    text-align: center; max-width: 760px; margin: 0 auto; position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: var(--space-2);
    background: white; border: 1px solid var(--slate-200); border-radius: var(--radius-full);
    padding: 6px 16px 6px 8px; font-size: var(--text-sm); color: var(--slate-600);
    margin-bottom: var(--space-6); box-shadow: var(--shadow-xs);
}
.hero-badge-dot {
    width: 8px; height: 8px; background: var(--success); border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; } 50% { opacity: 0.5; }
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, var(--text-6xl)); font-weight: 800;
    line-height: 1.08; margin-bottom: var(--space-6); letter-spacing: -0.02em;
}
.hero h1 .text-blue { color: var(--blue-600); }
.hero h1 .text-amber { color: var(--amber-500); }
.hero-subtitle {
    font-size: var(--text-xl); color: var(--slate-500); max-width: 560px;
    margin: 0 auto var(--space-8); line-height: 1.6;
}
.hero-actions {
    display: flex; gap: var(--space-4); justify-content: center; align-items: center;
    flex-wrap: wrap;
}
.hero-trust {
    display: flex; align-items: center; gap: var(--space-6);
    justify-content: center; margin-top: var(--space-10);
    font-size: var(--text-sm); color: var(--slate-400);
}
.hero-trust-item { display: flex; align-items: center; gap: var(--space-2); }
.hero-trust svg { width: 16px; height: 16px; stroke: var(--slate-400); }

/* QR Types Grid */
.qr-types-section { background: var(--bg-secondary); }
.qr-types-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-5);
}
.qr-type-card {
    background: white; border-radius: var(--radius-xl); padding: var(--space-6);
    border: 1px solid var(--slate-100); cursor: pointer; text-decoration: none;
    display: flex; align-items: flex-start; gap: var(--space-4);
    transition: all var(--duration-base) var(--ease-out);
}
.qr-type-card:hover {
    border-color: var(--blue-200); box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.qr-type-card:hover .qr-type-icon { background: var(--blue-600); color: white; }
.qr-type-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: var(--radius-lg);
    background: var(--blue-50); color: var(--blue-600);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--duration-base) var(--ease-out);
}
.qr-type-icon svg { width: 20px; height: 20px; }
.qr-type-name {
    font-family: var(--font-display); font-weight: 600; font-size: var(--text-base);
    color: var(--slate-900); margin-bottom: 4px;
}
.qr-type-desc { font-size: var(--text-sm); color: var(--slate-500); line-height: 1.5; }

/* How It Works */
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8);
    position: relative;
}
.steps-grid::before {
    content: ''; position: absolute; top: 40px; left: 16.66%; right: 16.66%;
    height: 2px; background: var(--slate-200);
}
.step-card { text-align: center; position: relative; }
.step-number {
    width: 56px; height: 56px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; margin: 0 auto var(--space-5);
    font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl);
    position: relative; z-index: 1;
}
.step-number-1 { background: var(--blue-600); color: white; box-shadow: var(--shadow-blue); }
.step-number-2 { background: var(--blue-500); color: white; box-shadow: 0 4px 14px rgba(59,130,246,0.3); }
.step-number-3 { background: var(--amber-500); color: white; box-shadow: var(--shadow-amber); }
.step-title {
    font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl);
    color: var(--slate-900); margin-bottom: var(--space-3);
}
.step-desc { color: var(--slate-500); font-size: var(--text-base); max-width: 300px; margin: 0 auto; }

/* Features */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8);
}
.feature-card {
    background: white; border-radius: var(--radius-xl); padding: var(--space-8);
    border: 1px solid var(--slate-100); transition: all var(--duration-base) var(--ease-out);
}
.feature-card:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); }
.feature-icon {
    width: 52px; height: 52px; border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-5);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon-blue { background: var(--blue-50); color: var(--blue-600); }
.feature-icon-amber { background: #fffbeb; color: var(--amber-600); }
.feature-icon-green { background: #ecfdf5; color: var(--success); }
.feature-title {
    font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg);
    color: var(--slate-900); margin-bottom: var(--space-3);
}
.feature-desc { color: var(--slate-500); font-size: var(--text-base); line-height: 1.6; }

/* Stats */
.stats-section { background: var(--bg-dark); }
.stats-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8);
    text-align: center;
}
.stat-value {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2.5rem, 4vw, var(--text-5xl)); color: white;
    line-height: 1;
}
.stat-value .text-blue { color: var(--blue-400); }
.stat-value .text-amber { color: var(--amber-400); }
.stat-label {
    font-size: var(--text-base); color: rgba(255,255,255,0.45);
    margin-top: var(--space-3); font-weight: 400;
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--slate-200); overflow: hidden;
}
.faq-question {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-6) 0; font-family: var(--font-display);
    font-size: var(--text-lg); font-weight: 600; color: var(--slate-900);
    text-align: left; transition: color var(--duration-fast) var(--ease-out);
}
.faq-question:hover { color: var(--blue-600); }
.faq-question svg {
    width: 20px; height: 20px; stroke: var(--slate-400); min-width: 20px;
    transition: transform var(--duration-base) var(--ease-out);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); stroke: var(--blue-600); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height var(--duration-slow) var(--ease-out);
}
.faq-answer-inner {
    padding: 0 0 var(--space-6);
    color: var(--slate-500); font-size: var(--text-base); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* Final CTA */
.cta-section {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: -100px; right: -100px;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,0.05); pointer-events: none;
}
.cta-content {
    text-align: center; position: relative; z-index: 1;
}
.cta-content h2 {
    color: white; font-size: clamp(1.8rem, 3vw, var(--text-4xl));
    margin-bottom: var(--space-4);
}
.cta-content p {
    color: rgba(255,255,255,0.7); font-size: var(--text-lg);
    max-width: 500px; margin: 0 auto var(--space-8);
}
.btn-white {
    background: white; color: var(--blue-700); font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover {
    background: var(--slate-50); color: var(--blue-800); transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 900px) {
    .steps-grid { grid-template-columns: 1fr; gap: var(--space-10); }
    .steps-grid::before { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
}
@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: var(--text-base); }
    .hero-trust { flex-direction: column; gap: var(--space-3); }
    .qr-types-grid { grid-template-columns: 1fr; }
    .section-title { font-size: var(--text-3xl); }
}
