/* Modern Variables */
:root {
    --primary: #0066CC; /* Vibrant Blue from image */
    --primary-dark: #0052A3;
    --secondary: #004080; /* Darker Blue variant for gradients */
    --accent: #0080FF; /* Lighter Bright Blue for accents */
    --dark-bg: #0f172a; /* Slate 900 */
    --light-text: #f8fafc;
    --dark-text: #1e293b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--dark-text);
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Dynamic Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 102, 204, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 128, 255, 0.08), transparent 25%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: #0f172a;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rotating-text {
    display: inline-block;
    min-width: 180px;
    text-align: left;
    position: relative;
    vertical-align: bottom;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.rotating-text.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.rotating-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #0f172a;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.nav-brand a:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon.small {
    width: 72px;
    height: 72px;
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #0f172a;
}

.brand-ai {
    color: var(--primary);
    font-weight: 400;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(0, 102, 204, 0.05);
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 12px;
    margin: -8px -12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.dropdown-trigger:hover {
    background-color: rgba(0, 102, 204, 0.05);
}

.dropdown-arrow-small {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    display: inline-block !important;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    opacity: 0.7;
    color: inherit;
    vertical-align: middle;
    margin-left: 4px;
}

.nav-dropdown:hover .dropdown-arrow-small {
    transform: rotate(180deg);
    opacity: 1;
}

/* Ensure Lucide icons are visible */
.dropdown-arrow-small svg {
    display: block;
    width: 100%;
    height: 100%;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 8px;
    padding-top: 12px;
    z-index: 1000;
    animation: fadeInDown 0.2s ease;
}

/* Invisible bridge area to help mouse transition from trigger to menu */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #0f172a;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
}

.dropdown-item i {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.dropdown-item-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.dropdown-item-desc {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-signin {
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #0f172a;
    padding: 4px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary.small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: white;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-1px);
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}

/* Hero Section */
.hero-section {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
}

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

.badge-pill {
    display: inline-block;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.badge-link {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    margin-left: 8px;
    transition: opacity 0.2s ease;
}

.badge-link:hover {
    opacity: 0.8;
}

.badge-text a {
    color: inherit;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.badge-text a:hover {
    opacity: 0.75;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 40px;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.modal-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.early-access-badge-small {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 128, 255, 0.1) 100%);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
    }
    50% {
        box-shadow: 0 2px 12px rgba(0, 102, 204, 0.25);
    }
}

/* Trust Logos */
.trust-badges {
    margin-top: 48px;
}

.trust-text {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 16px;
    font-weight: 500;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.trust-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    transition: all 0.3s;
    cursor: default;
}

.trust-logo:hover {
    opacity: 1;
    color: #64748b;
}

/* Hero Visual / Mockup Refined */
.dashboard-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    overflow: visible;
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    z-index: 1;
}

.mockup-header {
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 16px 16px 0 0;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

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

.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #22c55e; }

.mockup-address-bar {
    background: #f8fafc;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #94a3b8;
    flex: 1;
    text-align: left;
    border: 1px solid #f1f5f9;
}

.mockup-content {
    height: 420px;
    display: flex;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.mockup-sidebar {
    width: 220px;
    border-right: 1px solid #f1f5f9;
    background: white;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    height: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    width: 80%;
}

.sidebar-item.active {
    background: #e2e8f0;
    width: 100%;
}

.sidebar-item:nth-child(2) { width: 60%; }
.sidebar-item:nth-child(3) { width: 70%; }
.sidebar-item:nth-child(4) { width: 50%; }

.mockup-main {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* AI Prompt Box */
.mockup-ai-prompt {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

.ai-content {
    flex: 1;
}

.ai-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    text-align: left;
}

.ai-message {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    text-align: left;
}

/* Mockup Rows (Generated Tests - Refined) */
.mockup-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.mockup-row-header {
    text-align: left;
    margin-bottom: 8px;
}

.row-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 102, 204, 0.1);
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mockup-row {
    height: 56px;
    background: white;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 16px;
    transition: transform 0.2s ease;
}

.mockup-row:hover {
    transform: translateX(4px);
    border-color: #e2e8f0;
}

.row-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.row-status.success {
    background-color: #22c55e;
    box-shadow: 0 0 0 4px #dcfce7;
}

.row-text {
    font-size: 0.9rem;
    color: #334155;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: left;
}

.row-meta {
    font-size: 0.75rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 15px 35px -5px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
    border: 1px solid white;
    min-width: 200px;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle.green { background: #dcfce7; color: #16a34a; }
.icon-circle.blue { background: #dbeafe; color: #2563eb; }

.icon-small {
    width: 16px;
    height: 16px;
}

.card-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-label {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
}

.card-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.card-1 {
    top: 45%;
    right: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: -40px;
    animation-delay: 2.5s;
}

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

/* Bento Grid */
.features-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-top: 16px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: rgba(0, 102, 204, 0.3);
}

/* Blog Post Cards */
.bento-card[onclick] {
    cursor: pointer;
    transition: all 0.3s ease;
}

.bento-card[onclick]:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 56px rgba(0, 102, 204, 0.2);
    border-color: rgba(0, 102, 204, 0.3);
}

.large-card {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.medium-card {
    grid-column: span 1;
}

.wide-card {
    grid-column: span 3;
    background: linear-gradient(to right, #ffffff, #f8fafc);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
}

.gradient-1 { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.gradient-2 { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.gradient-3 { background: linear-gradient(135deg, #0066CC, #0052A3); }
.gradient-4 { background: linear-gradient(135deg, #0080FF, var(--primary)); }

.bento-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.bento-content p {
    color: #64748b;
}

.feature-tags {
    list-style: none;
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.feature-tags li {
    background: #f1f5f9;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

.integration-mini-logos {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    color: #94a3b8;
}

.bento-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bento-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

/* Feature Detail List (New Context-Aware Section) */
.features-detail-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text strong {
    font-size: 1rem;
    color: #0f172a;
    font-weight: 600;
}

.detail-text span {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.badge-pill.small {
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 0.75rem;
}

/* Interactive Demo */
.interactive-demo-section {
    padding: 80px 0;
    background: #1e293b; /* Slate 800 */
    color: white;
    border-radius: 32px;
    margin: 40px 24px;
}

.demo-workspace {
    background: #0f172a;
    border-radius: 16px;
    border: 1px solid #334155;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.demo-header {
    background: #1e293b;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #334155;
}

.demo-controls {
    display: flex;
    gap: 8px;
}

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

.demo-control.close { background: #ef4444; }
.demo-control.minimize { background: #f59e0b; }
.demo-control.maximize { background: #22c55e; }

.demo-title {
    font-size: 0.9rem;
    color: #94a3b8;
}

.demo-tabs {
    display: flex;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.demo-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.demo-tab.active {
    color: white;
    border-bottom-color: var(--primary);
    background: rgba(255,255,255,0.05);
}

.demo-content-wrapper {
    padding: 24px;
    min-height: 400px;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.chat-message {
    display: flex;
    gap: 12px;
    max-width: 80%;
}

.chat-message.ai .chat-bubble {
    background: #334155;
    color: #e2e8f0;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message.user .chat-bubble {
    background: var(--primary);
    color: white;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.quick-prompts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.prompt-chip {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #e2e8f0;
    padding: 8px 16px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
}

.prompt-chip:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-price {
    margin: 24px 0;
    color: #0f172a;
}

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

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #475569;
}

.check-icon {
    color: var(--primary);
    width: 20px;
}

/* Early Access Section */
.pricing-section {
    padding: 100px 0;
    margin-bottom: 30px;
}

.early-access-wrapper {
    max-width: 600px;
    margin: 60px auto 0;
}

.early-access-card {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.early-access-card:hover {
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
    transform: translateY(-4px);
}

.early-access-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.early-access-content {
    display: flex;
    flex-direction: column;
}

.early-access-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    text-align: left;
}

.early-access-price {
    margin-bottom: 32px;
}

.price-free {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 8px;
}

.price-duration {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
    margin: 0;
}

.early-access-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.early-access-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    font-size: 1rem;
}

.check-icon-blue {
    color: var(--primary);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.btn-early-access {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    text-align: center;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-early-access:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.btn-early-access:active {
    transform: translateY(0);
}

/* Steps Section (How it works) */
.steps-section {
    padding: 100px 0;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    position: relative;
}

.step-item {
    text-align: center;
    flex: 1;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 24px;
    box-shadow: 0 0 0 8px #f8fafc;
}

.step-line {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

/* Glossary / FAQ Section (RESTAURADO E MELHORADO) */
.glossary-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.glossary-section .section-title {
    text-align: left;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 20px;
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    height: 100%; /* Altura igual */
    display: flex;
    flex-direction: column;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.4;
}

.faq-answer {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 32px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-title {
    color: white;
}

.footer-title .brand-ai {
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.link-column h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.link-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.link-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    color: #94a3b8;
    transition: color 0.2s;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 32px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Utils */
.full-width { width: 100%; }
.bg-light { background: #f1f5f9; }
.text-left { text-align: left; }
.small { font-size: 0.9rem; padding: 8px 16px; }

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    transform: scale(0.95);
}

.scale-in.animated {
    transform: scale(1);
}

.from-left { transform: translateX(-30px); }
.from-left.animated { transform: translateX(0); }

.from-right { transform: translateX(30px); }
.from-right.animated { transform: translateX(0); }

/* Modal Adjustments */
.backdrop-blur {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.glass-panel {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    align-items: center;
    justify-content: center;
}

.modal[style*="display: flex"] {
    display: flex !important;
}

.modal-content {
    margin: auto;
    padding: 32px 28px;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    position: relative;
}

.modal-content[style*="max-width: 900px"] {
    max-width: 900px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close { font-size: 1.5rem; cursor: pointer; }
.close-modal { font-size: 1.5rem; cursor: pointer; color: #64748b; transition: color 0.2s; }
.close-modal:hover { color: #0f172a; }

/* MCP Tutorial Links Hover Effect */
.glass-panel[style*="transition: transform"]:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
}

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* Floating Menu */
.floating-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: block;
    animation: slideInUp 0.3s ease-out;
}

.floating-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 102, 204, 0.95);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-menu-link i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.floating-menu-link i:last-child {
    width: 16px;
    height: 16px;
}

.floating-menu-link:hover {
    background: rgba(0, 102, 204, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

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

@media (max-width: 768px) {
    .floating-menu {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-menu-link {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
    
    .floating-menu-link span {
        display: none;
    }
    
    .floating-menu-link i:first-of-type {
        margin: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wide-card { grid-column: span 2; }
    .large-card { grid-column: span 2; }
    
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }
    .step-line { display: none; }
    
    .dashboard-mockup {
        max-width: 100%;
        margin-left: 24px;
        margin-right: 24px;
    }
    .card-1 { right: 0; top: 50%; }
    .card-2 { left: 0; bottom: 10%; }
    
    .mockup-sidebar { display: none; }
}

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
    .wide-card, .large-card, .medium-card { grid-column: span 1; }
    
    .hero-title { font-size: 2.5rem; }
    
    /* Mobile Menu */
    .mobile-menu-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 16px;
        z-index: 99;
    }
    .nav-links.active { display: flex; }
    
    /* Mobile Dropdown Styles */
    .nav-link {
        padding: 12px 16px;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .dropdown-trigger {
        padding: 12px 16px;
        margin: -12px -16px;
        width: calc(100% + 32px);
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        display: block;
        margin-top: 8px;
        margin-left: 16px;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 8px;
    }
    
    .dropdown-item {
        padding: 10px 12px;
    }
    
    .pricing-grid { grid-template-columns: 1fr; }
    
    .early-access-wrapper {
        max-width: 100%;
        margin: 40px auto 0;
        padding: 0 16px;
    }
    
    .early-access-card {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .early-access-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .price-free {
        font-size: 2.5rem;
    }
    
    .price-duration {
        font-size: 0.9rem;
    }
    
    .early-access-features {
        gap: 14px;
    }
    
    .early-access-features li {
        font-size: 0.95rem;
    }
    
    .btn-early-access {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .early-access-badge-small {
        font-size: 0.75rem;
        padding: 5px 12px;
        white-space: normal;
        text-align: center;
        max-width: 280px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card { display: none; }
    .trust-logos { gap: 20px; }
    .trust-logo { font-size: 1rem; }
}

/* Language Switcher styling update */
.language-switcher { position: relative; }
.language-current { background: transparent; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.language-options { position: absolute; top: 100%; right: 0; background: white; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 8px; display: none; min-width: 120px; z-index: 200; }
.language-dropdown:hover .language-options { display: block; }
.language-option { display: flex; align-items: center; gap: 8px; padding: 8px; width: 100%; border: none; background: transparent; cursor: pointer; text-align: left; }
.language-option:hover { background: #f1f5f9; border-radius: 4px; }

/* Code Block Style */
pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
}

/* Demo Specifics */
.spin { animation: spin 2s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Try It Yourself Interface (Moved to Hero) */
.try-it-interface {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: left; /* Reset alignment for inputs */
}

.input-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-area label {
    font-weight: 600;
    color: #0f172a;
    font-size: 1.1rem;
}

.input-area textarea {
    width: 100%;
    min-height: 120px; /* Slightly smaller for hero */
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-area textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.input-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

/* Auth Modal specific styles */
.auth-modal-content {
    max-width: 480px; /* Single column width */
    padding: 0;
    overflow: hidden;
    position: relative;
    width: 90%;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.close-modal:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.auth-modal-body {
    display: flex;
    flex-direction: column;
}

.auth-left {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.auth-left h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #0f172a;
    line-height: 1.3;
}

.auth-left p {
    color: #64748b;
    margin-bottom: 32px;
    font-size: 1rem;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-auth-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px; /* More square/modern */
    background: white;
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-auth-option:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.auth-footer {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 16px;
    line-height: 1.5;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 768px) {
    .auth-left {
        padding: 24px;
    }
}
