/* ============================================================================
   GrowthGuru.ai Theme
   Elegant color scheme featuring orange, blues, greys, and green accents
   ============================================================================ */

.theme-growthguru {
    /* Typography - Professional font stack */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-headings: "Segoe UI", system-ui, -apple-system, sans-serif;

    /* Primary Colors - Purple Gradient (Brand) - Matches landing page */
    --primary-purple: #7c3aed;
    --primary-purple-light: #8b5cf6;
    --primary-purple-dark: #6d28d9;
    --primary-purple-darker: #5b21b6;
    
    /* Purple Tints - For backgrounds and accents */
    --purple-50: #f5f3ff;
    --purple-100: #ede9fe;
    --purple-200: #ddd6fe;
    --purple-300: #c7d2fe;
    --purple-400: #a78bfa;
    
    /* Secondary Colors - Orange Gradient (Accent) */
    --primary-orange: #f97316;
    --primary-orange-light: #fb923c;
    --primary-orange-dark: #ea580c;
    --accent-coral: #fdba74;
    
    /* Secondary Colors - Dark Bold Blue/Grey - Matches announcement banner */
    --secondary-blue: #374151;
    --secondary-blue-light: #4b5563;
    --secondary-blue-dark: #1f2937;
    --blue-muted: #64748b;
    
    /* Greys - Base Palette - Refined for better contrast */
    --grey-50: #f8fafc;
    --grey-100: #f1f5f9;
    --grey-200: #e2e8f0;
    --grey-300: #cbd5e1;
    --grey-400: #94a3b8;
    --grey-500: #64748b;
    --grey-600: #4b5563;
    --grey-700: #374151;
    --grey-800: #1f2937;
    --grey-900: #111827;
    
    /* Accent Green */
    --accent-green: #10b981;
    --accent-green-light: #34d399;
    
    /* Hover states */
    --bg-hover: #e2e8f0;
    
    /* Base Theme Variables */
    --bg-color: #ffffff;
    --containerbackground: linear-gradient(135deg, rgba(250, 249, 252, 0.95), rgba(243, 240, 247, 0.9));
    --bg-footer-color: var(--grey-50);
    --text-color: var(--grey-900);
    --text-color-secondary: var(--grey-700);
    --text-color-inv: #ffffff;
    --text-color-dark: var(--grey-900);
    --accent-color: var(--primary-purple);
    --border-color: var(--grey-200);
    --header-bg: linear-gradient(135deg, #ffffff 0%, var(--purple-50) 100%);
    --header2-bg: var(--purple-50);
    --placeholder-color: var(--grey-500);
    --ready-color: var(--grey-600);
    --action_btn_bg: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    --bg-size: cover;
    --bg-pos: center;
    --bg-repeat: no-repeat;
    --bg-forminput: #ffffff;

    /* Message Bubbles */
    --bubble-user: linear-gradient(135deg, var(--purple-50) 0%, var(--purple-100) 100%);
    --bubble-assistant: linear-gradient(135deg, var(--grey-50) 0%, var(--grey-100) 100%);
    --bubble-user-text: var(--grey-900);
    --bubble-assistant-text: var(--grey-800);
    
    /* Cards and Containers */
    --card-bg: #ffffff;
    --card-border: var(--grey-200);
    --card-shadow: 0 1px 3px 0 rgba(124, 58, 237, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.1);
    --card-hover-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.15), 0 4px 6px -4px rgba(124, 58, 237, 0.1);
    
    /* Buttons */
    --btn-primary-bg: var(--primary-purple);
    --btn-primary-hover: var(--primary-purple-dark);
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: var(--secondary-blue);
    --btn-secondary-hover: var(--secondary-blue-dark);
    --btn-secondary-text: #ffffff;
    --btn-outline-border: var(--purple-300);
    --btn-outline-text: var(--grey-700);
    --btn-outline-hover-bg: var(--purple-50);
    
    /* Links */
    --link-color: var(--primary-purple);
    --link-hover: var(--primary-purple-dark);
    
    /* Success/Info/Warning/Error States */
    --success-color: var(--accent-green);
    --success-bg: #ecfdf5;
    --info-color: var(--grey-600);
    --info-bg: var(--grey-100);
    --warning-color: #f59e0b;
    --warning-bg: #fffbeb;
    --error-color: #ef4444;
    --error-bg: #fef2f2;
    
    /* Scrollbar */
    --scrollbar-track: var(--grey-100);
    --scrollbar-thumb: var(--grey-300);
    --scrollbar-thumb-hover: var(--grey-400);
    
    /* Sidebar/Navigation */
    --nav-bg: #ffffff;
    --nav-border: var(--grey-200);
    --nav-item-hover: var(--purple-50);
    --nav-item-active: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(139, 92, 246, 0.08));
    
    /* Input Fields */
    --input-bg: #ffffff;
    --input-border: var(--grey-300);
    --input-focus-border: var(--primary-purple);
    --input-focus-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    
    /* Code/Pre blocks */
    --code-bg: var(--grey-100);
    --code-text: var(--grey-800);
    --code-border: var(--grey-200);
}

/* ============================================================================
   TYPOGRAPHY IMPROVEMENTS
   ============================================================================ */

/* Apply font family consistently across all elements */
.theme-growthguru,
.theme-growthguru body,
.theme-growthguru .top-menu,
.theme-growthguru .side-menu {
    font-family: var(--font-primary);
}

/* Fix heading font weights for better hierarchy */
.theme-growthguru h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.theme-growthguru h2 {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--grey-900);
    margin-bottom: 1.5rem;
}

.theme-growthguru h3 {
    font-weight: 600;
}

.theme-growthguru h4,
.theme-growthguru h5,
.theme-growthguru h6 {
    font-weight: 600;
}

/* Improve paragraph readability */
.theme-growthguru p {
    line-height: 1.7;
}

/* Menu consistency with letter spacing */
.theme-growthguru .top-menu a {
    font-family: var(--font-primary);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Muted text with better readability */
.theme-growthguru .muted,
.theme-growthguru p.muted {
    color: var(--grey-600);
    font-size: 0.95rem;
}

/* Apply theme-specific styling */
.theme-growthguru .book-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--grey-50) 0%, var(--grey-100) 100%);
    padding: 4rem 2rem;
}

.theme-growthguru .book-hero-content {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    text-align: center;
}

.theme-growthguru .book-hero-content .logo-container {
    margin-bottom: 2rem;
}

.theme-growthguru .book-hero-content .logo-container img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.theme-growthguru .book-hero-content .hero-tagline {
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin: 2rem 0;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--grey-800);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.theme-growthguru .book-hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
}

.theme-growthguru .book-hero-buttons .cta-button {
    min-width: 200px;
}

.theme-growthguru .cta-button {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.theme-growthguru .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.theme-growthguru .cta-button:hover::before {
    left: 100%;
}

.theme-growthguru .cta-button:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.6);
    transform: translateY(-2px);
}

.theme-growthguru .cta-button.secondary {
    background: #ffffff;
    color: #7c3aed;
    border: 2px solid #7c3aed;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.theme-growthguru .cta-button.secondary::before {
    display: none;
}

.theme-growthguru .cta-button.secondary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #ffffff;
    border-color: #7c3aed;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.theme-growthguru .hero-gradient {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.theme-growthguru .benefit-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--purple-50) 100%);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--primary-purple);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.theme-growthguru .benefit-card:hover {
    box-shadow: var(--card-hover-shadow);
    border-left-color: var(--primary-purple-dark);
    background: #ffffff;
}

.theme-growthguru .top-banner {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
}

.theme-growthguru a {
    color: var(--link-color);
    transition: color 0.2s ease;
}

.theme-growthguru a:hover {
    color: var(--link-hover);
}

.theme-growthguru .pricing-card.featured {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.2);
}

.theme-growthguru .canvas-section {
    background: var(--grey-50);
    border: 2px dashed var(--grey-300);
    transition: all 0.2s ease;
}

.theme-growthguru .canvas-section:hover {
    background: #ffffff;
    border-color: var(--primary-purple);
    border-style: solid;
    box-shadow: var(--card-shadow);
}

.theme-growthguru .section-number {
    background: var(--primary-purple);
    color: var(--text-color-inv);
}

/* Journey step cards - use blue accent for differentiation */
.theme-growthguru .journey-step {
    background: #ffffff;
    border-left: 3px solid var(--secondary-blue);
}

.theme-growthguru .journey-step:hover {
    border-left-color: var(--secondary-blue-dark);
}

.theme-growthguru .journey-step::before {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--secondary-blue-light) 100%);
}

/* Success indicators with green accent */
.theme-growthguru .success,
.theme-growthguru .checkmark {
    color: var(--success-color);
}

/* Three Pillars - Enhanced Styling */
.theme-growthguru .journey-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.theme-growthguru .journey-step ul {
    font-size: 0.95rem;
    color: var(--grey-700);
}

.theme-growthguru .journey-step ul li {
    margin-bottom: 0.5rem;
}

.theme-growthguru .journey-step strong {
    color: var(--grey-900);
}

/* Scrollbar styling */
.theme-growthguru ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.theme-growthguru ::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

.theme-growthguru ::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 5px;
}

.theme-growthguru ::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Logout/Sign In button - aligned with dark grey theme */
.theme-growthguru .logout-button {
    background: transparent;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.theme-growthguru .logout-button:hover {
    background: var(--secondary-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 65, 81, 0.25);
}

/* Auth button in modal - aligned with dark grey theme */
.theme-growthguru .auth-button {
    background: var(--secondary-blue);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-growthguru .auth-button:hover {
    background: var(--secondary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 65, 81, 0.25);
}
