/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Consistent with JunkSMS sister site */
    --primary-color: #FF3366;
    --primary-hover: #E6004D;
    --primary-pink: #FF3366;
    --primary-pink-hover: #E6004D;
    --secondary-color: #64748b;
    --success-color: #22C55E;
    --warning-color: #f59e0b;
    
    /* Background Colors - Matching JunkSMS */
    --bg-color: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-gray: #F5F5F5;
    --surface-color: #FAFAFA;
    --card-color: #FFFFFF;
    --border-color: #E5E5E5;
    --border-light: #E5E5E5;
    --border-gray: #D1D1D1;
    /* Text Colors - Matching JunkSMS */
    --text-color: #333333;
    --text-dark: #333333;
    --text-muted: #666666;
    --text-gray: #666666;
    --text-light: #999999;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* JunkSMS-style spacing variables */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 80px;
    
    /* JunkSMS-style color aliases */
    --primary-rose: var(--primary-pink);
    --primary-rose-hover: var(--primary-pink-hover);
    --stone-50: var(--bg-light);
    --stone-100: var(--bg-gray);
    --stone-200: var(--border-light);
    --stone-600: var(--text-gray);
    --stone-700: #555555;
    --stone-900: var(--text-dark);
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --card-color: #1e293b;
    --border-color: #334155;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: all 0.3s ease;
}

/* Privacy Warning Banner */
.privacy-warning {
    background: linear-gradient(90deg, #fef3c7, #fed7aa);
    color: #92400e;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid #fbbf24;
    font-weight: 500;
}

/* Header - Matching JunkSMS exactly */
.header {
    background: white;
    border-bottom: 1px solid var(--stone-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
}

.header .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-rose);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

nav {
    display: flex;
    gap: var(--space-lg);
}

nav a {
    text-decoration: none;
    color: var(--stone-600);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Sister Project Link in Navigation */
nav .sister-link {
    color: var(--primary-pink) !important;
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.2s ease;
}

nav .sister-link:hover {
    opacity: 1;
    color: var(--primary-pink-hover) !important;
}

/* Theme toggle in navigation */
.theme-toggle {
    position: relative;
    display: inline-block;
}

#theme-toggle {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    color: var(--text-color);
}

#theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Intro text */
.intro-text {
    max-width: 800px;
    margin: 32px auto;
    text-align: center;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.simple-tagline {
    font-size: 1.2rem !important;
    color: var(--text-muted) !important;
    margin: 16px 0 !important;
}

.developer-note {
    text-align: center;
    margin: 32px 0;
    padding: 16px;
    background: var(--surface-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.developer-note p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-muted);
}

.how-it-works-brief {
    margin-top: 24px;
}

.how-it-works-brief p {
    margin-bottom: 16px;
}

.inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.inline-link:hover {
    color: var(--primary-hover);
    border-bottom-color: var(--primary-color);
}

/* FAQ Section - Matching JunkSMS */
.faq-section {
    background: var(--bg-light);
    padding: 80px 0;
    margin: 60px 0;
    border-top: 1px solid var(--border-light);
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 24px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 200px;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Container - Matching JunkSMS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Main layout */
.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero section - Matching JunkSMS */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 50%, var(--bg-gray) 100%);
    min-height: 70vh;
}

.logo-container {
    margin-bottom: 48px;
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Email generator */
.email-generator {
    width: 100%;
    max-width: 600px;
    margin-bottom: 64px;
}

.generator-card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

.generator-card:hover {
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--primary-color);
}

.generator-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-color);
}

.email-input-container {
    display: flex;
    align-items: center;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 4px;
    margin-bottom: 24px;
    transition: all 0.2s ease;
}

.email-input-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

#inbox-name {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px 20px;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-color);
    outline: none;
    font-family: 'Monaco', 'Consolas', monospace;
}

#inbox-name::placeholder {
    color: var(--text-light);
}

.domain {
    color: var(--text-muted);
    padding: 16px 20px;
    font-size: 1.125rem;
    font-weight: 500;
    font-family: 'Monaco', 'Consolas', monospace;
    white-space: nowrap;
}

.primary-button {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 16px 24px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.primary-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.primary-button:active {
    transform: translateY(0);
}

.input-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 800px;
}

.feature-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Developer API Section - Matching JunkSMS */
.developer-section {
    margin: 80px 0;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 50%, var(--bg-gray) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] .developer-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.developer-header {
    text-align: center;
    margin-bottom: 60px;
}

.developer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.developer-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 16px;
    line-height: 1.1;
}

.developer-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.developer-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 32px;
    line-height: 1.2;
}

.api-features {
    margin-bottom: 40px;
}

.api-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.api-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.api-feature p {
    color: var(--text-muted);
    line-height: 1.5;
}

.api-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--surface-color);
    transform: translateY(-2px);
}

/* Terminal Styling */
.showcase-terminal {
    background: #0d1117;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.terminal-header {
    background: #21262d;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #30363d;
}

.terminal-controls {
    display: flex;
    gap: 6px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.close { background: #ff5f56; }
.terminal-button.minimize { background: #ffbd2e; }
.terminal-button.maximize { background: #27ca3f; }

.terminal-title {
    color: #8b949e;
    font-size: 0.875rem;
    font-weight: 500;
}

.terminal-body {
    padding: 24px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 16px;
}

.terminal-prompt {
    color: #58a6ff;
    font-weight: 600;
}

.terminal-command {
    color: #f0f6fc;
    margin-left: 8px;
}

.terminal-response {
    margin-top: 12px;
    padding-left: 20px;
}

.json-response {
    color: #f0f6fc;
}

.json-key { color: #79c0ff; }
.json-string { color: #a5d6ff; }
.json-syntax { color: #e6edf3; }
.json-bracket { color: #ffa657; }

/* Mobile Responsiveness for Developer Section */
@media (max-width: 1024px) {
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .developer-title {
        font-size: 2.5rem;
    }
    
    .showcase-text h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .developer-section {
        padding: 40px 0;
        margin: 60px 0;
    }
    
    .developer-header {
        margin-bottom: 40px;
    }
    
    .developer-title {
        font-size: 2rem;
    }
    
    .developer-subtitle {
        font-size: 1.125rem;
    }
    
    .showcase-content {
        gap: 32px;
    }
    
    .showcase-text h3 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    
    .api-features {
        margin-bottom: 32px;
    }
    
    .api-feature {
        margin-bottom: 20px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .api-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
    
    .terminal-body {
        padding: 16px;
        font-size: 0.8125rem;
    }
}

.developer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.developer-text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.developer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
    width: fit-content;
}

.developer-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.1;
}

.developer-text h3 {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.developer-text > p {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 32px;
}

.api-benefits {
    margin-bottom: 32px;
}

.api-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.benefit-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.api-actions {
    display: flex;
    gap: 16px;
}

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

.api-button.primary {
    background: var(--primary-color);
    color: white;
}

.api-button.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.api-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.api-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

.developer-code {
    background: var(--surface-color);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.code-header {
    background: var(--border-color);
    padding: 20px 24px 12px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.code-tabs {
    display: flex;
    gap: 8px;
}

.code-tab {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.code-tab:hover:not(.active) {
    background: var(--card-color);
    color: var(--text-color);
}

.code-block {
    padding: 24px;
    height: 400px;
    overflow-y: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-color);
    background: none;
}

.code-block code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .developer-content {
        grid-template-columns: 1fr;
    }
    
    .developer-text {
        padding: 32px 24px;
    }
    
    .developer-text h2 {
        font-size: 2rem;
    }
    
    .code-block {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .developer-section {
        margin: 40px 0;
        padding: 0 16px;
    }
    
    .developer-text {
        padding: 24px 20px;
    }
    
    .developer-text h2 {
        font-size: 1.75rem;
    }
    
    .api-actions {
        flex-direction: column;
    }
    
    .api-button {
        text-align: center;
        justify-content: center;
    }
    
    .code-header {
        padding: 16px 20px 10px 20px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .code-tabs {
        align-self: stretch;
        justify-content: center;
    }
    
    .code-block {
        padding: 20px;
        font-size: 0.8rem;
    }
}

/* Header Cross-Promotion */
.header-cross-promo {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 999;
}

.sister-project-link {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text-color);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-block;
}

.sister-project-link:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Sister Project Promo - Matching JunkSMS style */
.sister-project-promo {
    background: linear-gradient(135deg, #fef7f7 0%, #f3f4f6 100%);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.sister-project-promo:hover {
    border-color: var(--primary-pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 51, 102, 0.1);
}

[data-theme="dark"] .sister-project-promo {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.promo-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.promo-text {
    flex: 1;
    min-width: 200px;
}

.promo-text h3 {
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.promo-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.promo-button {
    background: transparent;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.promo-button:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Coffee Link Styling - Matching JunkSMS */
.coffee-link {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: white !important;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 0.025em;
}

.coffee-link:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%) !important;
    color: white !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Ad sections - Layout Shift Prevention */
.ad-section {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    /* Fixed height to prevent CLS */
    min-height: 140px;
}

.ad-container {
    max-width: 728px;
    width: 100%;
    height: 120px; /* Fixed height for banner ads */
    display: flex;
    justify-content: center;
}

.ad-placeholder {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
}

/* Ad network specific styles */
.propeller-ad,
.medianet-ad,
.adsense-ad,
.carbon-ad {
    width: 100%;
    display: flex;
    justify-content: center;
}

.ad-loaded .ad-placeholder {
    display: none;
}

/* Fallback ad styles */
.fallback-ad {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    color: white;
    max-width: 728px;
    margin: 0 auto;
}

.fallback-ad .ad-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.fallback-ad .ad-content p {
    font-size: 0.9rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.fallback-ad .ad-cta {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.fallback-ad .ad-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Responsive ad adjustments */
@media (max-width: 768px) {
    .ad-container {
        max-width: 320px;
    }
    
    .ad-section {
        margin: 24px 0;
    }
    
    .ad-placeholder {
        padding: 30px 20px;
        min-height: 100px;
        min-width: 280px;
    }
}

/* Info section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

.info-card {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.step code {
    background: var(--surface-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.use-cases {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.use-cases li {
    padding: 12px 16px;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.2s ease;
}

.use-cases li:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Footer - Matching JunkSMS exactly */
.footer {
    background: var(--stone-900);
    color: white;
    padding: var(--space-xl) 0 var(--space-md) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: white;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--space-md);
    text-align: center;
    color: #9ca3af;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.125rem;
    }
    
    .generator-card {
        padding: 32px 24px;
    }
    
    .email-input-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .domain {
        text-align: center;
        border-top: 1px solid var(--border-color);
        margin-top: 4px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .info-section {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 40px 0;
    }
    
    .info-card {
        padding: 24px;
    }
    
    .use-cases {
        grid-template-columns: 1fr;
    }
    
    .theme-toggle {
        top: 16px;
        right: 16px;
    }
    
    #theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .faq-section {
        padding: 60px 0;
        margin: 40px 0;
    }
    
    .faq-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .faq-question::after {
        right: 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .intro-text p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        gap: 16px;
        flex-wrap: wrap;
    }
    
    nav a {
        font-size: 14px;
    }
    
    .header .container {
        padding: 12px 16px;
    }
    
    .header .logo {
        font-size: 20px;
    }
    
    #theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* ===============================================
   Legal Pages Styles - Matching JunkSMS
   =============================================== */
.legal-page {
    padding: 60px 0;
    min-height: 70vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.effective-date {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin: 0;
}

.legal-intro {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 40px;
}

.legal-intro p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.legal-sections {
    margin-bottom: 40px;
}

.legal-section {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.legal-section:hover {
    box-shadow: var(--shadow-md);
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-pink);
}

.legal-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 16px;
}

.legal-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-section li {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 8px;
}

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

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

.warning-box {
    background: linear-gradient(135deg, #fef7f7 0%, #fee2e2 100%);
    border: 2px solid #f87171;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.warning-box p {
    margin: 0;
    color: #dc2626;
    font-weight: 500;
}

.legal-contact {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
}

.legal-contact p {
    margin: 0;
    color: var(--text-color);
    font-size: 1.125rem;
}

.legal-contact a {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 600;
}

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

/* Contact Page Specific Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.contact-section {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.2s ease;
}

.contact-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card {
    padding: 32px;
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.contact-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
    border: none;
    padding: 0;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.contact-email {
    margin: 20px 0;
}

.contact-email a {
    background: var(--primary-pink);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
}

.contact-email a:hover {
    background: var(--primary-pink-hover);
    transform: translateY(-1px);
}

.response-time {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

.company-info {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 32px;
}

.company-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
}

.company-details {
    color: var(--text-color);
    line-height: 1.6;
}

.important-notes {
    background: linear-gradient(135deg, #fef7f7 0%, #fee2e2 100%);
    border: 2px solid var(--primary-pink);
    border-radius: var(--border-radius);
    padding: 32px;
}

.important-notes h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
}

.important-notes ul {
    margin-left: 24px;
}

.important-notes li {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 12px;
}

.important-notes a {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 500;
}

.important-notes a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness for Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 40px 0;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 24px 20px;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    .contact-icon {
        font-size: 2.5rem;
    }
    
    .company-info, .important-notes {
        padding: 24px 20px;
    }
}

/* ===============================================
   Buy Me a Coffee Integration Styles
   =============================================== */

/* Coffee Support Banner - Beautiful styling for highest conversion */
.coffee-support-banner {
    margin: 32px 0;
    padding: 32px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
    border: 2px solid #fb923c;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15), 
                0 4px 12px rgba(251, 146, 60, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.coffee-support-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.2);
}

[data-theme="dark"] .coffee-support-banner {
    background: linear-gradient(135deg, #451a03 0%, #7c2d12 50%, #9a3412 100%);
    border: 1px solid #ea580c;
}

/* Animated shimmer top border */
.coffee-support-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ea580c, #dc2626, #ea580c, #f97316);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.coffee-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.coffee-text {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

/* Enhanced animated emoji */
.coffee-emoji {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: gentle-bounce 2.5s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    10% { 
        transform: translateY(-3px) rotate(-2deg); 
    }
    30% { 
        transform: translateY(-6px) rotate(1deg); 
    }
    40% { 
        transform: translateY(-4px) rotate(-1deg); 
    }
    60% { 
        transform: translateY(-2px) rotate(0.5deg); 
    }
}

.coffee-message {
    color: #9a3412;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

[data-theme="dark"] .coffee-message {
    color: #fed7aa;
}

.coffee-message strong {
    color: #7c2d12;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(124, 45, 18, 0.1);
}

[data-theme="dark"] .coffee-message strong {
    color: #ffedd5;
}

/* Premium gradient button with shine effect */
.coffee-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Hover shine effect */
.coffee-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.coffee-button:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
}

.coffee-button:hover::before {
    left: 100%;
}

.coffee-button:active {
    transform: translateY(0) scale(1);
    transition: all 0.1s ease;
}

/* Premium Footer Style */
.coffee-link {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: white !important;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 0.025em;
}

.coffee-link:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%) !important;
    color: white !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Header cross-promo mobile styles */
    .header-cross-promo {
        position: relative;
        top: auto;
        left: auto;
        text-align: center;
        margin: 16px 0;
        z-index: auto;
    }
    
    .sister-project-link {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    /* Sister project promo mobile styles */
    .sister-project-promo {
        margin: 24px 0;
        padding: 20px;
    }
    
    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .promo-icon {
        font-size: 2.5rem;
    }
    
    .promo-text h3 {
        font-size: 1.1rem;
    }
    
    .promo-text p {
        font-size: 0.9rem;
    }
    
    .promo-button {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    /* Footer tools mobile styles */
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .tool-link {
        padding: 14px;
    }
    
    .tool-icon {
        font-size: 1.25rem;
    }
    
    .coffee-support-banner {
        margin: 24px 0;
        padding: 24px;
        border-radius: 16px;
    }
    
    .coffee-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        align-items: center;
    }
    
    .coffee-text {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .coffee-emoji {
        font-size: 28px;
    }
    
    .coffee-message {
        font-size: 15px;
        text-align: center;
    }
    
    .coffee-button {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }
}