/* ==========================================
   GrowthWave Ads - Global Styles
   Premium Dark SaaS Theme (Linear/Vercel vibes)
   ========================================== */

:root {
    /* Muted, sophisticated teal palette */
    --primary: #0f766e;
    --accent: #0d9488;
    --accent-light: rgba(13, 148, 136, 0.15);
    
    --bg-primary: #0a0f0f;
    --bg-secondary: #0d1212;
    --bg-card: #111918;
    --bg-card-hover: #151f1e;
    
    /* Light section backgrounds */
    --bg-light: #f8fafc;
    --bg-light-secondary: #f1f5f4;
    
    --text-primary: #e2e8e4;
    --text-secondary: #94a3a0;
    --text-muted: #5c6b68;
    
    /* Dark text for light sections */
    --text-dark: #1e293b;
    --text-dark-secondary: #475569;
    
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --border-color: #1e2d2b;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(13, 148, 136, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 17px;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

h1, h2 {
    letter-spacing: -0.02em;
}

/* Section title accent underline */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* ==========================================
   Navbar
   ========================================== */

.navbar {
    background: rgba(13, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.logo-icon svg {
    stroke: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-link-dropdown {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 8px 0;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.15s;
    z-index: 2000;
    pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Bridge gap between trigger and menu so mouse doesn't lose hover */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-links > a.nav-link {
    position: relative;
    z-index: 1001;
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.btn-secondary:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-icon {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    stroke: currentColor;
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-with-icon svg {
    stroke: currentColor;
}

.btn-block {
    width: 100%;
}

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

.hero {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated grid pattern */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(13, 148, 136, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: grid-shift 20s linear infinite;
    z-index: 0;
}

/* Subtle gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(15, 118, 110, 0.06) 0%, transparent 50%);
    z-index: 0;
}

@keyframes grid-shift {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-note {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Stats Bar with shimmer on hover */
.stats-bar {
    padding: 40px 0;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1;
}

.stats-bar .stat-number {
    color: var(--primary);
}

.stats-bar .stat-label,
.stats-bar .stat-text {
    color: var(--text-dark-secondary);
}

.stats-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(13, 148, 136, 0.05);
}

/* Shimmer effect on hover */
.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.1), transparent);
    transform: translateX(-100%);
    border-radius: var(--border-radius-sm);
    transition: transform 0.6s;
}

.stat-item:hover::before {
    transform: translateX(100%);
}

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

.stat-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

@media (max-width: 600px) {
    .stats-bar-inner {
        gap: 30px;
    }
    .stat-divider {
        display: none;
    }
    .stat-number {
        font-size: 1.5rem;
    }
}

/* ==========================================
   Light/Dark Section Alternation
   ========================================== */

.section-light {
    background: var(--bg-light);
}

.section-light-alt {
    background: var(--bg-light-secondary);
}

/* Text overrides on light sections */
.section-light h2, .section-light h3, .section-light-alt h2, .section-light-alt h3 {
    color: var(--text-dark);
}

.section-light p, .section-light li, .section-light-alt p, .section-light-alt li {
    color: var(--text-dark-secondary);
}

/* Section title on light backgrounds */
.section-light .section-title,
.section-light-alt .section-title {
    color: var(--text-dark);
}

/* Feature cards on light section */
.section-light .feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.section-light .feature-card h3 {
    color: var(--text-dark);
}

.section-light .feature-card p {
    color: var(--text-dark-secondary);
}

.section-light .feature-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 0 20px rgba(13, 148, 136, 0.1);
}

/* Pricing card on light section */
.section-light .pricing-card {
    background: #ffffff;
    border: 2px solid var(--primary);
}

.section-light .pricing-card::before {
    background: conic-gradient(from 0deg, var(--accent), var(--primary), var(--accent));
}

.section-light .pricing-card::after {
    background: #ffffff;
}

.section-light .pricing-header h2 {
    color: var(--text-dark);
}

.section-light .price-amount {
    color: var(--primary);
}

.section-light .price-period {
    color: var(--text-dark-secondary);
}

.section-light .pricing-features li {
    color: var(--text-dark-secondary);
    border-bottom: 1px solid #e2e8f0;
}

.section-light .pricing-note {
    color: var(--text-dark-secondary);
}

/* FAQ items on light-alt section */
.section-light-alt .faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-light-alt .faq-item:hover {
    border-color: rgba(13, 148, 136, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-light-alt .faq-item h3 {
    color: var(--primary);
}

.section-light-alt .faq-item p {
    color: var(--text-dark-secondary);
}

/* Features with animated border glow on hover */
.features {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 36px;
    transition: all 0.3s;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--border-radius) + 1px);
    background: linear-gradient(135deg, var(--accent), transparent, var(--primary));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
}

.feature-icon svg {
    stroke: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

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

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

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

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.5), rgba(13, 148, 136, 0.1));
}

@media (max-width: 900px) {
    .step:not(:last-child)::after {
        display: none;
    }
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
    position: relative;
    z-index: 2;
    color: white;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

/* Pricing with animated rotating gradient border */
.pricing {
    padding: 80px 0;
}

.pricing-card {
    max-width: 450px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 44px;
    text-align: center;
    position: relative;
}

/* Animated gradient border */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--border-radius) + 2px);
    background: conic-gradient(from 0deg, var(--accent), var(--primary), var(--accent));
    animation: rotate-border 4s linear infinite;
    z-index: -2;
}

.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    background: var(--bg-card);
    z-index: -1;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pricing-header h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.price {
    margin-bottom: 30px;
}

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

.price-period {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.pricing-features li::after {
    content: '';
    position: absolute;
    margin-left: 5px;
    margin-top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pricing-note {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: rgba(13, 148, 136, 0.3);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

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

/* CTA */
.cta {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

/* Diagonal stripe texture */
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(13, 148, 136, 0.03) 10px,
        rgba(13, 148, 136, 0.03) 20px
    );
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ==========================================
   Auth Pages
   ========================================== */

.auth-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

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

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.auth-card h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.auth-footer {
    margin-top: 24px;
    text-align: center;
    color: var(--text-secondary);
}

.payment-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-note {
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

/* ==========================================
   Dashboard
   ========================================== */

.dashboard {
    padding: 40px 0;
}

.welcome-card {
    background: var(--primary);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

/* Diagonal stripe texture on welcome card */
.welcome-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    z-index: 0;
}

.welcome-card > * {
    position: relative;
    z-index: 1;
}

.welcome-card h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: white;
}

.welcome-card p {
    opacity: 0.9;
    color: white;
}

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

/* Dashboard stat cards with pulse on hover */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(13, 148, 136, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover {
    border-color: rgba(13, 148, 136, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stat-card:hover::before {
    opacity: 1;
    animation: pulse-bg 1.5s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.stat-icon svg {
    stroke: var(--accent);
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
}

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

.quick-actions h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: all 0.3s;
    color: var(--text-primary);
}

.action-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow), var(--shadow-glow);
    color: var(--text-primary);
}

.action-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.action-icon svg {
    stroke: var(--accent);
}

.action-card:hover .action-icon {
    background: var(--primary);
}

.action-card:hover .action-icon svg {
    stroke: white;
}

.action-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.action-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.call-tracker {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.call-tracker h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.call-tracker p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.call-count {
    margin-left: 16px;
    color: var(--text-muted);
}

/* ==========================================
   Course Page
   ========================================== */

.course-page {
    padding: 40px 0;
}

.course-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.course-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.course-sidebar h3 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.module-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s;
    position: relative;
}

.module-link:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

/* Active module with animated teal line */
.module-link.active {
    background: rgba(13, 148, 136, 0.1);
    border-color: var(--accent);
    color: var(--text-primary);
}

.module-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--accent);
    border-radius: 0 2px 2px 0;
    animation: line-pulse 2s ease-in-out infinite;
}

@keyframes line-pulse {
    0%, 100% { opacity: 1; height: 24px; }
    50% { opacity: 0.7; height: 28px; }
}

.module-num {
    width: 28px;
    height: 28px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.module-link.active .module-num {
    background: var(--primary);
    color: white;
}

.course-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 44px;
}

.module h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.lesson {
    margin-bottom: 40px;
}

.lesson h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.lesson h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.lesson p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.lesson ul, .lesson ol {
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.lesson li {
    margin-bottom: 8px;
}

.info-box {
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin: 20px 0;
}

.info-box p, .info-box ul {
    color: var(--text-primary);
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin: 20px 0;
}

.warning-box ul {
    color: var(--text-primary);
    margin-left: 0;
    list-style: none;
}

.warning-box li {
    margin-bottom: 12px;
}

.script-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    margin: 20px 0;
}

.script-box p {
    color: var(--text-primary);
}

.script-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.script-note {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid var(--success);
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 0.9rem;
}

.script-note strong {
    color: var(--success);
}

.script-box hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 24px 0;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.task {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    padding: 20px;
}

.task h4 {
    margin-bottom: 8px;
}

.task p {
    color: var(--text-secondary);
    margin: 0;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.industry-card {
    padding: 24px;
    border-radius: var(--border-radius-sm);
}

.industry-card.good {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.industry-card.avoid {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.industry-card h4 {
    margin-bottom: 16px;
}

.industry-card ul {
    list-style: none;
    margin-left: 0;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.check-item {
    display: flex;
    gap: 16px;
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius-sm);
}

.check {
    width: 36px;
    height: 36px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    color: white;
}

.check-item p {
    margin: 4px 0 0 0;
    font-size: 0.9rem;
}

.objection-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    margin-bottom: 16px;
}

.objection-card h4 {
    color: var(--warning);
    margin-bottom: 12px;
}

.template-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    margin: 20px 0;
}

.template-box h4 {
    margin-bottom: 16px;
}

.template-box hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 16px 0;
}

.template-box ul {
    margin-left: 20px;
}

.method-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    margin-bottom: 16px;
}

.method-card h4 {
    color: var(--accent);
    margin-bottom: 12px;
}

.ad-example {
    background: white;
    color: #333;
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin: 16px 0;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    gap: 16px;
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius-sm);
}

.step-item .step-num {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    color: white;
}

.step-item p {
    margin: 4px 0 0 0;
    font-size: 0.9rem;
}

.budget-guide {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.budget-tier {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius-sm);
}

.budget-tier h4 {
    color: var(--accent);
    margin-bottom: 8px;
}

.budget-tier p {
    margin: 0;
}

.budget-tier ul {
    margin-top: 10px;
    margin-bottom: 0;
}

.module-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* Course content styled elements */
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--success);
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
}

.check-icon::after {
    content: '';
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.warning-label {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 6px;
}

.tip-label {
    display: inline-block;
    background: rgba(13, 148, 136, 0.2);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 6px;
}

.task-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* ==========================================
   Prospects Page
   ========================================== */

.prospects-page {
    padding: 40px 0;
}

.prospects-page h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.page-title-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-icon svg {
    stroke: white;
}

.section-title-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.section-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon svg {
    stroke: var(--accent);
}

.page-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.search-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 40px;
}

/* Search Mode Toggle */
.search-mode-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    padding: 4px;
    width: fit-content;
}

.mode-btn {
    padding: 10px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

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

.mode-btn.active {
    background: var(--primary);
    color: white;
}

.search-form .form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.search-form .form-group {
    flex: 1;
    min-width: 150px;
}

.search-form .form-action {
    flex: 0 0 auto;
}

.results-section {
    margin-bottom: 40px;
}

.results-section h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

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

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.results-table th,
.results-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.results-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.results-table td.business-name {
    font-weight: 600;
}

.results-table td.phone a {
    color: var(--accent);
}

.ownership-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ownership-badge.local {
    background: var(--success);
    color: #fff;
}

.ownership-badge.chain {
    background: var(--text-muted);
    color: #fff;
}

.inline-form {
    display: inline;
}

.no-results {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
}

.crm-section h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.prospects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.prospect-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: all 0.2s;
}

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

.prospect-card.status-signed {
    border-color: var(--success);
}

.prospect-card.status-declined {
    opacity: 0.6;
}

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

.prospect-header h3 {
    font-size: 1.1rem;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.new {
    background: rgba(13, 148, 136, 0.2);
    color: var(--accent);
}

.status-badge.contacted {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.status-badge.signed {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.status-badge.declined {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.prospect-details {
    margin-bottom: 16px;
}

.prospect-details .detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.prospect-details .detail .icon {
    flex-shrink: 0;
}

.detail-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon svg {
    stroke: var(--text-muted);
}

.prospect-details .notes {
    font-style: italic;
}

.prospect-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.status-form select {
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
}

.delete-form {
    margin-left: auto;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius);
}

/* ==========================================
   Account Page
   ========================================== */

.account-page {
    padding: 40px 0;
}

.account-page h1 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 24px;
}

.account-card h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscription-info {
    margin-bottom: 24px;
}

.sub-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.active {
    background: var(--success);
}

.sub-email {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.sub-detail {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.portal-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
}

.password-form {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-details p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.danger-zone {
    border-color: rgba(239, 68, 68, 0.3);
}

.danger-zone h2 {
    color: var(--error);
}

.danger-zone p {
    color: var(--text-secondary);
}

/* ==========================================
   Inner Page Headers (diagonal stripe texture)
   ========================================== */

.page-header {
    position: relative;
    padding: 30px 0;
    margin-bottom: 30px;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(13, 148, 136, 0.03) 10px,
        rgba(13, 148, 136, 0.03) 20px
    );
    z-index: 0;
}

.page-header > * {
    position: relative;
    z-index: 1;
}

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

@media (max-width: 900px) {
    .course-layout {
        grid-template-columns: 1fr;
    }
    
    .course-sidebar {
        position: static;
    }
    
    .module-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .module-link {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        display: none;
    }
    
    .nav-links .btn {
        display: flex;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .search-form .form-row {
        flex-direction: column;
    }
    
    .search-form .form-group {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .course-content {
        padding: 24px;
    }
    
    .module h1 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   Calculator Page Styles
   ========================================== */

.calculator-page {
    padding: 40px 0;
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 44px;
    max-width: 800px;
    margin: 0 auto;
}

.calculator-card h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.calculator-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.input-section {
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.input-group .helper-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-container input[type="range"] {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-secondary);
    outline: none;
    -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(15, 118, 110, 0.4);
}

.slider-value {
    min-width: 80px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

.number-input {
    width: 120px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.number-input:focus {
    outline: none;
    border-color: var(--accent);
}

.results-section {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
}

.results-section h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.result-item {
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

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

.breakeven-section {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.breakeven-section h3 {
    color: var(--success);
    margin-bottom: 8px;
}

.breakeven-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success);
}

.breakeven-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

.tier-visualization {
    margin-top: 30px;
}

.tier-visualization h3 {
    margin-bottom: 20px;
}

.tier-bar-container {
    position: relative;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.tier-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: var(--border-radius-sm);
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 16px;
    min-width: 80px;
}

.tier-bar-text {
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

.tier-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding: 0 5px;
}

.tier-marker {
    text-align: center;
    flex: 1;
}

.tier-marker-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.tier-marker-label {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.income-tiers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.income-tier {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    padding: 16px 10px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.income-tier.active {
    background: var(--accent-light);
    border-color: var(--accent);
}

.income-tier-clients {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.income-tier-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.income-tier-amount {
    font-weight: 600;
    color: var(--accent);
}

/* ==========================================
   Ad Templates Page Styles
   ========================================== */

.templates-page {
    padding: 40px 0;
}

.templates-page h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.industry-section {
    margin-bottom: 40px;
}

.industry-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.industry-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon svg {
    stroke: var(--accent);
}

.industry-header h2 {
    font-size: 1.4rem;
    margin: 0;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.template-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: all 0.3s;
}

.template-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.template-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.template-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.template-tips {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    margin-bottom: 16px;
}

.template-tips h4 {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.template-tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.template-tips li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 4px;
    padding-left: 16px;
    position: relative;
}

.template-tips li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

.template-card .btn {
    width: 100%;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.filter-tab {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

/* ==========================================
   Agreement Page Styles
   ========================================== */

.agreement-page {
    padding: 40px 0;
}

.agreement-page h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.agreement-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .agreement-layout {
        grid-template-columns: 1fr;
    }
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    height: fit-content;
}

.form-card h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.agreement-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.output-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
}

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

.output-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn svg {
    stroke: currentColor;
}

.copy-success {
    color: var(--success);
    font-size: 0.9rem;
    margin-left: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.copy-success.show {
    opacity: 1;
}

.agreement-output {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 30px;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    white-space: pre-wrap;
}

.agreement-output h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.agreement-output .section-title {
    font-weight: 600;
    color: var(--accent);
    margin-top: 20px;
    margin-bottom: 8px;
}

.agreement-output p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.agreement-output .signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.preview-note {
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.preview-note strong {
    color: var(--accent);
}

/* ==========================================
   Calls Page Styles
   ========================================== */

.calls-page {
    padding: 40px 0;
}

.calls-page h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.stats-row .stat-card {
    padding: 20px;
    text-align: center;
    display: block;
}

.stats-row .stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stats-row .stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

.calls-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .calls-layout {
        grid-template-columns: 1fr;
    }
}

.log-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    height: fit-content;
}

.log-card h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.log-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calls-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.followup-section {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius);
    padding: 20px;
}

.followup-section h3 {
    color: var(--warning);
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.followup-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.followup-item {
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.followup-info strong {
    display: block;
    margin-bottom: 4px;
}

.followup-info small {
    color: var(--text-muted);
}

.calls-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

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

.calls-header h2 {
    font-size: 1.2rem;
    margin: 0;
}

.filter-select {
    padding: 8px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.calls-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.call-item {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.call-info {
    flex: 1;
}

.call-info h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.call-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.call-notes {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.call-actions {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.outcome-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.outcome-badge.interested {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.outcome-badge.not-interested {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.outcome-badge.callback {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.outcome-badge.voicemail {
    background: rgba(100, 116, 139, 0.2);
    color: var(--text-secondary);
}

.outcome-badge.no-answer {
    background: rgba(100, 116, 139, 0.2);
    color: var(--text-muted);
}

.delete-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.delete-btn:hover {
    color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

.quick-select-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.quick-select-btn {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-select-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

/* ==========================================
   Page Load Entrance Animations
   ========================================== */

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}

@keyframes shimmer-slide {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Dashboard cards entrance */
.dashboard .stat-card {
    animation: fade-up 0.5s ease both;
}
.dashboard .stat-card:nth-child(1) { animation-delay: 0.05s; }
.dashboard .stat-card:nth-child(2) { animation-delay: 0.10s; }
.dashboard .stat-card:nth-child(3) { animation-delay: 0.15s; }
.dashboard .stat-card:nth-child(4) { animation-delay: 0.20s; }

.dashboard .action-card {
    animation: fade-up 0.5s ease both;
}
.dashboard .action-card:nth-child(1) { animation-delay: 0.15s; }
.dashboard .action-card:nth-child(2) { animation-delay: 0.22s; }
.dashboard .action-card:nth-child(3) { animation-delay: 0.29s; }

.dashboard .welcome-card {
    animation: fade-up 0.4s ease both;
}

/* Floating animation on action card icons */
.action-card:hover .action-icon {
    animation: float 2s ease-in-out infinite;
}

/* Stat values — plain white, no shimmer */
.stat-value {
    color: var(--text-primary);
}

/* Inner page hero areas entrance */
.page-hero,
.prospects-page h1,
.course-page h1,
.calculator-page h1 {
    animation: fade-up 0.4s ease both;
}

/* Table rows stagger in */
.results-table tbody tr {
    animation: fade-up 0.3s ease both;
}
.results-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.results-table tbody tr:nth-child(2) { animation-delay: 0.08s; }
.results-table tbody tr:nth-child(3) { animation-delay: 0.11s; }
.results-table tbody tr:nth-child(4) { animation-delay: 0.14s; }
.results-table tbody tr:nth-child(5) { animation-delay: 0.17s; }
.results-table tbody tr:nth-child(6) { animation-delay: 0.20s; }
.results-table tbody tr:nth-child(7) { animation-delay: 0.23s; }
.results-table tbody tr:nth-child(8) { animation-delay: 0.26s; }

/* Glowing accent line under active nav item */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    animation: fade-in 0.3s ease;
}
.nav-link {
    position: relative;
}

/* Prospect/call cards entrance */
.prospect-card,
.call-card {
    animation: fade-up 0.4s ease both;
}

/* Terms checkbox */
.terms-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.terms-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.terms-label a {
    color: var(--accent);
    text-decoration: underline;
}

/* Force light section backgrounds */
.section-light {
    background: #f8fafc !important;
    position: relative;
    z-index: 1;
}
.section-light-alt {
    background: #f1f5f4 !important;
    position: relative;
    z-index: 1;
}
.section-light .section-title,
.section-light h2,
.section-light h3,
.section-light-alt .section-title,
.section-light-alt h2,
.section-light-alt h3 {
    color: #1e293b !important;
}
.section-light p,
.section-light li,
.section-light-alt p,
.section-light-alt li {
    color: #475569 !important;
}
.section-light .feature-card,
.section-light-alt .feature-card,
.section-light .faq-item,
.section-light-alt .faq-item {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}
.section-light .faq-item h3,
.section-light-alt .faq-item h3 {
    color: #0f766e !important;
}
.section-light .pricing-card {
    background: #ffffff !important;
    border-color: #0f766e !important;
    color: #1e293b !important;
}
.section-light .pricing-card h2,
.section-light .pricing-card .price-amount,
.section-light .pricing-card li {
    color: #1e293b !important;
}
.section-light .step-number {
    color: #0f766e !important;
}
.section-light .step h3,
.section-light .step p {
    color: #1e293b !important;
}
/* Fri Mar 27 20:06:53 EDT 2026 */

/* ==========================================
   Dashboard Light Background
   ========================================== */

/* Main page background after login */
.dashboard,
.course-page,
.prospects-page,
.calculator-page,
.calls-page,
.leaderboard-page,
.revenue-page,
.account-page {
    background: #f1f5f4 !important;
    min-height: calc(100vh - 70px);
}

/* Cards stay white/dark for contrast */
.dashboard .stat-card,
.dashboard .action-card,
.dashboard .welcome-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}

.dashboard .stat-value,
.dashboard .stat-label,
.dashboard .action-card h3,
.dashboard .action-card p,
.dashboard .welcome-card h1,
.dashboard .welcome-card p {
    color: #1e293b !important;
}

.dashboard .action-icon {
    background: linear-gradient(135deg, #0f766e, #0d9488) !important;
}

/* Page titles on light background */
.prospects-page h1,
.course-page h1,
.calculator-page h1,
.calls-page h1,
.leaderboard-page h1,
.revenue-page h1,
.account-page h1 {
    color: #1e293b !important;
}

/* Cards inside inner pages */
.search-card,
.output-card,
.results-section,
.account-card,
.calls-section,
.leaderboard-section {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

/* Course sidebar */
.course-sidebar {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

.module-link {
    color: #475569 !important;
}

.module-link.active,
.module-link:hover {
    color: #0f766e !important;
    background: #f0fdf4 !important;
}

/* Course content area */
.course-content {
    background: #ffffff !important;
}


/* ==========================================
   Revert - Keep Dark Mode, Add White Accents
   ========================================== */

.dashboard,
.course-page,
.prospects-page,
.calculator-page,
.calls-page,
.leaderboard-page,
.revenue-page,
.account-page {
    background: var(--bg-primary) !important;
    min-height: calc(100vh - 70px);
}

/* White accent on cards only */
.dashboard .stat-card,
.dashboard .action-card,
.dashboard .welcome-card {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

.dashboard .stat-value,
.dashboard .stat-label,
.dashboard .action-card h3,
.dashboard .action-card p,
.dashboard .welcome-card h1,
.dashboard .welcome-card p {
    color: var(--text-primary) !important;
}

/* White on card tops / section headers */
.dashboard .stat-value {
    color: #ffffff !important;
}

/* White text on dark cards for readability */
.search-card,
.output-card,
.results-section,
.account-card,
.calls-section,
.leaderboard-section,
.course-sidebar,
.course-content {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

.module-link {
    color: var(--text-secondary) !important;
}

.module-link.active,
.module-link:hover {
    color: var(--accent) !important;
    background: var(--accent-light) !important;
}

/* White accents — borders, highlights, icons */
.action-icon {
    background: linear-gradient(135deg, #0f766e, #0d9488) !important;
}

/* White headings on dark */
.prospects-page h1,
.course-page h1,
.calculator-page h1,
.calls-page h1,
.leaderboard-page h1,
.revenue-page h1,
.account-page h1 {
    color: var(--text-primary) !important;
}

/* Subtle white top border on cards for depth */
.stat-card,
.action-card {
    border-top: 2px solid rgba(255,255,255,0.06) !important;
}

