:root {
    --wapi-green: #0064e1;
    --wapi-green-hover: #0056b3;
    --wapi-deep: #0f172a;
    --text-main: #1a1a1a;
    --text-light: #5a5a5a;
    --bg-light: #f6fcf7;
    --border-color: #eef9ef;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

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

.flex {
    display: flex;
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

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

.text-center {
    text-align: center;
}

/* --- HEADER --- */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--wapi-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--wapi-green);
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.btn-outline {
    border: 2px solid var(--wapi-green);
    color: var(--wapi-green);
    background: transparent;
}

.btn-fill {
    background: var(--wapi-green);
    color: var(--white);
    border: 2px solid var(--wapi-green);
    box-shadow: 0 4px 15px rgba(68, 189, 88, 0.2);
}

.btn-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 189, 88, 0.3);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 160px 0 180px;
    background: linear-gradient(180deg, #e0f7ff 0%, #ffffff 100%);
    text-align: center;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto 45px;
}

/* --- WAVE ANIMATION --- */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.waves {
    position: relative;
    width: 100%;
    height: 12vh;
    min-height: 100px;
}

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
    fill: rgba(224, 242, 254, 0.3);
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
    fill: rgba(186, 230, 253, 0.5);
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
    fill: rgba(125, 211, 252, 0.7);
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
    fill: #bae6fd;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* --- FEATURES SECTION --- */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 70px;
}

.feature-card {
    width: 350px;
    border: 1px solid var(--border-color);
    padding: 60px 30px 40px;
    border-radius: 25px;
    position: relative;
    text-align: center;
    transition: 0.3s;
    background: var(--white);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 100, 225, 0.15);
    border-color: var(--wapi-green);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--wapi-green);
    box-shadow: 0 8px 20px rgba(0, 100, 225, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    border-color: var(--wapi-green);
    box-shadow: 0 10px 30px rgba(0, 100, 225, 0.25);
}

.feature-icon i {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: var(--wapi-green);
    transform: scale(1.1);
}

.feature-icon img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--wapi-green);
    font-size: 20px;
    font-weight: 600;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* --- SUITABLE INDUSTRIES SECTION --- */
.industries {
    padding: 100px 0;
    background: #fff;
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ind-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    text-align: left;
}

.ind-card:hover {
    border-color: var(--wapi-green);
    transform: scale(1.02);
}

.ind-card i {
    font-size: 32px;
    color: var(--wapi-green);
    margin-bottom: 20px;
    display: block;
}

.ind-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.ind-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* --- NO HIDDEN FEES SECTION --- */
.no-fees {
    padding: 100px 0;
    background: #f0f9ff;
}

.fees-card {
    background: white;
    border-radius: 40px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    border: 1px solid #eef9ef;
}

.fees-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--wapi-deep);
}

.fees-image img {
    width: 100%;
    max-width: 450px;
}

/* --- DEMO SECTION --- */
.demo {
    padding: 100px 0 120px;
    background: var(--white);
}

.demo-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.demo-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 50px;
    background: linear-gradient(135deg, var(--wapi-green) 0%, var(--wapi-green-hover) 100%);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 100, 225, 0.2);
    overflow: hidden;
}

@media (min-width: 768px) {
    .demo-card {
        grid-template-columns: 3fr 2fr;
        align-items: center;
        padding: 70px 60px;
    }
}

.demo-content {
    position: relative;
    z-index: 10;
}

.demo-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.demo-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 500px;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    background: var(--white);
    color: var(--wapi-green);
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.demo-btn:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.demo-qr {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-qr img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: var(--white);
    padding: 15px;
}

/* Decorative SVG backgrounds */
.demo-decoration-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.demo-decoration-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: auto;
    opacity: 0.08;
}

.demo-decoration-top svg,
.demo-decoration-bottom svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- FAQ SECTION --- */
.faq {
    padding: 100px 0;
    background: #fff;
}

.faq-container {
    max-width: 850px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 18px;
    border-radius: 15px;
    border: 1px solid #f0f7f1;
    overflow: hidden;
    transition: 0.3s;
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: 0.4s ease;
    color: var(--text-light);
    font-size: 15px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 25px;
}

.faq-toggle {
    font-size: 22px;
    transition: 0.3s;
    color: #ccc;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--wapi-green);
}

/* --- FOOTER --- */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 100px 0 40px;
    border-top: 5px solid var(--wapi-green);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 100, 225, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    color: var(--white);
    font-size: 32px;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Disable horizontal shift on hover for footer logo only */
.footer-logo:hover {
    transform: none;
    padding-left: 0 !important;
}

.footer-logo i {
    color: var(--wapi-green);
    -webkit-text-fill-color: var(--wapi-green);
    font-size: 36px;
    filter: drop-shadow(0 0 10px rgba(0, 100, 225, 0.5));
}

.footer-logo img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(0, 100, 225, 0.6));
}

.footer-col p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-col h5 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--wapi-green);
    border-radius: 2px;
}

.footer-col a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 22px;
}

.footer-col a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--wapi-green);
    font-weight: bold;
}

.footer-col a:hover::before {
    opacity: 1;
    left: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--wapi-green);
    transform: scale(1.15);
    box-shadow: 0 5px 20px rgba(0, 100, 225, 0.5);
    border-color: var(--wapi-green);
}

.copyright {
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fees-card {
        flex-direction: column;
        text-align: center;
    }
}

.footer-col .social-links a::before {
    content: none;
}

.footer-col .social-links a:hover {
    padding-left: 0px !important;
}