/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from original site */
    --primary-blue: #4A7FD8;
    --dark-blue: #2C4B7E;
    --darker-blue: #1E3A5F;
    --light-blue: #E6F0FF;
    --green: #4CAF50;
    --white: #FFFFFF;
    --black: #000000;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --gray-bg: #F5F5F5;

    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: var(--primary-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    /* Extend hover area */
}

.dropdown .dropbtn {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.dropdown:hover .dropbtn {
    opacity: 0.8;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 5px;
    overflow: hidden;
    top: 100%;
    left: 0;
    margin-top: -5px;
    /* Reduce gap between button and menu */
    padding-top: 5px;
    /* Add padding at top */
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 14px 20px;
    /* Increased padding for easier clicking */
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
    position: relative;
    z-index: 1002;
}

.dropdown-content a:hover {
    background-color: var(--light-blue);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-signin {
    color: var(--white);
    text-decoration: none;
    padding: 8px 20px;
    border: 2px solid var(--white);
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-signin:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-trial {
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-trial:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #E6F0FF 0%, #B8D4FF 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.1) 100px,
            rgba(255, 255, 255, 0.1) 200px);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-weight: 400;
}

.app-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-link img {
    height: 50px;
    width: auto;
}

.hero-image {
    position: relative;
}

.hero-devices {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.dashboard-img {
    width: 60%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.mobile-img {
    width: 30%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}


/* Intro Section */
.intro-section {
    background: var(--white);
    padding: 80px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.intro-left h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    font-weight: 400;
}

.intro-right h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 400;
}

.intro-right p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-download {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-download:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* Help Section */
.help-section {
    background: var(--darker-blue);
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    color: var(--white);
    font-weight: 300;
}

/* Feature Sections */
.feature-section {
    background: var(--darker-blue);
    padding: 80px 0;
    position: relative;
}

.feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.02) 100px,
            rgba(255, 255, 255, 0.02) 200px);
    pointer-events: none;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

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

.feature-number {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    font-weight: 300;
}

.feature-text h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 300;
}

.feature-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.feature-image img {
    width: 60%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Reviews Section */
.reviews-section {
    background: var(--white);
    padding: 80px 0;
}

.section-title-dark {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 400;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

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

.quote-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 20px;
}

.review-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.review-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 25px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stars {
    color: #FFB800;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--gray-bg);
    padding: 60px 0 0;
}

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

.footer-logo img {
    height: 60px;
    width: auto;
    filter: invert(1) brightness(0.2);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    background: var(--primary-blue);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--white);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile dropdown - make it easier to click */
    .dropdown-content {
        min-width: 180px;
        margin-top: 5px;
    }

    .dropdown-content a {
        padding: 15px 20px;
        font-size: 16px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .feature-image img {
        width: 80%;
        max-width: 400px;
    }

    .feature-right .feature-content {
        direction: ltr;
    }

    .feature-right .feature-text {
        order: 2;
    }

    .feature-right .feature-image {
        order: 1;
    }

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

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

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

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .intro-left h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-text h3 {
        font-size: 1.8rem;
    }

    .header-actions {
        gap: 10px;
    }

    .btn-signin,
    .btn-trial {
        padding: 8px 15px;
        font-size: 14px;
    }
}