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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.4;
}

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

/* Cute Robot - Fixed positioning */
.robot-container {
    text-align: center;
    
}

.robot {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

/* Header - Compact */
.header {
    text-align: center;
    color: white;
}

.header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.header p {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Main Card - More compact */
.main-card {
    background: white;
    padding: 10px 13px;
    border-radius: 13px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Section Header - More compact */
.section-header {
    margin-bottom: 20px;
    text-align: center;
}

.section-header h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #2d3748;
}

.section-header p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.4;
}

.platforms {
    font-weight: 600;
    color: #2d3748;
}

.platforms i {
    margin: 0 3px;
}

.fa-x-twitter {
    color: #000000;
}

.fa-linkedin {
    color: #0077b5;
}

.fa-instagram {
    color: #e4405f;
}

/* Form Styles - More compact */
.input-group {
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    text-align: left !important;
}

input, select, textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f8fafc;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Checkbox - More compact */
.checkbox-container {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    transform: scale(1.1);
}

.checkbox-small {
    display: block;
    color: #718096;
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1.3;
}

/* 3D Button */
.generate-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 
        0 6px 0 #c44545,
        0 10px 20px rgba(255, 107, 107, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    top: 0;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 0 #c44545,
        0 12px 25px rgba(255, 107, 107, 0.4);
    top: -2px;
}

.generate-btn:active {
    transform: translateY(4px);
    box-shadow: 
        0 2px 0 #c44545,
        0 6px 12px rgba(255, 107, 107, 0.3);
    top: 4px;
}

.generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 0 #c44545;
    top: 0;
}

/* Results Section */
#results {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}

#results h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 700;
    padding-top: 0;
}

.export-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 15px 0;
}

.export-options button {
    margin: 0;
    font-size: 12px;
    padding: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 0 #5a67d8;
}

.export-options button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #5a67d8;
}

.export-options button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 #5a67d8;
}

/* Content Preview - Hidden by default */
#contentPreview {
    display: none;
}

/* Content Preview - Show when class is added */
#contentPreview.show {
    display: block;
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #2d3748;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Style for individual day content */
.day-content {
    background: white;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.day-content h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.day-content p {
    margin: 8px 0;
    line-height: 1.5;
}

.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 15px 10px;
    }
    
    .main-card {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 1.6rem;
    }
    
    .robot {
    width: 60px;
    height: 60px;
}
    
    .export-options {
        grid-template-columns: 1fr;
    }
}
/* ===== LANDING PAGE STYLES ===== */
.landing-body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

.landing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section - Bigger & Closer to Bot */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 75vh;
    padding: 10px 0 20px 0;
    gap: 30px;
}

.bot-hero {
    flex: 1;
    text-align: center;
}

.hero-bot-main {
    width: 600px;
    height: 600px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

.hero-content {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(-120px);
}

/* Bigger Text */
.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.hero-tagline {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 25px 0;
    opacity: 0.9;
    text-align: left;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 0 0 35px 0;
    opacity: 0.8;
    font-weight: 400;
    text-align: left;
}

/* CTA Section - Button Left-Aligned, Text Perfectly Under */
.cta-container {
    text-align: left !important;
    width: 100%;
}

.cta-primary {
    display: block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.3);
    margin-bottom: 12px;
    text-align: center;
    width: fit-content;
    min-width: 280px;
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 45px rgba(255, 107, 107, 0.4);
}

.cta-note {
    font-size: 1rem;
    opacity: 0.7;
    margin: 0;
    text-align: left !important;
    width: fit-content;
    margin-left: 20px;
}

/* Features Section - WAY UP */
.features-section {
    padding: 10px 0 5px 0;
    text-align: center;
}

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

.feature {
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.feature p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        min-height: auto;
    }
    
    .hero-content {
        margin-left: 0;
        text-align: center;
    }
    
    .hero-bot-main {
        width: 380px;
        height: 380px;
    }
    
    .hero-title {
        font-size: 3.2rem;
        text-align: center;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .cta-container {
        text-align: center !important;
    }
    
    .cta-primary {
        margin: 0 auto 12px auto;
    }
    
    .cta-note {
        text-align: center !important;
        margin-left: 0;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/* Auth buttons specific styling */
#authSection {
    position: absolute;
    top: 25px;
    right: 500px;
    z-index: 1000;
}

#authButtons {
    display: flex;
    gap: 4px;
}

#loginBtn, #registerBtn {
    padding: 6px 14px !important;
    font-size: 12px !important;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    color: white !important;
    border: none !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    box-shadow: 
        0 4px 0 #c44545,
        0 6px 10px rgba(255, 107, 107, 0.3) !important;
    position: relative;
    top: 0;
}

#loginBtn:hover, #registerBtn:hover {
    background: linear-gradient(135deg, #ff8e8e, #ff7b3a) !important;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 #c44545,
        0 8px 12px rgba(255, 107, 107, 0.4) !important;
    top: -2px;
}

#loginBtn:active, #registerBtn:active {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #c44545,
        0 3px 5px rgba(255, 107, 107, 0.3) !important;
    top: 2px;
}

/* User info styling when logged in */
#userInfo {
    position: absolute;
    top: 25px;
    right: 300px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    font-size: 11px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 140px;
}

#userInfo p {
    margin: 3px 0;
    font-weight: 700;
    color: #2d3748;
}

#userEmail {
    color: #667eea;
    font-size: 10px;
}

#userCredits {
    color: #ee5a24;
    font-size: 12px;
}

/* Logout button styling */
#logoutBtn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    color: white !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 4px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 5px !important;
    box-shadow: 0 2px 0 #c44545 !important;
    transition: all 0.2s ease !important;
    position: relative;
    top: 0;
}

#logoutBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 0 #c44545 !important;
    top: -1px;
}

#logoutBtn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 #c44545 !important;
    top: 1px;
}

.section-header + form .input-group label {
    text-align: left !important;
}

.form-group label,
.input-group label {
    text-align: left !important;
}
/* ===== COMPACT CREDIT CALCULATOR ===== */
#credit-display {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
    margin: 2px 0 !important;
    line-height: 1.1 !important;
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}
/* ==================== TOGGLE STYLES ==================== */

.toggle-container {
    text-align: center;
    margin: 20px 0;
}

.mode-toggle-buttons {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    gap: 4px;
}

.mode-toggle {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-toggle.active {
    background: #3b82f6;
    color: white;
}

.mode-toggle.inactive {
    background: transparent;
    color: #64748b;
}

.mode-section {
    transition: all 0.3s ease;
}

/* Textarea styling for manual mode */
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    height: 80px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}