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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 48px; /* Touch target size for mobile */
}

.btn-primary {
    background: linear-gradient(135deg, #00A651, #007A3D);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 166, 81, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 166, 81, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #007AFF;
    border: 2px solid #007AFF;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #007AFF;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.btn-outline:hover {
    background: #f5f5f5;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.navbar-brand h1 {
    color: #00A651;
    font-size: 1.8rem;
    font-weight: 700;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: #00A651;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section - Mobile First */
.hero {
    padding: 100px 0 60px;
    background: white;
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    text-align: center;
}



.hero-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-button {
    font-size: 1.1rem;
    padding: 16px 32px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
    animation: pulse 2s infinite, borderGlow 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
    min-width: 200px;
}

.cta-button.loading {
    animation: none;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    box-shadow: 0 0 20px rgba(0, 122, 255, 0.6);
    transform: scale(1.05);
}

@keyframes borderGlow {
    0% { box-shadow: 0 0 5px rgba(0, 122, 255, 0.3), 0 0 10px rgba(0, 122, 255, 0.2), 0 0 15px rgba(0, 122, 255, 0.1); }
    100% { box-shadow: 0 0 10px rgba(0, 122, 255, 0.5), 0 0 20px rgba(0, 122, 255, 0.3), 0 0 30px rgba(0, 122, 255, 0.2); }
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(0, 122, 255, 0.5); }
    100% { box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3); }
}

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

.stat-item {
    text-align: center;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00A651;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A651, #007A3D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

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

.about-text h2 {
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

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

.stat h3 {
    font-size: 2.5rem;
    color: #00A651;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-image .mobile-features-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.feature-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-showcase-item:hover {
    transform: translateY(-3px);
}

.showcase-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.showcase-text h4 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1rem;
}

.showcase-text p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

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

.testimonial-author .testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00A651, #007A3D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    color: #333;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Download CTA Section */
.download-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #007AFF, #5856D6);
    color: white;
    text-align: center;
}

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

.download-content p {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    min-height: 60px;
}

.app-store-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

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

.app-store-btn div {
    text-align: left;
}

.app-store-btn small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.app-store-btn strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.download-features i {
    color: #4CAF50;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00A651;
}

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

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #007AFF;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: #007AFF;
    text-decoration: underline;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid #eee;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-brand {
        display: block;
        text-align: left;
        flex: 1;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: 100vh;
        text-align: center;
    }

    .hero .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 1rem;
        margin: 0 auto 2rem;
    }

    .btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
        text-align: center;
    }

    .cta-button {
        min-width: auto;
        width: 100%;
    }

    .hero-stats {
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-item {
        min-width: 100px;
        text-align: center;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .about-content {
        gap: 2rem;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .features {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
        text-align: center;
        max-width: 100%;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .testimonials {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
        text-align: center;
        max-width: 100%;
    }

    .testimonial-author {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .mobile-features-showcase {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 100%;
    }

    .feature-showcase-item {
        padding: 1.5rem 1rem;
    }

    .download-cta {
        padding: 60px 0;
    }

    .download-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .download-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .app-stores {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .app-store-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 18px 20px;
    }

    .download-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .download-features span {
        font-size: 0.95rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

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

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

    .footer-section ul {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }

    .cookie-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

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

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

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

    .download-content h2 {
        font-size: 2rem;
    }

    .hero-image-mobile {
        max-width: 250px;
    }

    .mobile-mockup {
        max-width: 220px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
.btn:focus,
.nav-link:focus,
.app-store-btn:focus {
    outline: 2px solid #007AFF;
    outline-offset: 2px;
}

/* Legal Pages Styles */
.legal-content {
    padding: 100px 0 60px;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.legal-content h1 {
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-content .last-updated {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-section h2 {
    color: #00A651;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: #333;
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.company-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #007AFF;
    margin: 1rem 0;
}

.company-info p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.company-info strong {
    color: #007AFF;
}

/* Mobile styles for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 120px 0 40px;
    }

    .legal-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        padding: 0 10px;
    }

    .legal-content .last-updated {
        font-size: 0.85rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .legal-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 8px;
    }

    .legal-section h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.8rem 0;
    }

    .legal-section p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }

    .legal-section ul {
        margin-left: 1rem;
        margin-bottom: 0.8rem;
    }

    .legal-section li {
        margin-bottom: 0.4rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .company-info {
        padding: 1rem;
        border-radius: 6px;
        margin: 0.8rem 0;
    }

    .company-info p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
}

/* Cookie Tables */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cookies-table th,
.cookies-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookies-table th {
    background: #007AFF;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookies-table tr:nth-child(even) {
    background: #f8f9fa;
}

.cookies-table tr:hover {
    background: #e8f5e8;
}

.cookies-table td {
    font-size: 0.9rem;
    color: #555;
}

.cookies-table td:first-child {
    font-weight: 600;
    color: #333;
}

/* Print styles */
@media print {
    .navbar,
    .cookie-banner,
    .download-cta {
        display: none;
    }

    .legal-content {
        padding: 20px 0;
        background: white;
    }

    .legal-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* Performance optimizations for Google Ads */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }

    .feature-icon {
        background: #000;
    }
}
