/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --bg-color: #f8fafc;
    --bg-dark: #0f172a;
    --text-color: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Navbar */
.navbar {
    background: white;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 1.8rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

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

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

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

.btn-secondary:hover {
    background: #475569;
}

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

.btn-success:hover {
    background: #059669;
}

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

.btn-danger:hover {
    background: #dc2626;
}

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

.btn-white:hover {
    background: #f1f5f9;
}

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

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

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

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-light);
    transition: color 0.3s;
}

.btn-icon:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.phone-mockup {
    width: 200px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.phone-mockup i {
    font-size: 8rem;
    opacity: 0.5;
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: white;
}

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

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

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Recent Apps Section */
.recent-apps {
    padding: 4rem 0;
    background: white;
}

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

.app-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.app-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.app-icon i {
    font-size: 2rem;
    color: white;
}

.app-card h3 {
    margin-bottom: 0.5rem;
}

.app-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.app-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.platform-android {
    background: #3ddc84;
    color: white;
}

.platform-ios {
    background: #000;
    color: white;
}

.platform-both {
    background: linear-gradient(90deg, #3ddc84, #000);
    color: white;
}

.downloads {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

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

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer p {
    opacity: 0.7;
}

/* Create Section */
.create-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.create-header {
    text-align: center;
    margin-bottom: 3rem;
}

.create-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.create-header p {
    color: var(--text-light);
}

.create-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

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

.platform-option input[type="radio"] {
    display: none;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.platform-card i {
    font-size: 3rem;
    color: var(--text-light);
}

.platform-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

.platform-card small {
    color: var(--text-light);
}

.platform-option input[type="radio"]:checked + .platform-card {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.platform-option input[type="radio"]:checked + .platform-card i {
    color: var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: #fee;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.alert-success {
    background: #efe;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

/* Dashboard */
.dashboard-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
}

.empty-state i {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state h2 {
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.project-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.project-card-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-color);
}

.project-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-icon i {
    font-size: 1.5rem;
    color: white;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-secondary {
    background: var(--secondary-color);
    color: white;
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-body h3 {
    margin-bottom: 0.5rem;
}

.project-card-body p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
}

.project-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.project-card-footer {
    padding: 1rem 1.5rem;
    background: var(--bg-color);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Editor */
.editor-body {
    margin: 0;
    overflow: hidden;
}

.editor-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.back-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
}

.back-btn:hover {
    background: var(--bg-color);
}

.project-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.editor-actions {
    display: flex;
    gap: 0.5rem;
}

.editor-container {
    display: flex;
    height: calc(100vh - 60px);
}

.file-sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-list {
    flex: 1;
    overflow-y: auto;
}

.file-item {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.3s;
    border-bottom: 1px solid var(--border-color);
}

.file-item:hover {
    background: var(--bg-color);
}

.file-item.active {
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid var(--primary-color);
}

.file-item i {
    color: var(--text-light);
}

.file-item span {
    flex: 1;
    font-size: 0.9rem;
}

.file-item .delete-file-btn {
    opacity: 0;
    transition: opacity 0.3s;
}

.file-item:hover .delete-file-btn {
    opacity: 1;
}

.code-editor-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #272822;
}

.editor-tabs {
    background: #1e1f1c;
    border-bottom: 1px solid #000;
}

.tabs-list {
    display: flex;
    overflow-x: auto;
}

.editor-tab {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #272822;
    color: #a9b7c6;
    border-right: 1px solid #000;
    cursor: pointer;
    white-space: nowrap;
}

.editor-tab.active {
    background: #272822;
    color: white;
}

.editor-tab .close-tab {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.editor-tab .close-tab:hover {
    opacity: 1;
}

.editor-content {
    flex: 1;
    position: relative;
}

.no-file-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #666;
}

.no-file-message i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

#codeEditor {
    display: none;
}

.CodeMirror {
    height: 100%;
    font-size: 14px;
}

.preview-panel {
    width: 0;
    background: white;
    border-left: 1px solid var(--border-color);
    overflow: hidden;
    transition: width 0.3s;
}

.preview-panel.active {
    width: 400px;
}

.preview-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-content {
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    border: 12px solid #333;
    border-radius: 30px;
    background: white;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #666;
    border-radius: 3px;
}

.preview-output {
    padding: 30px 20px 20px;
    height: 100%;
    overflow-y: auto;
}

/* Publish Section */
.publish-section,
.app-view-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-light);
}

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

.publish-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body {
    padding: 1.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.status-published {
    background: var(--success-color);
    color: white;
}

.status-draft {
    background: var(--secondary-color);
    color: white;
}

.card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.build-form .form-group {
    margin-bottom: 1rem;
}

.builds-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.builds-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.build-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 8px;
}

.build-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.build-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.build-icon i {
    font-size: 1.5rem;
    color: white;
}

.build-item h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.build-item p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.text-muted {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* App View */
.app-view-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.app-view-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.app-view-icon i {
    font-size: 3rem;
    color: white;
}

.app-view-info {
    flex: 1;
}

.app-view-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.app-view-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.app-view-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
}

.app-view-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.app-view-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.app-view-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.app-view-card h2,
.app-view-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.detail-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-label {
    font-weight: 500;
    color: var(--text-light);
}

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

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 8px;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.download-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-icon i {
    font-size: 1.5rem;
    color: white;
}

.download-item h3 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.app-view-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.phone-preview {
    display: flex;
    justify-content: center;
}

.phone-preview .phone-frame {
    width: 200px;
    height: 400px;
}

.phone-screen {
    padding: 30px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
}

.phone-screen i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    transform: translateX(400px);
    transition: transform 0.3s;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-error {
    border-left: 4px solid var(--danger-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--card-shadow);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .features-grid,
    .apps-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .platform-selector {
        grid-template-columns: 1fr;
    }

    .editor-container {
        flex-direction: column;
    }

    .file-sidebar {
        width: 100%;
        height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .preview-panel.active {
        position: fixed;
        top: 60px;
        right: 0;
        bottom: 0;
        width: 100%;
        z-index: 100;
    }

    .publish-grid {
        grid-template-columns: 1fr;
    }

    .app-view-header {
        flex-direction: column;
        text-align: center;
    }

    .app-view-grid {
        grid-template-columns: 1fr;
    }

    .build-item,
    .download-item {
        flex-direction: column;
        gap: 1rem;
    }

    .build-actions,
    .download-item .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .project-card-footer {
        flex-direction: column;
    }

    .project-card-footer .btn {
        width: 100%;
        justify-content: center;
    }
}
