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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    max-width: 200px;
}

.logo-link img {
    width: 100%;
    height: auto;
    display: block;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem 1rem;
    border: 1px solid #6A48B9;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.support-link:hover {
    border-color: #5a3a9f;
}

.support-link img {
    width: 20px;
    height: 20px;
    display: block;
}

.support-text {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: #1f2937;
    font-family: 'Source Sans 3', sans-serif;
}

.header-spacer {
    height: 80px;
    width: 100%;
}

/* Hero Section */
.hero {
    background: #FFFFFF;
    padding: 60px 0;
    min-height: auto;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 82%;
    max-width: 700px;
    height: auto;
}

.hero-text {
    max-width: 600px;
}

.hero-title-wrapper {
    margin-bottom: 2rem;
}

.hero-title-text {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    color: #1f2937;
    font-family: 'Open Sans', sans-serif;
}

.hero-title-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    position: relative;
}

.hero-title-image {
    height: 100%;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.hero-title-image img {
    display: block;
}

.hero-title-remaining {
    white-space: nowrap;
    display: none;
    color: #1f2937;
    font-weight: 400;
    min-width: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.hero-title-remaining.active {
    display: block;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #374151;
    font-family: 'Source Sans 3', sans-serif;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-label {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-family: 'Source Sans 3', sans-serif;
}

.hero-cta .app-store-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta .app-store-buttons a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.hero-cta .app-store-buttons a:hover {
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    color: #6b7280;
}

/* Features Section */
.features {
    background-color: #FFFFFF;
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    border: none;
    display: flex;
    flex-direction: column;
}

.feature-image {
    width: 100%;
    margin-bottom: 1rem;
}

.feature-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
}

.feature-description {
    color: #374151;
    line-height: 1.6;
    font-size: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    margin: 0;
}

/* Power of the Herd Section */
.herd-section {
    background: #FFFFFF;
    padding: 4rem 0;
}

.herd-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.herd-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.herd-image-small {
    display: none;
    width: 100%;
    max-width: 600px;
}

.herd-image-large {
    width: 100%;
    max-width: 1200px;
}

.herd-image-large img,
.herd-image-small img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    object-position: center center;
}

.herd-text {
    max-width: 800px;
    margin: 0 auto;
}

.herd-text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.herd-paragraph {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    font-family: 'Source Sans 3', sans-serif;
}

.herd-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.herd-cta .app-store-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.herd-cta .app-store-buttons a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.herd-cta .app-store-buttons a:hover {
    transform: translateY(-2px);
}

.app-store-disclaimer {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    max-width: 600px;
    line-height: 1.5;
    margin-top: 1rem;
    font-family: 'Source Sans 3', sans-serif;
}

/* Testimonials Section */
.testimonials {
    background: #FFFFFF;
    padding: 4rem 0;
}

.testimonials-content {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.testimonials-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Source Sans 3', sans-serif;
}

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

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

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.testimonial-quote-icon img {
    width: 100%;
    height: auto;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    font-style: italic;
    font-family: 'Source Sans 3', sans-serif;
}

.testimonial-author {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.5rem;
    font-family: 'Source Sans 3', sans-serif;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-title {
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-store-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #1f2937;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 180px;
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1;
}

.store-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

/* Support Section */
.support {
    background: #f8fafc;
    text-align: center;
}

.support-content {
    max-width: 600px;
    margin: 0 auto;
}

.support-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.phone-icon {
    width: 48px;
    height: 48px;
    color: #667eea;
}

.support-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    color: #374151;
}

.support-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    display: block;
}

.support-phone:hover {
    color: #5a67d8;
}

/* Support Page */
.support-page {
    background: #FFFFFF;
    padding: 4rem 0;
    min-height: 60vh;
}

.support-page-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.support-page-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-family: 'Open Sans', sans-serif;
}

.support-page-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 2rem;
    font-family: 'Source Sans 3', sans-serif;
}

.support-phone-section {
    margin-top: 2rem;
}

.support-phone-link {
    font-size: 1.75rem;
    font-weight: 600;
    color: #6A48B9;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease;
    font-family: 'Source Sans 3', sans-serif;
}

.support-phone-link:hover {
    color: #5a3a9f;
    text-decoration: underline;
}

/* About Section */
.about {
    background: #FFFFFF;
}

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

.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #FFFFFF;
    color: #374151;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    gap: 2rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    color: #6b7280;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2563eb;
}

.footer-copyright {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    max-width: 600px;
    line-height: 1.5;
}

.separator {
    color: #6b7280;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
}

.footer-logo {
    width: 80px;
    height: auto;
}

.footer-message {
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    text-align: center;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }

    .hero-title-text {
        font-size: 2.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .app-store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        min-width: 200px;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-meta {
        align-items: center;
    }

    .footer-logo-section {
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding: 1rem 0;
    }

    .footer-logo {
        width: 60px;
    }

    .footer-message {
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .header-container {
        padding: 0.75rem 0;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .logo-link {
        max-width: 150px;
    }
}

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

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

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

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

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

    .hero-image {
        width: 100%;
        max-width: 500px;
    }

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

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

    .herd-image-small {
        display: block;
    }

    .herd-image-large {
        display: none;
    }

    .hero-badges {
        gap: 1rem;
    }

    .badge {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .support-contact {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

/* Focus states */
.btn:focus,
.store-button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header-container,
    .hero-cta,
    .app-store-buttons {
        display: none !important;
    }
}