/* Reset and Base Styles - Google Material Design Color System */
:root {
    /* Core Palette */
    --primary-blue: #1A73E8;        /* Gmail Blue - primary CTAs */
    --accent-teal: #00BFA5;         /* Tracker Teal - brand accent */
    --graphite-gray: #5F6368;       /* Secondary text and icons */
    --pure-white: #FFFFFF;          /* Background */
    --light-gray: #F1F3F4;          /* Surface elements */
    --very-light-gray: #F8F9FA;     /* Alternative backgrounds */
    --success-green: #34A853;       /* Success states */
    --error-red: #EA4335;           /* Error states */
    --warning-amber: #FBBC05;       /* Warning states */
    --charcoal: #202124;            /* Primary text */
    --light-charcoal: #666666;      /* Muted text */
    --border-gray: #E5E7EB;         /* Borders */
    
    /* Dark mode colors */
    --dark-bg: #202124;
    --dark-surface: #303134;
    --dark-text: #E8EAED;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--dark-bg);
        color: var(--dark-text);
    }
    
    .header {
        background: var(--dark-surface);
        border-bottom-color: rgba(255, 255, 255, 0.2);
    }
    
    .logo-text,
    .nav-link {
        color: var(--dark-text);
    }
    
    .nav-link:hover {
        color: var(--accent-teal);
    }
    
    .hero,
    .pricing,
    .feature-box,
    .pricing-card {
        background: var(--dark-surface);
        color: var(--dark-text);
    }
    
    .hero-title,
    .plan-name,
    .feature-title,
    .section-title {
        color: var(--dark-text);
    }
    
    .pricing-card {
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .pricing-card.popular {
        border-color: var(--primary-blue);
    }
    
    .footer {
        background: var(--dark-bg);
        border-top-color: rgba(255, 255, 255, 0.2);
    }
}

/* Dark mode toggle utility class */
[data-theme="dark"] {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

[data-theme="dark"] .header {
    background: var(--dark-surface);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .hero,
[data-theme="dark"] .pricing,
[data-theme="dark"] .feature-box,
[data-theme="dark"] .pricing-card {
    background: var(--dark-surface);
    color: var(--dark-text);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--very-light-gray);
}

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

/* Header */
.header {
    background: var(--pure-white);
    border-bottom: 1px solid var(--border-gray);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    width: 32px;
    height: 32px;
    background-image: url('/assets/images/mailtracker_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--charcoal);
}

.logo-text .sent {
    color: var(--graphite-gray);
}

.logo-text .mail {
    color: var(--primary-blue);
}

.logo-text .tracker {
    color: var(--accent-teal);
}

.logo-tagline {
    font-size: 9px;
    color: var(--light-charcoal);
    font-weight: 400;
    margin-top: -2px;
    opacity: 0.8;
    font-style: italic;
    line-height: 1;
}

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

.logo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

/* Login/Signup page logo styling */
.login-container .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.login-container .logo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 1rem;
}

.login-container .logo-tagline {
    text-align: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--graphite-gray);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-size: 14px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: #1557b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    border-radius: 8px;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 2rem;
    background: var(--pure-white);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--graphite-gray);
    margin-bottom: 2rem;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.billing-label {
    font-weight: 500;
    color: var(--graphite-gray);
}

.save-badge {
    background: var(--success-green);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--accent-teal);
}

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

/* Pricing Section */
.pricing {
    padding: 2rem 0 4rem;
    background: var(--pure-white);
}

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

.pricing-card {
    background: var(--pure-white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
}

.period {
    font-size: 1rem;
    color: var(--graphite-gray);
    margin-left: 4px;
}

.plan-description {
    color: var(--graphite-gray);
    font-size: 14px;
}

.plan-alt-price {
    color: var(--graphite-gray);
    font-size: 14px;
    margin-top: 4px;
}

.card-body .btn {
    width: 100%;
    margin-bottom: 2rem;
}

.features h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.check-icon {
    color: var(--success-green);
    font-weight: 600;
    margin-top: 2px;
}

/* Features Section */
.features-section {
    background: var(--very-light-gray);
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-box {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 191, 165, 0.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--graphite-gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--primary-blue);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.cta-section .btn-primary {
    background: var(--success-green);
    border: 2px solid var(--success-green);
    font-weight: 600;
    padding: 14px 28px;
    font-size: 16px;
}

.cta-section .btn-primary:hover {
    background: #2e8b57;
    border-color: #2e8b57;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.4);
}

/* Footer */
.footer {
    background: var(--charcoal);
    border-top: 1px solid var(--border-gray);
    padding: 3rem 0 2rem;
    color: var(--dark-text);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 1rem;
}

.footer-logo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.footer-logo-img {
    width: 24px;
    height: 24px;
    background-image: url('/assets/images/mailtracker_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.footer-logo-text .sent {
    color: var(--graphite-gray);
}

.footer-logo-text .mail {
    color: var(--primary-blue);
}

.footer-logo-text .tracker {
    color: var(--accent-teal);
}

.footer-logo-tagline {
    font-size: 9px;
    color: var(--light-charcoal);
    font-weight: 400;
    margin-top: 2px;
    opacity: 0.7;
    font-style: italic;
}

.footer-description {
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

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

.social-link {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
}

.social-link:hover {
    color: var(--accent-teal);
    opacity: 1;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
}

.footer-link:hover {
    color: var(--accent-teal);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-text);
    font-size: 14px;
    opacity: 0.8;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.language-selector:hover {
    opacity: 1;
    background-color: rgba(26, 115, 232, 0.1);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--pure-white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--border-gray);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: var(--light-gray);
}

.language-flag {
    font-size: 16px;
}

.language-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
}

.language-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.language-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--pure-white);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.language-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-gray);
    border-top: 3px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.language-message {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 10000;
}

.language-message.active {
    opacity: 1;
    transform: translateX(0);
}

.language-message-success {
    background: var(--success-green);
    color: white;
}

.language-message-error {
    background: var(--error-red);
    color: white;
}

.language-message-info {
    background: var(--primary-blue);
    color: white;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

/* Modern Hero Section */
.hero-modern {
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--very-light-gray) 100%);
    padding: 6rem 0 4rem;
    overflow: hidden;
    position: relative;
}

.hero-modern .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(26, 115, 232, 0.1);
    border: 1px solid rgba(26, 115, 232, 0.2);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--graphite-gray);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--graphite-gray);
}

.hero-cta {
    margin-bottom: 1.5rem;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--graphite-gray);
}

.hero-note svg {
    color: var(--success-green);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-screenshot {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.floating-card {
    position: absolute;
    background: var(--pure-white);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: -15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: -5%;
    animation-delay: 2s;
}

.notification-dot {
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Features Preview Section */
.features-preview {
    padding: 6rem 0;
    background: var(--pure-white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--light-gray);
    color: var(--graphite-gray);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--graphite-gray);
    line-height: 1.6;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    padding: 2rem;
    background: var(--pure-white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 191, 165, 0.15);
    border-color: var(--accent-teal);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-blue));
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--graphite-gray);
    line-height: 1.6;
}

.features-cta {
    text-align: center;
}

/* Social Proof Section */
.social-proof {
    padding: 6rem 0;
    background: var(--very-light-gray);
}

.social-proof-content h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 3rem;
}

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

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--charcoal);
    font-style: italic;
}

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

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--graphite-gray);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--pure-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--graphite-gray);
    line-height: 1.6;
}

/* Pricing Preview Section */
.pricing-preview {
    padding: 6rem 0;
    background: var(--very-light-gray);
}

.pricing-cards-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.pricing-card-preview {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-gray);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card-preview.featured {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.pricing-card-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.pricing-card-preview h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.pricing-card-preview .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.pricing-card-preview .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--graphite-gray);
}

.pricing-card-preview p {
    color: var(--graphite-gray);
    margin-bottom: 1.5rem;
}

.pricing-card-preview ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card-preview li {
    padding: 0.5rem 0;
    color: var(--graphite-gray);
}

.pricing-cta {
    text-align: center;
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: var(--primary-blue);
    color: white;
}

.final-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.trust-item svg {
    color: var(--success-green);
}

/* Enhanced Button Styles */
.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Navigation Updates */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

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

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
    color: var(--pure-white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 1rem 0;
    background: linear-gradient(135deg, var(--pure-white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-email-card {
    background: var(--pure-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    transform-origin: center;
}

.email-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.email-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.email-dot.opened {
    background: var(--success-green);
    animation: pulse 2s ease-in-out infinite;
}

.email-dot.clicked {
    background: var(--primary-blue);
    animation: pulse 2s ease-in-out infinite 0.5s;
}

.email-dot.replied {
    background: var(--accent-teal);
    animation: pulse 2s ease-in-out infinite 1s;
}

.email-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.email-line {
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
}

.email-line.long {
    width: 100%;
}

.email-line.medium {
    width: 70%;
}

.email-line.short {
    width: 40%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.mission-section {
    padding: 6rem 0;
    background: var(--section-bg);
}

.mission-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.mission-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--graphite-gray);
    margin-bottom: 3rem;
    max-width: 800px;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background: var(--pure-white);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    flex-shrink: 0;
}

.value-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.value-content p {
    color: var(--graphite-gray);
    line-height: 1.5;
}

.features-overview {
    padding: 6rem 0;
    background: var(--pure-white);
}

.features-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card-large {
    background: var(--pure-white);
    border: 2px solid var(--border-gray);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card-large:hover::before {
    transform: scaleX(1);
}

.feature-card-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.feature-visual {
    margin-bottom: 1.5rem;
}

.feature-icon-large {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
}

.feature-card-large h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.feature-card-large p {
    color: var(--graphite-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    color: var(--graphite-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.feature-benefits li:last-child {
    margin-bottom: 0;
}

.faq-section {
    padding: 6rem 0;
    background: var(--section-bg);
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--pure-white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0;
}

.faq-toggle {
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
}

.faq-toggle:hover {
    background: var(--light-blue);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--graphite-gray);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.contact-section {
    padding: 6rem 0;
    background: var(--pure-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-methods {
    margin-top: 2.5rem;
    display: grid;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-method:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue), #4f46e5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-details span {
    color: var(--graphite-gray);
    font-size: 0.875rem;
    display: inline-block;
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-weight: 500;
}

/* Enhanced Contact Animations */
@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.05);
    }
}

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

.contact-method {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.contact-method:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-method:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-method:nth-child(3) {
    animation-delay: 0.3s;
}

/* Enhanced hover effects */
.contact-method:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.contact-method:hover .contact-details h3 {
    color: var(--primary-blue);
    transform: translateX(4px);
}

/* Email link enhancements */
.contact-details a {
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.contact-details a:hover {
    transform: translateY(-1px);
}

.contact-details a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
    transition: width 0.3s ease;
}

.contact-details a:hover::after {
    width: 100%;
}

/* Contact Row Desktop Layout */
.contact-row-desktop {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Pricing Page Contact Layout */
.contact-row-pricing {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Section Background */
.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Contact Methods Responsive */
@media (max-width: 1024px) {
    .contact-row-pricing {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 768px) {
    /* Stack contact cards vertically on mobile */
    .contact-row-desktop,
    .contact-row-pricing {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .contact-section {
        padding: 3rem 0 !important;
    }
    
    .contact-methods {
        margin-top: 2rem;
        gap: 1.5rem;
    }
    
    .contact-method {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
        margin-bottom: 0.375rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        margin-bottom: 0.375rem;
    }
    
    .contact-details span {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
}

/* Tablet view - 2 columns with intro spanning full width */
@media (max-width: 1024px) and (min-width: 769px) {
    .contact-row-desktop {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }
    
    .contact-row-desktop > div:first-child {
        grid-column: 1 / -1 !important;
    }
    
    /* Pricing page tablet layout */
    .contact-row-pricing {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }
    
    .contact-row-pricing > div:first-child {
        grid-column: 1 / -1 !important;
    }
}

.contact-form-container {
    background: var(--section-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--charcoal);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--pure-white);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.cta-section {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--graphite-gray) 100%);
    color: var(--pure-white);
    padding: 6rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Responsive Design */
/* Tablet view */
@media (max-width: 1024px) and (min-width: 769px) {
    .pricing-cards-preview {
        gap: 1.5rem;
        max-width: 750px;
    }
    
    .about-hero-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-hero-title {
        font-size: 3rem;
    }
    
    .features-grid-about {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-modern .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid,
    .steps-grid,
    .pricing-cards-preview {
        grid-template-columns: 1fr;
    }
    
    .about-hero {
        padding: 6rem 0 4rem;
    }
    
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mission-values {
        grid-template-columns: 1fr;
    }
    
    .features-grid-about {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

/* Blog Page Styles */
.blog-hero {
    background: linear-gradient(135deg, var(--section-bg) 0%, var(--pure-white) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 1rem 0;
}

.blog-hero-description {
    font-size: 1.25rem;
    color: var(--graphite-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--graphite-gray);
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.featured-article {
    padding: 4rem 0;
    background: var(--pure-white);
}

.featured-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-blue);
    color: var(--pure-white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.featured-post {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--section-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-gray);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-category {
    color: var(--primary-blue);
    font-weight: 500;
}

.post-date,
.post-read-time {
    color: var(--graphite-gray);
}

.featured-post-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.featured-post-title a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-title a:hover {
    color: var(--primary-blue);
}

.featured-post-excerpt {
    color: var(--graphite-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    color: var(--charcoal);
    font-size: 0.95rem;
}

.author-title {
    color: var(--graphite-gray);
    font-size: 0.85rem;
}

.featured-post-image {
    border-radius: 12px;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-categories {
    padding: 4rem 0;
    background: var(--section-bg);
}

.categories-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: 3rem;
}

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

.category-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover,
.category-card.active {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 48px;
    height: 48px;
    background: var(--light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin: 0 auto 1rem;
}

.category-card.active .category-icon {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.category-count {
    color: var(--graphite-gray);
    font-size: 0.9rem;
}

.blog-posts {
    padding: 4rem 0;
    background: var(--pure-white);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--pure-white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-blue);
    color: var(--pure-white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primary-blue);
}

.post-excerpt {
    color: var(--graphite-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
    color: var(--pure-white);
    padding: 4rem 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-text p {
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

/* Legal Pages Styles */
.legal-header {
    background: var(--section-bg);
    padding: 6rem 0 4rem;
    text-align: center;
}

.legal-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.legal-subtitle {
    font-size: 1.25rem;
    color: var(--graphite-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--graphite-gray);
}

.legal-content {
    padding: 4rem 0;
    background: var(--pure-white);
}

.legal-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 2rem;
    background: var(--section-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
}

.legal-toc h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-link {
    color: var(--graphite-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.toc-link:hover {
    color: var(--primary-blue);
}

.legal-main {
    max-width: none;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 2rem 0 1rem;
}

.legal-section p {
    color: var(--graphite-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: var(--graphite-gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-details {
    background: var(--section-bg);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.legal-section .contact-method {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.legal-section .contact-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section a {
    color: var(--primary-blue);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Responsive Design for New Pages */
@media (max-width: 1024px) {
    .featured-post {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-toc {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .featured-post {
        padding: 2rem;
    }
    
    .featured-post-title {
        font-size: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .legal-title {
        font-size: 2.5rem;
    }
    
    .legal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage Contact Section */
.contact-section-home {
    padding: 6rem 0;
    background: var(--section-bg);
}

.contact-content-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-methods-home {
    margin: 2rem 0;
}

.contact-method-home {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.contact-method-home:last-child {
    border-bottom: none;
}

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

.contact-details-home h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.contact-details-home p {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-details-home span {
    color: var(--graphite-gray);
    font-size: 0.9rem;
}

.contact-form-home {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.quick-contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    text-align: center;
}

.quick-contact-form .form-group {
    margin-bottom: 1.5rem;
}

.quick-contact-form input,
.quick-contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--pure-white);
    font-family: inherit;
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.quick-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Mobile Responsive for Homepage Contact */
@media (max-width: 768px) {
    .contact-content-home {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-home {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}


/* Pricing Page Styles */
/* Pricing Header - Compact */
.pricing-header-compact {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid #e1e5e9;
    margin-bottom: 30px;
}

.pricing-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
}

.pricing-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
    color: #64748b;
}

/* Billing Toggle - Minimalistic Design */
.billing-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fb;
    padding: 4px;
    border-radius: 50px;
    border: 1px solid #e1e5e9;
}

.toggle-option {
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    color: #64748b;
    user-select: none;
}

.toggle-option:hover {
    background: #e2e8f0;
    color: #475569;
}

.toggle-option.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.toggle-option.active:hover {
    background: #2563eb;
}

.savings-badge {
    background: #10b981;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

/* Pricing animation styles */
.plan-price .price-amount,
.plan-price .price-period,
.price-note {
    transition: all 0.3s ease;
}

.price-note {
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-10px);
}

.price-note.show {
    opacity: 1;
    transform: translateY(0);
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.3);
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: rgba(255,255,255,0.5);
}

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

.discount-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pricing-plans {
    padding: 40px 0;
    background: #f8fafc;
}

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

/* Pricing Cards - Minimalistic Design */
.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    border: 1px solid #e1e5e9;
    position: relative;
    transition: all 0.2s ease;
    height: fit-content;
}

.pricing-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.pricing-card-featured {
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 8px 20px;
    border-radius: 0 0 12px 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-card-featured .pricing-header {
    margin-top: 24px;
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 12px;
}

.price-currency {
    font-size: 18px;
    font-weight: 600;
    color: #64748b;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 2px;
}

.price-period {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.price-text {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
}

.plan-description {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.pricing-features {
    margin-bottom: 24px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 14px;
    color: #334155;
}

.feature-check {
    width: 18px;
    height: 18px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.pricing-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.btn-full {
    width: 100%;
    padding: 12px 0;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    border: 1px solid;
    text-align: center;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
}

.trial-note {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
}

/* Pricing Grid Layout */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 20px 0;
    max-width: 1000px;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }
}

/* Feature Comparison Table - Based on Authorization Service */
.feature-comparison {
    padding: 40px 0;
    background: white;
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.comparison-table th {
    background: #f8f9fb;
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    text-align: center;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    font-size: 14px;
    color: #334155;
    text-align: center;
}

.comparison-table td:first-child {
    font-weight: 500;
    text-align: left;
    color: #1e293b;
}

.comparison-table .check {
    color: #10b981;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table .cross {
    color: #ef4444;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table tbody tr:hover {
    background: #f8f9fb;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
    
    .comparison-table td:first-child {
        min-width: 150px;
    }
}



.trial-note {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.feature-comparison {
    padding: 80px 0;
    background: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.feature-column {
    text-align: left !important;
    font-weight: 500;
    min-width: 200px;
}

.plan-column.featured {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.feature-name {
    font-weight: 500;
    color: #374151;
}

/* FAQ Section - Minimalistic */
.pricing-faq {
    padding: 40px 0;
    background: #f8f9fb;
}

.faq-grid {
    display: grid;
    gap: 8px;
    max-width: 700px;
    margin: 24px auto 0;
}

.faq-item {
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #f8f9fb;
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    display: none;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Trust Indicators - Minimalistic */
.trust-indicators {
    padding: 30px 0;
    background: white;
    border-top: 1px solid #e1e5e9;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
    padding: 24px 16px;
}

.trust-icon {
    width: 40px;
    height: 40px;
    color: #3b82f6;
    margin: 0 auto 16px;
}

.trust-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
}

.trust-item p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}

.pricing-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-hero-title {
        font-size: 2.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card-featured {
        transform: none;
    }
    
    .pricing-card-featured:hover {
        transform: translateY(-8px);
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}
/* Dashboard Styles */
.dashboard-main {
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
    background: #f8fafc;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.dashboard-title h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.dashboard-title p {
    color: #64748b;
    font-size: 1rem;
}

.dashboard-actions {
    flex-shrink: 0;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-email {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

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

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e1e5e9;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Charts Section */
.dashboard-charts {
    margin-bottom: 3rem;
}

.chart-container {
    background: white;
    border-radius: 12px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.chart-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.chart-controls select {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 0.875rem;
    color: #374151;
}

.chart-content {
    padding: 2rem;
    height: 300px;
    position: relative;
}

/* Email List Section */
.email-list-section {
    background: white;
    border-radius: 12px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
}

.section-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.list-controls select {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 0.875rem;
    color: #374151;
}

.email-list {
    min-height: 200px;
}

.email-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.email-item:hover {
    background: #f8fafc;
}

.email-item:last-child {
    border-bottom: none;
}

.email-info {
    flex: 1;
}

.email-recipient {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.recipient-name {
    font-weight: 600;
    color: #1e293b;
}

.email-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.email-status.opened {
    background: #d1fae5;
    color: #065f46;
}

.email-status.not-opened {
    background: #fef3c7;
    color: #92400e;
}

.email-subject {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.email-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.email-actions {
    flex-shrink: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.page-info {
    font-size: 0.875rem;
    color: #64748b;
}

/* Loading and Empty States */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #64748b;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f1f5f9;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.empty-icon {
    width: 48px;
    height: 48px;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #64748b;
}

/* Notifications Panel */
.notifications-panel {
    background: white;
    border-radius: 12px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
}

.notifications-panel h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
}

.notification-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.notification-content {
    flex: 1;
    font-size: 0.875rem;
}

.notification-content strong {
    color: #1e293b;
}

.notification-content em {
    color: #374151;
}

.notification-time {
    display: block;
    color: #64748b;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.no-notifications {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    font-style: italic;
    margin: 0;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .email-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .email-recipient {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .pagination {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-auth {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
