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

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

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

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

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

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

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

.highlight {
    color: #2563eb;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

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

.btn-outline {
    background-color: transparent;
    color: #374151;
    border-color: #d1d5db;
}

.btn-outline:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

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

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.hero-logo {
    width: 350px;
    height: auto;
    margin: 0 auto 1rem auto;
    display: block;
}

.nav-brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-attribution {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.hrg-logo-small {
    height: 18px;
    width: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

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

.checkmark {
    color: #10b981;
    font-weight: bold;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-trust {
    color: #6b7280;
    font-size: 0.9rem;
}

.dashboard-preview {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: #6b7280;
}

/* Competitive Advantage Section */
.competitive-advantage {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.comparison-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: #1f2937;
    color: #fff;
    padding: 1rem;
    font-weight: 600;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-feature {
    font-weight: 500;
    color: #374151;
}

.comparison-us {
    color: #10b981;
    font-weight: 500;
}

.comparison-others {
    color: #ef4444;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: #fff;
}

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

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #374151;
    font-size: 1.1rem;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

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

.testimonial-author p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background-color: #f9fafb;
}

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

.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #e5e7eb;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card.featured {
    border-color: #2563eb;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2563eb;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: #6b7280;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

.price-description {
    color: #6b7280;
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #374151;
}

.pricing-footer {
    text-align: center;
    margin-top: 3rem;
    color: #6b7280;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
}

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

.cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta p {
    color: #dbeafe;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-guarantee {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #dbeafe;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

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

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

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

.footer-section a:hover {
    color: #fff;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* SEO and 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;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* About Page Styles */
.about-hero, .contact-hero {
    background: linear-gradient(135deg, #047857, #10b981);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.about-hero h1, .contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero .lead, .contact-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.about-content, .contact-content {
    padding: 80px 0;
}

.about-grid, .contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    color: #047857;
    margin-bottom: 15px;
    margin-top: 30px;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e5e7eb;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #047857;
    margin-bottom: 10px;
}

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

/* Contact Page Styles */
.contact-methods {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.contact-method h3 {
    color: #047857;
    margin-bottom: 10px;
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
}

.faq {
    background: #f8fafc;
    padding: 80px 0;
}

.faq h2 {
    text-align: center;
    color: #047857;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

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

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
}

.faq-item h3 {
    color: #047857;
    margin-bottom: 15px;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-hero h1, .contact-hero h1 {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal Pages (Terms, Privacy) Styles */
.terms-content, .privacy-content {
    padding: 100px 0 80px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.terms-content h1, .privacy-content h1 {
    color: #047857;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.terms-content h2, .privacy-content h2 {
    color: #047857;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.terms-content h3, .privacy-content h3 {
    color: #374151;
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.terms-content p, .privacy-content p {
    margin-bottom: 15px;
    color: #4b5563;
}

.terms-content ul, .privacy-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.terms-content li, .privacy-content li {
    margin-bottom: 8px;
    color: #4b5563;
}

.terms-content strong, .privacy-content strong {
    color: #047857;
}

@media (max-width: 768px) {
    .terms-content, .privacy-content {
        padding: 80px 20px 60px;
    }
    
    .terms-content h1, .privacy-content h1 {
        font-size: 2rem;
    }
    
    .terms-content h2, .privacy-content h2 {
        font-size: 1.3rem;
    }
}