:root {
    --primary-color: #756794;
    --secondary-color: #E5A69D;
    --accent-color: #FFB6A3;
    --dark-gray-1: #4A4558;
    --dark-gray-2: #5D5666;
    --dark-gray-3: #6E6877;
    --background-start: #E8E1F5;
    --background-end: #FFFFFF;
    --card-background: rgba(255, 255, 255, 0.95);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark-gray-1);
    min-height: 100vh;
    background: linear-gradient(to bottom, var(--background-start), var(--background-end));
    line-height: 1.6;
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 50;
    padding: 1rem 0;
    transition: all 0.3s ease-in-out;
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: height 0.3s ease-in-out;
}

.header-scrolled .logo img {
    height: 40px;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--dark-gray-1);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray-3);
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.hero-image {
    margin-top: 4rem;
}

.hero-image img {
    max-width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background-color: var(--dark-gray-2);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #d89589;
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--dark-gray-3);
    font-size: 1.125rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.5);
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-gray-1);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray-3);
    max-width: 36rem;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
}

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

.feature-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card .icon {
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: var(--dark-gray-3);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
}

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

.step-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.3);
}

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

.benefit-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: start;
    gap: 1.5rem;
}

.benefit-card .icon {
    background: var(--background-start);
    padding: 1rem;
    border-radius: 0.75rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
}

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

.testimonial-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quote {
    font-size: 1.125rem;
    color: var(--dark-gray-1);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.author .name {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author .role {
    color: var(--dark-gray-3);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--primary-color);
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-gray-1);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Add these new styles */
.desktop-only {
    display: flex;
}

.mobile-download-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);

    padding: 1rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;

}

@media (max-width: 768px) {
    .mobile-download-banner {
        display: block;
    }
}

/* iOS specific adjustments */
@supports (-webkit-touch-callout: none) {
    .mobile-download-banner {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

.mobile-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.app-banner-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.mobile-download-banner .download-button {
    height: 50px;
    max-width: 180px;
    margin: 0;
}

.mobile-download-banner.visible {
    transform: translateY(0);
}

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

    .header-content {
        flex-direction: row;
        justify-content: center;
        padding: 0.5rem 0;
    }

    nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

    .button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .desktop-only {
        display: none;
    }

    .mobile-download-banner {
        display: block;
        transform: translateY(100%);
    }

    .mobile-download-banner.visible {
        transform: translateY(0);
    }

    body {
        padding-bottom: 80px;
    }

    .logo {
        margin-bottom: 0;
    }
}

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

    .hero {
        padding: 6rem 0 3rem;
    }

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

    .feature-card, .benefit-card, .testimonial-card {
        padding: 1.5rem;
    }

    .mobile-banner-content {
        max-width: 320px;
    }

    .app-banner-image {
        height: 45px;
    }

    .mobile-download-banner .download-button {
        height: 45px;
        max-width: 160px;
    }
}

/* Add these styles in the Testimonials Section of your CSS */
.video-testimonial {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
}

.video-container {
    position: relative;
    width: 100%;
    height: 800px;
    max-height: 800px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
}

/* Update the responsive styles */
@media (max-width: 768px) {
    .video-container {
        max-width: 250px;
        height: 600px;
    }
}

@media (max-width: 480px) {
    .video-container {
        max-width: 220px;
        height: 400px;
    }
}

/* Add these styles for the download button */
.download-button {
    height: 60px;
    width: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
    object-fit: contain;
    max-width: 220px;
    display: block;
    margin: 0 auto;
}

.download-button:hover {
    transform: translateY(-2px);
}

/* Update mobile download banner styles */
.mobile-download-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: transform 0.3s ease-in-out;
    transform: translateY(100%);
}

.mobile-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.app-banner-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.mobile-download-banner .download-button {
    height: 50px;
    max-width: 180px;
    margin: 0;
}

.mobile-download-banner.visible {
    transform: translateY(0);
}

/* Update the media query */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-download-banner {
        display: block;
    }
}

@media (max-width: 480px) {
    .mobile-banner-content {
        max-width: 320px;
    }

    .app-banner-image {
        height: 45px;
    }

    .mobile-download-banner .download-button {
        height: 45px;
        max-width: 160px;
    }
}

/* Support Page Styles */
.support-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 1rem 5rem;
}

.support-section {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.support-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.support-intro {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(117, 103, 148, 0.1);
}

.support-intro h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.support-intro p {
    color: var(--dark-gray-2);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.support-intro p:last-child {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray-1);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(117, 103, 148, 0.2);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--dark-gray-1);
    background: white;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #665783;
}

.g-recaptcha {
    margin: 1.5rem 0;
}

/* Support Form Responsive Styles */
@media (max-width: 768px) {
    .support-container {
        padding: 6rem 1rem 4rem;
    }

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

    .support-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .support-container {
        padding: 5rem 1rem 3rem;
    }

    .support-title {
        font-size: 1.75rem;
    }

    .support-section {
        padding: 1rem;
    }

    .submit-button {
        width: 100%;
    }
}