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

:root {
    /* JunkSMS sister site colors */
    --primary-rose: #FF3366;
    --primary-rose-hover: #E6004D;
    --stone-50: rgb(250, 250, 249);
    --stone-100: rgb(245, 245, 244);
    --stone-200: rgb(231, 229, 228);
    --stone-300: rgb(214, 211, 209);
    --stone-400: rgb(168, 162, 158);
    --stone-500: rgb(120, 113, 108);
    --stone-600: rgb(87, 83, 78);
    --stone-700: rgb(68, 64, 60);
    --stone-800: rgb(41, 37, 36);
    --stone-900: rgb(28, 25, 23);
    
    /* Typography */
    --font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--stone-50);
    color: var(--stone-900);
    line-height: 1.6;
}

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

/* Header */
.header {
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid var(--stone-200);
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--stone-900);
}

.nav {
    display: flex;
    gap: 32px;
}

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

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

/* JunkSMS-style navigation */
#main-nav a {
    color: var(--stone-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

#main-nav a:hover {
    color: var(--primary-rose);
    background-color: rgba(255, 51, 102, 0.1);
}

#main-nav .sister-link {
    background: var(--primary-rose);
    color: white !important;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#main-nav .sister-link:hover {
    background: var(--primary-rose-hover);
    transform: translateY(-1px);
}

/* Warning Banner */
.warning-banner {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #92400e;
    font-weight: 500;
}

.warning-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.warning-text {
    line-height: 1.4;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    background: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--stone-900);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--stone-600);
    margin-bottom: 48px;
    line-height: 1.4;
}

.email-input-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
}

.email-input-container {
    display: flex;
    background: white;
    border: 2px solid var(--stone-200);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.email-input-container:focus-within {
    border-color: var(--primary-rose);
}

#inbox-name {
    flex: 1;
    padding: 16px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
}

.domain {
    padding: 16px 20px;
    background: var(--stone-100);
    color: var(--stone-600);
    font-weight: 500;
    border-left: 1px solid var(--stone-200);
}

.cta-button {
    background: var(--primary-rose);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.cta-button:hover {
    background: var(--primary-rose-hover);
}

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

.illustration {
    font-size: 200px;
    opacity: 0.8;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-rose);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.step h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 16px;
}

.step p {
    color: var(--stone-600);
    font-size: 16px;
    line-height: 1.6;
}

/* Why Section */
.why-section {
    padding: 120px 0;
    background: var(--stone-50);
}

.why-section h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 80px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    border: 1px solid var(--stone-200);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-rose);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-rose);
    color: white;
    border-radius: 16px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--stone-600);
    line-height: 1.6;
    margin: 0;
}

/* Premium Section */
.premium-section {
    padding: 120px 0;
    background: var(--stone-900);
    color: white;
    text-align: center;
}

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

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

.premium-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.premium-content > p {
    font-size: 20px;
    color: var(--stone-300);
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.premium-feature-icon {
    font-size: 20px;
    width: 32px;
    text-align: center;
}

.premium-cta {
    background: var(--primary-rose);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.premium-cta:hover {
    background: var(--primary-rose-hover);
}

/* Advertisement Sections */
.ad-section {
    padding: 40px 0;
    background: var(--stone-50);
}

.ad-banner {
    background: var(--stone-100);
    border: 2px dashed var(--stone-300);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: var(--stone-500);
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ad-placeholder span {
    font-size: 18px;
    font-weight: 600;
}

.ad-placeholder small {
    font-size: 14px;
    opacity: 0.7;
}

/* Developer Section */
.developer-section {
    padding: 120px 0;
    background: white;
    color: var(--stone-900);
}

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

.developer-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
}

.developer-content > p {
    font-size: 20px;
    color: var(--stone-600);
    margin-bottom: 48px;
    max-width: 600px;
}

.api-demo {
    background: var(--stone-800);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--stone-700);
}

.code-tabs {
    display: flex;
    background: var(--stone-700);
    border-bottom: 1px solid var(--stone-600);
}

.code-tab {
    background: transparent;
    border: none;
    color: var(--stone-300);
    padding: 16px 24px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s ease;
}

.code-tab.active {
    background: var(--stone-800);
    color: white;
}

.code-tab:hover:not(.active) {
    background: var(--stone-600);
    color: white;
}

.code-block {
    padding: 24px;
}

.code-block pre {
    background: var(--stone-900);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid var(--stone-600);
}

.code-block code {
    color: var(--stone-200);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.api-actions {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--stone-700);
    background: var(--stone-800);
}

.btn-primary {
    background: var(--primary-rose);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-rose-hover);
}

.btn-secondary {
    background: var(--stone-700);
    color: white;
    border: 1px solid var(--stone-600);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--stone-600);
    border-color: var(--stone-500);
}

/* Footer */
.footer {
    padding: 80px 0;
    background: var(--stone-900);
    border-top: 1px solid var(--stone-700);
}

.footer-content {
    display: block;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    color: var(--stone-300);
}

.footer-nav {
    display: flex;
    gap: 32px;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .use-cases {
        grid-template-columns: 1fr;
    }
    
    .why-section h2 {
        font-size: 36px;
    }
    
    .developer-content h2 {
        font-size: 36px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .nav {
        gap: 20px;
    }
    
    .api-actions {
        flex-wrap: wrap;
    }
    
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .premium-features {
        grid-template-columns: 1fr;
    }
    
    .premium-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .warning-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ===============================================
   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: 1px 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;
}

[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) {
    .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;
    }
}