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

:root {
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;
    --accent: #111827;
    --accent-hover: #374151;
    --accent-light: #f3f4f6;
    --success: #059669;
    --success-light: #d1fae5;
    --danger: #dc2626;
    --danger-light: #fee2e2;
    --warning: #d97706;
    --warning-light: #fef3c7;
    --blue: #2563eb;
    --blue-light: #dbeafe;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl:
        0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.2s ease;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== PAGES ===== */
.page {
    /*display: none;*/
    /*animation: fadeIn 0.3s ease;*/
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 22px;
    height: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span:first-child {
    font-size: 16px;
    font-weight: 700;
}

.logo-text span:last-child {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.nav-link.active {
    color: var(--gray-900);
    background: var(--gray-100);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--gray-700);
}

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

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

.btn-outline {
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    background: var(--white);
}

.btn-outline:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

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

.btn-full {
    width: 100%;
}

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

.btn-success:hover {
    opacity: 0.9;
}

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

.btn-blue:hover {
    opacity: 0.9;
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.mobile-toggle:hover {
    background: var(--gray-100);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 99;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

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

.mobile-menu .nav-link {
    padding: 14px 16px;
    font-size: 16px;
}

.mobile-menu .nav-actions {
    flex-direction: column;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

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

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero h1 span {
    color: var(--gray-500);
}

.hero-description {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.qr-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.qr-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.qr-card p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.qr-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.qr-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 12px;
}

/* ===== FEATURES ===== */
.features {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

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

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 80px 0;
    background: var(--gray-50);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gray-900);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing {
    padding: 80px 0;
}

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

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--gray-900);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured .pricing-badge {
    display: block;
}

.pricing-badge {
    display: none;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 4px;
}

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

.pricing-card .price-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-600);
}

.pricing-features li svg {
    flex-shrink: 0;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta p {
    font-size: 16px;
    color: var(--gray-400);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--gray-900);
}

.cta .btn-primary:hover {
    background: var(--gray-100);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--gray-200);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.footer-links a {
    font-size: 13px;
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gray-800);
}

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--gray-50);
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow);
}

.auth-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.auth-card .subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group label.no-block {
    display: inline-block;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--gray-900);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input.is-invalid {
    border-color: var(--danger);
    background-color: var(--danger-light);
}

.form-input.is-invalid:focus {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.invalid-feedback {
    color: var(--danger);
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gray-900);
}

.checkbox-group label {
    font-size: 13px;
    color: var(--gray-600);
}

.form-link {
    font-size: 13px;
    color: var(--gray-900);
    font-weight: 600;
    transition: var(--transition);
}

.form-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--gray-900);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.divider span {
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 72px);
}

.sidebar {
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.sidebar-avatar {
    width: 40px;
    height: 40px;
    background: var(--gray-900);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.sidebar-user-info {
    min-width: 0;
}

.sidebar-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-plan {
    font-size: 12px;
    color: var(--gray-500);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
}

.sidebar-link:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.sidebar-link.active {
    background: var(--gray-100);
    color: var(--gray-900);
    font-weight: 600;
}

.sidebar-link svg {
    flex-shrink: 0;
}

.sidebar-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 12px 0;
}

.sidebar-link.logout {
    color: var(--danger);
}

.sidebar-link.logout:hover {
    background: var(--danger-light);
    color: var(--danger);
}

.dashboard-content {
    padding: 32px;
    background: var(--gray-50);
}

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

.dashboard-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.dashboard-header p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===== STATS PAGE ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-card .stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    padding: 2px 8px;
    border-radius: 100px;
}

.stat-change.up {
    color: var(--success);
    background: var(--success-light);
}

.stat-change.down {
    color: var(--danger);
    background: var(--danger-light);
}

.chart-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

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

.chart-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
}

.chart-tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius);
}

.chart-tab {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
}

.chart-tab.active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

.chart-area {
    height: 280px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 0 8px;
}

.chart-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.chart-bar {
    width: 100%;
    max-width: 40px;
    background: var(--gray-900);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    min-height: 4px;
}

.chart-bar:hover {
    opacity: 0.8;
}

.chart-bar-label {
    font-size: 11px;
    color: var(--gray-400);
}

.notification-list {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.notification-list-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-list-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    gap: 16px;
}

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

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.sent {
    background: var(--success-light);
    color: var(--success);
}

.notification-icon.failed {
    background: var(--danger-light);
    color: var(--danger);
}

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

.notification-info .title {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
}

.notification-info .desc {
    font-size: 12px;
    color: var(--gray-500);
}

.notification-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}

.notification-status.sent {
    color: var(--success);
    background: var(--success-light);
}

.notification-status.failed {
    color: var(--danger);
    background: var(--danger-light);
}

.notification-time {
    font-size: 12px;
    color: var(--gray-400);
    white-space: nowrap;
}

/* ===== PROFILE PAGE ===== */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.profile-card.full-width {
    grid-column: 1 / -1;
}

.profile-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.profile-avatar-large {
    width: 72px;
    height: 72px;
    background: var(--gray-900);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-avatar-actions .btn {
    margin-bottom: 4px;
}

.profile-avatar-actions p {
    font-size: 12px;
    color: var(--gray-400);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

/* ===== SUBSCRIPTION PAGE ===== */
.subscription-current {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}

.subscription-current h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.current-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.current-plan-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.current-plan-info p {
    font-size: 14px;
    color: var(--gray-500);
}

.current-plan-price {
    text-align: right;
}

.current-plan-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
}

.current-plan-price .period {
    font-size: 13px;
    color: var(--gray-500);
}

.plan-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.plan-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.plan-card:hover {
    border-color: var(--gray-400);
}

.plan-card.selected {
    border-color: var(--gray-900);
    box-shadow: var(--shadow-md);
}

.plan-card.selected::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--gray-900);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.plan-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.plan-card .plan-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin: 12px 0;
}

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

.plan-card .plan-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.plan-card ul {
    list-style: none;
    text-align: left;
}

.plan-card ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--gray-600);
}

.payment-methods {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 24px;
}

.payment-methods h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.payment-options {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-option {
    flex: 1;
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--gray-400);
}

.payment-option.selected {
    border-color: var(--gray-900);
    background: var(--gray-50);
}

.payment-option .icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.payment-option .name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

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

    .hero-qr {
        align-items: center;
    }

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

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

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

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

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 48px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .features,
    .how-it-works,
    .pricing,
    .cta {
        padding: 48px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

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

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

    .dashboard-content {
        padding: 20px;
    }

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

    .chart-area {
        height: 200px;
    }

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

    .form-grid .full-width {
        grid-column: 1;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .auth-card {
        padding: 28px;
    }

    .qr-image {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

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

    .notification-item {
        flex-wrap: wrap;
    }

    .current-plan {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .current-plan-price {
        text-align: left;
    }
}

/* Mobile sidebar for dashboard */
.mobile-sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--gray-900);
    color: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 50;
}

@media (max-width: 1024px) {
    .mobile-sidebar-toggle {
        display: flex;
    }
}

.mobile-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
}

.mobile-sidebar-overlay.open {
    display: block;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: var(--white);
    z-index: 201;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 24px 16px;
}

.mobile-sidebar.open {
    transform: translateX(0);
}

.mobile-sidebar-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-sidebar-close:hover {
    background: var(--gray-100);
}
