/* ============================================================
   DroidTester — Landing Page Styles
   ============================================================ */

/* ── Public Navbar ── */
.public-navbar {
    background: transparent;
    border-bottom: 1px solid transparent;
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1050;
    transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), border-color var(--transition-normal);
}

.public-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(232, 221, 208, 0.5);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Custom Navbar Toggler */
.public-navbar .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.public-navbar .navbar-toggler-icon {
    transition: background-image 0.2s ease-in-out;
}

.public-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23111'%3e%3cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.navbar-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(27, 122, 67, 0.3);
}

.nav-link-custom {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 8px 12px !important;
    transition: color var(--transition-fast);
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* ── Landing Page ── */
body.landing-page,
.landing-page {
    background-color: #ffffff;
    min-height: 100vh;
    padding-top: var(--header-height);
    overflow-x: hidden;
}

/* Set html background to black so any overflow below footer shows black, not cream */
html.landing-html {
    background: #000000;
}

/* ── Hero Section ── */
.hero-section {
    padding: calc(var(--header-height) + 80px) 0 0;
    margin-top: calc(-1 * var(--header-height));
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    background-image: url('../assets/hero-bg.svg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.hero-badge {
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.hero-phones {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.hero-phone-mockup {
    width: 100%;
    filter: drop-shadow(0 20px 60px rgba(27, 122, 67, 0.2));
    display: block;
    margin: 0 auto;
}

/* SVG placeholder phones */
.phone-mockups-svg {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: -20px;
    height: 320px;
    margin: 0 auto;
    max-width: 500px;
}

.phone-svg {
    width: 120px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 6px solid #fff;
    flex-shrink: 0;
}

.phone-svg:nth-child(1) {
    transform: rotate(-8deg) translateY(20px);
}

.phone-svg:nth-child(2) {
    transform: translateY(0px);
    z-index: 2;
    width: 140px;
}

.phone-svg:nth-child(3) {
    transform: rotate(8deg) translateY(20px);
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ── App Marquee Cards ── */
.app-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 10px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.app-marquee-track {
    display: inline-flex;
    gap: 24px;
    animation: scrollMarquee 40s linear infinite;
    width: max-content;
}

.app-marquee-track.reverse {
    animation: scrollMarqueeReverse 40s linear infinite;
}

/* Pause animation on hover */
.app-marquee-track:hover,
.app-marquee-track.reverse:hover {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollMarqueeReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.marquee-card {
    background: transparent;
    border: 1px solid rgba(232, 152, 62, 0.4);
    border-radius: 20px;
    padding: 24px;
    width: 320px;
    display: inline-flex;
    flex-direction: column;
    white-space: normal;
    transition: all var(--transition-normal);
}

.marquee-card:hover {
    background: #fff;
    box-shadow: var(--shadow-hover);
    border-color: transparent;
    transform: translateY(-5px);
}

.marquee-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.marquee-app-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.marquee-app-info {
    flex: 1;
}

.marquee-app-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.marquee-app-desc {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.marquee-card .btn {
    font-size: 12px;
    padding: 10px 20px;
}

/* ── Why Choose Us Cards ── */
.why-card {
    background: #edf4ea;
    border: 1px solid rgba(27, 122, 67, 0.2);
    border-radius: 30px;
    padding: 40px 30px;
    height: 100%;
    transition: all var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.why-title {
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin-bottom: 12px;
}

.why-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ── Pricing Cards ── */
.pricing-card {
    background: #edf4ea;
    border: 1px solid rgba(27, 122, 67, 0.2);
    border-radius: 30px;
    padding: 40px 30px;
    position: relative;
    /* Removed overflow: hidden to show icons properly as requested */
    overflow: visible;
    color: #333;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(27, 122, 67, 0.15);
}

.pricing-svg-icon {
    position: absolute;
    /* Adjusted position and size to be fully visible and overlap correctly */
    top: -20px;
    right: -15px;
    width: 140px;
    pointer-events: none;
    z-index: 5;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.pricing-plan-name,
.pricing-price,
.pricing-feature {
    position: relative;
    z-index: 2;
}

.pricing-plan-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 800;
    color: #000;
    margin-bottom: 25px;
    line-height: 1;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.pricing-feature .check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2e9f60;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-btn {
    background: #2e9f60;
    color: #fff;
    border: none;
    border-radius: var(--border-radius-pill);
    padding: 14px 28px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    margin-top: auto;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.pricing-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 122, 67, 0.3);
}

/* ── Testimonials ── */
.testimonial-section {
    background: #fbf5ed;
    padding: 80px 0;
    overflow: hidden;
}

.testimonial-track-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow-x: auto;
    padding: 20px 0 40px;
    /* Hide scrollbar for a native app feel */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-track-container::-webkit-scrollbar {
    display: none;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    padding: 0 calc(50vw - 50% + 15px);
    /* Align first card with container boundary */
    width: max-content;
}

.testimonial-card {
    background: transparent;
    border: 1px solid #f9d4aa;
    /* Specific orange border from Figma */
    border-radius: 30px;
    padding: 35px 30px;
    width: 400px;
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #FFB800;
    /* Darker golden yellow */
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 13px;
    font-weight: 600;
    color: #1a8f50;
    /* Figma green text */
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: normal;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 800;
    font-size: 16px;
    color: #333;
}

.testimonial-role {
    font-size: 13px;
    color: #666;
}

/* ── FAQ Section ── */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    background: #fbf5ed;
    /* Light cream */
    border: 1.5px solid #f9d4aa;
    /* Figma light orange border */
    border-radius: 40px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.faq-section .section-title {
    color: #279c66 !important;
    /* Specific Figma Green for titles */
    font-weight: 800;
    letter-spacing: 0.5px;
}

.accordion-custom .accordion-item {
    border: none;
    border-radius: 20px !important;
    margin-bottom: 20px;
    overflow: hidden;
    background: #ffe8cd;
    /* Accurate Figma orange/peach tab background */
    transition: all var(--transition-normal);
}

.accordion-custom .accordion-button {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
    color: #1a8f50;
    /* Figma Green Text */
    background: transparent;
    box-shadow: none;
    padding: 24px;
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: #1a8f50;
    background: transparent;
    border-left: none;
    box-shadow: none;
}

/* Custom Accordion Chevron */
.accordion-custom .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a8f50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform var(--transition-normal);
}

.accordion-custom .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a8f50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-custom .accordion-body {
    font-size: 14px;
    color: #1a8f50;
    font-weight: 500;
    line-height: 1.8;
    padding: 0 24px 24px;
    background: transparent;
    opacity: 0.85;
}

/* ── CTA Section ── */
.cta-section {
    padding: 60px 0 80px;
}

.cta-card {
    background: var(--gradient-green);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before,
.cta-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.cta-card::before {
    width: 200px;
    height: 200px;
    top: -60px;
    left: -60px;
}

.cta-card::after {
    width: 160px;
    height: 160px;
    bottom: -40px;
    right: -40px;
}

.cta-card h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

.google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: var(--text-primary);
    border-radius: var(--border-radius-pill);
    padding: 14px 28px;
    font-weight: 600;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.google-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ── Footer ── */
.public-footer {
    background: #000000;
    color: #ffffff;
    padding: 80px 0 60px;
    border-top: none;
    margin: 0;
    border-radius: 0;
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.footer-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.footer-tagline-new {
    font-size: 15px;
    color: #fff;
    opacity: 0.9;
    line-height: 1.6;
    margin-top: 25px;
    font-weight: 400;
}

.newsletter-title-new {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.newsletter-input-wrapper {
    display: flex;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 60px;
    padding: 8px 8px 8px 25px;
    min-width: 480px;
}

.newsletter-input-custom {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    flex: 1;
    outline: none;
}

.newsletter-input-custom::placeholder {
    color: #666;
}

.btn-subscribe-new {
    background: #F8D8B0;
    /* Light orange/cream from image */
    color: #000;
    border: none;
    border-radius: 40px;
    padding: 12px 12px 12px 30px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.btn-subscribe-new:hover {
    background: #fff;
}

.btn-arrow-icon {
    width: 34px;
    height: 34px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.footer-divider-new {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 50px;
    opacity: 1;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-bottom-left {
    max-width: 450px;
}

.footer-social-new {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.social-btn-white {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn-white:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: #fff;
}

.footer-copyright-new {
    font-size: 16px;
    color: #E8983E;
    font-weight: 500;
    margin-bottom: 0;
}

.btn-google-play-new {
    background: #F8D8B0;
    color: #000;
    border-radius: 60px;
    padding: 12px 12px 12px 35px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
}

.btn-google-play-new i {
    font-size: 32px;
}

.play-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.play-text small {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.play-text span {
    font-size: 18px;
    font-weight: 700;
}

.btn-arrow-icon-black {
    width: 38px;
    height: 38px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.footer-bottom-right {
    display: flex;
    gap: 80px;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-nav-col h6 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
}

.footer-nav-col ul li {
    margin-bottom: 18px;
}

.footer-nav-col ul li a {
    text-decoration: none;
    color: #fff;
    opacity: 0.7;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-nav-col ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

.contact-list-new {
    list-style: none;
    padding: 0;
}

.contact-list-new li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-list-new span {
    font-size: 15px;
    color: #fff;
    opacity: 0.8;
}

/* Redesign for Mobile */
@media (max-width: 991px) {
    .public-footer {
        margin: 0;
        border-radius: 0;
    }

    .footer-top-row {
        flex-direction: column;
    }

    .newsletter-input-wrapper {
        min-width: 100%;
    }

    .footer-bottom-right {
        justify-content: flex-start;
        gap: 40px;
    }
}