/* ===== VARIABLES ===== */
:root {
    --bg-color: #F3F3FE;
    --primary-500: #8666F0;
    --secondary-900: #255155;
    --secondary-700: #3F898F;
    --secondary-600: #51B0B8;
    --secondary-500: #59C1CA;
    --secondary-400: #7ACDD5;
    --secondary-200: #B3E2E7;
    --secondary-100: #CCECEF;
    --secondary-50: #EEF9FA;
    --gray-900: #101828;
    --gray-800: #1D2939;
    --gray-700: #344054;
    --gray-600: #475467;
    --gray-500: #667085;
    --gray-400: #98A2B3;
    --gray-300: #D0D5DD;
    --gray-200: #EAECF0;
    --gray-100: #F2F4F7;
    --gray-50: #F9FAFB;
    --error-500: #F04438;
    --warning-500: #F79009;
    --white: #FFFFFF;
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Headings use Nunito */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-600);
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-600);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-600);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--gray-700);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-600);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(81, 176, 184, 0.3);
}

.btn-secondary {
    background: var(--secondary-100);
    color: var(--secondary-700);
}

.btn-secondary:hover {
    background: var(--secondary-200);
}

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

.btn-outline:hover {
    background: var(--secondary-600);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--secondary-50) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary-600) 0%, var(--primary-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--secondary-600);
}

.stat-item div {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1rem;
    color: var(--gray-900);
}

.stat-item span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.phone-mockup {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

.phone-screen {
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
}

/* ===== SECTION HEADER ===== */
.section-header {
    margin-bottom: 3rem;
}

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

.section-tag {
    display: inline-block;
    background: var(--secondary-100);
    color: var(--secondary-700);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--gray-900);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    padding: 5rem 0;
    background: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-600) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.problem-icon i {
    font-size: 2rem;
    color: white;
}

.problem-card h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--gray-600);
}

/* ===== DUAL AUDIENCE ===== */
.dual-audience {
    padding: 5rem 0;
    background: var(--bg-color);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.audience-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audience-card.featured {
    background: linear-gradient(135deg, var(--secondary-50) 0%, var(--secondary-100) 100%);
    border: 3px solid var(--secondary-600);
}

.audience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.audience-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.audience-icon i {
    font-size: 2rem;
    color: white;
}

.audience-card h3 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.audience-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.audience-list {
    list-style: none;
    margin-bottom: 2rem;
}

.audience-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
}

.audience-list i {
    color: var(--secondary-600);
    font-size: 1.2rem;
}

/* ===== FEATURES ===== */
.features {
    padding: 5rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--primary-500) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== SCREENSHOTS ===== */
.screenshots {
    padding: 5rem 0;
    background: var(--bg-color);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

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

.screenshot-img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-img {
    transform: scale(1.05);
}

.screenshot-item h4 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.screenshot-item p {
    color: var(--gray-600);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    background: var(--gray-100);
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--secondary-600);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 16px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--secondary-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--secondary-600);
}

.step-card h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.step-arrow {
    text-align: center;
    color: var(--secondary-600);
    font-size: 1.5rem;
}

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 5rem 0;
    background: var(--bg-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-card {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    text-align: center;
}

.trust-card i {
    font-size: 3rem;
    color: var(--secondary-600);
    margin-bottom: 1rem;
}

.trust-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.trust-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    color: var(--warning-500);
}

.testimonial-text {
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--secondary-700);
}

.author-info strong {
    display: block;
    color: var(--gray-900);
    font-size: 1rem;
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-700) 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-text > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: white;
    color: var(--gray-900);
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.download-btn i {
    font-size: 2rem;
}

.download-btn small {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-600);
}

.download-btn strong {
    display: block;
    font-size: 1rem;
}

.download-note {
    opacity: 0.9;
    font-size: 0.95rem;
}

.floating-phone {
    animation: float 3s ease-in-out infinite;
}

.floating-phone img {
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== FAQ ===== */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-color);
}

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

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 16px;
    text-align: center;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--secondary-600);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.contact-card a {
    color: var(--secondary-600);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary-700);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-tagline {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-600);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.footer-bottom i {
    color: var(--error-500);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    background: var(--secondary-700);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image,
    .download-image {
        order: -1;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid,
    .problem-grid,
    .trust-grid,
    .testimonials-grid,
    .screenshots-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
