/* DecimalPOS Premium Landing Page */

:root {
    --brand-cyan: #00BCD4;
    --brand-navy: #1E3A5F;
    --brand-navy-dark: #0F2035;
    --text-main: #1E3A5F;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --off-white: #F8FAFC;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--white);
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Bottom Banner - Mobile Responsive */
@media (max-width: 768px) {
    .bottom-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .bottom-banner-text h3 {
        font-size: 18px;
    }

    .bottom-banner-text p {
        font-size: 13px;
    }

    .email-form {
        flex-direction: column;
        width: 100%;
    }

    .email-input {
        min-width: 100%;
        width: 100%;
    }

    .bottom-banner-actions {
        width: 100%;
    }

    .bottom-banner-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bottom-banner {
        padding: 20px 0;
    }

    .bottom-banner-close {
        font-size: 24px;
        top: -4px;
        right: 16px;
    }
}

/* Navbar */
.navbar {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-navy);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--brand-cyan);
}

.logo:hover .logo-text {
    transform: translateY(-2px);
    display: inline-block;
}

.logo:hover .logo-accent {
    color: var(--brand-cyan-dark);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--brand-cyan);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-cyan), #0097A7);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #E8F4F8 0%, #B2EBF2 50%, #E8F4F8 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../dpos_banner.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    mix-blend-mode: multiply;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-cyan) 0%, #0097A7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

.hero-badges {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid #E2E8F0;
    max-width: 700px;
    margin: 0 auto;
}

.badge-item {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-cyan) 0%, #0097A7 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 188, 212, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--brand-navy);
    border: 2px solid #E2E8F0;
}

.btn-secondary:hover {
    background: var(--off-white);
    border-color: var(--brand-cyan);
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-light {
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 15px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--brand-cyan);
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.12);
    transform: translateY(-4px);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--brand-navy);
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #eee;
}

.pricing-card.featured {
    border: 2px solid var(--brand-cyan);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.1);
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 20px 0;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.features-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--brand-navy);
}

.faq-item p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--brand-navy-dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer p {
    color: #94A3B8;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    color: #64748B;
}

/* Bottom Email Capture Banner */
.bottom-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px 20px;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bottom-banner.visible {
    bottom: 0;
}

.bottom-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px 20px 0 0;
    padding: 30px 40px;
    box-shadow: 0 -10px 40px rgba(0, 188, 212, 0.15);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-bottom: none;
    position: relative;
}

.bottom-banner-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.bottom-banner-close:hover {
    background: rgba(0, 188, 212, 0.1);
    color: var(--brand-cyan);
    transform: rotate(90deg);
}

.bottom-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.bottom-banner-text h3 {
    font-size: 24px;
    color: var(--brand-navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.bottom-banner-text p {
    color: var(--text-muted);
    font-size: 15px;
}

.bottom-banner-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.email-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.email-input {
    padding: 14px 20px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    width: 280px;
    transition: all 0.3s ease;
    background: white;
}

.email-input:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.1);
}

.email-input::placeholder {
    color: #94A3B8;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .nav-cta {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }

    .hero-badges {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .badge-item {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        /* Added for consistency with other grids */
    }

    .faq-item {
        padding: 20px;
    }

    .footer-grid {
        /* Changed from .footer-content to .footer-grid based on original */
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .bottom-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .bottom-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .email-form {
        flex-direction: column;
        width: 100%;
    }

    .email-input {
        width: 100%;
    }

    .bottom-banner-actions .btn {
        width: 100%;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 24px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        max-width: 100%;
    }

    .hero-buttons .btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .badge-item {
        font-size: 12px;
        padding: 8px 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .feature-card h3,
    .pricing-card h3 {
        font-size: 20px;
    }

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

    .price {
        font-size: 36px;
    }

    .faq-item {
        padding: 16px;
    }

    .faq-item h4 {
        /* Added for consistency with other font size adjustments */
        font-size: 16px;
    }

    .faq-question {
        /* Assuming this refers to h4 or a similar element */
        font-size: 15px;
    }

    .footer-grid {
        /* Added for consistency with other text-align adjustments */
        text-align: center;
    }

    /* Bottom Banner Mobile */
    .bottom-banner {
        padding: 20px 0;
    }

    .bottom-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .bottom-banner-text h3 {
        font-size: 16px;
    }

    .bottom-banner-text p {
        font-size: 12px;
    }

    .email-form {
        flex-direction: column;
        width: 100%;
    }

    .email-input {
        min-width: 100%;
        width: 100%;
        font-size: 14px;
    }

    .bottom-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .bottom-banner-actions .btn {
        width: 100%;
    }

    .bottom-banner-close {
        font-size: 22px;
        top: -4px;
        right: 12px;
    }
}