:root {
    --navy-primary: #0F3460;
    --navy-secondary: #16213E;
    --orange-accent: #FF6B35;
    --orange-soft: #FFE3D6;
    --light-bg: #F8F9FA;
    --card-white: #FFFFFF;
    --text-grey: #535C68;
    --gradient-main: linear-gradient(135deg, #0F3460 0%, #16213E 100%);
    --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #E85D2B 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-bg);
    color: var(--navy-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-primary);
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--navy-secondary);
}

.nav-links a:hover {
    color: var(--orange-accent);
}

.btn-primary {
    background: var(--gradient-orange);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 150px;
    background: var(--light-bg);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--navy-secondary);
}

.highlight {
    color: var(--orange-accent);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 107, 53, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-grey);
    margin-bottom: 30px;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-secondary {
    padding: 10px 25px;
    border-radius: 50px;
    background: rgba(15, 52, 96, 0.1);
    color: var(--navy-primary) !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(15, 52, 96, 0.2);
}

.stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 1.8rem;
    color: var(--navy-primary);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-grey);
}


/* Hero Phones Layout */
.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    overflow: visible;
    /* Allow phones to float slightly out if needed */
}

.phones-wrapper {
    position: relative;
    width: 550px;
    height: 600px;
    perspective: 1000px;
}

.phone-mockup {
    position: absolute;
    width: 200px;
    height: 400px;
    background: var(--navy-primary);
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(15, 52, 96, 0.4);
    transition: all 0.5s ease;
    border: 4px solid #16213E;
}

/* Individual Phone Positioning */
.p1 {
    top: 20px;
    left: 20px;
    z-index: 1;
    transform: rotateX(5deg) rotateY(-5deg) rotateZ(-5deg);
}

.p2 {
    top: 60px;
    right: 20px;
    z-index: 2;
    transform: rotateX(5deg) rotateY(10deg) rotateZ(5deg);
}

.p3 {
    bottom: 40px;
    left: 60px;
    z-index: 3;
    transform: rotateX(-5deg) rotateY(-5deg) rotateZ(-3deg);
}

.p4 {
    bottom: 80px;
    right: 40px;
    z-index: 4;
    transform: rotateX(-5deg) rotateY(5deg) rotateZ(3deg);
}

/* Hover Effect for Phones */
.phone-mockup:hover {
    z-index: 10;
    transform: scale(1.1) !important;
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.3);
    border-color: var(--orange-accent);
}

.screen {
    background: #fff;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.app-screen-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Float Animations with Delays */
.float-delayed-1 {
    animation: float 6s ease-in-out infinite 0s;
}

.float-delayed-2 {
    animation: float 7s ease-in-out infinite 1s;
}

.float-delayed-3 {
    animation: float 6.5s ease-in-out infinite 2s;
}

.float-delayed-4 {
    animation: float 5.5s ease-in-out infinite 1.5s;
}

/* Removed old card animations if unused */


/* Features */
.features {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--navy-secondary);
    margin-bottom: 15px;
}

.gradient-text {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-grey);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--orange-accent);
    background: #fff;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--orange-soft);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--orange-accent);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--navy-primary);
}

.feature-card p {
    color: var(--text-grey);
    font-size: 0.95rem;
}

.feature-card:hover .icon-box {
    background: var(--orange-accent);
    color: #fff;
    transform: rotate(5deg);
    transition: all 0.3s;
}

/* Showcase */



.showcase {
    padding: 100px 0;
    background: var(--navy-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.showcase-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.showcase-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.feature-list i {
    color: var(--orange-accent);
}

.showcase-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.showcase-image::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--orange-accent);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
}

.phone-frame {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 40px;
    padding: 10px;
    border: 4px solid #333;
    z-index: 1;
    position: relative;
}

.notch {
    width: 120px;
    height: 30px;
    background: #000;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.gradient-bg {
    background: linear-gradient(180deg, var(--light-bg) 0%, #fff 100%);
    padding: 20px;
    padding-top: 50px;
}

.ui-header {
    height: 100px;
    background: var(--navy-primary);
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ui-card {
    height: 120px;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--light-bg);
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: var(--navy-secondary);
    margin-bottom: 50px;
    display: inline-block;
    position: relative;
}

.testimonial-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--orange-soft);
    font-family: serif;
}

.user-avatar {
    font-size: 3rem;
    color: var(--text-grey);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-grey);
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: var(--navy-primary);
    margin-bottom: 10px;
}

.stars {
    color: #FFD700;
}

/* Footer */
footer {
    background: var(--navy-secondary);
    color: #fff;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--orange-accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.socials a:hover {
    background: var(--orange-accent);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-download h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--orange-accent);
    padding-left: 5px;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-btn:hover {
    background: #fff;
    color: var(--navy-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .showcase-container {
        flex-direction: column;
    }

    .showcase-content {
        text-align: center;
    }

    .feature-list li {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        color: var(--navy-primary);
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Mobile Phones Adjustment */
    .phones-wrapper {
        transform: scale(0.6);
        transform-origin: center top;
        margin-bottom: -150px;
        left: -20px;
        /* Center alignment adjustment */
    }

    .hero-image {
        min-height: 450px;
        width: 100%;
        overflow: hidden;
    }

}

/* Language Selector */
.lang-selector {
    position: relative;
    cursor: pointer;
    font-weight: 700;
    margin-left: 20px;
    z-index: 1001;
}

.active-lang {
    color: var(--navy-secondary);
    padding: 5px 10px;
    border: 2px solid var(--orange-accent);
    border-radius: 20px;
    transition: all 0.3s;
    display: inline-block;
}

.active-lang:hover,
.lang-selector:hover .active-lang {
    background: var(--orange-accent);
    color: #fff;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.lang-dropdown span {
    padding: 10px 15px;
    color: var(--navy-secondary);
    transition: background 0.2s;
    display: block;
    text-align: center;
}

.lang-dropdown span:hover {
    background: var(--light-bg);
    color: var(--orange-accent);
}

/* Specific Mobile adjustments for lang selector */
@media (max-width: 768px) {
    .lang-selector {
        margin-left: 0;
        margin-top: 15px;
    }

    .lang-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 10px;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }

    .lang-selector:hover .lang-dropdown {
        display: flex;
    }

    .lang-selector:hover .active-lang {
        display: none;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #fff;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 20px 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--orange-accent);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--navy-primary);
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--orange-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 15px;
}

.faq-answer p {
    color: var(--text-grey);
    font-size: 0.95rem;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: var(--navy-secondary);
    color: #fff;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.newsletter p {
    margin-bottom: 30px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    outline: none;
    font-family: inherit;
}

.newsletter-form button {
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-grey);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--orange-accent);
}

.modal h2 {
    color: var(--navy-secondary);
    margin-bottom: 10px;
}

.modal p {
    color: var(--text-grey);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.qr-code {
    background: #fff;
    padding: 10px;
    border: 2px dashed var(--orange-soft);
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 25px;
}

.qr-code img {
    width: 150px;
    height: 150px;
    display: block;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-buttons a {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
}