/* ========================================
   PrimeInspect - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #D6F527;      /* Chartreuse */
    --primary-dark: #1f2937;       /* Dark Charcoal – matches header/footer family */
    --primary-light: #E8FD6A;      /* Light Chartreuse */
    --secondary-color: #E8FD6A;    /* Light Chartreuse */
    --accent-color: #CA8A04;       /* Gold */
    --dark-color: #111827;         /* Deep Charcoal – same as header & footer */
    --text-color: #222222;         /* Primary body text */
    --text-light: #6C757D;         /* Muted / secondary text */
    --bg-color: #ffffff;           /* Page background */
    --bg-light: #ffffff;           /* Light section background */
    --bg-gray: #e9ecef;            /* Tab/control backgrounds */
    --border-color: #dee2e6;
    --success-color: #198754;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #111827;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.logo img {
    width: 4.5rem;
    height: 2.5rem;
    object-fit: contain;
    flex-shrink: 0;
}

.logo span {
    white-space: nowrap;
}

.logo {
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    transition: var(--transition);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.07);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(214, 245, 39, 0.12);
    font-weight: 600;
}

.btn-contact {
    background: var(--primary-color);
    color: #111827 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 700;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 245, 39, 0.35);
    background: var(--primary-light) !important;
    color: #111827 !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #111827;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--dark-color);
    color: var(--dark-color);
}

.btn-outline:hover {
    background: var(--dark-color);
    color: white;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, var(--bg-color) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(214, 245, 39, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(31, 41, 55, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Hero Image Area */
.hero-image {
    position: relative;
    height: auto;
    animation: fadeInRight 1s ease-out;
}

.hero-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.mockup-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 30px;
    padding: 15px;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.mockup-header span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
}

.mockup-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-light);
}

.mockup-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--dark-color);
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-1 {
    top: 10%;
    left: -10%;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: -15%;
    animation: float 5s ease-in-out infinite 0.5s;
}

.card-3 {
    bottom: 15%;
    left: -5%;
    animation: float 4.5s ease-in-out infinite 1s;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark-color);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(214, 245, 39, 0.15);
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    background: var(--bg-light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-item {
    background: rgb(255, 255, 255);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
}

/* Our Story Section */
.our-story {
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.story-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.story-left {
    padding-right: 2rem;
}

.story-header .section-tag {
    background: var(--primary-dark);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.story-header .section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.story-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.story-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.story-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.story-feature-card:hover::before {
    transform: scaleX(1);
}

.story-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(214, 245, 39, 0.2);
}

.card-purple .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.card-blue .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.card-green .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-light) 0%, #D6F527 100%);
}

.card-orange .feature-icon-wrapper {
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon-wrapper i {
    font-size: 1.75rem;
    color: white;
}

.story-feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.story-feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .story-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-left {
        padding-right: 0;
        text-align: center;
    }

    .story-header .section-tag {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .story-features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .story-header .section-title {
        font-size: 2rem;
    }

    .story-description {
        font-size: 1rem;
    }
}

/* ========================================
   Why Choose Section
   ======================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.why-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(214, 245, 39, 0.1), rgba(232, 253, 106, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.why-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.benefit-card ul {
    list-style: none;
}

.benefit-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.benefit-card li i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

/* ========================================
   How We Work Section
   ======================================== */
.work-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.work-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -10px;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
}

.timeline-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(214, 245, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ========================================
   Portfolio Section
   ======================================== */
.portfolio {
    background: #111827;
    color: white;
}

.portfolio .section-tag {
    background: rgba(214, 245, 39, 0.12);
    color: #D6F527;
    border: 1px solid rgba(214, 245, 39, 0.25);
}

.portfolio .section-title,
.portfolio .section-subtitle {
    color: white;
}

.portfolio .section-title span,
.portfolio .gradient-text {
    background: linear-gradient(135deg, #D6F527, #E8FD6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 1.5rem;
    color: white;

    /* ALWAYS visible */
    opacity: 1;
    visibility: visible;
    transform: none;

    background: linear-gradient(to top,
            rgba(17, 24, 39, 0.92) 0%,
            rgba(17, 24, 39, 0.55) 60%,
            transparent 100%);
}



.portfolio-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}


.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}



/* ========================================
   App Features Section
   ======================================== */
.app-features {
    background: var(--bg-light);
}

.features-showcase {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.feature-tabs {
    display: flex;
    background: var(--bg-gray);
    overflow-x: auto;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 1.5rem 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

.tab-btn i {
    font-size: 1.5rem;
}

.tab-btn:hover {
    background: rgba(214, 245, 39, 0.05);
    color: var(--primary-color);
}

.tab-btn.active {
    background: white;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.feature-content {
    padding: 3rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.content-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-list i {
    color: var(--secondary-color);
}

.content-visual {
    display: flex;
    justify-content: center;
}

.feature-mockup {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(214, 245, 39, 0.1), rgba(232, 253, 106, 0.1));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.feature-mockup i {
    font-size: 6rem;
    color: var(--primary-color);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    background: #f4f4f5;
}

/* ── Segmented Toggle ── */
.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.toggle-segment {
    display: inline-flex;
    background: white;
    border: 1px solid #e4e4e7;
    border-radius: 50px;
    padding: 4px;
    gap: 2px;
}

.tseg-btn {
    background: transparent;
    border: none;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.tseg-btn.active {
    background: #111827;
    color: white;
    font-weight: 600;
}

.tseg-btn:hover:not(.active) {
    color: #111827;
}

.save-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #111827;
    padding: 0.1rem 0.55rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-left: 4px;
    vertical-align: middle;
}

/* ── Cards grid ── */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.plan-body {
    flex: 1;
}

.pricing-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Banner (Most Popular) */
.plan-banner {
    background: #111827;
    color: white;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Card body */
.plan-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.plan-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.plan-price-block {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    margin-bottom: 0.3rem;
}

.currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    align-self: flex-start;
    padding-top: 8px;
}

.amount {
    font-size: 3.25rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.period {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-left: 4px;
    align-self: flex-end;
    padding-bottom: 6px;
}

.plan-billing {
    font-size: 0.82rem;
    color: #9ca3af;
    margin: 0 0 1rem;
}

.plan-desc {
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.plan-divider {
    height: 1px;
    background: #f3f4f6;
    margin-bottom: 1.25rem;
}

/* Feature list */
.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: #374151;
}

.plan-features i {
    color: #374151;
    font-size: 1rem;
    flex-shrink: 0;
}

/* CTA button */
.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* Featured card */
.pricing-card.featured {
    border-color: #111827;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.1);
}

.pricing-card.featured .plan-features i {
    color: #111827;
}



.enterprise-section {
    text-align: center;
    padding: 4rem 2rem;
}

.enterprise-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.enterprise-description {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
    color: var(--text-light);
}


.enterprise-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem auto;
    width: fit-content;
}

.enterprise-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.enterprise-features i {
    color: var(--secondary-color);
}

.custom-btn {
    margin-top: 1rem;
}

/* ========================================
   CTA Section — Split Layout
   ======================================== */
.cta {
    background: linear-gradient(140deg, #0a0f1e 0%, #0f1f3d 35%, #102a52 65%, #0d3566 100%);
    color: white;
    overflow: hidden;
    position: relative;
    padding: 5rem 0;
}

/* Decorative background circles */
.cta-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: white;
}

.cta-circle-1 {
    width: 500px;
    height: 500px;
    top: -160px;
    right: -120px;
}

.cta-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: 5%;
}

.cta-circle-3 {
    width: 160px;
    height: 160px;
    top: 40%;
    left: 42%;
    opacity: 0.05;
}

/* Two-column inner layout */
.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left side */
.cta-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    width: fit-content;
}

.cta-left h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: white;
    margin: 0;
}

.cta-left p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    max-width: 480px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: #1f2937;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.9rem 2rem;
    border: 2px solid white;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1rem;
}

.btn-cta-primary:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.btn-cta-ghost {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.9rem 2rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1rem;
}

.btn-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: white;
    transform: translateY(-3px);
}

/* Trust line */
.cta-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.cta-trust i {
    color: #D6F527;
    margin-right: 3px;
}

.cta-dot {
    color: rgba(255, 255, 255, 0.3);
}

/* Right side: onboarding steps */
.cta-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cta-onboard-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #D6F527;
    margin-bottom: 1.5rem;
}

.cta-onboard-header i {
    font-size: 0.9rem;
}

/* Steps container */
.cta-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cta-step {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

/* Left column: number + connecting line */
.cta-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.cta-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-step-live {
    background: #D6F527;
    border-color: #D6F527;
    color: #111827;
    font-size: 0.9rem;
}

.cta-step-line {
    width: 2px;
    flex: 1;
    min-height: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 100%);
    margin: 4px 0;
}

/* Step body: title + description */
.cta-step-body {
    padding-bottom: 1.5rem;
}

.cta-step-last .cta-step-body {
    padding-bottom: 0;
}

.cta-step-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.cta-step-body h4 i {
    font-size: 0.8rem;
    color: #D6F527;
    flex-shrink: 0;
}

.cta-step-body p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.65;
    margin: 0;
    max-width: 320px;
}

/* Responsive */
@media (max-width: 900px) {
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .cta-left h2 { font-size: 2.1rem; }
    .cta-left p  { max-width: 100%; }
}

@media (max-width: 480px) {
    .cta-trust  { flex-direction: column; align-items: flex-start; gap: 6px; }
    .cta-dot    { display: none; }
    .cta-step-body p { max-width: 100%; }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #111827;
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: var(--transition);
    color: white;
}

.app-btn:hover {
    background: rgba(214, 245, 39, 0.15);
    transform: translateX(5px);
}

.app-btn i {
    font-size: 2rem;
}

.app-btn div {
    display: flex;
    flex-direction: column;
}

.app-btn span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.app-btn strong {
    font-size: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Page Header (Articles & Contact)
   ======================================== */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* ========================================
   Articles Page
   ======================================== */
.articles-section {
    background: var(--bg-light);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.article-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.article-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.4;
}

.article-content>p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.article-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.article-highlights i {
    color: var(--secondary-color);
    margin-top: 0.2rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    gap: 1rem;
}

/* Newsletter Section */
.newsletter {
    background: var(--dark-color);
    color: white;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    white-space: nowrap;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.form-group label i {
    color: var(--dark-color);
    opacity: 0.6;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(214, 245, 39, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    font-weight: normal !important;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
}

.error-message {
    display: none;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(25, 135, 84, 0.1);
    color: var(--success-color);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--dark-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    height: 400px;
    background: var(--bg-gray);
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.scroll-top.show {
    display: flex;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        height: 400px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: #111827;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 70px);
        padding: 2rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
        transition: right 0.3s ease;
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content {
        flex-direction: column;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }

    .feature-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: none;
        width: 50%;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* Compact page header (contact page) */
.page-header {
    padding: 1.25rem 0;
    min-height: 180px;
    display: flex;
    align-items: center;
}

.page-header .container {
    margin-top: 40px;
}

.page-header .container h1 {
    margin-top: 0px;
    font-size: 1.75rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        font-size: 0.9rem;
    }
}

/* ========================================
   Hero Section - Enhanced UI
   ======================================== */

/* Richer layered background */
.hero {
    background: linear-gradient(150deg, #f1f5f9 0%, #f8fafc 50%, var(--bg-color) 100%);
}

.hero-background {
    background:
        radial-gradient(ellipse at 12% 38%, rgba(214, 245, 39, 0.13) 0%, transparent 52%),
        radial-gradient(ellipse at 82% 72%, rgba(31, 41, 55, 0.09) 0%, transparent 48%),
        radial-gradient(ellipse at 55% 8%, rgba(232, 253, 106, 0.07) 0%, transparent 38%);
}

/* Decorative organic blob behind mockup */
.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 420px;
    background: linear-gradient(135deg, rgba(214, 245, 39, 0.1), rgba(31, 41, 55, 0.07));
    border-radius: 42% 58% 62% 38% / 48% 44% 56% 52%;
    z-index: 0;
    animation: float 9s ease-in-out infinite;
    pointer-events: none;
}

/* Ensure mockup sits above blob */
.hero-mockup,
.floating-card {
    z-index: 1;
}

/* Bolder, tighter headline */
.hero-title {
    font-size: 4rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* Constrained subtitle for readability */
.hero-subtitle {
    max-width: 500px;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ── Hero Buttons – Redesigned ───────────────────────── */

/* Primary: green pill with icon badge + sliding arrow */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #111827;
    font-weight: 700;
    font-size: 1rem;
    padding: 7px 20px 7px 7px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 24px rgba(214, 245, 39, 0.42), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-hero-icon {
    width: 38px;
    height: 38px;
    background: rgba(17, 24, 39, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.btn-hero-arrow {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.btn-hero-primary:hover {
    background: #1f2937;
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(214, 245, 39, 0.5);
    color: #ffffff;
}

.btn-hero-primary:hover .btn-hero-arrow {
    transform: translateX(5px);
}

.btn-hero-primary:hover .btn-hero-icon {
    background: rgba(255, 255, 255, 0.3);
}

/* Ghost: white pill with play-circle icon + green accent */
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--dark-color);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.1rem 0.85rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.2);
}

.btn-hero-ghost-arrow {
    color: var(--primary-color);
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.btn-hero-ghost:hover {
    background: #1f2937;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.28);
    color: white;
}

.btn-hero-ghost:hover .btn-hero-ghost-arrow {
    transform: translateX(5px);
}

/* Pill-card stat badges */
.hero-stats {
    gap: 0.85rem;
}

.stat-item {
    background: white;
    border: 1px solid rgba(214, 245, 39, 0.14);
    border-radius: 14px;
    padding: 0.8rem 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: rgba(214, 245, 39, 0.32);
    box-shadow: 0 4px 18px rgba(214, 245, 39, 0.1);
    transform: translateY(-2px);
}

.stat-item i {
    font-size: 1.75rem;
}

.stat-item h3 {
    font-size: 1.6rem;
}

/* ── Hero Gallery ─────────────────────────────────────── */
.hero-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.hg-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(31, 41, 55, 0.22), 0 4px 16px rgba(0, 0, 0, 0.10);
    border: 2px solid rgba(214, 245, 39, 0.35);
}

.hg-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hg-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    border: 1.5px solid rgba(214, 245, 39, 0.2);
}

.hg-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.hg-main .hg-img {
    height: 300px;
    object-position: top;
}

.hg-thumb .hg-img {
    height: 120px;
    object-position: top;
}

.hg-thumb:last-child .hg-img {
    object-position: center;
}

.hg-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(17, 24, 39, 0.86);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(6px);
    text-transform: uppercase;
}

.hg-dot {
    color: #D6F527;
    font-size: 0.45rem;
}

/* Responsive overrides */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-image::before {
        width: 280px;
        height: 280px;
    }

    .hg-main .hg-img {
        height: 220px;
    }

    .hg-thumb .hg-img {
        height: 90px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: -0.02em;
    }

    .hg-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .hg-thumb:last-child {
        display: none;
    }
}

/* ========================================
   How It Works - Enhanced UI
   ======================================== */

/* Gradient background for visual separation */
.how-it-works {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

/* Grid with relative positioning for connector line */
.steps-container {
    position: relative;
    gap: 2.5rem;
    padding-top: 1.5rem;
}

/* Horizontal connector line between cards (desktop 4-col layout) */
@media (min-width: 1024px) {
    .steps-container::before {
        content: '';
        position: absolute;
        top: 3rem;
        left: calc(12.5% + 40px);
        right: calc(12.5% + 40px);
        height: 2px;
        background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
        opacity: 0.18;
        z-index: 0;
        pointer-events: none;
    }
}

/* Cards sit above the connector line */
.step-item {
    position: relative;
    z-index: 1;
    border-top: 3px solid var(--primary-color);
    border-radius: 20px;
    overflow: visible;
    padding-top: 2.5rem;
}

.step-item:hover {
    border-top-color: var(--primary-light);
    box-shadow: 0 20px 44px rgba(214, 245, 39, 0.12);
}

/* Circular icon */
.step-icon {
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(214, 245, 39, 0.25);
}

/* Step number → circular badge floating above card top-right */
.step-number {
    position: absolute;
    top: -18px;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-dark), var(--dark-color));
    color: #D6F527;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(31, 41, 55, 0.4);
}

/* ========================================
   Why Choose - Hexagon Honeycomb Layout
   ======================================== */

/* 4-column grid: col 1 & 3 have 2 hexes each, col 2 & 4 have 1 hex offset */
.why-hex-grid {
    display: grid;
        grid-template-columns: repeat(4, 220px);
    grid-template-rows: 195px 195px;
    column-gap: 16px;
    row-gap: 28px;
    justify-content: center;
    align-items: start;
}

/* Honeycomb positions */
.why-hex-wrap:nth-child(1) { grid-column: 1; grid-row: 1; }
.why-hex-wrap:nth-child(2) { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.why-hex-wrap:nth-child(3) { grid-column: 3; grid-row: 1; }
.why-hex-wrap:nth-child(4) { grid-column: 1; grid-row: 2; }
.why-hex-wrap:nth-child(5) { grid-column: 3; grid-row: 2; }
.why-hex-wrap:nth-child(6) { grid-column: 4; grid-row: 1 / 3; align-self: center; }

/* Flat-top hexagon shape + styling */
.why-hex-wrap {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 48px;
    transition: background 0.3s ease;
    cursor: default;
}

.why-hex-wrap:hover {
    background: #D6F527;
}

/* Override icon styles inside hex */
.why-hex-wrap .why-icon {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0.6rem;
}

.why-hex-wrap .why-icon i {
    font-size: 1.9rem;
    color: var(--primary-dark);
}

.why-hex-wrap h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.why-hex-wrap p {
    font-size: 0.78rem;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* Responsive: 2-column then 1-column */
@media (max-width: 992px) {
    .why-hex-grid {
        grid-template-columns: repeat(2, 220px);
        grid-template-rows: auto;
    }
    .why-hex-wrap:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
    }
}

@media (max-width: 520px) {
    .why-hex-grid {
        grid-template-columns: 220px;
    }
}

/* ============================================================
   App Portfolio - Bento Grid Feature Layout
   ============================================================ */
.app-portfolio {
    background: linear-gradient(160deg, #f8fafc 0%, #ffffff 60%, #f8f9fa 100%);
}

.bento-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

/* Grid placement */
.bento-forms      { grid-column: 1 / 3; }
.bento-scheduling { grid-column: 3; grid-row: 1 / 3; }
.bento-reports    { grid-column: 1; }
.bento-users      { grid-column: 2; }
.bento-sites      { grid-column: 1 / 4; }

/* Base card */
.bento-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Coloured top accent bar */
.bento-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.bento-forms .bento-top-bar      { background: linear-gradient(90deg, #D6F527, #E8FD6A); }
.bento-scheduling .bento-top-bar { background: linear-gradient(90deg, #0D9488, #2DD4BF); }
.bento-reports .bento-top-bar    { background: linear-gradient(90deg, #0D9488, #2DD4BF); }
.bento-users .bento-top-bar      { background: linear-gradient(90deg, #F59E0B, #fbbf24); }
.bento-sites .bento-top-bar      { background: linear-gradient(90deg, #10B981, #34d399); }

/* Icon circle */
.bento-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-bottom: 1.1rem;
}

.bento-forms .bento-icon-circle      { background: #f1f5f9; color: #1f2937; }
.bento-scheduling .bento-icon-circle { background: #F0FDFA; color: #0D9488; }
.bento-reports .bento-icon-circle    { background: #F0FDFA; color: #0D9488; }
.bento-users .bento-icon-circle      { background: #FFFBEB; color: #F59E0B; }
.bento-sites .bento-icon-circle      { background: #ECFDF5; color: #10B981; }

/* Row layout for wide card (forms) */
.bento-body.bento-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.bento-body.bento-row .bento-icon-circle {
    margin-bottom: 0;
    margin-top: 4px;
}

/* Title & description */
.bento-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.bento-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

/* Feature chips */
.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.bento-tags span {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 11px;
    border-radius: 20px;
    border: 1px solid transparent;
}

.bento-forms .bento-tags span      { background: #f1f5f9; color: #1f2937; border-color: #D6F527; }
.bento-scheduling .bento-tags span { background: #F0FDFA; color: #0f766e; border-color: #99f6e4; }
.bento-reports .bento-tags span    { background: #F0FDFA; color: #0D9488; border-color: #99f6e4; }
.bento-users .bento-tags span      { background: #FFFBEB; color: #b45309; border-color: #fde68a; }
.bento-sites .bento-tags span      { background: #ECFDF5; color: #065f46; border-color: #a7f3d0; }

/* Watermark icon */
.bento-watermark {
    position: absolute;
    bottom: -12px;
    right: 18px;
    font-size: 7rem;
    opacity: 0.04;
    color: var(--dark-color);
    pointer-events: none;
    line-height: 1;
}

/* Sites card — horizontal split layout */
.bento-sites-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.bento-sites-left {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.bento-sites-left .bento-icon-circle {
    margin-bottom: 0;
    margin-top: 4px;
}

.bento-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 320px;
    flex-shrink: 0;
    align-content: flex-start;
}

/* Responsive: 2-column */
@media (max-width: 900px) {
    .bento-features {
        grid-template-columns: 1fr 1fr;
    }
    .bento-forms      { grid-column: 1 / 3; }
    .bento-scheduling { grid-column: 1 / 3; grid-row: auto; }
    .bento-reports    { grid-column: 1; grid-row: auto; }
    .bento-users      { grid-column: 2; grid-row: auto; }
    .bento-sites      { grid-column: 1 / 3; }
    .bento-sites-inner { flex-direction: column; gap: 20px; }
    .bento-tags-grid  { max-width: 100%; }
}

/* Responsive: 1-column */
@media (max-width: 580px) {
    .bento-features {
        grid-template-columns: 1fr;
    }
    .bento-forms,
    .bento-scheduling,
    .bento-reports,
    .bento-users,
    .bento-sites { grid-column: 1; grid-row: auto; }
    .bento-body.bento-row { flex-direction: column; }
    .bento-body.bento-row .bento-icon-circle { margin-bottom: 1rem; }
    .bento-watermark { font-size: 5rem; }
}

/* ============================================================
   How It Works — Editorial Paragraph Layout
   ============================================================ */

/* Override old card-based layout */
.how-it-works {
    background: #ffffff;
    padding: 5rem 0;
}

/* Two-column: sticky label left, steps right */
.hiw-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 6rem;
    align-items: start;
}

/* Left sticky panel */
.hiw-label {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hiw-heading {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0;
}

.hiw-sub {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0;
}

.hiw-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 0.5rem;
    transition: gap 0.2s ease;
}

.hiw-link:hover {
    gap: 10px;
}

/* Right: stacked editorial steps */
.hiw-steps {
    display: flex;
    flex-direction: column;
}

/* Single step row */
.hiw-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1.75rem;
    padding: 2.2rem 0;
    border-top: 1px solid var(--border-color);
    align-items: start;
    transition: border-color 0.2s ease;
}

.hiw-step:last-child {
    border-bottom: 1px solid var(--border-color);
}

.hiw-step:hover {
    border-top-color: var(--primary-dark);
}

/* Step number */
.hiw-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    opacity: 0.5;
    letter-spacing: 0.04em;
    line-height: 1.8;
    font-variant-numeric: tabular-nums;
    transition: opacity 0.2s ease;
}

.hiw-step:hover .hiw-num {
    opacity: 1;
}

/* Step body */
.hiw-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 0.6rem;
    line-height: 1.3;
}

.hiw-body p {
    font-size: 0.925rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0 0 1rem;
    max-width: 560px;
}

/* Inline chip */
.hiw-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(214, 245, 39, 0.15);
    color: var(--primary-dark);
    font-size: 0.73rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(214, 245, 39, 0.3);
}

/* Responsive: single column */
@media (max-width: 860px) {
    .hiw-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hiw-label {
        position: static;
    }
    .hiw-body p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hiw-step {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
    }
}

