/* ====== VARIABLES ====== */
:root {
    /* Main Colors  */
    --primary: #0F172A;           /* Indigo */
    --primary-light: #e7dae3;
    --primary-dark: #f6e6f3;
    --primary-bg: rgba(99, 102, 241, 0.1);
    
    /* Accent */
    --accent: #0b1415;            /* Cyan */
    --accent-bg: rgba(34, 211, 238, 0.1);
    
    /* Backgrounds */
    --bg-dark: #0F172A;           /* Slate 900 */
    --bg-card: #1E293B;           /* Slate 800 */
    --bg-hover: #334155;          /* Slate 700 */
    --bg-light: #F8FAFC;          /* For landing page */
    
    /* Text */
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-dark: #1E293B;
    
    /* Status Colors */
    --success: #22C55E;
    --success-bg: rgba(34, 197, 94, 0.15);
    --warning: #F59E0B;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --danger: #EF4444;
    --danger-bg: rgba(239, 68, 68, 0.15);
    
    /* Borders & Shadows */
    --border: #334155;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

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

button {
    cursor: pointer;
    font-family: inherit;
}

input {
    font-family: inherit;
}

/* ====== UTILITIES ====== */
.hidden {
    display: none !important;
}

/* ====== NAVBAR ====== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #E2E8F0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    border: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* ====== BUTTONS ====== */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-danger {
    background: var(--danger);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-danger:hover {
    background: #DC2626;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* ====== HERO SECTION ====== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 5rem;
    min-height: 100vh;
    gap: 4rem;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    background: var(--bg-dark);
    border-radius: 40px;
    padding: 1rem;
    box-shadow: var(--shadow-glow);
    width: 320px;
    border: 4px solid var(--bg-card);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.notification {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--warning);
}

.notification.urgent {
    border-left-color: var(--danger);
    background: var(--danger-bg);
}

.notification.warning {
    border-left-color: var(--warning);
}

.notification.safe {
    border-left-color: var(--success);
    background: var(--success-bg);
}

.notif-icon {
    font-size: 1.3rem;
}

.notif-text {
    flex: 1;
}

.notif-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.notif-text p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
}

/* ====== HOW SECTION ====== */
.how-section {
    padding: 6rem 5%;
    background: white;
}

.how-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 4rem;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    position: relative;
    transition: var(--transition);
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-light);
    margin-top: 4rem;
}

/* ====== FEATURES SECTION ====== */
.features-section {
    padding: 6rem 5%;
    background: var(--bg-light);
}

.features-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #E2E8F0;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ====== CTA SECTION ====== */
.cta-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

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

.cta-section .btn-primary:hover {
    background: var(--bg-light);
}

/* ====== FOOTER ====== */
footer {
    padding: 3rem 5%;
    background: var(--bg-dark);
    color: var(--text-secondary);
    text-align: center;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* ====== MODAL ====== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

/* ====== AUTH FORMS ====== */
.auth-form h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-form > p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

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

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}

.auth-divider span {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.btn-google {
    width: 100%;
    padding: 0.85rem;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-google span {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #4285F4, #EA4335, #FBBC05, #34A853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

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

/* ====== DASHBOARD ====== */
#dashboard {
    background: var(--bg-dark);
    min-height: 100vh;
}

.dashboard-nav {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.dashboard-nav .logo {
    color: var(--text-primary);
}

.dashboard-nav .nav-links a {
    color: var(--text-secondary);
}

.dashboard-nav .nav-links a:hover,
.dashboard-nav .nav-links a.nav-active {
    color: var(--primary-light);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-hover);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    transition: var(--transition);
}

.user-btn:hover {
    background: var(--border);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
}

.user-name {
    font-weight: 500;
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 160px;
    box-shadow: var(--shadow-lg);
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.user-dropdown a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Dashboard Main */
.dashboard-main {
    padding: 6rem 5% 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-section {
    animation: fadeIn 0.3s ease;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h1 {
    font-size: 2rem;
    color: var(--text-primary);
}

.section-actions {
    display: flex;
    gap: 1rem;
}

.search-input {
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
}

.stat-card.urgent {
    border-color: var(--danger);
    background: var(--danger-bg);
}

.stat-card.success {
    border-color: var(--success);
    background: var(--success-bg);
}

.stat-card .stat-icon {
    font-size: 2rem;
}

.stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

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

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.dashboard-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Trials List */
.trials-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trial-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.trial-item:hover {
    background: var(--border);
}

.trial-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.trial-info {
    flex: 1;
}

.trial-info h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.trial-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.trial-status {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.trial-status.urgent {
    background: var(--danger-bg);
    color: var(--danger);
}

.trial-status.warning {
    background: var(--warning-bg);
    color: var(--warning);
}

.trial-status.safe {
    background: var(--success-bg);
    color: var(--success);
}

.trial-status.cancelled {
    background: var(--bg-dark);
    color: var(--text-muted);
}

.trial-actions {
    display: flex;
    gap: 0.5rem;
}

.trial-actions button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.6rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Subscriptions Grid */
.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.subscription-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.subscription-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.subscription-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.subscription-card .sub-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.subscription-card .sub-info h4 {
    color: var(--text-primary);
    font-size: 1.05rem;
}

.subscription-card .sub-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.subscription-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-hover);
    border-radius: var(--radius-md);
}

.subscription-details .detail {
    text-align: center;
}

.subscription-details .detail span {
    display: block;
}

.subscription-details .detail span:first-child {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.subscription-details .detail span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.subscription-actions {
    display: flex;
    gap: 0.75rem;
}

.subscription-actions button,
.subscription-actions a {
    flex: 1;
    text-align: center;
}

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.settings-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.settings-card .form-group label {
    color: var(--text-secondary);
}

.settings-card .form-group input {
    background: var(--bg-hover);
    border-color: var(--border);
    color: var(--text-primary);
}

.settings-card.danger {
    border-color: var(--danger);
}

.settings-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Toggle */
.toggle-group {
    margin-bottom: 1rem;
}

.toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.toggle input {
    display: none;
}

.toggle-slider {
    width: 48px;
    height: 26px;
    background: var(--bg-hover);
    border-radius: var(--radius-full);
    position: relative;
    transition: var(--transition);
}

.toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle input:checked + .toggle-slider::after {
    transform: translateX(22px);
}

.toggle-label {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-actions button {
    flex: 1;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 1rem 4%;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a:not(.btn-nav):not(.nav-active) {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 280px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .section-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }

    /* ====== ADDITIONAL CSS FOR DISABLED BUTTON ====== */
/* Add this to the end of your style.css file */

/* Disabled Button Style */
.btn-disabled {
    background: var(--bg-hover);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-disabled:hover {
    /* No hover effect for disabled buttons */
    background: var(--bg-hover);
    transform: none;
    box-shadow: none;
}

/* Tooltip for disabled button */
.btn-disabled[title] {
    position: relative;
}

/* Optional: Better tooltip on hover */
.btn-disabled:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    margin-bottom: 0.5rem;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

/* Small arrow for tooltip */
.btn-disabled:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--bg-dark);
    margin-bottom: -6px;
    z-index: 100;
}

/* Responsive adjustment for small trial action buttons */
.trial-actions .btn-disabled {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}
}
