:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --bg-color: #ffffff;
    --bg-alt: #f9fafb;
    --border-color: #e5e7eb;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-color);
}

.logo svg {
    color: var(--primary-color);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

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

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

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

.btn-outline:hover {
    background-color: var(--bg-alt);
    border-color: var(--text-color);
}

.btn-full {
    width: 100%;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 96px 0 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-block;
    background-color: #e0e7ff;
    color: #4f46e5;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    width: 100%;
}

.play-icon {
    margin-right: 8px;
}

.hero-trust {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    width: 100%;
}

.trust-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 16px;
}

.trust-logos {
    display: flex;
    gap: 32px;
}

.trust-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* Dashboard Mockup Visual */
.hero-visual {
    position: relative;
}

.dashboard-mockup {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    height: 40px;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.mockup-header .dots {
    display: flex;
    gap: 6px;
    margin-right: 24px;
}

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

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.search-bar {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    padding: 4px 16px;
    width: 240px;
    text-align: center;
    color: var(--text-muted);
}

.mockup-body {
    display: flex;
    height: 280px;
}

.mockup-sidebar {
    width: 48px;
    border-right: 1px solid var(--border-color);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-alt);
}

.side-item {
    width: 20px;
    height: 20px;
    background-color: #e2e8f0;
    border-radius: 4px;
}

.side-item.active {
    background-color: var(--primary-color);
}

.mockup-content {
    flex-grow: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-line {
    width: 100px;
    height: 12px;
    background-color: #e2e8f0;
    border-radius: 2px;
    margin-bottom: 6px;
}

.subtitle-line {
    width: 60px;
    height: 8px;
    background-color: #f1f5f9;
    border-radius: 2px;
}

.actions-line {
    width: 40px;
    height: 20px;
    background-color: #e2e8f0;
    border-radius: var(--radius-sm);
}

.chart-visual {
    flex-grow: 1;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.grid-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.widget {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.widget .line {
    height: 8px;
    border-radius: 2px;
}

.widget .line.long {
    width: 100%;
    background-color: #cbd5e1;
    margin-bottom: 6px;
}

.widget .line.short {
    width: 40%;
    background-color: #e2e8f0;
}

/* Features */
.features {
    padding: 96px 0;
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.05);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: #e0e7ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-muted);
}

/* Solutions */
.solutions {
    padding: 96px 0;
}

.solutions-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-top: 32px;
    margin-bottom: 32px;
    gap: 8px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

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

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

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-pane h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tab-pane p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-weight: 500;
}

.benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236366f1'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.solutions-visual {
    display: flex;
    justify-content: center;
}

.code-visual {
    background: #0f172a;
    border-radius: var(--radius-md);
    width: 100%;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.code-header {
    height: 40px;
    background-color: #1e293b;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid #334155;
}

.tab-title {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.code-block {
    padding: 24px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: auto;
}

.keyword { color: #f43f5e; }
.string { color: #10b981; }

/* Pricing */
.pricing {
    padding: 96px 0;
    background-color: var(--bg-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.08);
}

.featured-badge {
    position: absolute;
    top: 24px;
    right: 40px;
    background-color: #e0e7ff;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.tier-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.tier-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 32px;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.price .period {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    margin-left: 4px;
}

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

.pricing-card .features-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-weight: 500;
}

.pricing-card .features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 80px 0 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 48px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand .logo {
    color: white;
}

.footer-tagline {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.link-group h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.link-group a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container, .solutions-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual, .solutions-visual {
        order: 2;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 16px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    }
    
    .nav.mobile-active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    
    .header-actions {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
