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

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

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

/* Header and Navigation */
.header {
    background: linear-gradient(rgb(255, 255, 255) 0%, rgb(248, 251, 248) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo-image {
    height: 50px;
    width: auto;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-links a:hover {
    color: rgb(46, 125, 50);
    background-color: rgba(46, 125, 50, 0.1);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(46, 125, 50, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(56, 142, 60, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.1;
    background: linear-gradient(135deg, #1f2937, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, rgb(46, 125, 50), rgb(56, 142, 60));
    color: white;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: rgb(46, 125, 50);
    border: 2px solid rgb(46, 125, 50);
}

.btn-secondary:hover {
    background: rgb(46, 125, 50);
    color: white;
    transform: translateY(-2px);
}

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

.hero-app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-app-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1f2937;
}

/* Improvement & Confidence Section */
.improvement-confidence {
    background-color: #fff;
}

.improvement-confidence-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.improvement-confidence-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.improvement-confidence-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.improvement-confidence-item.reverse .phone-screenshot {
    order: 2;
}

.improvement-confidence-item.reverse .improvement-confidence-content {
    order: 1;
}

.improvement-confidence-content {
    text-align: left;
}

.improvement-confidence-content h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgb(46, 125, 50);
}

.improvement-confidence-content p {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
}

.phone-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-screenshot {
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.improvement-confidence-item h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgb(46, 125, 50);
}

.improvement-confidence-item p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Trusted Content Section */
.trusted-content {
    background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%);
}

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

.content-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px);
}

.content-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgb(46, 125, 50);
}

.content-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(46, 125, 50, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(56, 142, 60, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgb(46, 125, 50), rgb(56, 142, 60));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.step h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.step p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Comprehensive Tools Section */
.comprehensive-tools {
    background-color: #fff;
}

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

.tool {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tool h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.tool p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, rgb(46, 125, 50), rgb(56, 142, 60));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

.cta .btn-primary {
    background: white;
    color: rgb(46, 125, 50);
}

.cta .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

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

.cta .btn-secondary:hover {
    background: white;
    color: rgb(46, 125, 50);
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    opacity: 0.9;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section ul li a:hover {
    color: rgb(46, 125, 50);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-app-screenshot {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .nav-links {
        display: flex;
        gap: 20px;
        align-items: center;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .improvement-confidence-grid {
        gap: 60px;
    }
    
    .improvement-confidence-item {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .improvement-confidence-item.reverse {
        grid-template-columns: 1fr;
    }
    
    .improvement-confidence-item .phone-screenshot {
        order: 2;
    }
    
    .improvement-confidence-item .improvement-confidence-content {
        order: 1;
    }
    
    .improvement-confidence-item.reverse .phone-screenshot {
        order: 2;
    }
    
    .improvement-confidence-item.reverse .improvement-confidence-content {
        order: 1;
    }
    
    .improvement-confidence-content {
        text-align: center;
    }
    
    .improvement-confidence-content h3 {
        font-size: 1.8rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .step {
        padding: 30px 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-navigation {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.nav-links a:focus {
    outline: 2px solid #8B4513;
    outline-offset: 2px;
}

/* Loading animation for interactive elements */
.improvement-confidence-item,
.tool {
    animation: fadeInUp 0.6s ease-out;
}

/* Legal Pages Styling */
.legal-content {
    padding: 120px 0 80px;
    background-color: #fff;
    min-height: 100vh;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(46, 125, 50);
    text-align: center;
    margin-bottom: 10px;
}

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

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid rgb(46, 125, 50);
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(46, 125, 50);
    margin-bottom: 20px;
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 20px 0 15px 0;
}

.legal-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-section li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.legal-navigation .btn {
    min-width: 150px;
}

/* Logo link styling */
.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:hover h1 {
    opacity: 0.8;
}

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