body{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
img{pointer-events:none;}


.aurora-btn {
    position: relative;
    padding: 10px 24px;
    border-radius: 9999px;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #000;
    letter-spacing: -0.01em;
}

.aurora-btn::before {
    display: none;
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg,
        #00FFFF,
        #c400ff,
        #ff00ea,
        #ffffff,
        #00FFFF
    );
    filter: blur(20px);
    animation: aurora-spin 4s linear infinite;
    z-index: -2;
    transition: filter 1.5s ease, opacity 1.5s ease;
}

.aurora-btn.grayscale::before {
    filter: blur(20px) grayscale(1);
    opacity: 0.5;
    animation-play-state: paused;
}

.aurora-btn:hover::before {
    filter: blur(20px) grayscale(0) !important;
    opacity: 1 !important;
    animation-play-state: running !important;
}



.aurora-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.6;
    mix-blend-mode: overlay;
    z-index: -1;
    pointer-events: none;
}

.aurora-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px -10px rgba(180, 50, 255, 0.6);
}

.aurora-btn:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, #4b4b4b, #1a1a1a);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.aurora-btn span.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-family: monospace;
    font-weight: bold;
    font-size: 18px;
}

.aurora-btn:hover span.arrow {
    transform: translateX(4px) rotate(-45deg);
}

@keyframes aurora-spin {
    to {
        transform: rotate(360deg);
    }
}
:root {
    --bg: #ffffff;
    --surface: #f5f5f7;
    --surface-hover: #e5e5ea;
    --border: rgba(0, 0, 0, 0.08);
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent: #000000;
    --danger: #ff3b30;
    --radius-sm: 8px;
    --radius-md: 16px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
}

body {
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
}



#builder-layout {
    display: grid;
    grid-template-columns: 60px 350px 6px 1fr 6px 320px;
    height: 100vh;
    width: 100vw;
    transition: grid-template-columns 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resize-handle {
    width: 6px;
    background: #000;
    cursor: col-resize;
    position: relative;
    z-index: 20;
    transition: background 0.2s;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.resize-handle:hover,
.resize-handle:active {
    background: var(--accent);
    border-color: var(--accent);
}

.resize-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 20px;
    background: #333;
    border-radius: 1px;
}

.resize-handle:hover::after {
    background: #000;
}

#builder-layout.focus-mode {
    grid-template-columns: 0 0 1fr 0;
}

#builder-layout.focus-mode .nav-rail,
#builder-layout.focus-mode .editor-panel,
#builder-layout.focus-mode .settings-sidebar {
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}



.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 9999px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.back-home-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.back-home-btn:active {
    transform: translateY(0);
}

.nav-rail {
    background: var(--bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    z-index: 10;
}

.rail-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
    padding: 0 10px;
}

.sidebar-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 40px;
}

.nav-rail-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.rail-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.rail-item:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
}

.rail-item.active {
    color: var(--bg);
    background: var(--accent);
}


.editor-panel {
    background: var(--bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.section-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 5;
}

.section-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
}

.add-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.add-btn:hover {
    background: var(--surface-hover);
    border-color: var(--text-secondary);
}

.builder-section {
    padding: 1.5rem;
}

.builder-section.hidden {
    display: none;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.premium-input {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.premium-input:focus {
    outline: none;
    border-color: var(--text-secondary);
    background: var(--surface-hover);
}

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

.builder-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    position: relative;
}

.remove-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.5;
}

.remove-btn:hover {
    opacity: 1;
}


.rte-container {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    overflow: hidden;
}

.rte-toolbar {
    display: flex;
    gap: 4px;
    padding: 8px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-hover);
}

.rte-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.rte-btn:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.1);
}

.rte-editor {
    min-height: 100px;
    padding: 12px;
    color: var(--text-primary);
    outline: none;
    font-size: 0.9rem;
    line-height: 1.5;
}

.rte-editor ul, .rte-editor ol {
    padding-left: 20px;
}


.preview-pane {
    background: #F3F4F6;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    overflow: hidden;
    position: relative;
}

.paper-preview {
    background: white;
    width: 210mm;
    min-height: 297mm;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transform-origin: top center;
    transition: transform 0.1s ease-out;
    border: 1px solid rgba(0,0,0,0.05);
}

.zoom-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.zoom-controls button {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.zoom-controls button:hover {
    background: rgba(255, 255, 255, 0.1);
}

#zoom-level {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    color: var(--text-secondary);
}


.settings-sidebar {
    background: var(--bg);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1.5rem;
}

#dashboard-section {
    min-height: 100vh;
    padding: 80px 2rem 40px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dashboard-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

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

.settings-header h2 {
    font-size: 1rem;
    font-weight: 600;
}

.reset-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
}

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

.layout-group {
    margin-bottom: 2rem;
}

.layout-group h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.layout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    cursor: grab;
}

.drag-handle {
    color: var(--text-secondary);
    cursor: grab;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    line-height: 0.5;
}

.layout-item.drag-over {
    border: 1px dashed var(--accent);
    background: rgba(255, 255, 255, 0.05);
}


.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--text-primary);
}

input:checked + .slider:before {
    transform: translateX(16px);
}


.font-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.font-option {
    padding: 0.8rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.font-option:hover {
    background: var(--surface-hover);
    border-color: var(--text-secondary);
}

.upload-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.upload-divider::before,
.upload-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.upload-divider span {
    padding: 0 1rem;
}

.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s;
    cursor: pointer;
    width: 100%;
}

.upload-area:hover {
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
}

.linkedin-area {
    border-style: solid;
    border-width: 1px;
    padding: 2rem;
    text-align: left;
}

.glass-textarea {
    width: 100%;
    min-height: 300px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s;
}

.glass-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.tab-content {
    width: 100%;
}

.font-option.active {
    background: var(--text-primary);
    color: var(--bg);
    border-color: var(--text-primary);
}

.css-editor {
    width: 100%;
    height: 150px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    padding: 1rem;
    font-family: monospace;
    font-size: 0.8rem;
    resize: vertical;
}

.css-editor:focus {
    outline: none;
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 3rem;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.dot {
    color: var(--accent);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-menu .aurora-btn {
    margin-left: 2rem;
}

#onboarding-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.step-container {
    max-width: 800px;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#step-company {
    max-width: 1000px;
}

.hero-text {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-align: center;
}

.subtitle-text {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text-animated {
    background: linear-gradient(
        to right,
        #000 45%,
        #9ca3af 50%,
        #000 55%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

.hero-reveal {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(10px);
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.input-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}




@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}





.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }





.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 2;
    position: relative;
}

.industrial-sub {
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    font-weight: 400;
}

.hero-actions.dual-cta {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}


.aurora-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.aurora-btn .btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
    mix-blend-mode: screen;
}

.aurora-btn:hover {
    border-color: rgba(167, 139, 250, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.2);
}

.aurora-btn:hover .btn-glow {
    opacity: 1;
    transform: scale(1);
    animation: rotateGlow 4s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1); }
}


.cyber-btn {
    position: relative;
    background: transparent;
    color: #38bdf8;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #38bdf8;
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cyber-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3), inset 0 0 10px rgba(56, 189, 248, 0.1);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
    transform: translateY(-2px);
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
    transition: left 0.5s ease;
}

.cyber-btn:hover::before {
    left: 100%;
    transition: left 0.6s ease;
}

.glitch-effect {
    display: none;
}

.fade-out-up {
    animation: fadeOutUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeOutUp {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }

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

.hidden {
    display: none !important;
}

.tabs {
    display: flex;
    background: var(--surface);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 20px;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--surface-hover);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.mt-large {
    margin-top: 3rem;
}

.text-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: color 0.2s;
}

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


.search-container {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.search-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}



.view-toggle {
    display: flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px;
    gap: 4px;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toggle-btn:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
}

.toggle-btn.active {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.company-grid::-webkit-scrollbar {
    width: 6px;
}

.company-grid::-webkit-scrollbar-track {
    background: transparent;
}

.company-grid::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 3px;
}

.company-grid.list-view {
    display: flex;
    flex-direction: column;
}

.company-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.list-view .company-card {
    flex-direction: row;
    padding: 1rem;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    justify-content: flex-start;
    background: transparent;
    backdrop-filter: none;
}

.list-view .company-card:last-child {
    border-bottom: none;
}

.company-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.4);
}

.list-view .company-card:hover {
    transform: translateX(6px);
    background: var(--surface-hover);
    box-shadow: none;
}

.company-card.selected {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 1px var(--text-primary);
    position: relative;
}

.company-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--text-primary);
    color: var(--bg);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.company-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.dark-logo .company-logo {
    filter: brightness(0) drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.company-card:hover .company-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.2));
}

.company-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.company-card:hover .company-name,
.company-card.selected .company-name {
    color: var(--text-primary);
}

.general-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    cursor: pointer;
}

.general-checkbox {
    appearance: none;
    width: 40px;
    height: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.general-checkbox::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--text-secondary);
    border-radius: 50%;
    transition: all 0.3s;
}

.general-checkbox:checked {
    background: var(--text-primary);
    border-color: var(--text-primary);
}

.general-checkbox:checked::after {
    transform: translateX(18px);
    background: var(--bg);
}


.autocomplete-items {
    position: absolute;
    border: 1px solid var(--border);
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
    max-height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.autocomplete-items::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-items::-webkit-scrollbar-track {
    background: transparent;
}

.autocomplete-items::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 3px;
}

.autocomplete-items div {
    padding: 12px 16px;
    cursor: pointer;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.2s;
    font-size: 0.95rem;
}

.autocomplete-items div:last-child {
    border-bottom: none;
}

.autocomplete-items div:hover {
    background-color: var(--surface-hover);
    color: var(--text-primary);
    padding-left: 20px;
}

.autocomplete-active {
    background-color: var(--surface-hover) !important;
    color: var(--text-primary) !important;
}

.autocomplete-items strong {
    color: var(--text-primary);
    font-weight: 600;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.login-card {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.login-divider::before {
    margin-right: 1rem;
}

.login-divider::after {
    margin-left: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.8rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--surface-hover);
    border-color: var(--text-secondary);
    transform: translateY(-1px);
}

.social-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.auth-nav {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}


.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.auth-tabs {
    display: flex;
    background: var(--bg);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.auth-tab {
    padding: 8px 24px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-tab.active {
    background: var(--surface-hover);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.95rem;
}

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

.auth-input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.8rem 1rem;
}

.label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.forgot-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
}

.auth-submit-btn {
    position: static;
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    justify-content: center;
    background: var(--text-primary);
    color: var(--bg);
}

.auth-divider {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.auth-divider span {
    padding: 0 1rem;
}

.social-auth {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.8rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
}

.social-btn:hover {
    background: var(--surface-hover);
    border-color: var(--text-secondary);
}

.social-btn img {
    width: 20px;
    height: 20px;
}

.dark-mode-adjust img {
    filter: invert(1);
}


.icon-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.icon-btn:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
    border-color: var(--border);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

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

.animate-scale-in {
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger-delay-1 { animation-delay: 0.1s; }
.stagger-delay-2 { animation-delay: 0.2s; }
.stagger-delay-3 { animation-delay: 0.3s; }

.glow-btn:active {
    transform: scale(0.98);
}

.amoled-input:focus,
.premium-input:focus {
    box-shadow: 0 0 0 2px var(--text-secondary);
}

#builder-layout {
    transition: grid-template-columns 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#builder-layout.resizing {
    transition: none;
}
html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}


#hero-industrial {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    background: #000;
}

.industrial-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #000;
}

.mesh-gradient {
    position: absolute;
    inset: -50%;
    background: radial-gradient(at 50% 50%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
                radial-gradient(at 0% 0%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
                radial-gradient(at 100% 0%, rgba(34, 211, 238, 0.15) 0%, transparent 50%),
                radial-gradient(at 100% 100%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
                radial-gradient(at 0% 100%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    filter: blur(60px);
    animation: mesh-rotate 20s linear infinite;
    opacity: 0.6;
}

@keyframes mesh-rotate {
    0% { transform: rotate(0deg) scale(1.5); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1.5); }
}

.grid-layer {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

.hero-content {
    z-index: 10;
    text-align: center;
    max-width: 1000px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.industrial-title {
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    color: #fff;
    text-transform: uppercase;
}

.hollow-text {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
    color: transparent;
    position: relative;
}

.hollow-text::after {
    content: 'ABOVE';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: rgba(255,255,255,0.1);
    filter: blur(2px);
    z-index: -1;
}

.industrial-sub {
    font-family: monospace;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    margin-bottom: 4rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0.6;
    z-index: 10;
}

.scroll-text {
    font-size: 0.6rem;
    font-family: monospace;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #fff, transparent);
    animation: scroll-flow 2s infinite;
}

@keyframes scroll-flow {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}


#about-section {
    padding: 10rem 2rem;
    background: #050505;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1rem;
}

.header-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #ec4899);
    margin: 0 auto;
}

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

.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-panel:hover::before {
    transform: translateX(100%);
}

.card-icon {
    font-family: monospace;
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
    margin-bottom: 2rem;
    font-weight: 700;
}

.glass-panel h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.glass-panel p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

#app-container {
    padding-top: 4rem;
}


.industrial-footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #020202;
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}


#hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.02) 0%, transparent 50%);
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    background: linear-gradient(180deg, var(--text-primary) 0%, rgba(0,0,0,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

.secondary-link {
    position: relative;
    padding: 12px 28px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    z-index: 1;
    overflow: hidden;
}

.secondary-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    z-index: -1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scaleX(0);
    transform-origin: left;
}

.secondary-link:hover {
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.15), 0 10px 10px -5px rgba(99, 102, 241, 0.1);
}

.secondary-link:hover::before {
    transform: scaleX(1);
}




#about-section {
    padding: 8rem 2rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

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

.section-header-minimal h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.bio-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-grid-minimal {
    display: grid;
    gap: 2rem;
}

.feature-item {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

.minimal-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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


@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


#features-section {
    padding: 8rem 2rem;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-card-large {
    display: flex;
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    min-height: 400px;
    opacity: 0;
    transform: translateY(40px);
}

.feature-card-large.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feature-content {
    padding: 4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.feature-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--surface-hover);
    line-height: 1;
    margin-bottom: 1rem;
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: -1;
    opacity: 0.5;
}

.feature-card-large h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.feature-card-large p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
}

.feature-visual {
    flex: 1;
    background: var(--surface-hover);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.resume-stack {
    position: relative;
    width: 200px;
    height: 280px;
    perspective: 1000px;
}

.resume-sheet {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    transition: transform 0.5s ease;
}

.resume-sheet:nth-child(1) { transform: translate(0, 0) rotate(0deg); z-index: 3; }
.resume-sheet:nth-child(2) { transform: translate(10px, 10px) rotate(5deg); z-index: 2; opacity: 0.8; }
.resume-sheet:nth-child(3) { transform: translate(20px, 20px) rotate(10deg); z-index: 1; opacity: 0.6; }

.feature-card-large:hover .resume-sheet:nth-child(1) { transform: translate(0, -10px) rotate(-2deg); }
.feature-card-large:hover .resume-sheet:nth-child(2) { transform: translate(20px, 15px) rotate(8deg); }
.feature-card-large:hover .resume-sheet:nth-child(3) { transform: translate(40px, 30px) rotate(15deg); }


.browser-window {
    width: 280px;
    height: 180px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.feature-card-large:hover .browser-window {
    transform: scale(1.05);
}

.browser-header {
    height: 24px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d1d1;
}

.browser-body {
    flex: 1;
    background: #fff;
    background-image: linear-gradient(to right, #f5f5f7 1px, transparent 1px), linear-gradient(to bottom, #f5f5f7 1px, transparent 1px);
    background-size: 20px 20px;
}


.inverse-card {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .feature-card-large, .inverse-card {
        flex-direction: column;
    }
    .feature-visual {
        min-height: 250px;
    }
}








.about-container-focused {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
}

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

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.about-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
    background: linear-gradient(180deg, var(--text-primary) 0%, rgba(0,0,0,0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-bio {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 400;
}

.about-bio p {
    margin-bottom: 1.5rem;
}




.aurora-btn, 
.premium-input, 
.glass-textarea, 
.feature-pill {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}


.aurora-btn {
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.aurora-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(0, 0, 0, 0.95) !important;
}

.aurora-btn:active {
    transform: translateY(1px) scale(0.98) !important;
}


.aurora-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.5s;
    pointer-events: none;
    z-index: -1;
}

.aurora-btn:hover::after {
    left: 100%;
    transition: 0.5s ease-in-out;
}


.premium-input,
.glass-textarea {
    color: white !important;
    font-size: 0.95rem;
}

.premium-input::placeholder,
.glass-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.premium-input:focus,
.glass-textarea:focus {
    background: rgba(5, 5, 5, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1) !important;
    outline: none;
}


.feature-pill {
    font-weight: 400;
}

.feature-pill:hover {
    transform: scale(1.05) !important;
    border-color: #fff !important;
    background: black !important;
}


.auth-submit-btn,
.social-btn,
.cyber-btn,
.glow-btn {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.auth-submit-btn:hover,
.social-btn:hover,
.cyber-btn:hover,
.glow-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(0, 0, 0, 0.95) !important;
}

.auth-submit-btn:active,
.social-btn:active,
.cyber-btn:active,
.glow-btn:active {
    transform: translateY(1px) scale(0.98) !important;
}


.login-body {
    background: #ffffff;
    min-height: 100vh;
    overflow: hidden;
}

.login-split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}


.auth-panel-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: 6rem; 
    position: relative;
    background: #ffffff;
}

.auth-container-minimal {
    width: 100%;
    max-width: 440px; 
    z-index: 10;
    padding: 0;
    margin: 0 auto; 
}

.login-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 3rem;
    display: block;
}

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

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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


.auth-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    background: none;
    border: none;
    padding-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    font-weight: 500;
}

.auth-tab:hover {
    color: var(--text-primary);
}

.auth-tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}


.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    background: none;
    border: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
}

.toggle-password:hover {
    color: white;
}


.auth-divider {
    margin: 2rem 0;
    text-align: center;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    background: #ffffff;
    padding: 0 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.social-auth {
    display: flex;
    gap: 1rem;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: var(--radius-sm);
}

.social-btn img {
    height: 20px;
    width: auto;
}


.auth-panel-right {
    background: #f5f5f7;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

.glass-visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.animated-glass-card {
    width: 320px;
    height: 480px;
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    animation: floatCard 6s ease-in-out infinite;
    z-index: 2;
    overflow: hidden;
}

.glass-content {
    padding: 2rem;
    opacity: 0.6;
}

.glass-line {
    height: 12px;
    background: rgba(0,0,0,0.1);
    border-radius: 6px;
    margin-bottom: 1rem;
    width: 80%;
}

.glass-line.short {
    width: 50%;
}

.glass-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.shine-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255,255,255,0.4) 50%,
        transparent 100%
    );
    animation: shineCard 4s infinite linear;
}


.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.6;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: #a78bfa;
    top: 10%;
    right: 10%;
    animation: floatOrb1 8s ease-in-out infinite;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: #38bdf8;
    bottom: 10%;
    left: 10%;
    animation: floatOrb2 10s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes shineCard {
    0% { transform: translate(-50%, -50%) rotate(45deg); }
    100% { transform: translate(50%, 50%) rotate(45deg); }
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}


@media (max-width: 900px) {
    .login-split-view {
        grid-template-columns: 1fr;
    }
    .auth-panel-right {
        display: none;
    }
}


#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4), rgba(255, 255, 255, 0));
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4), rgba(255, 255, 255, 0));
    bottom: -50px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.3), rgba(255, 255, 255, 0));
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}


.blur-in-text {
    animation: blurIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(10px);
}

@keyframes blurIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}


@keyframes slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-40px) scale(0.95);
        filter: blur(10px);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.animate-exit {
    animation: slideOutLeft 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

.animate-enter {
    animation: slideInRight 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}


.glass-input {
    background: rgba(10, 10, 10, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    outline: none;
}

.input-container {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}


.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 1.5rem;
    height: calc(100vh - 120px);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.bento-item {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}


.area-magic-upload {
    grid-column: span 5;
    grid-row: span 8;
    background: linear-gradient(145deg, #ffffff, #fafafa);
}

.area-command {
    grid-column: span 4;
    grid-row: span 5;
}

.area-profile {
    grid-column: span 3;
    grid-row: span 5;
}

.area-vibe {
    grid-column: span 7;
    grid-row: span 4;
}

.area-actions {
    grid-column: span 5;
    grid-row: span 3;
    display: flex;
    gap: 1rem;
    align-items: center;
}


.magic-upload-zone {
    height: 100%;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: radial-gradient(circle at center, rgba(0,0,0,0.02) 0%, transparent 70%);
}

.magic-upload-zone:hover {
    border-color: #000;
    background: radial-gradient(circle at center, rgba(0,0,0,0.05) 0%, transparent 70%);
}

.upload-icon-large {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: #000;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.magic-upload-zone:hover .upload-icon-large {
    transform: scale(1.1) rotate(-5deg);
}


.social-connect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    height: 100%;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.social-btn:hover {
    background: #f5f5f7;
    border-color: #000;
}


.vibe-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: 100%;
}

.vibe-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vibe-card:hover {
    background: #f9f9f9;
    border-color: #000;
}

.vibe-card.selected {
    background: #000;
    color: #fff;
    border-color: #000;
}

.vibe-card.selected .vibe-icon {
    color: #fff;
}


.building-simulation {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
    z-index: 1000;
}

.building-simulation.active {
    opacity: 1;
    transform: translateY(0);
}

.loader-dot {
    width: 8px;
    height: 8px;
    background: #00FFFF;
    border-radius: 50%;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.4; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}

.pill-input-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    padding: 6px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.pill-input-container:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.02);
}

.pill-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px 24px;
    font-size: 1.25rem;
    color: var(--text-primary);
    outline: none;
    border-radius: 9999px;
    font-weight: 400;
}

.pill-input::placeholder {
    color: #a1a1aa;
    font-weight: 300;
}

.pill-action-btn {
    width: 52px;
    height: 52px;
    background: #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
    flex-shrink: 0;
    margin-right: 2px;
}

.pill-action-btn:hover:not(:disabled) {
    transform: scale(1.05);
    background: #000000;
}

.pill-action-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.pill-action-btn:disabled {
    background: #e5e5e5;
    cursor: not-allowed;
    transform: none;
}


.interactive-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 1px, transparent 1px);
    mask-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), black 0%, rgba(0,0,0,0.2) 50%, transparent 200px);
    -webkit-mask-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), black 0%, rgba(0,0,0,0.2) 50%, transparent 200px);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.interactive-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.9) 0%, transparent 120px);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.page-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

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

.support-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -1px rgba(0, 0, 0, 0.1);
    border-color: rgba(0,0,0,0.1);
}

.text-xl {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.text-secondary {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #111827;
}

.col-span-2 {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .col-span-2 {
        grid-column: span 1;
    }
}


.feedback-section {
    margin-top: 3rem;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.feedback-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #111111;
}

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

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

.topic-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    margin-left: 0.5rem;
}

.topic-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-color: #f9fafb;
    cursor: pointer;
}

.feedback-textarea {
    width: 100%;
    border-radius: 20px;
    padding: 1rem 1.5rem;
    resize: none;
    min-height: 100px;
    font-family: inherit;
}

.feedback-btn {
    align-self: flex-start;
}


.autocomplete-items {
    position: absolute;
    border: 1px solid var(--border);
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.autocomplete-items div {
    padding: 12px 20px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: background-color 0.1s, color 0.1s;
}

.autocomplete-items div:hover, .autocomplete-active {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-bottom-color: #000000;
}


.new-feature-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.logo-strip {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 6rem;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.5;
    filter: grayscale(100%);
}

.brand-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.feature-headline h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111;
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 8rem;
}

.feature-card-clean {
    background: #fff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    position: relative;
    z-index: 1;
}

.feature-cards-grid > div:nth-child(1):hover {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3), 0 0 120px rgba(16, 185, 129, 0.1);
}

.feature-cards-grid > div:nth-child(2):hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3), 0 0 120px rgba(59, 130, 246, 0.1);
}

.feature-cards-grid > div:nth-child(3):hover {
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.3), 0 0 120px rgba(239, 68, 68, 0.1);
}

.feature-cards-grid > div:nth-child(4):hover {
    box-shadow: 0 0 40px rgba(250, 204, 21, 0.3), 0 0 120px rgba(250, 204, 21, 0.1);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #52525b, #27272a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.feature-card-clean h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111;
}

.feature-card-clean p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.learn-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.architecture-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start; 
}

.arch-visual {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    padding: 2rem;
    min-height: 400px;
    position: relative;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-visual img {
    width: 100%;
    height: auto;
    opacity: 0.8;
}

.arch-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.arch-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.dark-button {
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

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

@media (max-width: 768px) {
    .feature-header-grid, .architecture-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .feature-cards-grid {
        grid-template-columns: 1fr;
    }
    .logo-strip {
        gap: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .glass-header {
        padding: 1rem;
    }
    .nav-menu {
        display: none; 
    }
    .mobile-menu-btn {
        display: block; 
    }
}

@media (max-width: 1200px) {
    #builder-layout {
        grid-template-columns: 60px 300px 6px 1fr 6px 280px;
    }
}


@media (max-width: 900px) {
    #builder-layout {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .resize-handle {
        display: none;
    }
    .nav-rail {
        flex-direction: row;
        width: 100%;
        height: 60px;
        padding: 0 1rem;
        border-right: none;
        border-bottom: 1px solid var(--border);
        justify-content: space-between;
    }
    .nav-rail-items {
        flex-direction: row;
        gap: 1rem;
        width: auto;
    }
    .rail-logo {
        width: auto;
        margin-bottom: 0;
    }
    .editor-panel {
        width: 100%;
        height: auto;
        border-right: none;
        max-height: 50vh;
    }
    .settings-sidebar {
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 1px solid var(--border);
    }
    .preview-pane {
        height: 60vh;
        width: 100%;
        padding: 1rem;
    }
    .paper-preview {
        transform: scale(0.6);
        transform-origin: top center;
        margin-top: 1rem;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        animation: slideDown 0.3s ease;
    }
    .nav-menu.active .nav-link {
        margin-left: 0;
        font-size: 1.2rem;
        text-align: center;
    }
    .nav-link { margin-left: 0; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
