/* Features Section */
.features-section {
    padding: 6rem 0 5rem 0;
    background: linear-gradient(120deg, #f8fafc 0%, #eef2ff 100%);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.features-header .badge {
    display: inline-block;
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5em 1.2em;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 12px rgba(99,102,241,0.12);
}

.features-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.features-header p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 0;
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.2rem 1.5rem 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(99,102,241,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 370px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.feature-box:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(99,102,241,0.13);
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 60%, #4f46e5 100%);
    color: #fff;
}

.feature-box:hover h3,
.feature-box:hover p,
.feature-box:hover ul li {
    color: #fff;
}

.feature-box:hover .feature-icon {
    background: #fff;
    color: #4f46e5;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #a5b4fc, #6366f1 60%, #4f46e5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 2px 8px rgba(99,102,241,0.10);
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.7rem;
    text-align: center;
}

.feature-box p {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: center;
}

.feature-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.feature-box ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #4b5563;
    font-size: 1rem;
    text-align: left;
}

.feature-box ul li:last-child {
    margin-bottom: 0;
}

.feature-box ul li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #4f46e5;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    color: #6b7280;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Story Section */
.story {
    position: relative;
    background: none;
    overflow: hidden;
}

.story-dashboard-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('assets/dashboard-bg.png') center center/cover no-repeat;
    opacity: 0.13;
    pointer-events: none;
}

.story-content {
    position: relative;
    z-index: 1;
}

.story-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.story-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    margin: 0 auto;
    border-radius: 2px;
}

.story-flex-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1rem 2rem 1rem;
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.story-image-container {
    position: relative;
}

.image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.overlay-content i {
    font-size: 2rem;
    color: #4f46e5;
}

.story-text-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-highlight {
    background: #f3f4f6;
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: #4f46e5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    color: white;
    font-size: 1.5rem;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: #eef2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    color: #fff !important;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.story-highlighted-stat {
    margin: 2rem 0 1rem 0;
    text-align: left;
}

.highlighted-green {
    background: #00ff1a;
    color: #111;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.3;
    box-decoration-break: clone;
}

/* Clients Section - Matching index-v2.html */
.clients {
    padding: 6rem 0;
    background: #f9fafb;
    position: relative;
}

.clients .container {
    position: relative;
    z-index: 1;
}

.trusted-header {
    text-align: center;
    margin-bottom: 4rem;
}

.trusted-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    max-width: 100%;
    height: auto;
    filter: none;
    transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: none;
}

.trusted-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23E5E7EB"/></svg>');
    opacity: 0.1;
    z-index: 0;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .features .container {
        max-width: 960px;
    }
}

@media (max-width: 1024px) {
    .features-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .feature-box {
        min-height: 340px;
        padding: 1.5rem 1rem 1.2rem 1rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 3rem 0 2rem 0;
    }
    .features-header h2 {
        font-size: 1.5rem;
    }
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .feature-box {
        min-height: 0;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

.story-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 1.5rem 0;
}

.story-stat-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}

.story-stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.story-stat-card .stat-label {
    color: #4b5563;
    font-size: 1rem;
    font-weight: 500;
}

.story-stat-card.highlighted-green-card {
    background: #fff;
    color: #1f2937;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.story-stat-card.highlighted-green-card .stat-value,
.story-stat-card.highlighted-green-card .stat-label {
    color: #1f2937;
}

@media (max-width: 768px) {
    .story-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .story-stat-card {
        padding: 1.2rem 0.8rem;
    }
}

.story-dashboard-visual {
    text-align: center;
    margin-bottom: 2rem;
}

.story-dashboard-visual img {
    max-width: 520px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.story-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 0.5rem auto;
    font-size: 1.15rem;
    color: #374151;
    line-height: 1.5;
    padding: 0 0.5rem;
}

.story-growth-visual {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.story-growth-visual img {
    max-width: 440px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    object-fit: contain;
    background: #fff;
    animation: floatY 3.5s ease-in-out infinite alternate;
}

.story-stats-title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

/* Animations */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.8); }
    60% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}
.animate-fade-in-left {
    animation: fadeInLeft 1s cubic-bezier(.77,0,.18,1) both;
}
.animate-fade-in-right {
    animation: fadeInRight 1s cubic-bezier(.77,0,.18,1) both;
}
.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(.77,0,.18,1) both;
}
.animate-pop-in {
    animation: popIn 0.7s cubic-bezier(.77,0,.18,1) both;
}

@keyframes floatY {
    0% { transform: translateY(0); }
    100% { transform: translateY(-18px); }
}

.story-stat-card.animate-pop-in {
    animation: popIn 0.7s cubic-bezier(.77,0,.18,1) both;
    will-change: transform, opacity;
}

.story-content.animate-fade-in-right {
    animation: fadeInRight 1.1s cubic-bezier(.77,0,.18,1) both;
    will-change: transform, opacity;
}

.story-growth-visual.animate-fade-in-left {
    animation: fadeInLeft 1.1s cubic-bezier(.77,0,.18,1) both;
    will-change: transform, opacity;
}

.story-cta.animate-fade-in-up {
    animation: fadeInUp 1.1s cubic-bezier(.77,0,.18,1) both;
    will-change: transform, opacity;
}

@media (max-width: 1024px) {
    .story-flex-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.5rem 0.5rem 1.2rem 0.5rem;
    }
    .story-growth-visual {
        margin-bottom: 1rem;
    }
    .story-growth-visual img {
        max-width: 320px;
    }
}

.story-image-caption {
    text-align: center;
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0.7rem;
    font-style: italic;
    letter-spacing: 0.01em;
}

/* --- HERO LOYALTY SECTION (from experimental) --- */
.hero-loyalty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    padding: 0;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}
.hero-loyalty > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.hero-loyalty-content {
    max-width: 540px;
    z-index: 2;
    margin-top: 12px;
}
.loyalty-badge {
    display: inline-block;
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5em 1.2em;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 12px rgba(99,102,241,0.12);
    position: relative;
}
.hero-loyalty-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}
.hero-loyalty-title .highlight {
    color: #4f46e5;
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-loyalty-sub {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2.2rem;
    line-height: 1.6;
}
.hero-cta-group {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}
.hero-cta-main {
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9em 2.2em;
    border: none;
    border-radius: 50px;
    box-shadow: 0 2px 16px rgba(99,102,241,0.13);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none !important;
}
.hero-cta-main:hover {
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    transform: translateY(-2px) scale(1.04);
}
.hero-cta-secondary {
    background: #fff;
    color: #4f46e5;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9em 2.2em;
    border: 2px solid #6366f1;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.hero-cta-secondary:hover {
    background: #6366f1;
    color: #fff;
}
.hero-loyalty-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-width: 320px;
}
.hero-loyalty-visual img {
    max-width: 400px;
    margin-top: 32px;
    width: 100%;
    border-radius: 2.5rem;
    box-shadow: 0 8px 48px rgba(99,102,241,0.13);
    animation: floatHero 4s ease-in-out infinite alternate;
}
@keyframes floatHero {
    0% { transform: translateY(0); }
    100% { transform: translateY(-24px); }
}
.hero-bg-shape {
    position: absolute;
    right: -120px;
    top: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at 60% 40%, #6366f1 0%, #4f46e5 100%);
    opacity: 0.13;
    border-radius: 50%;
    z-index: 0;
    transform: translateY(-50%);
}
@media (max-width: 900px) {
    .hero-loyalty {
        flex-direction: column;
        padding: 3.5rem 0.5rem 1.5rem 0.5rem;
        min-height: 70vh;
        padding-top: 80px;
    }
    .hero-loyalty-visual {
        min-width: 0;
        width: 100%;
        margin-top: 2rem;
        justify-content: center;
    }
    .hero-image-wrapper img {
        max-width: 90vw;
        min-width: 0;
        width: 100%;
        margin: 0 auto;
        display: block;
    }
    .loyalty-badge {
        z-index: 2;
        position: relative;
    }
    .hero-bg-shape {
        width: 400px;
        height: 400px;
        right: -60px;
    }
}
@media (max-width: 600px) {
    .hero-loyalty-title {
        font-size: 1.5rem;
    }
    .hero-loyalty-sub {
        font-size: 1rem;
    }
}

/* --- Modern Story Section (Refined for Alignment & Compactness) --- */
.story-modern {
    position: relative;
    padding: 6rem 0 5rem 0;
    background: #f8fafc;
    overflow: hidden;
    min-height: 70vh;
}
.story-bg-shape {
    position: absolute;
    left: 0;
    top: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at 60% 40%, #6366f1 0%, #4f46e5 100%);
    opacity: 0.13;
    border-radius: 50%;
    z-index: 0;
    transform: translateY(-50%);
    pointer-events: none;
}
.story-modern-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
.story-badge {
    display: inline-block;
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5em 1.2em;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 12px rgba(99,102,241,0.12);
    position: relative;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.story-title, .story-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.story-title {
    margin-bottom: 1rem;
}
.story-sub {
    margin-bottom: 1.5rem;
}
.story-modern-grid {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.story-modern-image {
    flex: 1 1 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    z-index: 1;
}
.story-modern-image img {
    max-width: 520px;
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(99,102,241,0.13);
    background: #fff;
    border: 6px solid #fff;
}
.story-modern-stats {
    flex: 1 1 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 320px;
}
.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    width: 100%;
    max-width: 520px;
}
.stats-cards .stat-card {
    background: #fff;
    padding: 1.3rem 0.7rem 1.1rem 0.7rem;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(99,102,241,0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    min-width: 120px;
    max-width: 170px;
    justify-content: center;
}
.stats-cards .stat-card:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin-left: auto;
    margin-right: auto;
}
.stats-cards .stat-card:hover {
    transform: translateY(-4px) scale(1.03);
}
.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #a5b4fc, #6366f1 60%, #4f46e5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(99,102,241,0.10);
}
.stat-number {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.3rem;
}
.stat-label {
    color: #6b7280;
    font-size: 0.98rem;
    font-weight: 500;
}
.story-cta {
    text-align: center;
    margin-top: 0.7rem;
}
.story-cta .primary-button {
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9em 2.2em;
    border: none;
    border-radius: 50px;
    box-shadow: 0 2px 16px rgba(99,102,241,0.13);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
    margin: 0 auto;
    text-decoration: none !important;
}
.story-cta .primary-button:hover {
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    transform: translateY(-2px) scale(1.04);
}
.story-cta p {
    font-size: 1.05rem;
    color: #374151;
    margin-bottom: 0.7rem;
}
@media (max-width: 1024px) {
    .story-bg-shape {
        width: 400px;
        height: 400px;
        left: 0;
        top: 60%;
    }
    .story-modern-grid {
        flex-direction: column;
        gap: 1.2rem;
    }
    .story-modern-image img {
        max-width: 340px;
    }
    .stats-cards {
        max-width: 340px;
        gap: 1rem;
    }
}
@media (max-width: 768px) {
    .story-bg-shape {
        width: 180px;
        height: 180px;
        left: 0;
        top: 70%;
    }
    .story-modern-image img {
        max-width: 156px;
    }
    .stats-cards {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        max-width: 100%;
    }
}

/* --- Modern Tools Section --- */
.tools {
    padding: 6rem 0 5rem 0;
    background: linear-gradient(120deg, #f8fafc 0%, #eef2ff 100%);
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header .badge, .section-header .tools-badge {
    display: inline-block;
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5em 1.2em;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 12px rgba(99,102,241,0.12);
}
.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.section-header p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 0;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.tool-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.2rem 1.5rem 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(99,102,241,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 270px;
    transition: transform 0.25s, box-shadow 0.25s;
}
.tool-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(99,102,241,0.13);
}
.tool-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #a5b4fc, #6366f1 60%, #4f46e5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 2px 8px rgba(99,102,241,0.10);
}
.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.7rem;
    text-align: center;
}
.tool-card p {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}
.tool-icon i {
    color: #fff !important;
}
@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .tool-card {
        min-height: 220px;
        padding: 1.5rem 1rem 1.2rem 1rem;
    }
}
@media (max-width: 768px) {
    .tools {
        padding: 3rem 0 2rem 0;
    }
    .section-header h2 {
        font-size: 1.5rem;
    }
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .tool-card {
        min-height: 0;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .tool-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.hero-image-wrapper img {
    max-width: 324px;
    width: 100%;
    border-radius: 2.5rem;
    box-shadow: 0 8px 48px rgba(99,102,241,0.13), 0 2px 16px rgba(0,0,0,0.08);
    border: 6px solid #fff;
    animation: floatHero 4s ease-in-out infinite alternate;
    background: #fff;
}
.floating-badge {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #4f46e5, #22d3ee);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.55em 1.3em;
    border-radius: 2em;
    box-shadow: 0 4px 18px rgba(99,102,241,0.18);
    display: flex;
    align-items: center;
    gap: 0.6em;
    z-index: 2;
    animation: floatBadge 2.5s ease-in-out infinite alternate;
}
.floating-badge i {
    font-size: 1.3em;
    color: #fff;
}
@keyframes floatBadge {
    0% { transform: translateX(-50%) translateY(0); }
    100% { transform: translateX(-50%) translateY(-12px); }
}
@media (max-width: 1024px) {
    .hero-image-wrapper img {
        max-width: 442px;
    }
}
@media (max-width: 768px) {
    .hero-image-wrapper img {
        max-width: 203px;
    }
}

.features-rows {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}
.feature-row {
    display: flex;
    align-items: stretch;
    gap: 3rem;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}
.feature-row .feature-image,
.feature-row .feature-content {
    min-width: 340px;
    max-width: 420px;
    min-height: 320px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-row .feature-image {
    flex: 1;
    padding: 2rem 0;
}
.feature-row .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.feature-row .feature-content {
    flex: 1;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(99,102,241,0.10);
    padding: 2.5rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 0.5rem;
    height: 100%;
}
.feature-row .feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}
.feature-row .feature-content p {
    color: #475569;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
}
.feature-row .feature-content ul.feature-points {
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding-left: 0;
}
.feature-row .feature-content ul.feature-points li {
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
    padding-left: 1.5rem;
}
.feature-row .feature-content ul.feature-points li:before {
    font-size: 1.1rem;
    left: 0;
}
@media (max-width: 900px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column !important;
        gap: 1.5rem;
        text-align: center;
        align-items: stretch;
    }
    .feature-row .feature-content,
    .feature-row .feature-image {
        align-items: center;
        padding: 1.5rem 1rem;
        min-width: 0;
        max-width: 100%;
        min-height: 0;
        height: auto;
    }
    .feature-row .feature-image img {
        max-width: 100%;
        max-height: 220px;
        height: auto;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .feature-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 800px;
        margin: 0 auto;
    }
}
.feature-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.feature-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #fff;
}
.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.feature-card:hover .feature-image img {
    transform: scale(1.05);
}
.feature-content {
    padding: 2rem;
    background: #fff;
    position: relative;
}
.feature-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #a5b4fc, #6366f1 60%, #4f46e5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(99,102,241,0.10);
}
.feature-content h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}
.feature-content p {
    color: #475569;
    line-height: 1.6;
    font-size: 1.1rem;
}

.partner-types-section {
    padding: 4rem 0 3rem 0;
    background: #f8fafc;
}
.partner-types-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.partner-types-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.partner-types-header .badge {
    display: inline-block;
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5em 1.2em;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 12px rgba(99,102,241,0.12);
    text-align: center;
}
.partner-types-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.7rem;
}
.partner-types-header p {
    color: #475569;
    font-size: 1.1rem;
}
.partner-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    justify-items: center;
}
.partner-type-card {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px rgba(99,102,241,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem 1.2rem 1rem;
    transition: transform 0.22s, box-shadow 0.22s;
    min-width: 200px;
    max-width: 260px;
}
.partner-type-card img {
    width: 100%;
    max-width: 180px;
    height: 140px;
    object-fit: cover;
    border-radius: 0.8rem;
    margin-bottom: 1.1rem;
    background: #f3f4f6;
}
.partner-type-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    background: #eef2ff;
    border-radius: 1.2rem;
    padding: 0.5rem 1.2rem;
    margin-top: 0.7rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(99,102,241,0.07);
}
.partner-type-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(99,102,241,0.13);
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 60%, #4f46e5 100%);
}
.partner-type-card:hover .partner-type-label {
    background: #fff;
    color: #4f46e5;
}

.partner-types-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    justify-items: center;
    margin-top: 2.5rem;
}
@media (max-width: 900px) {
    .partner-types-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .partner-types-modern-grid {
        grid-template-columns: 1fr;
    }
}
.partner-type-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    box-shadow: none;
    border-radius: 0;
    transition: transform 0.18s, box-shadow 0.18s;
    padding: 0;
}
.partner-type-modern img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    /* Hexagon shape */
    clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
    background: #f3f4f6;
    margin-bottom: 1.1rem;
    box-shadow: 0 2px 12px rgba(99,102,241,0.10);
    position: relative;
    transition: box-shadow 0.18s, transform 0.18s;
}
.partner-type-modern img::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 60%;
    background: linear-gradient(180deg, rgba(99,102,241,0) 0%, rgba(99,102,241,0.18) 100%);
    border-radius: 0 0 16px 16px;
    pointer-events: none;
    z-index: 1;
    display: block;
}
.partner-type-modern-label {
    font-size: 1.08rem;
    font-weight: 700;
    color: #22223b;
    margin-top: 0.2rem;
    letter-spacing: 0.01em;
    text-align: center;
}
.partner-type-modern:hover img {
    box-shadow: 0 6px 24px rgba(99,102,241,0.18);
    transform: scale(1.07);
}
.partner-type-modern:hover .partner-type-modern-label {
    color: #4f46e5;
}
.partner-types-sub {
    color: #6b7280;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.loyalty-steps-section {
    padding: 5rem 0 4rem 0;
    background: #fff;
}
.loyalty-steps-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.loyalty-steps-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.loyalty-steps-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.7rem;
}
.loyalty-steps-sub {
    color: #475569;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.loyalty-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2.5rem;
    justify-items: center;
}
.loyalty-step-card {
    background: #f8fafc;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(99,102,241,0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-height: 160px;
    width: 100%;
    max-width: 340px;
    transition: box-shadow 0.18s, transform 0.18s;
    position: relative;
}
.loyalty-step-card:hover {
    box-shadow: 0 8px 32px rgba(99,102,241,0.13);
    transform: translateY(-6px) scale(1.03);
}
.loyalty-step-number {
    font-size: 2.2rem;
    font-weight: 800;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 2px 8px rgba(99,102,241,0.10);
}
.loyalty-step-card.step2 .loyalty-step-number,
.loyalty-step-card.step4 .loyalty-step-number,
.loyalty-step-card.step6 .loyalty-step-number {
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
    color: #fff;
}
.loyalty-step-desc {
    font-size: 1.08rem;
    color: #22223b;
    font-weight: 500;
    line-height: 1.5;
}
@media (max-width: 900px) {
    .loyalty-steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .loyalty-steps-grid {
        grid-template-columns: 1fr;
    }
    .loyalty-step-card {
        max-width: 100%;
    }
}

/* Contact Form Submit Button - Match Hero CTA Style */
.submit-button {
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9em 2.2em;
    border: none;
    border-radius: 50px;
    box-shadow: 0 2px 16px rgba(99,102,241,0.13);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    margin: 0 auto;
    text-decoration: none !important;
}
.submit-button:hover {
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 600px) {
    .container,
    .features-container,
    .clients .container,
    .features .container,
    .hero-loyalty > .container,
    .partner-types-container,
    .loyalty-steps-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }
    body, html {
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-loyalty > .container {
        flex-direction: column;
        gap:30px;
    }
    
    .hero-cta-group a {
        font-size: 12px;
    }

    .floating-badge {
        font-size: 10px;
    }
    
    .stats-cards {grid-template-columns: 1fr 1fr;}

    .stats-cards .stat-card {
        width: 100%;
    }
}

/* Rocket Section (Phoenix style) */
.rocket-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(120deg, #0a1833 0%, #133a7c 100%);
}
.rocket-section-inner {
    display: flex;
    align-items: center;
    background: #131e36;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(20,30,60,0.18);
    padding: 3rem 3.5rem 3rem 3rem;
    max-width: 950px;
    width: 100%;
    gap: 2.5rem;
}
.rocket-section-content {
    flex: 1 1 0%;
    color: #fff;
}
.rocket-section-content .badge {
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5em 1.2em;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    display: inline-block;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 12px rgba(99,102,241,0.12);
}
.rocket-section-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}
.rocket-section-content p {
    font-size: 1.15rem;
    color: #e0e7ef;
    margin-bottom: 0;
}
.rocket-section-image {
    flex: 0 0 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rocket-section-image img {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 32px rgba(99,102,241,0.18));
}
@media (max-width: 900px) {
    .rocket-section-inner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    .rocket-section-image {
        flex: unset;
        margin-top: 1.5rem;
    }
} 