:root {
    --bg-color: #0f111a;
    --text-color: #f0f2f5;
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-bg: #1e1e2f;
    --secondary-hover: #2d2d44;
    --border-color: #33334c;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --gold: #ffd700;
}

.worse-dark-mode {
    --bg-color: #2b0000;
    --text-color: #00ff00;
    --primary-color: #ffff00;
    --secondary-bg: #4a0000;
    --border-color: #ff00ff;
    cursor: crosshair !important;
}

.investor-mode {
    --bg-color: #ffffff;
    --text-color: #0f111a;
    --primary-color: var(--gold);
    --primary-hover: #e6c200;
    --secondary-bg: #f8f9fa;
    --border-color: var(--gold);
}

.investor-mode .gradient-text {
    background: linear-gradient(90deg, #ffd700, #ff8c00, #ff0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.investor-mode .btn-primary {
    color: #0f111a;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: all 0.5s ease;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s ease;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, background-color 0.2s;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
}

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

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

.btn-secondary {
    background-color: var(--secondary-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(15, 17, 26, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.investor-mode header {
    background-color: rgba(255, 255, 255, 0.9);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary-color), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1rem;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-weight: 500;
}

nav a:hover {
    opacity: 1;
}

section {
    padding: 5rem 5%;
    text-align: center;
}

.hero {
    padding: 8rem 5% 5rem;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: #a1a1aa;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confidence-meter {
    margin-top: 2rem;
    font-size: 0.9rem;
    font-weight: bold;
    color: #a1a1aa;
}

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

.feature-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #a1a1aa;
}

.window-ui {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    max-width: 700px;
    margin: 3rem auto 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.window-header {
    background-color: #111119;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.investor-mode .window-header {
    background-color: #333;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.window-body {
    padding: 1.5rem;
    text-align: left;
}

.chat-output {
    min-height: 200px;
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bot-msg, .user-msg {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    max-width: 80%;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.bot-msg {
    background-color: #33334c;
    color: #fff;
    align-self: flex-start;
}

.investor-mode .bot-msg {
    background-color: #e0e0e0;
    color: #000;
}

.user-msg {
    background-color: var(--primary-color);
    color: #fff;
    align-self: flex-end;
}

.investor-mode .user-msg {
    color: #000;
}

.input-area {
    display: flex;
    gap: 0.5rem;
}

.input-area input {
    flex-grow: 1;
    background-color: #111119;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    outline: none;
    font-size: 1rem;
}

.investor-mode .input-area input {
    background-color: #fff;
    color: #000;
}

.input-area input:focus {
    border-color: var(--primary-color);
}

.progress-bar-container {
    margin-top: 1rem;
    height: 8px;
    background-color: #111119;
    border-radius: 4px;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.testimonial-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    margin-top: 2rem;
    scroll-behavior: smooth;
}

.testimonial {
    min-width: 320px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: left;
}

.stars {
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial .author {
    color: #a1a1aa;
    font-size: 0.9rem;
}

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

.price-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(145deg, var(--secondary-bg), #262640);
}

.investor-mode .price-card.featured {
    background: linear-gradient(145deg, #fff, #fffde7);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1.2rem;
    color: #a1a1aa;
    font-weight: 500;
}

.price-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 0.75rem;
    color: #a1a1aa;
    font-weight: 500;
}

.metrics {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: rgba(30, 30, 47, 0.5);
    padding: 5rem 5%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    gap: 2rem;
}

.investor-mode .metrics {
    background-color: rgba(255, 215, 0, 0.1);
}

.metric h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric p {
    color: #a1a1aa;
    font-weight: 500;
}

.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background-color: var(--secondary-bg);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 0.25rem 0.5rem 0.5rem 0.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: slideIn 0.3s ease-out, fadeOut 0.5s ease-in 4.5s forwards;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
}

@keyframes slideIn {
    from { transform: translateX(110%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(110%); }
}

.fake-chat-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.support-bubble {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s;
}

.investor-mode .support-bubble {
    color: #000;
}

.support-bubble:hover {
    transform: scale(1.05);
}

.support-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: left;
}

.support-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.investor-mode .support-header {
    color: #000;
}

.support-body {
    padding: 1rem;
    min-height: 150px;
    max-height: 250px;
    overflow-y: auto;
}

.support-input {
    border-top: 1px solid var(--border-color);
    padding: 0.75rem;
    background-color: #111119;
}

.investor-mode .support-input {
    background-color: #fff;
}

.support-input input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
}

.investor-mode .support-input input {
    color: #000;
}

.system-status {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Custom Tooltip */
.custom-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.2s;
}

.investor-mode .custom-tooltip {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
}
