:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --secondary: #6b7280;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --surface: #ffffff;
    
    --text: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.9);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
}

.brand-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

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

.user-badge {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-hero, .btn-hero-outline, .btn-cta {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.938rem;
}

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

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

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-hero {
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    border-radius: var(--radius);
}

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

.btn-hero-outline {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn-hero-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-cta {
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), #00a8ff);
    color: white;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Landing Page */
.landing-hero {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #e0f2fe, #ddd6fe);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #00a8ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.hero-visual {
    position: relative;
    height: 600px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.card-1 {
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.card-2 {
    top: 200px;
    right: 50px;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 100px;
    left: 100px;
    animation-delay: 1s;
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-weight: 600;
    color: var(--text);
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

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

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary), #00a8ff);
    text-align: center;
    color: white;
}

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

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

/* Auth Pages */
.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-secondary);
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

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

.auth-header p {
    color: var(--text-secondary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group small {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.error-message, .success-message {
    padding: 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    display: none;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
}

.btn-submit {
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Dashboard */
.dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

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

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

.subscription-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.subscription-badge.free {
    background: #e0e7ff;
    color: #3730a3;
}

.subscription-badge.pro {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.upgrade-banner {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.upgrade-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.upgrade-icon {
    font-size: 2rem;
}

.upgrade-content h3 {
    margin-bottom: 0.25rem;
}

.upgrade-content p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.btn-upgrade {
    background: white;
    color: #4f46e5;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

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

.project-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.25rem;
}

.project-menu {
    position: relative;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem 0.5rem;
    color: var(--text-secondary);
}

.menu-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    display: none;
    min-width: 150px;
    z-index: 10;
}

.menu-dropdown.active {
    display: block;
}

.menu-dropdown a, .menu-dropdown button {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: left;
    text-decoration: none;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.menu-dropdown a:hover, .menu-dropdown button:hover {
    background: var(--bg-secondary);
}

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

.btn-edit {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: 1rem;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

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

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

.modal-header h2 {
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal form {
    padding: 1.5rem;
}

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

/* Pricing */
.pricing-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: var(--bg-tertiary);
    color: var(--text);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-badge.popular {
    background: linear-gradient(135deg, var(--primary), #00a8ff);
    color: white;
}

.pricing-card h2 {
    font-size: 1.75rem;
    margin: 1.5rem 0 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
}

.price-period {
    color: var(--text-secondary);
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.75rem 0;
    display: flex;
    gap: 0.75rem;
    align-items: start;
}

.check {
    color: var(--success);
    font-weight: bold;
}

.cross {
    color: var(--text-tertiary);
}

.btn-plan {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-plan.current {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.faq-section {
    max-width: 900px;
    margin: 4rem auto 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: var(--text);
}

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

/* Builder */
.builder-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    overflow: hidden;
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.back-btn {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

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

.project-title-input {
    border: none;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.project-title-input:focus {
    outline: none;
    background: var(--bg-secondary);
}

.save-status {
    font-size: 0.875rem;
    color: var(--success);
}

.header-right {
    display: flex;
    gap: 1rem;
}

.builder-workspace {
    flex: 1;
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 0;
    overflow: hidden;
    min-height: 0;
}

.components-panel, .properties-panel, .theme-panel {
    background: white;
    border-right: 1px solid var(--border);
    overflow-y: auto;
}

.properties-panel, .theme-panel {
    border-right: none;
    border-left: 1px solid var(--border);
}

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

.panel-header h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 700;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
}

.components-list {
    padding: 1rem;
}

.component-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    cursor: grab;
    transition: var(--transition);
}

.component-item:hover {
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

.component-item:active {
    cursor: grabbing;
}

.component-icon {
    font-size: 1.5rem;
}

.component-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.component-desc {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.component-divider {
    padding: 1rem 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    font-weight: 700;
}

.canvas-area {
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--bg-secondary);
    height: 100%;
    padding: 2rem;
}

.canvas {
    background: white;
    min-height: calc(100vh - 150px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
}

.canvas-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-tertiary);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.canvas-component {
    position: relative;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 50px;
}

.canvas-component.selected {
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.canvas-component:hover .component-controls {
    opacity: 1;
}

/* Canvas Growth */
.canvas {
    display: block;
    overflow: visible;
}

.canvas-component {
    position: relative;
    width: 100%;
    display: block;
}

/* Ensure all canvas children are block elements */
.canvas > * {
    display: block;
    width: 100%;
}

.properties-content, .theme-content {
    padding: 1.5rem;
}

.text-muted {
    color: var(--text-tertiary);
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.export-modal .modal-content {
    max-width: 700px;
}

.export-options {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.export-option {
    padding: 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.export-option:hover {
    border-color: var(--primary);
    background: var(--bg-secondary);
}

.option-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.option-name {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.option-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pro-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    border-radius: 50px;
    font-size: 0.625rem;
    font-weight: 700;
}

.preview-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    height: 90vh;
}

.preview-frame {
    width: 100%;
    height: calc(100% - 70px);
    border: none;
    background: white;
}

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .landing-hero {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .builder-workspace {
        flex: 1;
        display: grid;
        grid-template-columns: 280px 1fr 300px;
        grid-template-rows: 1fr;
        gap: 0;
        overflow: hidden;
        height: calc(100vh - 80px);
    }
    
    .components-panel, .properties-panel {
        display: none;
    }
}

.component-section {
    margin-bottom: 0.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    cursor: pointer;
    user-select: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.section-header:hover {
    background: var(--border);
}

.section-title {
    font-weight: 700;
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
}

.section-toggle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.section-content {
    padding: 0.5rem 0;
    display: block;
}

.section-content.collapsed {
    display: none;
}

.settings-button {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.settings-button:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
}
