/* ====================================
   SafeCheck - Main Stylesheet
   Modern, Professional, Responsive Design
   ==================================== */

:root {
    --primary: #0088cc;
    --primary-dark: #006699;
    --primary-light: #00a0e6;
    --secondary: #00b8a9;
    --accent: #00d4aa;

    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    --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;

    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-inverse: #FFFFFF;

    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --bg-dark: #1F2937;

    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);

    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
    box-sizing: border-box;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--spacing-4) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: var(--spacing-6);
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-4);
    flex-direction: column;
    gap: var(--spacing-3);
    z-index: 999;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease;
}

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

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--spacing-2);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    width: 100%;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-8);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-4);
    justify-content: center;
    margin-bottom: var(--spacing-12);
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-8);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
}

.btn-large {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: 1.125rem;
}

/* Sections */
section {
    padding: var(--spacing-16) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: var(--spacing-4);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-12);
}

/* Features Section */
.features {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-6);
    width: 100%;
}

.feature-card {
    padding: var(--spacing-8);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-4);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-3);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: var(--spacing-6);
    align-items: start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-2);
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-6);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: var(--spacing-8);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text-inverse);
    padding: var(--spacing-1) var(--spacing-4);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-6);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-1);
    margin-bottom: var(--spacing-2);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 0 0;
}

.price-detail {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin: 0.25rem 0 0 0;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-6);
}

.pricing-features li {
    padding: var(--spacing-2) 0;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    padding: var(--spacing-6);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-4);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-3);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-12);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.contact-item {
    display: flex;
    gap: var(--spacing-4);
    align-items: start;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-1);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.contact-form input,
.contact-form textarea {
    padding: var(--spacing-3);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--text-inverse);
    padding: var(--spacing-12) 0 var(--spacing-6);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-8);
    margin-bottom: var(--spacing-8);
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-4);
}

.footer-section p {
    color: var(--gray-400);
    margin-bottom: var(--spacing-2);
}

.footer-section a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: var(--spacing-2);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-light);
}

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

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

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

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

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

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

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

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

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

    .step-content {
        text-align: center;
    }
}

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

    .header {
        padding: var(--spacing-3) 0;
    }

    .hero {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    section {
        padding: var(--spacing-12) 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .btn-large {
        padding: var(--spacing-3) var(--spacing-6);
        font-size: 1rem;
    }
}

/* Telegram Login Modal */
.telegram-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-4);
}

.telegram-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.telegram-modal-content {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-8);
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(2rem);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-4);
    right: var(--spacing-4);
    background: var(--bg-secondary);
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-300);
    color: var(--text-primary);
}

.telegram-modal h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--text-primary);
}

.telegram-modal p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-6);
    line-height: 1.6;
}

#telegram-login-container {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-4);
}

/* Dashboard Styles */
.dashboard {
    min-height: 100vh;
    display: flex;
    background: var(--bg-secondary);
}

.sidebar {
    width: 260px;
    background: var(--bg-primary);
    border-right: 1px solid var(--gray-200);
    padding: var(--spacing-6);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-8);
    padding: var(--spacing-2);
}

.sidebar-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.sidebar-nav a {
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--bg-secondary);
    color: var(--primary);
}

.sidebar-nav a i {
    width: 20px;
    text-align: center;
}

.main-content {
    margin-left: 260px;
    flex: 1;
    padding: var(--spacing-8);
    width: calc(100% - 260px);
}

.dashboard-header {
    background: var(--bg-primary);
    padding: var(--spacing-6);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-6);
    box-shadow: var(--shadow-sm);
}

.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-2);
}

.dashboard-header p {
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-6);
}

.stat-card {
    background: var(--bg-primary);
    padding: var(--spacing-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-4);
}

.stat-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-card-icon.primary {
    background: rgba(0, 136, 204, 0.1);
    color: var(--primary);
}

.stat-card-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stat-card-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.stat-card-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-card-change {
    font-size: 0.875rem;
    margin-top: var(--spacing-2);
}

.stat-card-change.positive {
    color: var(--success);
}

.stat-card-change.negative {
    color: var(--error);
}

.card {
    background: var(--bg-primary);
    padding: var(--spacing-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-6);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-6);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-actions {
    display: flex;
    gap: var(--spacing-2);
}

.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: var(--bg-secondary);
}

.table th {
    text-align: left;
    padding: var(--spacing-3) var(--spacing-4);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table td {
    padding: var(--spacing-4);
    border-top: 1px solid var(--gray-200);
    color: var(--text-primary);
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: var(--bg-secondary);
}

.badge-status {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-completed,
.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-pending,
.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.badge-failed,
.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.badge-processing,
.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: 0.875rem;
}

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

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon {
    padding: var(--spacing-2);
    width: 2rem;
    height: 2rem;
}

.empty-state {
    text-align: center;
    padding: var(--spacing-12);
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-4);
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-2);
}

.empty-state-text {
    margin-bottom: var(--spacing-6);
}

.loading-spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.user-menu {
    position: relative;
    display: inline-block;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--border-radius-sm);
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.user-menu-toggle:hover {
    background: var(--gray-300);
}

.user-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--spacing-2);
    background: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 1000;
}

.user-menu.active .user-menu-dropdown {
    display: block;
}

.user-menu-dropdown a,
.user-menu-dropdown button {
    display: block;
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    text-align: left;
    text-decoration: none;
    color: var(--text-primary);
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}

.user-menu-dropdown a:hover,
.user-menu-dropdown button:hover {
    background: var(--bg-secondary);
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-sidebar-toggle {
        display: block;
        position: fixed;
        bottom: var(--spacing-6);
        right: var(--spacing-6);
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        background: var(--primary);
        color: var(--text-inverse);
        border: none;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
    }

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

/* ====================================
   FAQ Section
   ==================================== */

.faq {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ====================================
   Disclaimer Section
   ==================================== */

.disclaimer {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.disclaimer-box {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-left: 4px solid var(--warning);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.disclaimer-box h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.disclaimer-box h3::before {
    content: "⚠️";
    font-size: 1.75rem;
}

.disclaimer-box p {
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.disclaimer-box ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.disclaimer-box ul li {
    color: var(--gray-700);
    line-height: 1.7;
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}

.disclaimer-box ul li:last-child {
    border-bottom: none;
}

.disclaimer-box ul li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--warning);
    font-weight: bold;
    font-size: 1.5rem;
}

.disclaimer-box ul li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ====================================
   Footer Logo
   ==================================== */

.footer-logo {
    display: flex;
    align-items: center;
}

.footer a:hover {
    color: var(--primary) !important;
}

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

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .disclaimer-box {
        padding: 1.5rem;
    }

    .disclaimer-box h3 {
        font-size: 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-section ul {
        align-items: center;
    }
}

/* ====================================
   Telegram Login Modal
   ==================================== */

.telegram-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.telegram-modal.active {
    display: flex !important;
}

.telegram-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.telegram-modal-content h2 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.telegram-modal-content p {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: #000;
}

#telegram-login-widget {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

/* ====================================
   User Dropdown Improvements
   ==================================== */

#user-button {
    background: var(--bg-secondary);
    border: 1px solid var(--gray-200);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#user-button:hover {
    background: var(--bg-tertiary);
    border-color: var(--gray-300);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#user-dropdown-menu {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    margin-top: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

#user-dropdown-menu a,
#user-dropdown-menu button {
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

#user-dropdown-menu a:hover,
#user-dropdown-menu button:hover {
    background: var(--bg-secondary);
}

#user-dropdown-menu button#logout-btn-dropdown {
    background: #FEF2F2;
    border-top: 1px solid #FECACA;
}

#user-dropdown-menu button#logout-btn-dropdown:hover {
    background: #FEE2E2;
}
/* ========================================
   MODERN HERO SECTION
   ======================================== */

.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

/* Animated Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 50%, #ec4899 100%);
    opacity: 0.05;
}

.hero-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    bottom: -150px;
    right: -100px;
    animation-delay: -7s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    top: 50%;
    right: 10%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Hero Content */
.hero-content-modern {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Badge */
.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0ea5e9;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-badge-modern svg {
    color: #0ea5e9;
}

.badge-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Title */
.hero-title-modern {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #111827;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Subtitle */
.hero-subtitle-modern {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero-buttons-modern {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
}

.btn-primary-modern:hover::before {
    opacity: 1;
}

.btn-primary-modern span {
    position: relative;
    z-index: 1;
}

.btn-secondary-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: #0ea5e9;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.btn-secondary-modern:hover {
    border-color: #0ea5e9;
    background: rgba(14, 165, 233, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.2);
}

/* Stats */
.hero-stats-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.stat-modern {
    text-align: center;
}

.stat-number-modern {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label-modern {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #e5e7eb, transparent);
}

/* ========================================
   FEATURES SECTION - BENTO GRID
   ======================================== */

.features-modern {
    padding: 6rem 0;
    background: linear-gradient(to bottom, white, #f9fafb);
}

.section-header-modern {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title-modern {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: #111827;
    letter-spacing: -0.02em;
}

.section-subtitle-modern {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
}

/* Bento Grid */
.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-auto-rows: 340px;
}

.feature-bento {
    position: relative;
    padding: 2rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-bento.large {
    grid-column: span 1;
    grid-row: span 1;
}

.feature-bento.medium {
    grid-column: span 1;
    grid-row: span 1;
}

.feature-bento.small {
    grid-column: span 1;
    grid-row: span 1;
}

.feature-bento:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

/* Feature Icons */
.feature-icon-modern {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.feature-icon-modern.blue {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.feature-icon-modern.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-icon-modern.purple {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.feature-icon-modern.orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-icon-modern.pink {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.feature-icon-modern.teal {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
}

/* Feature Content */
.feature-title-modern {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.feature-desc-modern {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: auto;
}

/* Feature Badges */
.feature-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
    width: fit-content;
}

.feature-badge-modern.blue {
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
}

.feature-badge-modern.green {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
}

.feature-badge-modern.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #6b21a8;
}

/* Glow Effect */
.feature-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-bento:hover .feature-glow {
    opacity: 0.15;
}

.feature-glow.blue {
    background: #0ea5e9;
    bottom: -100px;
    right: -100px;
}

.feature-glow.green {
    background: #10b981;
    bottom: -100px;
    right: -100px;
}

.feature-glow.purple {
    background: #8b5cf6;
    bottom: -100px;
    right: -100px;
}

.feature-glow.orange {
    background: #f59e0b;
    bottom: -100px;
    right: -100px;
}

.feature-glow.pink {
    background: #ec4899;
    bottom: -100px;
    right: -100px;
}

.feature-glow.teal {
    background: #14b8a6;
    bottom: -100px;
    right: -100px;
}

/* ========================================
   HOW IT WORKS - TIMELINE
   ======================================== */

.how-it-works-modern {
    padding: 6rem 0;
    background: white;
}

/* Timeline */
.timeline-modern {
    max-width: 900px;
    margin: 0 auto 5rem;
}

.timeline-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    position: relative;
    margin-bottom: 3rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* Step Number */
.step-number-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    position: relative;
    z-index: 2;
}

.step-number.blue {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.step-number.purple {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.step-number.green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

/* Pulse Animation */
.step-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Step Line */
.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, #e5e7eb, transparent);
    margin: 1rem auto 0;
}

/* Step Content */
.step-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03), rgba(139, 92, 246, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-content:hover {
    border-color: #e5e7eb;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.step-content:hover::before {
    opacity: 1;
}

/* Step Icon */
.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-icon.blue {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.step-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.step-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.step-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Step Highlight */
.step-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
}

.step-highlight svg {
    color: #10b981;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-modern {
    position: relative;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(14, 165, 233, 0.3);
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: #0ea5e9;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-modern {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-title-modern {
        font-size: 2.5rem;
    }

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

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

    .hero-stats-modern {
        gap: 1rem;
        padding: 1.5rem;
    }

    .stat-number-modern {
        font-size: 1.5rem;
    }

    .stat-label-modern {
        font-size: 0.75rem;
    }

    .stat-divider {
        height: 30px;
    }

    /* Features Bento - Mobile */
    .features-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .feature-bento.large,
    .feature-bento.medium,
    .feature-bento.small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .feature-bento {
        min-height: 220px;
        text-align: center;
    }

    .feature-icon-modern {
        margin-left: auto;
        margin-right: auto;
    }

    /* Timeline - Mobile */
    .timeline-step {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-content {
        padding: 1.5rem;
        text-align: center;
    }

    .step-icon {
        width: 48px;
        height: 48px;
        margin-left: auto;
        margin-right: auto;
    }

    .step-icon svg {
        width: 24px;
        height: 24px;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .cta-modern {
        padding: 3rem 2rem;
    }

    .cta-title {
        font-size: 1.875rem;
    }

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

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

@media (max-width: 480px) {
    .shape {
        display: none; /* Hide animated shapes on very small screens for performance */
    }

    .hero-stats-modern {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }
}

/* ========================================
   FOOTER STYLES
   ======================================== */

footer a:hover {
    color: rgba(255, 255, 255, 1) !important;
}

footer a svg {
    transition: transform 0.2s ease;
}

footer a:hover svg {
    transform: translateX(2px);
}

footer .btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.5) !important;
}
