/* ========================================
   RS Roofs.AI - Landing Page & Dashboard Styles
   Modern, Fresh, Premium Design
   ======================================== */

:root {
    --primary-color: #4CBB17;
    --primary-dark: #3a9614;
    --primary-light: #5acc2a;
    --secondary-color: #3da012;
    --accent-color: #2d8a0d;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    --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;

    --gradient-primary: linear-gradient(135deg, #4CBB17 0%, #3a9614 100%);
    --gradient-secondary: linear-gradient(135deg, #5acc2a 0%, #4CBB17 100%);
    --gradient-accent: linear-gradient(135deg, #4CBB17 0%, #2d8a0d 100%);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

/* ========================================
   DASHBOARD STYLES (Logged In Users)
   ======================================== */

.dashboard-container {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.welcome-section {
    flex: 1;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 4px 0;
}

.welcome-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-primary-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary-action .action-icon {
    font-size: 18px;
    font-weight: 700;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.dashboard-tile {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.dashboard-tile:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.tile-wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .tile-wide {
        grid-column: span 1;
    }
}

.tile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 0 24px;
}

.tile-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-icon svg {
    width: 24px;
    height: 24px;
}

.investments-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary-color);
}

.offers-icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: var(--success-color);
}

.account-icon {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: var(--accent-color);
}

.actions-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--warning-color);
}

.activity-icon {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: var(--secondary-color);
}

.tile-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
}

.tile-content {
    padding: 20px 24px;
}

.stat-main {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}

.stat-details {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
}

.stat-desc {
    font-size: 13px;
    color: var(--gray-400);
}

.tile-footer {
    padding: 16px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.tile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.tile-link:hover {
    gap: 10px;
}

.tile-link .arrow {
    transition: transform 0.2s ease;
}

.tile-link:hover .arrow {
    transform: translateX(4px);
}

/* Account Tile */
.account-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-plan {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-badge {
    padding: 6px 12px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.plan-status {
    font-size: 13px;
    color: var(--success-color);
    font-weight: 500;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.detail-label {
    color: var(--gray-500);
}

.detail-value {
    font-weight: 600;
    color: var(--gray-800);
}

.usage-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.usage-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    background: white;
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.qa-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.qa-icon svg {
    width: 24px;
    height: 24px;
}

.qa-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.activity-dot.investment {
    background: var(--primary-color);
}

.activity-dot.offer {
    background: var(--success-color);
}

.activity-dot.measurement {
    background: var(--secondary-color);
}

.activity-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.activity-text {
    font-size: 14px;
    color: var(--gray-800);
}

.activity-time {
    font-size: 12px;
    color: var(--gray-400);
}

.empty-state {
    text-align: center;
    padding: 24px;
    color: var(--gray-500);
}

/* ========================================
   LANDING PAGE STYLES (Not Logged In)
   ======================================== */

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 24px;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(76, 187, 23, 0.3);
    top: -200px;
    right: -100px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(58, 150, 20, 0.3);
    bottom: -100px;
    left: -100px;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(76, 187, 23, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    margin: 0 auto;
    position: relative;
}

.hero-headline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.hero-logo {
    flex-shrink: 0;
}

.hero-logo img {
    height: 80px;
    width: auto;
}

.hero-headline .hero-title {
    margin-bottom: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(76, 187, 23, 0.1);
    border: 1px solid rgba(76, 187, 23, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 12px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin: 0 0 24px 0;
}

.hero-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #387a39;
    background-clip: text;
    font-size: xx-large;
    font-weight: 900;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0 auto 32px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 187, 23, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 187, 23, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-size: 17px;
    font-weight: 600;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.play-icon {
    font-size: 12px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat .stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
}

.hero-stat .stat-text {
    font-size: 14px;
    color: var(--gray-500);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Section Styles */
.carousel-section,
.features-section,
.cta-section {
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(76, 187, 23, 0.1);
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 12px 0;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-section {
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 12px 0;
}

.feature-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-500);
    margin: 0;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: var(--gray-900);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(76, 187, 23, 0.3);
    top: -200px;
    right: -100px;
}

.cta-shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(58, 150, 20, 0.3);
    bottom: -150px;
    left: -100px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 32px 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: var(--gray-900);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-size: 17px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 16px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-title {
        font-size: 24px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 48px 16px;
    }

    .hero-headline {
        display: block !important;
        text-align: center;
    }

    .hero-logo {
        display: block;
        margin: 0 auto 16px;
    }

    .hero-logo img {
        height: 60px;
    }

    .hero-headline .hero-title {
        text-align: center;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-divider {
        display: none;
    }

    .carousel-section,
    .features-section,
    .cta-section {
        padding: 48px 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   LANDING LAYOUT STYLES
   ======================================== */

/* Override global overflow:hidden for landing page */
html:has(.landing-page),
body:has(.landing-page) {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
}

#app:has(.landing-page) {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
}

.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: white;
}

.landing-content {
    flex: 1;
}

/* ========================================
   LANDING HEADER STYLES
   ======================================== */

.landing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {    
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo {    
    height: 48px;
    object-fit: contain;
}

.header-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(76, 187, 23, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Big Green Login Button */
.btn-header-login {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #4CBB17 0%, #3a9614 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 187, 23, 0.35);
    border: none;
    cursor: pointer;
}

.btn-header-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 187, 23, 0.45);
    background: linear-gradient(135deg, #5acc2a 0%, #4CBB17 100%);
    color: white;
}

.btn-header-login:active {
    transform: translateY(0);
}

.btn-header-login .login-icon {
    width: 20px;
    height: 20px;
}

.btn-header-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.2s ease;
}

.btn-header-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: var(--gray-100);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    background: white;
    border-top: 1px solid var(--gray-100);
}

.mobile-nav-link {
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

.mobile-menu-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 0 16px;
}

.btn-mobile-login {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4CBB17 0%, #3a9614 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: var(--border-radius-md);
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(76, 187, 23, 0.3);
}

/* Landing Language Selector (desktop) */
.landing-language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
}

.landing-language-selector .globe-icon {
    width: 18px;
    height: 18px;
    color: var(--gray-500);
    flex-shrink: 0;
}

.landing-language-selector select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    padding: 6px 28px 6px 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: all 0.2s ease;
}

.landing-language-selector select:hover {
    border-color: var(--primary-color);
}

.landing-language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(76, 187, 23, 0.15);
}

/* Landing Language Selector (mobile) */
.mobile-language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.mobile-language-selector .globe-icon {
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    flex-shrink: 0;
}

.mobile-language-selector select {
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    padding: 10px 28px 10px 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* ========================================
   LANDING FOOTER STYLES
   ======================================== */

.landing-footer {
    background: var(--gray-900);
    color: white;
    padding: 40px 24px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {    
    height: 40px;
    object-fit: contain;
}

.footer-name {
    font-size: 18px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   RESPONSIVE - LANDING HEADER
   ======================================== */

@media (max-width: 900px) {
    .header-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .header-actions .btn-header-login,
    .header-actions .btn-header-secondary {
        display: none;
    }
}

@media (max-width: 600px) {
    .header-container {
        padding: 0 16px;
        height: 64px;
    }

    .header-logo {
        width: 40px;
        height: 40px;
    }

    .header-title {
        font-size: 18px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========================================
   SUBSCRIPTION TILE STYLES
   ======================================== */

.plan-badge.expired {
    background: var(--danger-color) !important;
    color: white;
}

.plan-status.active {
    color: var(--success-color);
}

.plan-status.expired {
    color: var(--danger-color);
}

.expiry-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
}

.expiry-warning .warning-icon {
    width: 16px;
    height: 16px;
    color: #f59e0b;
}

.subscription-expired-info {
    margin-top: 8px;
    padding: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    text-align: center;
}

.subscription-expired-info .expired-message {
    font-weight: 600;
    color: #dc2626;
    margin: 0 0 4px 0;
    font-size: 14px;
}

.subscription-expired-info .expired-date {
    font-size: 12px;
    color: #7f1d1d;
    margin: 0 0 12px 0;
}

.renew-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.renew-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

.renew-link .link-arrow {
    width: 14px;
    height: 14px;
}

.token-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.subscription-loading {
    padding: 20px;
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
}

/* Expiring Subscription Tile Warning State */
.tile-account.tile-expiring {
    border: 2px solid var(--warning-color);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.tile-account.tile-expiring:hover {
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.tile-account.tile-expiring .tile-header {
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.tile-account.tile-expiring .account-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--warning-color);
}

/* Extensions List Styles */
.extensions-info {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.extensions-info .detail-label {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 8px;
}

.extensions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.extension-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* ========================================
   DASHBOARD LOADING STATES
   ======================================== */

/* Loading Shimmer Animation */
@keyframes shimmer {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

.loading-shimmer {
    animation: shimmer 1.5s ease-in-out infinite;
    color: var(--gray-300) !important;
}

.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: var(--gray-500);
    font-size: 14px;
}

/* Activity dot for email type */
.activity-dot.email {
    background: #3b82f6;
}

/* Activity dot for unknown type */
.activity-dot.unknown {
    background: var(--gray-400);
}
