:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-ultra-light: #dbeafe;
    --secondary: #6366f1;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}


/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

/* Use Cases Hero Section */
.use-cases-hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(to bottom, var(--bg-light), white);
    text-align: center;
}

.use-cases-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.use-cases-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.use-cases-hero p {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.industry-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.industry-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    color: var(--text);
    font-weight: 500;
}

.industry-button svg {
    color: var(--text-light);
    transition: var(--transition);
}

.industry-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

.industry-button:hover svg {
    color: var(--primary);
}

.industry-button.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.industry-button.active svg {
    color: white;
}

/* Use Case Section */
.use-case-section {
    padding: 2rem 2rem;
}

.use-case-section:nth-child(even) {
    background-color: var(--bg-light);
}

.use-case-container {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    gap: 3rem;
    align-items: center;
}

.use-case-content {
    flex: 1;
}

.industry-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-ultra-light);
    border-radius: 99px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.use-case-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.use-case-intro {
    font-size: 1.125rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.challenges-solutions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.challenge-card, .solution-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.challenge-card h3, .solution-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.challenge-card h3 svg {
    color: var(--warning);
}

.solution-card h3 svg {
    color: var(--success);
}

.challenge-card ul, .solution-card ul {
    padding-left: 1.5rem;
}

.challenge-card li, .solution-card li {
    margin-bottom: 0.75rem;
    position: relative;
    list-style-type: disc;
}

.use-case-highlight {
    margin-bottom: 3rem;
}

.use-case-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.highlight-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.highlight-feature {
    display: flex;
    gap: 1rem;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-ultra-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-box {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder {
    color: white;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
}

.author-title {
    color: var(--text-light);
    font-size: 0.875rem;
}

.use-case-preview {
    flex: 1;
}

.preview-browser {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.browser-header {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.browser-action {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-light);
    opacity: 0.5;
}

.browser-address {
    flex: 1;
    background: white;
    border-radius: 99px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.browser-content {
    padding: 1.5rem;
}

/* Email Template Styles */
.email-template {
    border: 1px solid var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.template-header {
    padding: 1rem;
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.template-logo {
    font-weight: 600;
    color: var(--text);
}

.template-hero {
    padding: 1.5rem;
    position: relative;
    background: var(--bg-light);
}

/* Real Estate Template */
.property-image {
    height: 200px;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('https://via.placeholder.com/800x400') center/cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.property-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--primary);
    color: white;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.property-address {
    color: var(--text-light);
}

.property-stats {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--bg-light);
}

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

.stat-value {
    font-weight: 600;
}

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

/* Financial Template */
.financial-image {
    height: 150px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://via.placeholder.com/800x400') center/cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.financial-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.financial-subtitle {
    color: var(--text-light);
}

.financial-sections {
    padding: 1rem;
}

.financial-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-light);
}

.section-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-content {
    height: 2rem;
    background: var(--bg-light);
    border-radius: 4px;
}

/* Recruitment Template */
.recruitment-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.recruitment-subtitle {
    color: var(--text-light);
}

.job-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--bg-light);
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.detail-value {
    font-weight: 600;
}

.job-sections {
    padding: 1rem;
}

.job-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-light);
}

/* Common Template Elements */
.template-cta {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--bg-light);
}

.template-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    flex: 1;
    cursor: pointer;
}

.template-button.outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.template-analytics {
    padding: 1rem;
}

.analytics-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.analytics-metrics {
    display: flex;
    justify-content: space-between;
}

.analytics-metric {
    text-align: center;
}

.metric-value {
    font-weight: 700;
    color: var(--primary);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* CTA Section (continued) */
.use-cases-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-ultra-light), rgba(99, 102, 241, 0.1));
    text-align: center;
}

.use-cases-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.use-cases-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.use-cases-cta p {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    color: white;
}

.secondary-button {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.secondary-button:hover {
    background: var(--primary-ultra-light);
    transform: translateY(-3px);
    color: var(--primary);
}

/* Footer styles imported from previous CSS */
footer {
    background-color: var(--bg-light);
    padding: 5rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    gap: 3rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    color: var(--text-light);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 3rem auto 0;
}

.footer-text {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .use-case-container {
        flex-direction: column;
    }
    
    .use-case-content, .use-case-preview {
        max-width: 100%;
    }
    
    .highlight-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-nav, .header-auth {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .use-cases-hero h1 {
        font-size: 2.25rem;
    }
    
    .industry-selector {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .challenges-solutions {
        grid-template-columns: 1fr;
    }
    
    .highlight-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .use-cases-hero h1 {
        font-size: 2rem;
    }
    
    .use-cases-hero p {
        font-size: 1rem;
    }
    
    .use-case-section h2 {
        font-size: 1.75rem;
    }
    
    .use-case-intro {
        font-size: 1rem;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
    }
    
    .use-cases-cta h2 {
        font-size: 1.75rem;
    }
    
    .use-cases-cta p {
        font-size: 1rem;
    }
    
    .job-details {
        grid-template-columns: 1fr;
    }
}
    
.wedding-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.wedding-subtitle {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.wedding-image {
    height: 150px;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('https://via.placeholder.com/800x400') center/cover;
    border-radius: var(--border-radius);
}

.wedding-timeline {
    padding: 2rem 1rem 1rem;
    position: relative;
}

.wedding-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.5rem;
    width: 2px;
    background-color: var(--bg-light);
    z-index: 1;
}

.timeline-milestone {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.milestone-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-light);
    margin-right: 1rem;
    border: 2px solid white;
    flex-shrink: 0;
    position: relative;
    top: 0.25rem;
}

.timeline-milestone.completed .milestone-marker {
    background-color: var(--success);
}

.timeline-milestone.active .milestone-marker {
    background-color: var(--primary);
}

.milestone-content {
    flex: 1;
}

.milestone-date {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.milestone-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.milestone-status {
    font-size: 0.75rem;
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 99px;
    background-color: var(--bg-light);
    color: var(--text-light);
}

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

.timeline-milestone.active .milestone-status {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

/* Email template modifiers for wedding planner */
.email-template.wedding .template-hero {
    background-color: #FDF2F8; /* Light pink background */
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .wedding-timeline::before {
        left: 1.25rem;
    }
    
    .milestone-marker {
        width: 12px;
        height: 12px;
        margin-right: 0.75rem;
    }
}

/* Dashboard Preview Styles */
.dashboard-preview {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--bg-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-header {
    padding: 1rem;
    border-bottom: 1px solid var(--bg-light);
}

.preview-tabs {
    display: flex;
    gap: 1rem;
}

.preview-tab {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
}

.preview-tab.active {
    background: var(--primary-ultra-light);
    color: var(--primary);
    font-weight: 500;
}

.preview-content {
    flex: 1;
    padding: 1rem;
}

.leads-preview {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.preview-search {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.search-preview {
    padding: 0.5rem 1rem;
    border: 1px solid var(--bg-light);
    border-radius: 4px;
    width: 60%;
    font-size: 0.875rem;
}

.button-preview {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.preview-table {
    border: 1px solid var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.preview-row {
    display: flex;
    border-bottom: 1px solid var(--bg-light);
}

.preview-row:last-child {
    border-bottom: none;
}

.preview-row.header {
    background: var(--bg-light);
    font-weight: 500;
    font-size: 0.875rem;
}

.preview-row.active {
    background: rgba(37, 99, 235, 0.05);
}

.preview-cell {
    padding: 0.75rem 0.5rem;
    flex: 1;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-stats {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.preview-stat {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    flex: 1;
    margin: 0 0.5rem;
}

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

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

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 99px;
    font-size: 0.75rem;
    background: var(--primary-ultra-light);
    color: var(--primary);
}
/* Tab Panes */
.tab-pane {
    display: none;
    height: 100%;
}

.tab-pane.active {
    display: block;
}

/* Email Templates Tab */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.template-card {
    border: 1px solid var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: white;
}

.template-card-header {
    padding: 0.75rem;
    border-bottom: 1px solid var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-name {
    font-weight: 500;
    font-size: 0.875rem;
}

.template-badge {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    border-radius: 99px;
    background: var(--primary-ultra-light);
    color: var(--primary);
}

.template-preview-content {
    padding: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-light);
    flex: 1;
    background: #f9fafc;
    min-height: 80px;
}

.template-card-footer {
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--bg-light);
}

.template-stats {
    font-size: 0.75rem;
    color: var(--text-light);
}

.template-action-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--primary-ultra-light);
    color: var(--primary);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Drip Campaigns Tab */
.campaigns-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.campaign-item {
    border: 1px solid var(--bg-light);
    border-radius: 8px;
    padding: 1rem;
    background: white;
}

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

.campaign-title {
    font-weight: 500;
    font-size: 0.875rem;
}

.campaign-badge {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 99px;
    background: var(--bg-light);
    color: var(--text-light);
}

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

.campaign-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.campaign-stat {
    font-size: 0.75rem;
}

.stat-label {
    color: var(--text-light);
    margin-right: 0.25rem;
}

.stat-value {
    font-weight: 500;
}

.campaign-sequence {
    display: flex;
    align-items: center;
    padding-top: 0.5rem;
}

.sequence-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-light);
    margin-bottom: 0.5rem;
    z-index: 2;
}

.step-dot.active {
    background: var(--primary);
}

.step-line {
    position: absolute;
    height: 2px;
    background: var(--bg-light);
    width: 100%;
    top: 4px;
    left: 50%;
    z-index: 1;
}

.step-label {
    font-size: 0.625rem;
    color: var(--text-light);
}

/* Additional status badges */
.status-badge.client {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}