@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-input: #0f172a;
    --border: rgba(148, 163, 184, 0.15);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.15);
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.15);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --sidebar-width: 260px;
    --radius: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ==================== Login Page ==================== */

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header .logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.login-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.tab-switches {
    display: flex;
    gap: 4px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-bottom: 24px;
}

.tab-switch {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-switch.active {
    background: var(--accent);
    color: white;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ==================== Layout ==================== */

.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.sidebar-header .logo {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-header .user-badge {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.sidebar-nav {
    padding: 16px 12px;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.nav-link:hover { background: rgba(59, 130, 246, 0.1); color: var(--text-primary); }
.nav-link.active { background: var(--accent); color: white; }
.nav-link .icon { font-size: 18px; width: 24px; text-align: center; }

.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--border);
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 32px 40px;
    max-width: 900px;
}

.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== Cards ==================== */

.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
}

.card-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success { background: var(--success-bg); color: var(--success); }
.badge-error { background: var(--error-bg); color: var(--error); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }

/* ==================== Forms ==================== */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder { color: var(--text-muted); }

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.5;
}

.form-hint a {
    color: var(--accent);
    text-decoration: none;
}

.form-hint a:hover { text-decoration: underline; }

/* Checkbox Customization */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 28px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--accent);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

#username-feedback {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    height: 14px;
}

/* ==================== Buttons ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #16a34a; }

.btn-danger { background: var(--error); color: white; }
.btn-danger:hover { background: #dc2626; }

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--text-secondary); color: var(--text-primary); }

.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ==================== Status Cards (Dashboard) ==================== */

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.status-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.status-card .value {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.status-card .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-card.active .value { color: var(--success); }
.status-card.inactive .value { color: var(--text-muted); }

/* ==================== Feed List ==================== */

.feed-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    background: var(--bg-input);
    transition: border-color 0.2s;
}

.feed-item:hover { border-color: var(--accent); }

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

.feed-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.feed-url {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== Activity Log ==================== */

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

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

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.activity-url {
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.activity-time {
    color: var(--text-muted);
    font-size: 11px;
    flex-shrink: 0;
}

/* ==================== Flash Messages ==================== */

.flash-messages {
    margin-bottom: 20px;
}

.flash {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.3s ease;
}

.flash-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(34, 197, 94, 0.3); }
.flash-error { background: var(--error-bg); color: var(--error); border: 1px solid rgba(239, 68, 68, 0.3); }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== Help Page ==================== */

.help-section {
    margin-bottom: 32px;
}

.help-step {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    background: var(--bg-input);
}

.help-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.help-step-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.help-step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.help-step-content code {
    background: var(--bg-primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--accent);
}

/* ==================== Onboarding Banner ==================== */

.onboarding-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.onboarding-banner h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.onboarding-banner p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.onboarding-steps {
    display: flex;
    gap: 12px;
}

.onboarding-step {
    flex: 1;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.onboarding-step:hover { border-color: var(--accent); }
.onboarding-step.done { border-color: var(--success); opacity: 0.6; }
.onboarding-step .step-icon { font-size: 24px; display: block; margin-bottom: 4px; }

/* ==================== Plans Grid ==================== */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.plan-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.plan-card.plan-popular { border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
.plan-card.plan-current { border-color: var(--success); }

.plan-popular-tag, .plan-current-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-popular-tag { background: var(--accent); color: white; }
.plan-current-tag { background: var(--success); color: white; }

.plan-name { font-size: 18px; font-weight: 700; margin: 12px 0 8px; }

.plan-price {
    margin-bottom: 20px;
}

.plan-currency { font-size: 18px; color: var(--text-secondary); vertical-align: top; }
.plan-amount { font-size: 48px; font-weight: 800; }
.plan-period { font-size: 14px; color: var(--text-muted); }

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
}

.plan-features li:last-child { border-bottom: none; }

/* ==================== Usage Bar ==================== */

.usage-bar-container { margin-bottom: 8px; }

.usage-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.usage-bar {
    height: 8px;
    background: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
}

.usage-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    border-radius: 4px;
    transition: width 0.5s ease;
    min-width: 2%;
}

.usage-bar-fill.bar-danger {
    background: linear-gradient(90deg, var(--error), #dc2626);
}

/* ==================== Landing Page ==================== */

.landing {
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Nav */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.landing-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.landing-logo {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}
.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.landing-nav-links a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.landing-nav-links a:not(.btn):hover { color: var(--text-primary); }

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 2px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2px;
}
.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}
.lang-btn:hover { color: var(--text-primary); background: rgba(59, 130, 246, 0.1); }
.lang-btn.active { background: var(--accent); color: white; }

/* Hero */
.landing-hero {
    position: relative;
    padding: 140px 24px 80px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}
.landing-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    font-size: 13px;
    color: #60a5fa;
    font-weight: 500;
    margin-bottom: 24px;
}
.landing-hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.text-gradient {
    background: linear-gradient(135deg, #3b82f6, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 6s ease infinite;
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.landing-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.landing-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.landing-hero-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero Visual — Phone Mockup */
.landing-hero-visual {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}
.mockup-phone {
    width: 340px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    border: 2px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
}
.mockup-notch {
    width: 120px;
    height: 28px;
    background: #0f172a;
    border-radius: 20px;
    margin: 0 auto 12px;
}
.mockup-screen {
    background: #0f172a;
    border-radius: 24px;
    padding: 20px 16px;
    min-height: 380px;
}
.mockup-msg {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.mockup-bot {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
}
.mockup-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.mockup-btn-approve {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    font-size: 12px;
    font-weight: 600;
}
.mockup-btn-reject {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
}
.mockup-carousel {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}
.mockup-slide {
    min-width: 80px;
    height: 80px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(139,92,246,0.3));
    border: 1px solid rgba(148,163,184,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Sections */
.landing-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-section-dark {
    background: rgba(30, 41, 59, 0.3);
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}
.landing-section-dark > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.landing-section-header {
    text-align: center;
    margin-bottom: 64px;
}
.landing-section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 12px;
}
.landing-section-header p {
    color: var(--text-secondary);
    font-size: 17px;
}

/* Steps */
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.step-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    position: relative;
}
.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
}
.step-icon {
    font-size: 42px;
    margin-bottom: 16px;
}
.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.step-connector {
    font-size: 28px;
    color: var(--text-muted);
    font-weight: 300;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.1);
}
.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Landing Plans */
.landing-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}
.landing-plan-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}
.landing-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.landing-plan-popular {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    transform: scale(1.03);
}
.landing-plan-popular:hover { transform: scale(1.03) translateY(-4px); }
.landing-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.landing-plan-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 8px;
}
.landing-plan-price {
    margin-bottom: 24px;
}
.landing-plan-currency {
    font-size: 20px;
    color: var(--text-secondary);
    vertical-align: top;
    font-weight: 600;
}
.landing-plan-amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
}
.landing-plan-period {
    font-size: 14px;
    color: var(--text-muted);
}
.landing-plan-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
    text-align: left;
}
.landing-plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    font-size: 14px;
    color: var(--text-secondary);
}
.landing-plan-features li:last-child { border-bottom: none; }

/* FAQ */
.faq-container {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(59, 130, 246, 0.3); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border: none;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}
.faq-chevron {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s;
}
.faq-open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}
.faq-open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Final CTA */
.landing-final-cta {
    position: relative;
    text-align: center;
    padding: 100px 24px;
    overflow: hidden;
}
.landing-final-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-glow 5s ease-in-out infinite;
}
.landing-final-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}
.landing-final-cta p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 32px;
    position: relative;
}

/* Footer */
.landing-footer {
    border-top: 1px solid var(--border);
    padding: 48px 24px 24px;
}
.landing-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.landing-footer-brand p {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 8px;
}
.landing-footer-links {
    display: flex;
    gap: 24px;
}
.landing-footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.landing-footer-links a:hover { color: var(--text-primary); }
.landing-footer-bottom {
    max-width: 1200px;
    margin: 24px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.landing-footer-bottom p {
    color: var(--text-muted);
    font-size: 12px;
}

/* Buttons — Extended */
.btn-xl {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
}
.btn-ghost {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border-color: rgba(148, 163, 184, 0.3);
}
.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== Responsive ==================== */

@media (max-width: 1024px) {
    .landing-plans-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; padding: 20px; }
    .status-grid { grid-template-columns: 1fr 1fr; }
    .onboarding-steps { flex-direction: column; }
    .plans-grid { grid-template-columns: 1fr; }

    .landing-nav-links a:not(.btn) { display: none; }
    .landing-nav-links { gap: 10px; }
    .landing-plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .landing-plan-popular { transform: none; }
    .landing-plan-popular:hover { transform: translateY(-4px); }
    .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .steps-grid { flex-direction: column; }
    .step-connector { transform: rotate(90deg); }
    .mockup-phone { width: 300px; }
    .landing-footer-inner { flex-direction: column; gap: 24px; }
}

