/**
 * Carly AI Agent Landing Page Styles
 * Page-specific CSS — global variables, resets, nav, and footer handled elsewhere
 */

/* ==================== SERIF ITALIC (page-specific gradient) ==================== */
.serif-italic {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, #7c5cfc 0%, #a855f7 33%, #ec4899 66%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding: 0.15em 0.1em 0.2em 0.05em;
    margin: -0.15em -0.1em -0.2em -0.05em;
}

.gradient-text {
    background: linear-gradient(135deg, #7c5cfc 0%, #a855f7 33%, #ec4899 66%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== HERO — DARK THEME ==================== */
.hero-wrapper {
    position: relative;
    overflow: visible;
    background:
        radial-gradient(ellipse 600px 400px at 15% 20%, rgba(124, 92, 252, 0.28) 0%, transparent 60%),
        radial-gradient(ellipse 500px 500px at 85% 15%, rgba(168, 85, 247, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 400px 300px at 75% 75%, rgba(236, 72, 153, 0.16) 0%, transparent 50%),
        radial-gradient(ellipse 450px 350px at 25% 80%, rgba(99, 102, 241, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 300px 300px at 50% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #0d0a1a 0%, #1a1333 50%, #0f0c1f 100%);
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 1;
}

.hero-section {
    padding: 160px 48px 100px;
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    overflow: visible;
}

.hero-orb-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-orb-1 {
    position: absolute;
    width: 500px;
    height: 350px;
    background: rgba(124, 92, 252, 0.35);
    border-radius: 50%;
    filter: blur(100px);
    top: -120px;
    left: -80px;
    animation: heroOrbFloat 20s ease-in-out infinite;
    z-index: 0;
}

.hero-bg-orb-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(168, 85, 247, 0.28);
    border-radius: 50%;
    filter: blur(100px);
    top: 20%;
    right: -100px;
    animation: heroOrbFloat 20s ease-in-out infinite;
    animation-delay: -5s;
    z-index: 0;
}

.hero-bg-orb-3 {
    position: absolute;
    width: 350px;
    height: 250px;
    background: rgba(236, 72, 153, 0.22);
    border-radius: 50%;
    filter: blur(100px);
    bottom: 0;
    left: 25%;
    animation: heroOrbFloat 20s ease-in-out infinite;
    animation-delay: -10s;
    z-index: 0;
}

@keyframes heroOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(10px, 10px) scale(1.02); }
}

.background-lines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 0px,
        rgba(255, 255, 255, 0.04) 1px,
        transparent 1px,
        transparent 60px
    );
    pointer-events: none;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.6s ease both;
}

.hero-badge-dot { display: none; }

.hero-badge-chip {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.03em;
}

.hero-section h1 {
    font-size: 60px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 28px;
    padding-top: 16px;
    padding-bottom: 16px;
    position: relative;
    z-index: 3;
    overflow: visible;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-sub {
    font-size: 19px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.7;
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.7s ease 0.3s both;
}

/* Hero email signup form */
.hero-signup {
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-signup-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.hero-signup-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 18px 28px;
    font-size: 16px;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.hero-signup-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-signup-input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.hero-signup-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #9333ea 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.hero-signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.hero-signup-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.hero-signup-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    text-align: center;
}

.hero-signup-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #10b981;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-signup-success.show {
    display: flex;
}

/* Hero outline button (glassmorphic dark variant) */
.hero-wrapper .btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 18px 36px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}
.hero-wrapper .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ==================== SCROLL ANIMATIONS ==================== */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.pre-animate {
    opacity: 0;
    transform: translateY(40px);
}
.animate-on-scroll.pre-animate.visible { opacity: 1; transform: translateY(0); }

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

/* Renamed from @keyframes float to avoid conflict with site global */
@keyframes carlyFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ==================== SECTION SYSTEM ==================== */
.section { padding: 120px 48px; }

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--violet);
    padding: 8px 18px;
    background: rgba(129, 103, 234, 0.1);
    border-radius: 100px;
    border: 1px solid rgba(129, 103, 234, 0.2);
    margin-bottom: 24px;
}

.section-label svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.section-label-centered { text-align: center; justify-content: center; }

.section-heading {
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -2px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.7;
    max-width: 640px;
}
.section-desc.centered { margin: 0 auto; text-align: center; }

.section-top { text-align: center; margin-bottom: 64px; }

.alt-bg { background: var(--off-white); }

.purple-bg { background: linear-gradient(180deg, #f3f0ff 0%, #f8f7fc 100%); }

#features, #for-every-team {
    background:
        linear-gradient(rgba(129, 103, 234, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 103, 234, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, #f3f0ff 0%, #f8f7fc 100%);
    background-size: 60px 60px, 60px 60px, 100% 100%;
}

#the-problem {
    background:
        linear-gradient(rgba(129, 103, 234, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 103, 234, 0.04) 1px, transparent 1px),
        var(--off-white);
    background-size: 60px 60px, 60px 60px, 100% 100%;
}

/* ==================== PROBLEM SECTION ==================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--violet), #a855f7, #ec4899);
    opacity: 0;
    transition: opacity 0.3s;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(129, 103, 234, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}
.problem-card:hover::before { opacity: 1; }

.problem-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(14, 14, 68, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.problem-icon svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.problem-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.problem-card p { font-size: 15px; font-weight: 500; color: var(--muted); line-height: 1.7; }

/* ==================== MEET CARLY ==================== */
.meet-carly {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.meet-carly-visual {
    text-align: center;
    position: relative;
}

.carly-portrait-wrap {
    position: relative;
    display: inline-block;
}

.carly-portrait {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 20px 80px rgba(129, 103, 234, 0.25), 0 8px 32px rgba(0,0,0,0.1);
    object-fit: cover;
    object-position: center top;
    animation: carlyFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
    display: block;
}

.carly-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 103, 234, 0.15) 0%, transparent 70%);
    z-index: 0;
}

/* Floating badges on carly image */
.carly-badge {
    position: absolute;
    right: -80px;
    top: -10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 1px rgba(255,255,255,1);
    z-index: 10;
    animation: carlyFloat 5s ease-in-out infinite;
    animation-delay: -1s;
}

.carly-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.carly-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.carly-badge-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.carly-badge-2 {
    position: absolute;
    left: -100px;
    bottom: -20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 1px rgba(255,255,255,1);
    z-index: 10;
    animation: carlyFloat 6s ease-in-out infinite;
    animation-delay: -3s;
}

.carly-badge-2 .badge-icon-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.carly-badge-2 .badge-icon-row svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--violet);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carly-badge-2 .badge-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.carly-badge-3 {
    position: absolute;
    right: -90px;
    bottom: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 1px rgba(255,255,255,1);
    z-index: 10;
    animation: carlyFloat 7s ease-in-out infinite;
    animation-delay: -5s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.carly-badge-3 .badge-stat {
    font-size: 22px;
    font-weight: 800;
    color: var(--violet);
    line-height: 1;
}

.carly-badge-3 .badge-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
}

.meet-carly-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -2px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.tagline {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    margin-bottom: 20px;
}

.meet-carly-content p {
    font-size: 16px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.carly-capabilities {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.carly-cap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(129, 103, 234, 0.15);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.carly-cap svg {
    width: 16px;
    height: 16px;
    stroke: var(--violet);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ==================== FEATURE CARDS ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(129, 103, 234, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    border-color: rgba(129, 103, 234, 0.2);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(14, 14, 68, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.feature-card p { font-size: 15px; font-weight: 500; color: var(--muted); line-height: 1.7; }

.feature-quote {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(129, 103, 234, 0.12);
    font-size: 13px;
    font-style: italic;
    color: var(--violet);
    font-weight: 600;
}

/* ==================== PRODUCT SHOWCASE / TABS ==================== */
.showcase-section {
    background: var(--off-white);
}

.tab-nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 48px auto 0;
    max-width: 900px;
    border-bottom: 2px solid rgba(129, 103, 234, 0.12);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
    position: relative;
    padding: 16px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--light-muted);
    white-space: nowrap;
    transition: color 0.25s ease;
}

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--navy);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    margin-top: 40px;
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

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

.browser-chrome {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(14, 14, 68, 0.10), 0 2px 12px rgba(129, 103, 234, 0.08);
    border: 3px solid #ffffff;
    outline: 1px solid rgba(0, 0, 0, 0.06);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: linear-gradient(180deg, #f5f5f5 0%, #efefef 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.browser-dots {
    display: flex;
    gap: 7px;
}

.browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
    font-size: 13px;
    font-weight: 500;
    color: var(--light-muted);
    background: rgba(255,255,255,0.7);
    padding: 6px 16px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    border: 1px solid rgba(129, 103, 234, 0.08);
}

.screen-img {
    width: 100%;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.tab-caption {
    text-align: center;
    margin-top: 28px;
    padding: 0 20px;
}

.tab-caption-headline {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.tab-caption-desc {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ==================== HOW IT WORKS ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--violet), #a855f7, #ec4899, #f97316);
    border-radius: 2px;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--violet);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 20px;
    font-weight: 800;
    color: var(--violet);
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(129, 103, 234, 0.15);
}

.step-card:hover .step-num {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border-color: transparent;
}

.step-card h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: 15px; font-weight: 500; color: var(--muted); line-height: 1.65; }

/* ==================== DIFF TABLE ==================== */
.diff-table-wrap {
    margin-top: 56px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.diff-table { width: 100%; border-collapse: collapse; }

.diff-table th {
    background: rgba(248, 247, 252, 0.9);
    padding: 20px 24px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(129, 103, 234, 0.12);
}

.diff-table th:last-child { color: var(--violet); }

.diff-table td {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    border-bottom: 1px solid rgba(129, 103, 234, 0.12);
    line-height: 1.5;
}

.diff-table tr:last-child td { border-bottom: none; }
.diff-table td:first-child { font-weight: 600; color: var(--navy); }
.diff-table td:last-child { color: var(--violet); font-weight: 600; }

/* ==================== PERSONA CARDS ==================== */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.persona-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
}

.persona-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(129, 103, 234, 0.1); }

.persona-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(14, 14, 68, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.persona-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.persona-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }

.persona-tagline {
    font-size: 15px;
    font-weight: 600;
    color: var(--violet);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-style: normal;
    margin-bottom: 14px;
}

.persona-card p { font-size: 15px; font-weight: 500; color: var(--muted); line-height: 1.65; }

/* ==================== FAQ ==================== */
.faq-list {
    max-width: 760px;
    margin: 56px auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.faq-item:hover { background: rgba(255, 255, 255, 0.8); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.2s;
}

.faq-question:hover { color: var(--violet); }

.faq-icon {
    width: 32px;
    height: 32px;
    background: rgba(129, 103, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-size: 18px;
    color: var(--violet);
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
    padding: 0;
}

.faq-answer.open { max-height: 300px; padding: 0 28px 24px; }
.faq-answer p { font-size: 15px; font-weight: 500; color: var(--muted); line-height: 1.7; }

.faq-item.active .faq-icon {
    background: var(--violet);
    color: white;
    transform: rotate(45deg);
}

/* ==================== FINAL CTA ==================== */
.final-cta {
    background:
        radial-gradient(ellipse 600px 400px at 15% 20%, rgba(124, 92, 252, 0.28) 0%, transparent 60%),
        radial-gradient(ellipse 500px 500px at 85% 15%, rgba(168, 85, 247, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 400px 300px at 75% 75%, rgba(236, 72, 153, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 450px 350px at 25% 80%, rgba(99, 102, 241, 0.2) 0%, transparent 55%),
        linear-gradient(135deg, #0d0a1a 0%, #1a1333 50%, #0f0c1f 100%);
    border-radius: 32px;
    padding: 80px 64px;
    margin: 120px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: ctaOrbFloat 20s ease-in-out infinite;
    z-index: 0;
}

.cta-orb-1 { width: 400px; height: 300px; background: rgba(124, 92, 252, 0.3); top: -80px; left: -60px; animation-delay: 0s; }
.cta-orb-2 { width: 350px; height: 350px; background: rgba(168, 85, 247, 0.25); top: -50px; right: -80px; animation-delay: -5s; }
.cta-orb-3 { width: 300px; height: 200px; background: rgba(236, 72, 153, 0.2); bottom: -40px; left: 30%; animation-delay: -10s; }
.cta-orb-4 { width: 250px; height: 250px; background: rgba(99, 102, 241, 0.2); bottom: -60px; right: 20%; animation-delay: -15s; }

@keyframes ctaOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(10px, 10px) scale(1.02); }
}

.final-cta-content { position: relative; z-index: 2; }

.final-cta h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    letter-spacing: -2px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.final-cta .btn-white {
    background: white;
    color: var(--violet);
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.final-cta .btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); }

.final-cta-note {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .features-grid, .persona-grid { grid-template-columns: repeat(2, 1fr); }
    .meet-carly { grid-template-columns: 1fr; text-align: center; }
    .meet-carly-visual { order: -1; }
    .carly-capabilities { justify-content: center; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size: 44px; }
    .section-heading { font-size: 32px; }
    .features-grid, .persona-grid { grid-template-columns: 1fr; }
    .problem-grid { grid-template-columns: 1fr; }
    .final-cta { margin: 40px 24px; padding: 60px 32px; }
    .final-cta h2 { font-size: 32px; }
    .hero-section { padding: 120px 24px 80px; }
    .section { padding: 80px 24px; }
    .tab-btn {
        padding: 12px 18px;
        font-size: 13px;
    }
    .tab-caption-headline { font-size: 17px; }
    .final-cta-note { flex-direction: column; gap: 12px; }
    .hero-signup-form { flex-direction: column; }
    .hero-signup-btn { width: 100%; }
}
