:root {
    --bg-dark: #0a0a0f;
    --text-main: #ffffff;
    --text-muted: #8a8d98;
    --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    position: relative;
}

/* Fix Google Translate Dropdown Clipping */
.goog-te-menu-frame {
    max-height: 80vh !important;
    box-sizing: content-box !important;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    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: 50px 50px;
    z-index: -2;
}

.glow-orb {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(50px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: transparent;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.nav-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--glass-bg);
    border-color: rgba(255,255,255,0.2);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    padding: 0 20px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
    background: linear-gradient(to right, #fff, #8a8d98);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.primary-btn {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
}

.primary-btn.full-width {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
}

/* Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.auth-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.glass-panel h2 {
    margin-bottom: 2rem;
    font-weight: 600;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 1.5rem;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.input-group input {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: #4facfe;
}

.switch-mode {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.switch-mode span {
    color: #4facfe;
    cursor: pointer;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Content Sections */
.content-section {
    padding: 6rem 5%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    padding: 2.5rem 2rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.1);
    border-color: rgba(79, 172, 254, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

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

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border-color: rgba(79, 172, 254, 0.5);
    background: rgba(0, 242, 254, 0.05);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.1);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
}

.pricing-card .price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-card ul li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.pricing-card .nav-btn.full-width {
    width: 100%;
    margin-top: auto;
}

/* Sales Bot Widget */
.sales-bot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.sales-bot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sales-bot-toggle:hover {
    transform: scale(1.1);
}

.sales-bot-toggle svg {
    width: 28px;
    height: 28px;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.sales-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    animation: scaleUp 0.3s ease;
    padding: 0;
}

.sales-chat-window.active {
    display: flex;
}

@keyframes scaleUp {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.sales-chat-header {
    background: rgba(0,0,0,0.4);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.sales-chat-header h4 {
    margin: 0;
    font-size: 1rem;
}

.status-indicator {
    font-size: 0.8rem;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-indicator::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

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

.sales-chat-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sales-chat-messages .message {
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.sales-chat-messages .message.user {
    align-self: flex-end;
}

.sales-chat-messages .message.user .message-content {
    background: var(--primary-gradient);
    padding: 0.8rem 1rem;
    border-radius: 12px 12px 0 12px;
}

.sales-chat-messages .message.system .message-content {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px dashed var(--glass-border);
}

/* Quick Replies */
.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}
.quick-reply-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}
.quick-reply-btn:hover {
    background: var(--primary-color);
    color: white;
}

.sales-chat-messages .message.assistant .message-content {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: 12px 12px 12px 0;
}

.sales-chat-input {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
}

.sales-chat-input form {
    display: flex;
    gap: 10px;
}

.sales-chat-input input {
    flex-grow: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    outline: none;
}

.sales-chat-input input:focus {
    border-color: #4facfe;
}

.sales-chat-input button {
    background: var(--primary-gradient);
    border: none;
    color: white;
    width: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-assistant .message-content {
    background: rgba(226, 54, 54, 0.15) !important;
    border: 1px solid rgba(226, 54, 54, 0.3) !important;
    border-radius: 12px 12px 12px 0;
    color: #ffd2d2;
}

.support-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 5rem;
    min-height: 80vh;
}

/* Billing Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.1);
  transition: .4s;
  border: 1px solid var(--glass-border);
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}
input:checked + .slider {
  background-color: var(--primary-color);
}
input:checked + .slider:before {
  transform: translateX(24px);
}
.slider.round {
  border-radius: 24px;
}
.slider.round:before {
  border-radius: 50%;
}
