* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
    max-width: 300px !important;
    overflow: hidden !important;
}

.logo {
    height: 40px !important;
    width: 40px !important;
    max-height: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    min-width: 40px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.nav-brand h2 {
    color: #22c55e;
    font-size: 1.5rem;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #22c55e;
}

.cta-button {
    background: #22c55e;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #16a34a;
}

/* Hero Section */
.hero {
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
}

.stat-text {
    font-size: 0.9rem;
    color: #6b7280;
}

.cta-primary {
    background: #22c55e;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-primary:hover {
    background: #16a34a;
}

/* Consistent button styling for all CTA buttons */
.cta-button-link {
    background: #22c55e;
    color: white !important;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-weight: 600;
}

.cta-button-link:hover {
    background: #16a34a;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    object-fit: contain;
}

/* Features Section */
.features {
    padding: 80px 2rem;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f9fafb;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 10px;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* App Preview Section */
.app-preview {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.preview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.preview-text p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: #374151;
}

.preview-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-phone img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* CTA Section */
.cta-section {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-secondary:hover {
    background: white;
    color: #22c55e;
}

.cta-tertiary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-tertiary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Login Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.login-modal-content {
    background-color: white;
    margin: 3% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.close {
    color: #ef4444;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
}

.close:hover {
    color: #dc2626;
    transform: scale(1.1);
}

.login-form-container {
    padding: 2rem;
}

.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.login-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.login-submit-btn:hover {
    opacity: 0.9;
}

.demo-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.demo-info p {
    margin: 0.25rem 0;
    color: #0369a1;
    font-size: 0.9rem;
}

.app-download-section {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.app-download-section h3 {
    margin: 0 0 0.5rem 0;
    color: #374151;
    font-size: 1.2rem;
}

.app-download-section p {
    margin: 0 0 1rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.ios-btn {
    background: #007AFF;
    color: white;
}

.ios-btn:hover {
    background: #0056CC;
}

.android-btn {
    background: #34A853;
    color: white;
}

.android-btn:hover {
    background: #2E7D32;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Modal Styles */
.modal {
    display: none !important; /* Ensure modals are hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.close {
    color: #ef4444;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
}

.close:hover {
    color: #dc2626;
    transform: scale(1.1);
}

.modal-body {
    padding: 0;
    flex: 1;
    overflow-y: auto;
    line-height: 1.8;
    -webkit-overflow-scrolling: touch;
}

.policy-section-modal {
    padding: 2rem;
}

.policy-divider {
    height: 2px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    margin: 0;
}

.section-title {
    font-size: 1.8rem;
    color: #22c55e;
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-align: center;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1rem;
}

.modal-body h3 {
    font-size: 1.3rem;
    color: #22c55e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-section-modal h3:first-of-type {
    margin-top: 1rem;
}

.modal-body p {
    color: #374151;
    margin-bottom: 1.5rem;
}

.modal-body a {
    color: #22c55e;
    text-decoration: none;
}

.modal-body a:hover {
    text-decoration: underline;
}

/* Custom scrollbar for modal - make it more visible */
.modal-body::-webkit-scrollbar {
    width: 12px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 40px 2rem 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-brand {
    display: block;
}

.footer-brand .logo {
    height: 40px !important;
    width: 40px !important;
    max-height: 40px !important;
    max-width: 40px !important;
    min-height: 40px !important;
    min-width: 40px !important;
    margin-bottom: 0.5rem;
    object-fit: contain !important;
    display: block !important;
}

.footer-brand h3 {
    color: #22c55e;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-links a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #22c55e;
}

.footer-link {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-link:hover {
    color: #22c55e;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Additional logo safety rules */
img[src*="1758235665264"] {
    height: 40px !important;
    width: 40px !important;
    max-height: 40px !important;
    max-width: 40px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Prevent any image from breaking layout */
img {
    max-width: 100% !important;
    height: auto !important;
}

.nav img {
    max-height: 40px !important;
    max-width: 40px !important;
}

.footer img {
    max-height: 40px !important;
    max-width: 40px !important;
}
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-brand h2 {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-button-link {
        width: 100%;
        max-width: 280px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 0.4rem 1rem;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-brand h2 {
        font-size: 1rem;
    }
    
    .nav-links a:first-child {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .features h2,
    .preview-text h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .policy-content-page {
        padding: 2rem;
        margin: 1rem;
    }
    
    .policy-content-page h1 {
        font-size: 2rem;
    }
    
    .policy-content-page h2 {
        font-size: 1.3rem;
    }
    
    .policy-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-button {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}