:root{
    --purple: #6B46C1;
    --purple-light: #A78BFA;
    --purple-dark: #553C9A;
    --purple-bg: #F3F4F6;
    --orange: #F97316;
    --orange-light: #FB923C;
    --bg: #ffffff;
    --bg-alt: #F9FAFB;
    --card: #ffffff;
    --card-hover: #f8f9fa;
    --stroke: #e5e7eb;
    --stroke-light: #f3f4f6;
    --text: #111827;
    --text-secondary: #374151;
    --muted: #6b7280;
    --muted2: #9ca3af;
    --brand: #6B46C1;
    --brand-hover: #553C9A;
    --brand-light: #EDE9FE;
    --accent: #F97316;
    --accent-light: #FED7AA;
    --ok: #10b981;
    --warn: #f59e0b;
    --bad: #ef4444;
    --dark-blue: #1E3A8A;
    --dark-blue-bg: #1E293B;
    --shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 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);
    --radius: 8px;
    --radius-lg: 12px;
    --max: 1280px;
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*{ box-sizing: border-box; }
html,body{
    margin:0; padding:0;
    scroll-behavior: smooth;
}

a{ color: inherit; text-decoration: none; }
.container{ max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.small{ font-size: 14px; color: var(--muted2); }

.btn{
    display:inline-flex; align-items:center; justify-content:center;
    padding: 13px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    background: var(--bg);
    font-family: var(--sans);
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor:pointer;
    user-select: none;
    white-space: nowrap;
}
.btn:hover{
    background: var(--bg-alt);
    border-color: var(--stroke);
}
.btn.primary{
    border-color: var(--purple);
    background: var(--purple);
    color: white;
}
.btn.primary:hover{
    background: var(--purple-dark);
    border-color: var(--purple-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}
.btn.ghost{
    background: transparent;
    border-color: transparent;
}

/* Hero */
.hero{
    padding: 150px 0 120px!important;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.hero::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 30%, rgba(107, 70, 193, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(107, 70, 193, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.hero-grid{
    display:grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content{
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.rating-badge{
    display:inline-flex; align-items:center; gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}
.rating-badge strong{
    color: var(--orange);
    font-weight: 700;
}
.g2-logo{
    display:inline-block;
    width: 20px;
    height: 20px;
    background: #FF5630;
    border-radius: 3px;
    color: white;
    font-weight: 800;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}
.ai-section h1{
    margin: 16px 0 20px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--text);
}
.hero-highlight{
    color: var(--purple);
}
.hero-orange{
    color: var(--orange);
}
.subhead{
    margin: 0 0 32px;
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}
.hero-ctas{ display:flex; gap: 16px; flex-wrap: wrap; margin: 32px 0 24px; justify-content: flex-start; }

/* Floating Feature Pills */
.feature-pills{
    position: relative;
    min-height: 400px;
    margin-top: 60px;
}
.feature-pill{
    position: absolute;
    padding: 12px 20px;
    border-radius: 30px;
    border: 2px solid;
    background: white;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}
.feature-pill:hover{
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}
.pill-purple{ border-color: var(--purple); color: var(--purple); }
.pill-blue{ border-color: #3B82F6; color: #3B82F6; }
.pill-green{ border-color: #10B981; color: #10B981; }
.pill-red{ border-color: #EF4444; color: #EF4444; }
.pill-light-purple{ border-color: var(--purple-light); color: var(--purple-light); }
.pill-orange{ border-color: var(--orange); color: var(--orange); }

/* Decorative Lines */
.decorative-lines{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.3;
}
.decorative-line{
    position: absolute;
    border: 1px solid var(--purple-light);
    border-radius: 50%;
}
.line-1 {
    top: 15%; left: 5%; width: 300px; height: 300px; border-color: var(--purple-light);
}
.line-2 {
    top: 65%; right: 10%; width: 400px; height: 400px; border-color: var(--purple-light);
}
.line-3 {
    bottom: 20%; left: 20%; width: 250px; height: 250px; border-color: var(--purple-light);
}
.micro{
    display:flex; flex-direction: column; gap: 12px;
    margin-top: 24px;
}
.micro span{
    display:inline-flex; align-items:center; gap:8px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    font-size: 14px;
    color: var(--text-secondary);
}
.check-micro{
    width: 18px; height: 18px; border-radius: 50%;
    background: none;
    display:flex; align-items:center; justify-content:center;
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

/* Bento */
.bento{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.bento .card{
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    background: var(--card);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
}
.bento .card:hover{
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.bento .card > *{ position: relative; }
.bento .wide{ grid-column: 1 / -1; }

.codebox{
    margin-top: 12px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    background: #1e293b;
    font-family: var(--mono);
    font-size: 13px;
    color: #e2e8f0;
    overflow:auto;
    max-height: 280px;
    white-space: pre;
    line-height: 1.5;
}
.copy-row{
    display:flex; align-items:center; justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}
.link{
    color: var(--purple);
    font-weight: 500;
}
.link:hover{
    text-decoration: underline;
    color: var(--purple-dark);
}

/* Sections */
.ai-section {
    padding: 80px 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.6;
}
.section-title{
    font-size: 36px;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    font-weight: 800;
    color: var(--text);
}
.section-subtitle{
    margin: 0 0 40px;
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    line-height: 1.6;
}

/* Cards */
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-plain{
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    background: var(--card);
    padding: 24px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}
.card-plain:hover{
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--purple);
}
.card-plain h3{
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}
.card-plain p{
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}
.icon{
    width: 48px; height: 48px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(249, 115, 22, 0.1));
    display:flex; align-items:center; justify-content:center;
    margin-bottom: 16px;
    font-size: 24px;
}

.split{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
.list{ margin: 0; padding-left: 20px; color: var(--text-secondary); font-size: 15px; display: block; list-style: disc}
.list li{ margin: 8px 0; line-height: 1.6; list-style-image: unset; display: list-item;}

/* Steps */
.steps{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-as{
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    background: var(--card);
    padding: 24px;
    box-shadow: var(--shadow);
}
.step-as .num{
    display:inline-flex; width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--purple);
    color: white;
    align-items:center; justify-content:center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}
.step-as h4{
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}
.step-as p{
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Tabs */
.tabs{
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    background: var(--card);
    overflow:hidden;
    box-shadow: var(--shadow);
}
.tabs-header{
    display:flex;
    border-bottom: 1px solid var(--stroke);
    background: var(--bg-alt);
}
.tabs-header button{
    flex: 1;
    padding: 16px 24px;
    border:0;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
    cursor:pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}
.tabs-header button:hover{
    background: var(--bg);
    color: var(--text);
}
.tabs-header button.active{
    background: var(--bg);
    color: var(--purple);
    border-bottom-color: var(--purple);
}
.tabs-content{
    padding: 32px;
}
.tabs-pane{
    display:none;
}
.tabs-pane.active{ display:block; }
.tabs-pane h3{
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}
.tabs-pane p{
    margin: 0 0 20px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}
.tabs-pane ul{
    margin: 0;
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    display: block;
    list-style: disc
}
.tabs-pane li{ margin: 10px 0; list-style-image: unset; display: list-item;}

/* FAQ */
.faq{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qa{
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    background: var(--card);
    overflow:hidden;
    box-shadow: var(--shadow);
}
.qa button{
    width:100%; text-align:left;
    padding: 20px;
    border:0;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 16px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.2s ease;
}
.qa button:hover{ background: var(--bg-alt); }
.qa .ans{
    padding: 0 20px 20px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    display:none;
}
.chev{
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-alt);
    display:flex; align-items:center; justify-content:center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--muted);
}
.qa.open .ans{ display:block; }
.qa.open .chev{ transform: rotate(180deg); }

/* Integrations */
.integrations{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.integration-card{
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    background: var(--card);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}
.integration-card:hover{
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--purple);
}
.integration-card .icon{
    margin: 0 auto 16px;
    font-size: 40px;
    width: 64px;
    height: 64px;
}
.integration-card div{
    font-weight: 600;
    color: var(--text);
    font-size: 16px;
}

/* CTA band */
.cta-band{
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    padding: 40px;
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: var(--shadow-lg);
}

/* Product Section */
.product-section{
    background: var(--dark-blue-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.product-section::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.product-content{
    position: relative;
    z-index: 1;
}
.product-title{
    font-size: 42px;
    font-weight: 800;
    color: white;
    text-align: center;
    margin: 0 0 24px;
}
.product-tabs{
    display:flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}
.product-tab{
    padding: 12px 24px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}
.product-tab:hover{
    background: rgba(255,255,255,0.1);
    color: white;
}
.product-tab.active{
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}
.product-description{
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.product-cards{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 48px;
}
.product-card{
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.product-card::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--purple-light) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(30%, -30%);
}
.product-card-header{
    display:flex; align-items:center; gap: 16px;
    margin-bottom: 24px;
}
.product-icon{
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--purple-light), var(--purple));
    border-radius: 12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 24px;
}
.product-card-title{
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.product-badge{
    display:inline-block;
    padding: 4px 12px;
    background: #FCE7F3;
    color: #EC4899;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}
.product-price{
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}
.product-features{
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}
.product-features li{
    display:flex;
    align-items:start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 15px;
}
.product-features li::before{
    content: '✓';
    width: 24px;
    height: 24px;
    background: #D1FAE5;
    color: #10B981;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}
.product-cta{
    width: 100%;
    padding: 14px;
    background: var(--purple);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}
.product-cta:hover{
    background: var(--purple-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}
.product-links{
    display:flex;
    justify-content: space-between;
    font-size: 14px;
}
.product-links a{
    color: var(--purple);
    font-weight: 600;
}

/* Trust Badge */
.trust-badge{
    text-align: center;
    padding: 60px 0;
    background: var(--purple-bg);
}
.trust-badge-text{
    font-size: 32px;
    font-weight: 700;
    color: var(--purple-light);
    letter-spacing: 0.05em;
}
.cta-band h3{
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}
.cta-band p{
    margin: 0;
    color: var(--text-secondary);
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px){
    .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
    .split{ grid-template-columns: 1fr; }
    .grid-3{ grid-template-columns: repeat(2, 1fr); }
    .grid-4{ grid-template-columns: repeat(2, 1fr); }
    .steps{ grid-template-columns: 1fr; }
    .faq{ grid-template-columns: 1fr; }
    .integrations{ grid-template-columns: repeat(2, 1fr); }
    .product-cards{ grid-template-columns: 1fr; }
}
@media (max-width: 768px){
    .hero{
        padding-top: 120px!important;
    }
    .line-1 {
        top: 12%;
    }
    .line-2 {
        top: 62%;
    }
    .grid-3{ grid-template-columns: 1fr; }
    .grid-4{ grid-template-columns: 1fr; }
    .integrations{ grid-template-columns: 1fr; }
    .menu-btn{ display:inline-flex; }
    .cta-band{
        flex-direction: column;
        align-items:flex-start;
        padding: 32px 24px;
    }
    .cta-band .btns{
        width: 100%;
        display:flex;
        gap: 12px;
        flex-wrap: wrap;
    }
    .cta-band .btns a{ flex: 1 1 auto; }
}
@media (max-width: 640px){
    .tabs-header{
        flex-wrap: wrap;
    }
    .tabs-header button {
        flex: 1 1 50%;
    }
}