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

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-soft: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 40px;
}

.logo img,
.logo svg {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    list-style: none;
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(99, 102, 241, 0.4);
}

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

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

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

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -1.5px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-item .icon {
    color: var(--success-color);
    font-weight: bold;
    font-size: 16px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.section-header p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.feature-card h3 a:hover {
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 15px;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feature-link:hover {
    gap: 12px;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.step {
    text-align: center;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-lg);
}

.step h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* Use Cases */
.use-cases {
    padding: 100px 0;
    background: var(--bg-primary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.use-case-card {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.use-case-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
}

.use-case-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 15px;
}

.use-case-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.use-case-card a:hover {
    text-decoration: underline;
}

/* Benefits */
.benefits {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.benefits-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.benefits-list li {
    margin-bottom: 32px;
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.benefits-list strong {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 700;
}

.benefits-list p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.benefits-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
}

/* Get Started */
.get-started {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.get-started::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.get-started .container {
    position: relative;
    z-index: 1;
}

.get-started h2 {
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -1px;
}

.get-started p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.get-started-cta {
    margin-bottom: 48px;
}

.get-started .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.get-started .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    border-color: white;
}

/* Ensure all primary buttons have white text */
.btn-primary {
    color: white !important;
}

.no-commitment {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.9;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

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

.trust-item strong {
    display: block;
    font-size: 32px;
    margin-bottom: 4px;
    font-weight: 800;
}

.trust-item span {
    font-size: 14px;
    opacity: 0.9;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Page Content Styles */
.page-header {
    padding: 80px 0 60px;
    background: var(--gradient-soft);
    text-align: center;
}

.page-header h1 {
    font-size: 56px;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.page-header p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    padding: 80px 0;
}

.content-section h2 {
    font-size: 40px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -1px;
}

.content-section h3 {
    font-size: 28px;
    margin-bottom: 16px;
    margin-top: 48px;
    color: var(--text-primary);
    font-weight: 700;
}

.content-section h4 {
    font-size: 20px;
    margin-bottom: 12px;
    margin-top: 32px;
    color: var(--text-primary);
    font-weight: 600;
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 16px;
}

.content-section ul,
.content-section ol {
    margin-left: 24px;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.content-section li {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 16px;
}

.content-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.content-section a:hover {
    text-decoration: underline;
}

.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: var(--shadow-lg);
}

.content-section code {
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-color);
}

.content-section pre {
    background: var(--bg-tertiary);
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--border-color);
}

.content-section pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .nav-actions {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active,
    .nav-actions.active {
        display: flex;
    }

    .nav-menu {
        align-items: flex-start;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-actions {
        flex-direction: column;
        gap: 12px;
        padding-top: 20px;
    }

    .nav-actions .btn-primary,
    .nav-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin: 0;
        padding-left: 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 40px;
    }

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

    .section-header h2 {
        font-size: 36px;
    }

    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .hero-cta,
    .benefits-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .page-header h1 {
        font-size: 40px;
    }

    .content-section h2 {
        font-size: 32px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
