:root {
    --bg-color: #f8fafc; /* Slate 50 */
    --surface-color: #ffffff; /* White */
    --border-color: #e2e8f0; /* Slate 200 */
    --text-primary: #0f172a; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    
    --primary: #ff4a26; /* WebToNative Orange/Red */
    --primary-hover: #e63e1c;
    --primary-glow: rgba(255, 74, 38, 0.3);
    
    --success: #10b981; /* Emerald 500 */
    --error: #ef4444; /* Red 500 */
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Subtle background gradient for light mode */
    background: radial-gradient(circle at top right, #ffffff, #f1f5f9);
    background-attachment: fixed;
}

/* Professional Header & Navbar */
.app-header {
    padding: 16px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px var(--primary-glow);
}

.pro-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(99, 102, 241, 0.15) 100%);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    margin-left: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

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

.nav-btn-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-btn-dashboard:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--primary-glow);
    transition: all 0.2s ease;
}

.nav-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--primary-glow);
}


/* Premium Hero Section System */
.hero-section {
    padding: 36px 0 20px;
    position: relative;
}

.hero-banner {
    position: relative;
    z-index: 2;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(255, 74, 38, 0.08);
    border: 1px solid rgba(255, 74, 38, 0.28);
    color: #c2410c !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 10px rgba(255, 74, 38, 0.08);
    transition: all 0.3s ease;
}

.badge-pill:hover {
    background: rgba(255, 74, 38, 0.14);
    border-color: rgba(255, 74, 38, 0.45);
    transform: translateY(-1px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4a26;
    box-shadow: 0 0 8px #ff4a26;
    display: inline-block;
}

.badge-dot.pulse {
    animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 74, 38, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(255, 74, 38, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 74, 38, 0);
    }
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.18;
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    margin-bottom: 16px;
}

.text-gradient-primary {
    color: #ff4a26 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.65;
    color: #334155 !important;
    max-width: 780px;
    margin: 0 auto 20px;
    font-weight: 500;
}

.hero-chips-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e293b !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-chip svg {
    color: #ea580c !important;
}

.hero-chip:hover {
    transform: translateY(-2px);
    border-color: #ff4a26 !important;
    color: #ff4a26 !important;
    box-shadow: 0 4px 12px rgba(255, 74, 38, 0.25);
}

/* Panels */
.generator-container {
    width: 100%;
    max-width: 420px;
    position: relative;
}

.panel {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hidden {
    display: none !important;
}

/* Form Styles */
.form-group {
    margin-bottom: 14px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

input[type="text"],
input[type="url"] {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="url"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.char-count {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.error-text {
    display: none;
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 500;
}
.form-group.has-error .error-text {
    display: block;
}
.form-group.has-error input {
    border-color: var(--error);
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    background: rgba(15, 23, 42, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.icon-upload {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.drop-zone:hover .icon-upload {
    color: var(--primary);
}

.drop-zone span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.drop-zone span strong {
    color: var(--text-primary);
}

#icon-preview {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
}

/* Mode Tabs */
.mode-tabs {
    display: flex;
    background: var(--bg-color);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}
.mode-tab-btn {
    flex: 1;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mode-tab-btn.active {
    background: var(--surface-color);
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.color-swatch {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.color-swatch:hover {
    transform: scale(1.15);
}
.color-swatch.active {
    border-color: #ffffff !important;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    transform: scale(1.15);
}
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Settings Panel (Toggles) */
.divider {
    height: 1px;
    background: var(--border-color);
    margin: 32px 0;
}

.settings-panel h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
}

.toggle-label {
    display: flex;
    flex-direction: column;
}

.toggle-label strong {
    font-size: 0.95rem;
    font-weight: 500;
}

.toggle-label span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Custom Toggle Switch */
.toggle-switch {
    appearance: none;
    width: 44px;
    height: 24px;
    background: var(--border-color);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background 0.3s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch:checked {
    background: var(--primary);
}

.toggle-switch:checked::after {
    transform: translateX(20px);
}

/* Buttons */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    gap: 8px;
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-primary:disabled {
    background: var(--border-color);
    color: var(--text-secondary);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-primary.loading svg {
    animation: spin 1s linear infinite;
}

.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-outline:hover {
    background: var(--border-color);
}

/* Progress Panel */
.progress-header {
    text-align: center;
    margin-bottom: 24px;
}
.progress-header h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.progress-header p { color: var(--text-secondary); font-size: 0.9rem; }

.step-list {
    list-style: none;
    padding: 0;
}

.step {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-color);
    transition: all 0.3s ease;
}

.step:not(:last-child) .step-icon::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 9px;
    width: 2px;
    height: 24px;
    background: var(--border-color);
    transition: background 0.3s ease;
}

.step.active {
    color: var(--primary);
}
.step.active .step-icon {
    border-color: var(--primary);
}
.step.active .step-icon::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.step.completed {
    color: var(--text-primary);
}
.step.completed .step-icon {
    border-color: var(--success);
    background: var(--success);
}
.step.completed .step-icon::after {
    background: var(--success);
}
.step.completed .step-icon::before {
    content: '✓';
    color: white;
    font-size: 14px;
    line-height: 1;
}

/* Utilities */
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }

/* Success & Error UI */
.success-icon-wrapper, .error-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.success-icon-wrapper { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.error-icon-wrapper { background: rgba(239, 68, 68, 0.1); color: var(--error); }
.success-icon-wrapper svg, .error-icon-wrapper svg { width: 32px; height: 32px; }

.build-stats {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin: 20px 0;
    text-align: left;
}
.build-stats p { margin-bottom: 4px; font-size: 0.95rem; }

.error-reason {
    color: var(--text-secondary);
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: var(--radius-sm);
    margin: 16px 0;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Animations */
@keyframes spin {
    100% { transform: rotate(360deg); }
}

.slide-up {
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.scale-up {
    animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ── AppMySite Landing Page Layout ────────────────────────────────────── */
.hero-section {
    width: 100%;
    padding: 40px 0 60px;
}

/* Hero Banner Typography & Contrast */
.hero-banner {
    animation: fadeIn 0.4s ease;
    text-align: center;
    margin-bottom: 32px;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0f172a !important;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #475569 !important;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}
.btn-secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}
.btn .material-icons {
    font-size: 18px;
    vertical-align: middle;
}


/* Hero Container Layout */
.hero-container {
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Simple Mode Layout (2 Cards Side by Side: Form Left, Phone Right) */
.hero-container.simple-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 960px;
    align-items: start;
}
.hero-container.simple-mode .hero-adv-col {
    display: none !important;
}

/* Advanced Mode Layout (ALL 4 CARDS SIDE BY SIDE ACROSS SCREEN) */
.hero-container.advanced-mode {
    display: grid;
    grid-template-columns: 290px 340px 320px 290px;
    gap: 18px;
    max-width: 1560px;
    align-items: start;
    justify-content: center;
}

.hero-container.advanced-mode .hero-adv-col {
    display: block !important;
}
.hero-container.advanced-mode .hero-card {
    display: block !important;
}


/* Studio Cards Uniform 630px Height Matching Phone Preview Screen */
.compact-adv-card,
.hero-form-card .panel {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 16px 16px;
    height: 630px;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
}
.compact-adv-card::-webkit-scrollbar,
.hero-form-card .panel::-webkit-scrollbar {
    width: 4px;
}
.compact-adv-card::-webkit-scrollbar-thumb,
.hero-form-card .panel::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}


.compact-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}
.compact-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    color: #fff;
}
.compact-card-title {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-primary);
    line-height: 1.2;
}
.compact-card-subtitle {
    font-size: 0.68rem;
    color: var(--text-secondary);
}

/* Compact Toggle Rows */
.toggle-row.compact-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--border-color);
}
.toggle-row.compact-toggle .toggle-label strong {
    font-size: 0.76rem;
    display: block;
    color: var(--text-primary);
}
.toggle-row.compact-toggle .toggle-label span {
    font-size: 0.66rem;
    color: var(--text-secondary);
    display: block;
}
.toggle-row.compact-toggle .toggle-switch {
    transform: scale(0.75);
    transform-origin: right center;
    flex-shrink: 0;
}

@media (max-width: 1280px) {
    .hero-container.advanced-mode {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .hero-container.simple-mode,
    .hero-container.advanced-mode {
        grid-template-columns: 1fr;
    }
}




.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 8px #3b82f6;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-checkmarks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #e2e8f0;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #10b981;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #0f172a;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.hero-proof p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.panel-header {
    margin-bottom: 20px;
}
.panel-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}
.panel-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.color-picker-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.color-pad-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 8px;
}

.color-swatch {
    aspect-ratio: 1;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: monospace;
    opacity: 0.8;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.color-swatch span {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.color-swatch:hover {
    opacity: 1;
    transform: scale(1.05);
}

.color-swatch:hover span {
    opacity: 1;
}

.color-swatch.selected {
    opacity: 1;
    border-color: #3b82f6; /* Blue ring */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
.color-swatch.selected span {
    opacity: 1;
}

.settings-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin: 20px 0 12px;
}

/* Statistics Section */
.stats-section {
    width: 100%;
    background: rgba(30, 41, 59, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.stats-container {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 6px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Grid */
.features-section, .workflow-section, .faq-section {
    width: 100%;
    padding: 90px 0;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Workflow Section */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }
}

.workflow-step {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Phone Mockup (Samsung Galaxy Note 22 Ultra Large Screen Style) */
.phone-mockup {
    position: relative;
    width: 320px;
    height: 630px;
    margin: 0 auto;
    border: 8px solid #0f172a; /* Sleek dark titanium chassis */
    border-radius: 26px; /* Boxy Note Ultra edge corners */
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: #000000;
    overflow: hidden;
}


.phone-camera-dot {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background: #0f172a;
    border-radius: 50%;
    z-index: 15;
    box-shadow: inset 0 0 2px rgba(255,255,255,0.4);
}

.phone-screen-container {
    width: 100%;
    height: calc(100% - 28px);
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

#app-preview-iframe {
    width: 410px; /* High-res mobile viewport resolution */
    height: 770px;
    border: none;
    background: #ffffff;
    transform: scale(0.78); /* Zoom out website to fit phone screen */
    transform-origin: 0 0;
}


.phone-app-bar {
    width: 100%;
    height: 32px;
    background-color: #1A1A1A;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: white;
    box-sizing: border-box;
}
.status-icons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.9;
}
.phone-preview-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    background: #f8fafc;
    z-index: 5;
    transition: opacity 0.3s ease;
}

/* Professional Feature Showcase & Badge Pill */
.section-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255, 74, 38, 0.08);
    border: 1px solid rgba(255, 74, 38, 0.2);
    border-radius: 20px;
}
.section-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.section-main-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Feature Showcase Grid */
.features-showcase-section {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, #f1f5f9 100%);
    border-top: 1px solid var(--border-color);
}
.features-showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .features-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 640px) {
    .features-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.showcase-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}
.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}
.showcase-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.showcase-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.showcase-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Statistics Counter Bar */
.stats-section {
    width: 100%;
    background: #0f172a;
    padding: 48px 0;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}
.stats-container {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
.stat-card {
    padding: 16px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}
.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Features Grid Card Upgrades */
.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

/* 3-Step Workflow Cards */
.workflow-step-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 32px 24px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}
.workflow-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.step-badge-pill {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--primary);
    background: rgba(255, 74, 38, 0.08);
    border-radius: 6px;
    margin-bottom: 16px;
}

/* FAQ Cards */
.faq-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}
.faq-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.faq-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.faq-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Call to Action Banner */
.cta-banner-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-top: 1px solid #334155;
}

/* Professional Multi-Column Footer */
.app-footer {
    background: #0b0f19;
    color: #94a3b8;
    padding: 60px 0 30px;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
.footer-brand-col .brand span {
    color: #ffffff;
}
.footer-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 320px;
}
.system-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
}
.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.2s ease;
}
.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid #1e293b;
    font-size: 0.82rem;
    color: #64748b;
}
@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* --- GOOGLE ADSENSE SLOTS & SEO GUIDE STYLING --- */
.adsense-container-wrapper {
    max-width: 1180px;
}
.adsense-slot-card {
    background: var(--surface-color);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    position: relative;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.adsense-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 6px;
    opacity: 0.7;
}

/* SEO Guide Section */
.seo-guide-section {
    padding: 70px 0;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}
.seo-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .seo-guide-grid {
        grid-template-columns: 1fr;
    }
}
.seo-guide-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.seo-guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.seo-guide-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.35;
}
.seo-guide-card p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
.seo-feature-list {
    margin-top: 14px;
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.seo-feature-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* SEO Comparison Table */
.seo-table-wrapper {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.seo-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 0.92rem;
    text-align: left;
}
.seo-comparison-table th {
    background: rgba(255, 74, 38, 0.06);
    color: var(--text-primary);
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 2px solid var(--border-color);
}
.seo-comparison-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.seo-comparison-table tr:last-child td {
    border-bottom: none;
}
.seo-comparison-table tr:hover td {
    background: rgba(0, 0, 0, 0.015);
}

/* ─── 100% RESPONSIVE DESIGN & MOBILE OPTIMIZATION SYSTEM ─── */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Fluid Typography */
.hero-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem) !important;
}
.hero-subtitle {
    font-size: clamp(0.9rem, 2.2vw, 1.08rem) !important;
}
.section-title h2 {
    font-size: clamp(1.5rem, 3.8vw, 2.25rem) !important;
}
.section-badge {
    font-size: clamp(0.68rem, 1.8vw, 0.75rem);
}

/* Mobile Hamburger Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Responsive Navigation Header (< 768px) */
@media (max-width: 768px) {
    .app-header {
        padding: 12px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 20px 20px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 0.95rem;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links .nav-cta-btn {
        justify-content: center;
        margin-top: 8px;
        padding: 12px;
        font-size: 0.92rem;
        border-bottom: none;
    }
}

/* Studio Builder Layout Breakpoints */
@media (max-width: 1024px) {
    .hero-container.simple-mode {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 24px;
    }
    
    .hero-container.advanced-mode {
        grid-template-columns: 1fr 1fr;
        max-width: 768px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-container.advanced-mode {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .compact-adv-card,
    .hero-form-card .panel {
        height: auto !important;
        max-height: 600px;
    }

    .seo-table-wrapper {
        padding: 20px 16px;
    }
}

/* Smartphone Display Breakpoint (< 480px) */
@media (max-width: 480px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .hero-section {
        padding: 16px 0 12px;
    }
    
    .hero-banner {
        margin-bottom: 20px !important;
    }
    
    .hero-chips-container {
        gap: 6px;
    }
    
    .hero-chip {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .phone-mockup {
        width: 285px !important;
        height: 550px !important;
    }

    #app-preview-iframe {
        transform: scale(0.68) !important;
    }

    .legal-content-card {
        padding: 20px 16px !important;
    }

    .showcase-card {
        padding: 18px 12px;
    }

    .stats-section {
        padding: 32px 0;
    }
    
    .stat-number {
        font-size: 1.85rem;
    }
}



