/* 
 * QR Menu SaaS - Master Landing Page CSS (v3.6 - Final Polish)
 */

:root {
    --primary: #009595;
    /* Oceanic Teal */
    --primary-light: rgba(0, 149, 149, 0.1);
    --secondary: #607d8b;
    /* Soft Slate Gray */
    --dark: #345a6c;
    /* Deep Sapphire Slate */
    --gray: #64748b;
    --light: #f8fbff;
    --white: #ffffff;
    --border: #e2e8f0;
}

.menu-contact {
    display: none;
}

/* Back to Top Progress Circle */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#backToTop.active {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 78, 59, 0.2);
}

#backToTop .progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#backToTop .progress-circle path {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 4;
    transition: stroke-dashoffset 10ms linear;
}

#backToTop i {
    position: relative;
    z-index: 2;
    transition: 0.3s;
}

#backToTop:hover i {
    transform: scale(1.2);
}

/* 0.1 Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px 30px;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-notice {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 420px;
    background: rgba(30, 41, 59, 0.74);
    backdrop-filter: blur(20px);
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    display: none;
    flex-direction: column;
    gap: 15px;
    z-index: 10000;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    animation: cookieSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.cookie-desc {
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-desc a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.btn-cookie {
    background: #009595;
    color: #fff;
    border: none;
    padding: 12px 60px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-cookie:hover {
    background: #008282;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 149, 149, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--dark);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
}



@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 26px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
        margin-bottom: 15px;
    }

    .btn-start,
    .btn-login {
        padding: 14px 25px !important;
        font-size: 14px;
    }
}

/* 6. Animations */
@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookieSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    background-color: var(--dark);
}

body {
    background-color: var(--dark) !important;
    color: var(--dark);
    overflow-x: hidden;
    font-weight: 400;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Navbar Fixed & Scrolled State */
#nav.btn-start {
    background: var(--primary);
    color: #fff !important;
    border: none;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 149, 149, 0.3);
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 149, 149, 0.4);
}

.btn-login {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.btn-login:hover {
    background: #fff;
    color: var(--dark) !important;
    border-color: #fff;
}

.hero.has-bg .btn-login {
    background: rgba(255, 255, 255, 0.15);
}

#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: 0.4s;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    padding: 15px 0;
    transition: 0.3s;
    background: #ffffff !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1e293b !important;
    font-weight: 600;
    font-size: 15px;
    padding: 7px 18px;
    border-radius: 12px;
    transition: 0.3s;
    order: 1;
    /* Standard links order */
}

.nav-links .btn-call-request {
    order: 2;
}

.nav-links .btn-login {
    order: 3;
}

.nav-links .btn-start {
    order: 4;
}

@media (max-width: 991px) {
    .nav-links .btn-login {
        order: -3 !important;
    }

    .nav-links .btn-start {
        order: -2 !important;
    }

    .nav-links .btn-call-request {
        order: -1 !important;
    }
}

.nav-links a:hover {
    color: var(--primary);
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.logo span {
    color: var(--primary);
}

.logo img {
    height: auto;
    max-height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

.btn-login {
    padding: 6px 18px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary);
    transition: 0.3s;
    background: rgba(47, 126, 249, 0.05);
    display: inline-flex;
    align-items: center;
}

.btn-login:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(47, 126, 249, 0.2);
}

.btn-call-request {
    padding: 6px 18px;
    border: 2px solid var(--secondary);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--secondary) !important;
    transition: 0.3s;
    background: rgba(96, 125, 139, 0.05);
    display: inline-flex;
    align-items: center;
}

.btn-call-request:hover {
    background: var(--secondary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(96, 125, 139, 0.2);
}

/* 2. Hero Slider */
.hero {
    padding: 160px 0 10px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.hero-slide {
    display: flex;
    align-items: flex-end !important;
    gap: 60px;
    padding: 0;
    flex-direction: row !important;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero {
    position: relative;
    padding: 0;
    min-height: 450px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    padding-top: 40px;
}

.hero-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    padding: 0 20px 20px;
}

.hero-text {
    width: 100%;
    max-width: 1600px;
    /* Ultra wide to ensure single line headline */
    margin: 0 auto;
    position: relative;
    z-index: 50;
    text-align: center;
}

.hero-text h1 {
    font-size: 68px;
    /* Slightly larger to fit the width */
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-align: center;
}

/* Force white text if background is present */
.hero.has-bg .hero-text h1 {
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero.has-bg .hero-text p {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.hero-text p {
    font-size: 20px;
    color: #64748b;
    max-width: 850px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.hero-actions .btn {
    padding: 9px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s all ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.hero-actions .btn-primary {
    background: #0a888c;
    color: #fff !important;
    border: none;
    box-shadow: 0 10px 25px rgba(10, 136, 140, 0.4);
}

.hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    border: 2px solid #fff;
    backdrop-filter: blur(10px);
}

.hero-image {
    width: 100%;
    max-width: 420px;
    /* Small phone mockup */
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-main-mockup img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.hero-main-mockup {
    position: relative;
    z-index: 5;
    transition: 0.5s;
}

.hero-main-mockup:hover {
    transform: translateY(-10px);
}

.hero-layer img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

@keyframes floatLayer {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-anim {
    animation: floatLayer 4s ease-in-out infinite;
}

.floating-anim:nth-child(even) {
    animation-delay: 1s;
}

.typed-cursor {
    display: inline-block;
    background-color: #0a888c;
    margin-left: 0.2rem;
    width: 4px;
    height: 0.8em;
    vertical-align: middle;
    animation: blink 1s infinite;
}

.typed-cursor.typing {
    animation: none;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(15 23 42 / 97%), rgb(15 23 42 / 55%));
    z-index: 1;
}

.hero.has-bg {
    background-size: cover !important;
    background-position: center !important;
}

/* 2.1 Hero Slider & Single Image Per Slide (Premium & Stable) */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 580px;
    /* Highly stable desktop height but enlarged for maximum visual impact! */
    margin: 40px auto 0;
    display: block;
    overflow: visible;
    /* Let the premium shadow breathe */
    z-index: 5;
}

.hero-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    /* Align all images to the bottom of the stable height! */
    justify-content: center;
}

.hero-image-unit {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    width: 100%;
    animation: premiumFloat 6s ease-in-out infinite;
}

.hero-slider-img {
    max-height: 100%;
    /* Cannot exceed the wrapper height */
    max-width: 750px;
    /* Keep horizontal images wide and beautifully large! */
    width: auto;
    height: auto;
    object-fit: contain;
    /* Keeps aspect ratio perfectly for both vertical and horizontal images! */
    border-radius: 20px;
    /* Soft, luxurious premium shadows */
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.35)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.hero-slider-img:hover {
    transform: scale(1.02);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    position: relative;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dots .dot.active {
    background: #0a888c !important;
    width: 24px;
    border-radius: 10px;
}

/* Stable floating micro-animation */
@keyframes premiumFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Responsive adjustment for maximum stability on smaller devices */
@media (max-width: 991px) {
    .hero-slider-wrapper {
        height: 480px;
    }

    .hero-slider-img {
        max-width: 580px;
    }
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        height: 500px;
        margin-top: 30px;
    }

    .hero-slider-img {
        max-width: 540px;
    }
}

@media (max-width: 480px) {
    .hero-slider-wrapper {
        height: 470px;
        /* Magnified, grand mobile height! */
        margin-top: 25px;
    }

    .hero-slider-img {
        max-width: 380px;
        /* Allows horizontal and vertical mockups to expand generously! */
    }
}



.hero.has-bg .hero-text h1,
.hero.has-bg .hero-text p {
    color: #fff !important;
}

.hero h1.hero-main-title {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.typed-container {
    min-height: 55px;
    /* Fixed height to prevent jumping */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.swal2-container {
    z-index: 10000 !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.4) !important;
}

.swal2-popup {
    width: 380px !important;
    border-radius: 30px !important;
    padding: 30px !important;
    font-family: 'Inter', sans-serif !important;
}

.swal2-title {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.swal2-styled.swal2-confirm {
    background-color: #0a888c !important;
    border-radius: 16px !important;
    padding: 12px 35px !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 20px rgba(10, 136, 140, 0.2) !important;
}

.swal2-icon.swal2-success {
    border-color: #0a888c !important;
    color: #0a888c !important;
}

.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #0a888c !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border: .25em solid rgba(10, 136, 140, .2) !important;
}

.hero h1 span {
    color: #ffffff;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(47, 126, 249, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* 4. Pricing Elite Updates */
.pricing-card {
    background: #fff;
    border-radius: 40px;
    padding: 60px 40px;
    border: 1px solid #f1f5f9;
    position: relative;
    transition: 0.5s;
    text-align: center;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 5px;
}

.pricing-card .price {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark);
    margin: 20px 0;
    letter-spacing: -1px;
}

/* Sub-Modals (KVKK/Terms) */
.sub-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 100;
    padding: 40px;
    display: none;
    flex-direction: column;
    animation: slideUp 0.4s ease;
}

.sub-modal.active {
    display: flex;
}

.btn-start {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    border: 2px solid var(--primary);
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 149, 149, 0.2);
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 149, 149, 0.3);
    background: linear-gradient(135deg, var(--dark), var(--primary));
}

/* How it Works Hover Animation */
.step-icon-wrap {
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card:hover .step-icon-wrap {
    transform: scale(1.15) translateY(-10px);
    box-shadow: 0 30px 60px rgba(47, 126, 249, 0.4);
}

/* 3. Features & Sections */
.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--gray);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.logo-slider {
    overflow: hidden;
    padding: 20px 0;
    background: #fff;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.logo-track {
    display: flex;
    width: calc(250px * 10);
    animation: scrollLogos 30s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    font-weight: 900;
    color: #cbd5e1;
    transition: 0.3s;
    user-select: none;
}

.logo-item:hover {
    color: var(--primary);
    transform: scale(1.1);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 5));
    }
}

.features {
    padding: 100px 0;
    background: #f8fafc !important;
    border-bottom: 1px solid rgb(10 136 140 / 20%);
}

.section-title h2 {
    color: var(--dark) !important;
    font-weight: 700;
}

.section-title p {
    color: #64748b !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 149, 149, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 149, 149, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 28px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(10deg);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
}

/* 4. Pricing Elite Updates */
.pricing {
    padding: 100px 0;
    background: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: #fff;
    border-radius: 40px;
    padding: 50px 35px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    position: relative;
    transition: 0.5s;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 5px;
}

.pricing-card .price {
    font-size: 44px;
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0;
    letter-spacing: -1px;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.12);
    border-color: var(--primary);
}

.pricing-card.popular {
    background: linear-gradient(135deg, var(--dark), #1e293b);
    color: #fff;
    border: none;
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular h3,
.pricing-card.popular .price {
    color: #fff;
}

.pricing-card.popular .pricing-list li {
    color: #ffffff;
}

.pricing-card.popular .pricing-list li.no {
    color: rgba(255, 255, 255, 0.45);
}

.pricing-list {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.pricing-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.pricing-list li i {
    color: #10b981;
}

/* 5. Demo Center */
.demo-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.demo-card p {
    font-weight: 400;
}

/* 5. Footer (Oceanic Tech) */
footer {
    padding: 90px 0 40px;
    background: var(--dark) !important;
    color: #fff;
    border-top: 1px solid rgb(10 136 140 / 40%);
    margin: 0;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: 0.2s;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

/* 6. Modals (Elite Design) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.modal-card {
    background: #fff;
    width: 95%;
    max-width: 850px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    transform-origin: center;
}

.modal-info-side {
    background: var(--primary);
    color: #fff;
}

.modal-form-side {
    background: #fff;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: #f8fafc;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    transition: 0.3s;
}

.hero-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0 0;
}

.hero-text {
    max-width: 900px;
    margin-bottom: 50px;
}

.hero-actions {
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 1000px;
    position: relative;
}

.modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.modal-form-group {
    margin-bottom: 20px;
}

.modal-form-group input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.modal-form-group input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 126, 249, 0.1);
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



.footer-social .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    text-decoration: none;
}

.footer-social .social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 149, 149, 0.3);
}


/* 7. Master Responsive System (Final Order Overrides) */
@media (max-width: 991px) {

    /* Navbar & Menu */
    #navbar,
    .feature-page #navbar {
        height: 70px;
        padding: 0;
        background: #fff !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1002;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        z-index: 1001;
        display: none;
        opacity: 0;
        transition: 0.3s;
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
    }

    .nav-content {
        height: 70px;
        /* Force sync with navbar height */
        padding: 0 20px;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .nav-content .logo {
        height: 100%;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        z-index: 1005;
        position: relative;
        width: 40px;
        height: 40px;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 10px;
        background: #f8fafc;
        border: none;
        margin: 0 !important;
    }

    .mobile-menu-btn i {
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active i::before {
        content: "\f00d";
    }

    .mobile-menu-btn.active {
        background: var(--primary);
        color: #fff;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 80px 30px 40px;
        gap: 8px;
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.1);
        display: flex !important;
        z-index: 1004;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 14px 0;
        font-size: 16px;
        color: var(--dark);
        border-bottom: 1px solid #f1f5f9;
        font-weight: 500;
        display: block;
    }

    .nav-links .btn-login,
    .nav-links .btn-start,
    .nav-links .btn-call-request {
        width: 100% !important;
        max-width: 220px !important;
        margin: 5px auto !important;
        padding: 10px 15px !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    .nav-links .btn-login {
        background: rgba(0, 149, 149, 0.05) !important;
        border: 2px solid var(--primary) !important;
        color: var(--primary) !important;
    }

    .nav-links .btn-call-request {
        background: rgba(96, 125, 139, 0.05) !important;
        border: 2px solid var(--secondary) !important;
        color: var(--secondary) !important;
    }

    /* Hero Section (Reversed for Menufast Style) */
    .hero {
        padding: 115px 0 10px !important;
    }

    .hero-slide {
        flex-direction: column-reverse !important;
        text-align: center;
        gap: 30px !important;
        padding: 5px;
    }

    .hero-text {
        padding: 0 10px;
    }

    .hero h1.hero-main-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin-top: 15px;
        margin-bottom: 10px !important;
        /* Reduced gap */
        color: #1e293b !important;
        letter-spacing: -0.5px;
        margin-top: -25px;
    }

    .typed-container {
        min-height: 40px !important;
        /* Smaller box for mobile */
    }

    .hero p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        color: #475569 !important;
        margin-bottom: 25px;
    }

    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 0;
    }

    .hero-image img {
        max-width: 290px !important;
        width: 100%;
        height: auto;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
        margin: 0 auto;
    }

    .hero-actions {
        flex-direction: row !important;
        gap: 10px !important;
        justify-content: center !important;
        width: 100%;
        padding: 0 10px;
    }

    .hero-actions .btn {
        flex: 1;
        max-width: 160px;
        padding: 12px 10px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    /* Grids & Sections */
    .features-grid,
    .pricing-grid,
    .footer-grid,
    .steps-flow {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px;
        padding: 0 15px;
    }

    .feature-card,
    .step-card,
    .pricing-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: scale(1) !important;
        margin: 20px 0;
    }

    footer {
        text-align: center;
    }

    .footer-grid {
        gap: 40px;
    }

    /* Contact & CTA Overrides */
    .menu-contact h4 {
        font-size: 16px;
        margin-bottom: 15px;
        color: var(--dark);
        font-weight: 700;
    }

    .menu-contact {
        display: block !important;
        order: 10 !important;
        margin-top: 25px;
        padding-top: 20px;
        border-top: 1px solid #f1f5f9;
        width: 100%;
    }

    .nav-links .btn-login {
        order: 1 !important;
        margin-top: 20px !important;
        /* Extra gap from close button */
    }

    .nav-links .btn-start {
        order: 2 !important;
    }

    .nav-links a:not(.btn-login):not(.btn-start) {
        order: 5 !important;
    }

    .menu-contact-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        font-size: 15px !important;
        color: var(--dark) !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        text-decoration: none !important;
    }

    .menu-contact-item i {
        width: 24px !important;
        height: 24px !important;
        background: rgba(0, 149, 149, 0.1) !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--primary) !important;
        font-size: 14px !important;
        flex-shrink: 0 !important;
    }

    .cta-actions {
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 20px;
    }

    .cta-actions .btn-start,
    .cta-actions .btn-login {
        width: 100% !important;
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    .modal-card {
        flex-direction: column !important;
        max-width: 90% !important;
        border-radius: 25px !important;
    }

    .modal-info-side,
    .modal-form-side {
        padding: 30px !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px !important;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
}





.hero-swiper {
    height: auto !important;
}

.hero-swiper .swiper-wrapper {
    height: 50% !important;
}

.hero-swiper .swiper-slide {
    height: auto !important;
}

.swiper-pagination {
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10;
}