/* Hero */
.hero {
    min-height: 100vh;
    padding: 8rem 4rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, rgba(67, 56, 203, 0.03) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 80%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(67, 56, 203, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(60, 202, 71, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content { text-align: left; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.75rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    max-width: 650px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-ctas { display: flex; gap: 1rem; align-items: center; }

.hero-visual { position: relative; }

.hero-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 12px 28px rgba(67, 56, 203, 0.1), 0 32px 64px rgba(67, 56, 203, 0.08);
    padding: 1.25rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    transition: transform 0.5s ease;
    border: 1px solid var(--gray-100);
}

.hero-mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}

.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-dot:first-child { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-content { background: var(--gray-50); border-radius: 12px; padding: 1.25rem; }

.mockup-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.mockup-row:last-child { border-bottom: none; }

.mockup-title { display: flex; align-items: center; gap: 0.75rem; }

.mockup-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.mockup-label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.mockup-sublabel { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }
.mockup-amount { font-family: 'Cal Sans', 'Red Hat Text', sans-serif; font-size: 1.15rem; font-weight: 600; color: var(--primary); }

.mockup-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    background: rgba(60, 202, 71, 0.1);
    color: var(--secondary-dark);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(67, 56, 203, 0.12);
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--gray-100);
}

.floating-card-1 { top: 5%; right: -25px; animation-delay: -2s; }
.floating-card-2 { bottom: 15%; left: -45px; animation-delay: -4s; }
.floating-stat { font-family: 'Cal Sans', 'Red Hat Text', sans-serif; font-size: 1.75rem; font-weight: 600; color: var(--primary); }
.floating-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* Problem Section */
.problem-section {
    padding: 7rem 4rem;
    background: var(--ink);
    color: white;
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(67, 56, 203, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(60, 202, 71, 0.12) 0%, transparent 50%);
}

.problem-inner {
    max-width: 1650px;
    margin: 0 auto;
}

.problem-content { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.problem-section h2 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.problem-section h2 .highlight { color: #f87171; }
.problem-intro { color: rgba(255, 255, 255, 0.75); font-size: 1.2rem; max-width: 700px; margin: 0 auto; line-height: 1.8; }

.problem-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }

.problem-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.problem-item:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-4px); }

.problem-item .icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-item .icon-wrap svg { width: 32px; height: 32px; stroke: rgba(255, 255, 255, 0.85); }
.problem-item h4 { color: white; font-size: 1.4rem; margin-bottom: 0.75rem; font-weight: 600; }
.problem-item p { color: rgba(255, 255, 255, 0.6); font-size: 1.1rem; line-height: 1.7; }

/* Solution/Features Section */
.solution-section { padding: 8rem 4rem; background: var(--white); }
.solution-inner { max-width: 1650px; margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(67, 56, 203, 0.1); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-50);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid var(--gray-200);
}

.feature-icon svg { width: 32px; height: 32px; stroke: var(--primary); }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; }
.feature-card p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.75; }

/* How Section */
.how-section { padding: 8rem 4rem; background: var(--gray-50); }
.how-inner { max-width: 1650px; margin: 0 auto; }

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    z-index: 0;
}

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

.step-number {
    width: 84px;
    height: 84px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Cal Sans', 'Red Hat Text', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(67, 56, 203, 0.12);
    transition: all 0.3s ease;
}

.step:hover .step-number { background: var(--primary); color: white; transform: scale(1.08); }
.step h4 { font-size: 1.2rem; margin-bottom: 0.5rem; font-weight: 600; }
.step p { color: var(--text-muted); font-size: 1.05rem; max-width: 220px; margin: 0 auto; line-height: 1.6; }

/* Switching Section */
.switching-section {
    padding: 6rem 4rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    position: relative;
}

.switching-inner {
    max-width: 1650px;
    margin: 0 auto;
}

.switching-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.switching-text h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1.25rem;
}

.switching-text h2 .highlight {
    color: var(--secondary-dark);
}

.switching-text > p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

.switching-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.switching-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
}

.switching-benefits li svg {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    color: var(--secondary);
    margin-top: 0.15rem;
}

.switching-visual {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(67, 56, 203, 0.08);
    border: 1px solid var(--gray-200);
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-row:last-child { border-bottom: none; }
.comparison-label { font-weight: 500; color: var(--text-muted); font-size: 1.05rem; }
.comparison-values { display: flex; gap: 2rem; }

.comparison-old {
    color: var(--gray-400);
    text-decoration: line-through;
    font-size: 1rem;
}

.comparison-new {
    color: var(--secondary-dark);
    font-weight: 600;
    font-size: 1rem;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.comparison-header span {
    font-family: 'Cal Sans', 'Red Hat Text', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

.comparison-header .others { color: var(--gray-400); }
.comparison-header .rhq { color: var(--primary); }

/* Testimonials Section */
.testimonials-section { padding: 8rem 4rem; background: var(--primary); position: relative; overflow: hidden; }

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(60, 202, 71, 0.15) 0%, transparent 50%);
}

.testimonials-inner { max-width: 1650px; margin: 0 auto; position: relative; z-index: 1; }
.testimonials-section .section-header h2 { color: white; }
.testimonials-section .section-eyebrow { color: var(--secondary-light); }
.testimonials-section .section-header p { color: rgba(255, 255, 255, 0.75); font-size: 1.15rem; }

.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1300px; margin: 0 auto; }

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-4px); }
.testimonial-quote { font-size: 1.05rem; color: white; line-height: 1.85; margin-bottom: 1.75rem; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.author-info h5 { color: white; font-family: 'Cal Sans', 'Red Hat Text', sans-serif; font-weight: 600; font-size: 1.1rem; margin-bottom: 0.1rem; }
.author-info span { color: rgba(255, 255, 255, 0.65); font-size: 1rem; display: block; margin-top: 0; }

/* Responsive */
@media (max-width: 1024px) {
    .hero { padding: 6rem 2rem 4rem; }
    .hero h1 { font-size: 3rem; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { text-align: center; }
    .hero h1 { max-width: none; margin-left: auto; margin-right: auto; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-visual { display: none; }
    .problem-section, .switching-section, .solution-section, .how-section, .testimonials-section { padding-left: 2rem; padding-right: 2rem; }
    .switching-content { grid-template-columns: 1fr; gap: 3rem; }
    .problem-list, .features-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .steps-container { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .steps-container::before { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero { padding: 5rem 1.5rem 3rem; }
    .hero h1 { font-size: 2.5rem; }
    .problem-section, .switching-section, .solution-section, .how-section, .testimonials-section { padding: 4rem 1.5rem; }
    .steps-container { grid-template-columns: 1fr; }
}
