/* Main CSS - Clean & Minimal Base Styles */

/* Import Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

/* GrowthOS Brand Styling */
h1 .growth-part,
h1 .os-part {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

h1 .growth-part {
    font-weight: 400;
}

h1 .os-part {
    font-weight: 700;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }

p {
    color: #666666;
    line-height: 1.6;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Clean Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    outline: none;
    white-space: nowrap;
}

.btn:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.btn-primary {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn-primary:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-primary:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #ffffff;
    color: #333333;
    border-color: #d1d5db;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.btn-danger {
    background-color: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

.btn-danger:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
}

.btn-danger:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #333333;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background-color: #ffffff;
    transition: border-color 0.15s ease;
}

input:focus,
textarea:focus,
.form-input:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 1px #000000;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-help {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

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

.loading-content p {
    margin-top: 16px;
    color: #666666;
    font-size: 14px;
}

/* Spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #f3f4f6;
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Inline spinner for buttons */
.btn .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin: 0;
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

.btn-primary .spinner {
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
}

.btn-secondary .spinner {
    border-color: rgba(0, 0, 0, 0.1);
    border-top-color: #333333;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error and Success Messages */
.error-message,
.success-message,
.info-message {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.error-message {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.success-message {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.info-message {
    background-color: #f0f9ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 300px;
    max-width: 100%;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    opacity: 0;
    transform: translateX(400px);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-icon {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.toast-message {
    font-size: 14px;
    line-height: 1.4;
    color: #333333;
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.toast-close:hover {
    color: #666666;
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

.toast-warning .toast-icon {
    color: #f59e0b;
}

.toast-info {
    border-left: 4px solid #3b82f6;
}

.toast-info .toast-icon {
    color: #3b82f6;
}

/* Homepage Styles - Dashboard-Inspired Layout */
.homepage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #1f3934;
}

/* Top Header Bar */
.homepage-header-bar {
    background-color: #1f3934;
    border-bottom: none;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.homepage-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.homepage-header-logo-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.homepage-header-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    text-transform: uppercase;
}

.homepage-header-title .growth-part {
    font-weight: 400;
}

.homepage-header-title .os-part {
    font-weight: 700;
}

.homepage-header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.homepage-header-nav .btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.homepage-header-nav .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.homepage-header-nav .btn-primary {
    background-color: #ffffff;
    color: #1f3934;
    border-color: #ffffff;
}

.homepage-header-nav .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: #1f3934;
}

/* Main Content */
.homepage-main {
    flex: 1;
    width: 100%;
}

/* Hero Section */
.homepage-hero {
    padding: 60px 24px 40px;
    text-align: center;
    background-color: #1f3934;
}

.homepage-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.homepage-hero-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: block;
    filter: brightness(0) invert(1);
}

.homepage-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.homepage-hero-title .growth-part {
    font-weight: 400;
}

.homepage-hero-title .os-part {
    font-weight: 700;
}

.homepage-hero-tagline {
    font-size: 48px;
    color: rgba(255, 255, 255, 1);
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.homepage-hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.homepage-features {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.homepage-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background: #354d48;
    max-width: 1200px;
    margin: 48px auto 0;
}

.homepage-feature-card {
    background: #354d48;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.homepage-feature-card:nth-child(3n) {
    border-right: none;
}

.homepage-feature-card:nth-last-child(-n+3) {
    border-bottom: none;
}

.homepage-feature-card:hover {
    background-color: #1f3934;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
    transform: none;
}

.homepage-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-feature-icon svg {
    width: 100%;
    height: 100%;
}

.homepage-feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.homepage-feature-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

/* CTA Section */
.homepage-cta {
    padding: 80px 24px;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.homepage-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.homepage-cta-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.homepage-cta-description {
    font-size: 16px;
    color: #666666;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.homepage-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* Footer */
.homepage-footer {
    padding: 24px;
    border-top: none;
    text-align: center;
    background-color: #1f3934;
}

.footer-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.homepage-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.15s ease;
}

.homepage-footer a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.homepage-footer span {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: #666666;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #1a1a1a;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.auth-footer {
    padding-top: 24px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    flex-shrink: 0;
}

.auth-footer .footer-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.auth-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.auth-footer span {
    color: rgba(255, 255, 255, 0.7);
}

.auth-footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 12px 0 0 0;
}

.auth-footer .footer-links {
    margin-bottom: 8px;
}

/* App Footer (for dashboard and other pages) */
.app-footer {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.app-footer .footer-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666666;
}

.app-footer a {
    color: #666666;
    text-decoration: none;
    transition: color 0.15s ease;
}

.app-footer a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.app-footer span {
    color: #666666;
}

.app-footer .footer-links {
    margin-bottom: 12px;
}

.app-footer p {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.15s ease;
    z-index: 10;
}

.back-button:hover {
    color: #ffffff;
}

.auth-container {
    position: relative;
}

/* Sidebar Navigation - Available on all pages */
.main-app {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    background-color: #fafafa;
}

.sidebar {
    width: 260px;
    min-width: 260px;
    background-color: #1f3934;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px 0;
}

.sidebar-header {
    padding: 0 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.sidebar-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.sidebar-logo {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.sidebar-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    text-transform: uppercase;
    letter-spacing: 0;
}

.sidebar-title .growth-part {
    font-weight: 400;
}

.sidebar-title .os-part {
    font-weight: 700;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
    overflow-y: auto;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

.sidebar-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.sidebar-nav-link.nav-active,
.sidebar-nav-link[data-active="true"] {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    color: #ffffff;
}

.sidebar-footer {
    padding: 24px 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.sidebar-user-info {
    padding: 16px;
    margin-bottom: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.sidebar-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    word-break: break-word;
}

.sidebar-user-email {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    word-break: break-word;
}

.sidebar-logout-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: 500;
}

.sidebar-logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.main {
    flex: 1;
    margin-left: 260px;
    padding: 32px 0;
    min-height: 100vh;
}

.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 101;
    background-color: #1f3934 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mobile-menu-toggle svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.mobile-menu-toggle:hover {
    background-color: #2a4a42 !important;
    border-color: rgba(255, 255, 255, 0.5);
}

.mobile-menu-toggle:hover svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.mobile-menu-toggle:active,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:active:focus {
    background-color: #1f3934 !important;
    color: #ffffff !important;
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle:active svg,
.mobile-menu-toggle:focus svg,
.mobile-menu-toggle:active:focus svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Enhanced Homepage Styles */
.problem-section {
    padding: 64px 24px;
    background-color: #111827; /* Dark background */
    text-align: center;
    color: #ffffff;
}

.problem-container {
    max-width: 800px;
    margin: 0 auto;
}

.problem-title {
    font-size: 32px;
    font-weight: 700;
    color: #f3f4f6;
    margin-bottom: 24px;
}

.problem-text {
    font-size: 18px;
    color: #9ca3af;
    line-height: 1.7;
}

.highlight-text {
    color: #818cf8; /* Indigo-400 */
    font-weight: 600;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 32px;
}

/* Terminal Interface Styles */
.terminal-section {
    padding: 60px 24px 80px;
    background-color: #1f3934;
    min-height: 600px;
}

.terminal-container {
    max-width: 900px;
    margin: 0 auto;
}

.terminal-window {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.terminal-header {
    background-color: #f9fafb;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background-color: #ff5f56;
}

.dot-yellow {
    background-color: #ffbd2e;
}

.dot-green {
    background-color: #27c93f;
}

.terminal-title {
    color: rgba(0, 0, 0, 0.6);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.terminal-body {
    padding: 32px;
    min-height: 400px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #333333;
    background-color: #ffffff;
}

.terminal-line {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.terminal-line-hidden {
    opacity: 0;
    transform: translateY(10px);
}

.terminal-line-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#terminal-line-cta {
    margin-top: 32px;
}

.terminal-prompt {
    color: #1f3934;
    font-weight: 600;
    flex-shrink: 0;
}

.terminal-text {
    color: #1a1a1a;
    font-weight: 500;
}

.terminal-text-hero {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    color: #1a1a1a;
}

.terminal-line-hero {
    margin-bottom: 32px;
}

.terminal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.terminal-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: #f9fafb;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    cursor: pointer;
    color: #333333;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.terminal-option.option-visible {
    opacity: 1;
    transform: translateX(0);
}

.terminal-option.option-visible:hover {
    background-color: #f3f4f6;
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateX(4px);
}

.terminal-option.selected {
    background-color: rgba(31, 57, 52, 0.1);
    border-color: #1f3934;
    color: #1f3934;
}

.option-number {
    color: #1f3934;
    font-weight: 600;
    min-width: 20px;
}

.option-text {
    flex: 1;
}

.terminal-steps {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.terminal-step {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
}

.terminal-step.active {
    opacity: 1;
}

.terminal-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.step-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
}

.step-icon.pending {
    background-color: #f3f4f6;
    color: rgba(0, 0, 0, 0.4);
}

.step-icon.working {
    background-color: rgba(31, 57, 52, 0.1);
    color: #1f3934;
    animation: pulse 1.5s ease infinite;
}

.step-icon.completed {
    background-color: rgba(31, 57, 52, 0.15);
    color: #1f3934;
}

.step-text {
    color: #333333;
    flex: 1;
}

.step-text.working {
    color: #1f3934;
}

.step-text.completed {
    color: #1f3934;
}

.step-dots {
    display: inline-block;
    margin-left: 8px;
}

.step-dots span {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentColor;
    margin: 0 2px;
    animation: dotPulse 1.4s ease infinite;
}

.step-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.step-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

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

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

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .homepage-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .homepage-feature-card:nth-child(2n) {
        border-right: none;
    }

    .homepage-feature-card:nth-child(3n) {
        border-right: 1px solid #e5e7eb;
    }

    .homepage-feature-card:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .homepage-feature-card:nth-last-child(-n+3) {
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
    
    h1 { font-size: 20px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }

    .toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }

    /* Homepage Responsive */
    .homepage-header-container {
        padding: 12px 16px;
    }

    .homepage-header-title {
        font-size: 16px;
    }

    .homepage-header-nav {
        gap: 8px;
    }

    .homepage-header-nav .btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .homepage-hero {
        padding: 40px 20px 30px;
    }

    .homepage-hero-logo {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }

    .homepage-hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .homepage-hero-tagline {
        font-size: 32px;
        margin-bottom: 0;
    }

    .homepage-hero-description {
        font-size: 18px;
    }

    .homepage-features {
        padding: 40px 20px;
    }

    .homepage-features-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .homepage-feature-card {
        padding: 24px 20px;
        border-right: none;
    }

    .homepage-feature-card:last-child {
        border-bottom: none;
    }

    .homepage-feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .homepage-feature-title {
        font-size: 16px;
    }

    .homepage-feature-description {
        font-size: 13px;
    }

    .homepage-cta {
        padding: 60px 20px;
    }

    .homepage-cta-title {
        font-size: 24px;
    }

    .homepage-cta-description {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .homepage-cta-buttons {
        flex-direction: column;
    }

    .homepage-cta-buttons .btn {
        width: 100%;
    }

    .homepage-footer {
        padding: 20px 16px;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main {
        margin-left: 0;
        padding: 24px 0;
        padding-top: 64px;
    }
    
    .sidebar-title {
        font-size: 16px;
    }
    
    .sidebar-nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    /* Responsive styles for new problem section */
    .problem-section {
        padding: 40px 20px;
    }
    
    .problem-title {
        font-size: 24px;
    }
    
    .problem-text {
        font-size: 16px;
    }
    
    /* Terminal responsive */
    .terminal-section {
        padding: 40px 20px 60px;
    }
    
    .terminal-body {
        padding: 24px;
        font-size: 13px;
    }
    
    .terminal-option {
        padding: 10px 12px;
    }
    
    .terminal-text-hero {
        font-size: 18px;
        line-height: 1.5;
    }
    
    .terminal-line-hero {
        margin-bottom: 24px;
    }
}