/* ==========================================
   Hero Section — SMALL / COMPACT VERSION
   Light Theme | Border-Radius: 5px
========================================== */

.webapp-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 60px 0 50px;
    background: #f8fafc;
    overflow: hidden;
}

/* -------- Overlay -------- */

.webapp-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(56, 98, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 200, 255, 0.03) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

/* -------- Container -------- */

.webapp-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.webapp-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ==========================================
   Left Content
========================================== */

.webapp-hero-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* -------- Badge -------- */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 98, 255, 0.08);
    border: 1px solid rgba(56, 98, 255, 0.15);
    border-radius: 5px;
    padding: 5px 14px 5px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #4a7aff;
    letter-spacing: 0.2px;
    width: fit-content;
    transition: border-color 0.3s ease;
}

.hero-badge i {
    font-size: 11px;
    color: #4a7aff;
}

.hero-badge:hover {
    border-color: rgba(56, 98, 255, 0.30);
}

/* -------- Heading -------- */

.webapp-hero-text h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    color: #0b0f1a;
    letter-spacing: -0.01em;
    margin: 0;
}

.webapp-hero-text h1 span {
    background: linear-gradient(135deg, #4a7aff 0%, #a855f7 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -------- Paragraph -------- */

.webapp-hero-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    max-width: 520px;
    margin: 0;
}

/* -------- Buttons -------- */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #4a7aff 0%, #6d3bff 100%);
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(56, 98, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(56, 98, 255, 0.35);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
}

/* -------- Stats -------- */

.hero-stats {
    display: flex;
    gap: 30px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 4px;
}

.hero-stats .stat {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hero-stats .stat h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0b0f1a;
    margin: 0;
    line-height: 1.2;
}

.hero-stats .stat span {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
}

/* ==========================================
   Right Content — Visual Area
========================================== */

.webapp-hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

/* -------- Laptop Mockup -------- */

.laptop-mockup {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16 / 10;
}

.laptop-screen {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 62.5%;
    background: #e2e8f0;
    border-radius: 5px 5px 0 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: none;
    overflow: hidden;
    box-shadow:
        0 16px 60px rgba(0, 0, 0, 0.08),
        inset 0 0 60px rgba(56, 98, 255, 0.02);
}

.laptop-screen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

.laptop-bottom {
    width: 100%;
    height: 8px;
    background: linear-gradient(180deg, #cbd5e1 0%, #94a3b8 100%);
    border-radius: 0 0 5px 5px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: none;
    position: relative;
}

.laptop-bottom::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 5px;
}

/* -------- Mobile Mockup -------- */

.mobile-mockup {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 90px;
    aspect-ratio: 9 / 19;
    background: #e2e8f0;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 5px;
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.10),
        0 0 30px rgba(56, 98, 255, 0.04);
    z-index: 2;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    background: #f1f5f9;
}

.mobile-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* -------- Floating Cards -------- */

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 5px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 16px;
    color: #4a7aff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 98, 255, 0.08);
    border-radius: 5px;
    flex-shrink: 0;
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    font-size: 12px;
    font-weight: 600;
    color: #0b0f1a;
    line-height: 1.2;
}

.floating-card span {
    font-size: 10px;
    color: #64748b;
}

.floating-card-one {
    top: 2%;
    left: -4%;
    animation-delay: 0s;
}

.floating-card-two {
    bottom: 12%;
    left: -2%;
    animation-delay: 2s;
}

.floating-card-three {
    top: 50%;
    right: -4%;
    transform: translateY(-50%);
    animation-delay: 4s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.floating-card-two {
    animation-delay: 1.2s;
}

.floating-card-three {
    animation-delay: 2.4s;
}

/* ==========================================
   Responsive
========================================== */

/* -------- Tablets & below -------- */

@media (max-width: 1024px) {
    .webapp-hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .webapp-hero-text {
        align-items: center;
    }

    .webapp-hero-text p {
        max-width: 540px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .webapp-hero-image {
        min-height: 280px;
    }

    .laptop-mockup {
        max-width: 360px;
        margin: 0 auto;
    }

    .mobile-mockup {
        width: 70px;
        bottom: -12px;
        right: 6px;
    }

    .floating-card-one {
        left: 0;
        top: 2%;
    }

    .floating-card-two {
        left: 0;
        bottom: 8%;
    }

    .floating-card-three {
        right: 0;
        top: 50%;
    }
}

/* -------- Mobile (<= 640px) — with MARGIN TOP added -------- */

@media (max-width: 640px) {
    .webapp-hero {
        padding: 40px 0 30px;
        margin-top: 20px; /* ✅ ADDED: top spacing on mobile */
    }

    .webapp-hero-text h1 {
        font-size: 26px;
    }

    .webapp-hero-text p {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .hero-badge i {
        font-size: 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 8px 18px;
        font-size: 13px;
        flex: 1 1 auto;
        min-width: 100px;
    }

    .hero-buttons {
        gap: 10px;
        width: 100%;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stats .stat h3 {
        font-size: 18px;
    }

    .hero-stats .stat span {
        font-size: 11px;
    }

    .webapp-hero-image {
        min-height: 200px;
    }

    .laptop-mockup {
        max-width: 260px;
    }

    .laptop-screen {
        border-radius: 5px 5px 0 0;
    }

    .laptop-screen img {
        border-radius: 5px 5px 0 0;
    }

    .laptop-bottom {
        height: 6px;
    }

    .laptop-bottom::after {
        width: 60px;
        height: 2px;
        bottom: -2px;
    }

    .mobile-mockup {
        width: 56px;
        padding: 4px;
        bottom: -8px;
        right: 2px;
        border-radius: 5px;
    }

    .mobile-screen {
        border-radius: 5px;
    }

    .mobile-screen img {
        border-radius: 5px;
    }

    .floating-card {
        padding: 6px 10px;
        gap: 6px;
        border-radius: 5px;
        display: none;
    }

    .floating-card i {
        font-size: 12px;
        width: 22px;
        height: 22px;
        border-radius: 5px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card span {
        font-size: 8px;
    }

    .floating-card-one {
        display: flex;
        top: -4%;
        left: 50%;
        transform: translateX(-50%);
        animation: none;
    }
}

/* -------- Small phones (<= 400px) — with adjusted MARGIN TOP -------- */

@media (max-width: 400px) {
    .webapp-hero {
        margin-top: 15px; /* ✅ ADDED: slightly less on very small screens */
    }

    .webapp-hero-text h1 {
        font-size: 22px;
    }

    .laptop-mockup {
        max-width: 200px;
    }

    .mobile-mockup {
        width: 44px;
        bottom: -6px;
        right: 0px;
        padding: 3px;
    }

    .mobile-screen {
        border-radius: 5px;
    }

    .mobile-screen img {
        border-radius: 5px;
    }

    .floating-card-one {
        padding: 4px 8px;
        top: -2%;
    }

    .floating-card-one i {
        font-size: 10px;
        width: 18px;
        height: 18px;
    }

    .floating-card-one strong {
        font-size: 9px;
    }

    .floating-card-one span {
        font-size: 7px;
    }
}

/* ==========================================
   About Section — Custom Web Applications
   Light Theme | Border-Radius: 5px | Compact
========================================== */

.webapp-about {
    position: relative;
    padding: 60px 0 60px;
    background: #ffffff;
    overflow: hidden;
}

/* -------- Container -------- */

.webapp-about .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ==========================================
   Section Title (centered header)
========================================== */

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.section-title span {
    display: inline-block;
    background: rgba(56, 98, 255, 0.08);
    border: 1px solid rgba(56, 98, 255, 0.12);
    border-radius: 5px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #4a7aff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0b0f1a;
    margin: 0 0 14px 0;
    letter-spacing: -0.01em;
}

.section-title h2 span {
    background: linear-gradient(135deg, #4a7aff 0%, #a855f7 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    padding: 0;
    font-size: inherit;
    text-transform: none;
}

.section-title p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0 auto;
}

/* ==========================================
   Main Grid (Left Content + Right Cards)
========================================== */

.webapp-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* -------- Left Content -------- */

.about-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0b0f1a;
    margin: 0;
    letter-spacing: -0.01em;
}

.about-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

.about-content p:last-of-type {
    margin-top: 0;
}

/* -------- Right Cards (2x2 Grid) -------- */

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr; /* ALWAYS 2 columns */
    gap: 18px;
}

/* Individual Card */
.about-card {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 5px;
    padding: 20px 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-card:hover {
    background: #ffffff;
    border-color: rgba(56, 98, 255, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.about-card i {
    font-size: 18px;
    color: #4a7aff;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 98, 255, 0.08);
    border-radius: 5px;
    margin-bottom: 12px;
}

.about-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0b0f1a;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.about-card p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

/* ==========================================
   Responsive
========================================== */

/* -------- Tablets & below -------- */

@media (max-width: 1024px) {
    .webapp-about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-content {
        text-align: center;
        align-items: center;
    }

    .about-content p {
        max-width: 600px;
    }

    .about-cards {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

/* -------- Mobile (<= 640px) — 2x2 cards stay intact -------- */

@media (max-width: 640px) {
    .webapp-about {
        padding: 40px 0 40px;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 14px;
    }

    .about-content h3 {
        font-size: 20px;
    }

    .about-content p {
        font-size: 14px;
    }

    /* ✅ 2x2 grid remains on mobile */
    .about-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .about-card {
        padding: 14px 12px;
    }

    .about-card i {
        font-size: 15px;
        width: 30px;
        height: 30px;
        margin-bottom: 8px;
    }

    .about-card h4 {
        font-size: 13px;
    }

    .about-card p {
        font-size: 11px;
        line-height: 1.4;
    }
}

/* -------- Small phones (<= 400px) — stays 2x2 with tighter fit -------- */

@media (max-width: 400px) {
    .section-title h2 {
        font-size: 20px;
    }

    .about-cards {
        grid-template-columns: 1fr 1fr; /* ✅ still 2 columns */
        gap: 8px;
    }

    .about-card {
        padding: 10px 8px;
    }

    .about-card i {
        font-size: 13px;
        width: 26px;
        height: 26px;
        margin-bottom: 6px;
    }

    .about-card h4 {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .about-card p {
        font-size: 10px;
        line-height: 1.3;
    }
}

/* ==========================================
   Services / Solutions Section — Web Apps
   Light Theme | Border-Radius: 5px | Compact
========================================== */

.webapps-services {
    position: relative;
    padding: 60px 0 60px;
    background: #f8fafc; /* soft light grey, alternates with white sections */
    overflow: hidden;
}

/* -------- Container -------- */

.webapps-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ==========================================
   Section Title (reused from About section)
========================================== */

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.section-title span {
    display: inline-block;
    background: rgba(56, 98, 255, 0.08);
    border: 1px solid rgba(56, 98, 255, 0.12);
    border-radius: 5px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #4a7aff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0b0f1a;
    margin: 0 0 14px 0;
    letter-spacing: -0.01em;
}

.section-title h2 span {
    background: linear-gradient(135deg, #4a7aff 0%, #a855f7 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    padding: 0;
    font-size: inherit;
    text-transform: none;
}

.section-title p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0 auto;
}

/* ==========================================
   Applications Grid (3 columns on desktop)
========================================== */

.webapps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* -------- Individual Card -------- */

.webapp-card {
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden; /* ensures image corners match the 5px radius */
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.webapp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 98, 255, 0.10);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

/* -------- Card Image -------- */

.webapp-card img {
    width: 100%;
    height: 180px; /* compact, uniform height */
    object-fit: cover;
    display: block;
    background: #e2e8f0; /* fallback while loading */
    border-radius: 5px 5px 0 0; /* keeps top corners sharp */
}

/* -------- Card Content -------- */

.webapp-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0b0f1a;
    margin: 16px 16px 4px 16px;
    letter-spacing: -0.01em;
}

.webapp-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 16px 16px 16px;
}

/* ==========================================
   Responsive
========================================== */

/* -------- Tablets (<= 1024px) -------- */

@media (max-width: 1024px) {
    .webapps-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 20px;
    }

    .webapp-card img {
        height: 160px;
    }
}

/* -------- Mobile (<= 640px) — stays 2x2 as requested -------- */

@media (max-width: 640px) {
    .webapps-services {
        padding: 40px 0 40px;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 14px;
    }

    .webapps-grid {
        grid-template-columns: repeat(2, 1fr); /* ✅ 2 columns on mobile */
        gap: 14px;
    }

    .webapp-card {
        border-radius: 5px;
    }

    .webapp-card img {
        height: 120px; /* smaller height for mobile */
        border-radius: 5px 5px 0 0;
    }

    .webapp-card h3 {
        font-size: 14px;
        margin: 12px 12px 2px 12px;
    }

    .webapp-card p {
        font-size: 12px;
        line-height: 1.4;
        margin: 0 12px 12px 12px;
    }
}

/* -------- Very small phones (<= 400px) — stays 2 columns with tighter fit -------- */

@media (max-width: 400px) {
    .webapps-grid {
        gap: 10px;
    }

    .webapp-card img {
        height: 90px;
    }

    .webapp-card h3 {
        font-size: 12px;
        margin: 8px 8px 2px 8px;
    }

    .webapp-card p {
        font-size: 10px;
        margin: 0 8px 8px 8px;
        line-height: 1.3;
    }
}
/* ==========================================
   Pricing Section
   Light Theme | Border-Radius: 5px | Compact
========================================== */

.pricing-section {
    position: relative;
    padding: 60px 0 60px;
    background: #f8fafc; /* soft grey to alternate with white sections */
    overflow: hidden;
}

/* -------- Container -------- */

.pricing-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ==========================================
   Section Title (reused from other sections)
========================================== */

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.section-title span {
    display: inline-block;
    background: rgba(56, 98, 255, 0.08);
    border: 1px solid rgba(56, 98, 255, 0.12);
    border-radius: 5px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #4a7aff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0b0f1a;
    margin: 0 0 14px 0;
    letter-spacing: -0.01em;
}

.section-title h2 span {
    background: linear-gradient(135deg, #4a7aff 0%, #a855f7 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    padding: 0;
    font-size: inherit;
    text-transform: none;
}

.section-title p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0 auto;
}

/* ==========================================
   Pricing Grid (3 columns)
========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* -------- Individual Pricing Card -------- */

.pricing-card {
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 32px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(56, 98, 255, 0.10);
}

/* -------- Featured Card (Most Popular) -------- */

.pricing-card.featured {
    border: 2px solid #4a7aff;
    box-shadow: 0 8px 30px rgba(56, 98, 255, 0.10);
    background: #ffffff;
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 16px 48px rgba(56, 98, 255, 0.15);
}

/* -------- Pricing Badge -------- */

.pricing-badge {
    display: inline-block;
    background: rgba(56, 98, 255, 0.08);
    color: #4a7aff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 4px 14px;
    border-radius: 5px;
    align-self: flex-start;
    margin-bottom: 16px;
}

.pricing-card.featured .pricing-badge {
    background: linear-gradient(135deg, #4a7aff 0%, #6d3bff 100%);
    color: #ffffff;
}

/* -------- Card Heading -------- */

.pricing-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b0f1a;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

/* -------- Price Box -------- */

.price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price span {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

.price h2 {
    font-size: 34px;
    font-weight: 700;
    color: #0b0f1a;
    margin: 0;
    letter-spacing: -0.02em;
}

.pricing-card.featured .price h2 {
    color: #4a7aff;
}

/* -------- Feature List -------- */

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-card ul li {
    font-size: 14px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.pricing-card ul li i {
    color: #4a7aff;
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* -------- Pricing Button -------- */

.pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    width: 100%;
    background: rgba(56, 98, 255, 0.06);
    color: #4a7aff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
    text-align: center;
}

.pricing-btn:hover {
    background: rgba(56, 98, 255, 0.10);
    transform: translateY(-2px);
}

.pricing-card.featured .pricing-btn {
    background: linear-gradient(135deg, #4a7aff 0%, #6d3bff 100%);
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(56, 98, 255, 0.25);
}

.pricing-card.featured .pricing-btn:hover {
    box-shadow: 0 10px 36px rgba(56, 98, 255, 0.35);
    transform: translateY(-2px);
}

/* -------- Bottom Note -------- */

.pricing-note {
    margin-top: 44px;
    padding: 20px 28px;
    background: rgba(56, 98, 255, 0.04);
    border-radius: 5px;
    border: 1px solid rgba(56, 98, 255, 0.06);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-note p {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.pricing-note p strong {
    color: #0b0f1a;
}

/* ==========================================
   Responsive
========================================== */

/* -------- Tablets (<= 1024px) -------- */

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* On tablets, the "Featured" card spans full width for prominence,
       while Starter and Enterprise sit side by side in a row */
    .pricing-card.featured {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

/* -------- Mobile (<= 640px) — 1 column for readability -------- */

@media (max-width: 640px) {
    .pricing-section {
        padding: 40px 0 40px;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 14px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card {
        padding: 24px 20px 20px 20px;
    }

    .pricing-card.featured {
        grid-column: auto;
        transform: scale(1);
        max-width: 100%;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .price h2 {
        font-size: 28px;
    }

    .pricing-card h3 {
        font-size: 17px;
    }

    .pricing-card ul li {
        font-size: 13px;
    }

    .pricing-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .pricing-note {
        margin-top: 32px;
        padding: 16px 20px;
    }

    .pricing-note p {
        font-size: 14px;
    }
}

/* -------- Small phones (<= 400px) -------- */

@media (max-width: 400px) {
    .pricing-card {
        padding: 18px 14px 16px 14px;
    }

    .price h2 {
        font-size: 24px;
    }

    .pricing-card ul {
        gap: 8px;
    }

    .pricing-card ul li {
        font-size: 12px;
    }

    .pricing-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
}