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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

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

.navbar {
    padding: 1rem 0;
}

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

.nav-brand h1 {
    color: #007BFF;
    font-size: 1.8rem;
    font-weight: 700;
}

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

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

.nav-menu a:hover {
    color: #007BFF;
}

/* Main Tool Section - Full Screen */
.main-tool-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 80px;
    box-sizing: border-box;
}

.main-tool-section .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: calc(100vh - 80px);
}

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

.tool-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tool-header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.main-tool-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    max-height: calc(100vh - 220px);
}

.main-iframe {
    width: 95vw;
    max-width: 1000px;
    height: calc(100vh - 250px);
    min-height: 400px;
    max-height: 600px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: white;
}

.quick-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding: 1rem 0;
}

.quick-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: #333;
}

.quick-feature .feature-icon {
    font-size: 1.2rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #007BFF;
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: #007BFF;
    border: 2px solid #007BFF;
}

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

.btn-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

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

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #007BFF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
}

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

.feature-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.feature-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
    background: white;
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

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

/* Optimize layout for 6 items */
@media (min-width: 1200px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.use-case {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #007BFF;
}

.use-case h3 {
    color: #007BFF;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    background: #007BFF;
    color: white;
    padding: 1.5rem;
    margin: 0;
    font-size: 1.1rem;
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 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;
}

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

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #007BFF;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-tool-section {
        padding-top: 70px;
    }
    
    .tool-header h1 {
        font-size: 2rem;
    }
    
    .tool-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .main-iframe {
        width: 98vw;
        height: calc(100vh - 280px);
        min-height: 350px;
        max-height: 500px;
    }
    
    .quick-features {
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .quick-feature {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .main-tool-section .container {
        max-height: calc(100vh - 70px);
    }
}

@media (max-width: 480px) {
    .main-tool-section {
        padding-top: 60px;
    }
    
    .tool-header {
        margin-bottom: 1rem;
    }
    
    .tool-header h1 {
        font-size: 1.6rem;
    }
    
    .tool-header p {
        font-size: 0.9rem;
    }
    
    .main-iframe {
        width: 99vw;
        height: calc(100vh - 200px);
        min-height: 300px;
        max-height: 450px;
    }
    
    .quick-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .quick-feature {
        width: 90%;
        justify-content: center;
    }
    
    .main-tool-section .container {
        max-height: calc(100vh - 60px);
    }
}

@media (min-width: 1400px) {
    .main-iframe {
        max-width: 1200px;
        max-height: 700px;
    }
}

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

/* Animation */
.feature-item, .step, .use-case, .faq-item {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Legal Sections */
.legal-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.legal-section:nth-child(even) {
    background-color: #ffffff;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    color: #007BFF;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 0.5rem;
}

.legal-content h4 {
    color: #555;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
}

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

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #666;
}

.legal-content a {
    color: #007BFF;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-method {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #007BFF;
}

.contact-method h4 {
    color: #007BFF;
    margin-bottom: 0.5rem;
}

/* Responsive Legal Sections */
@media (max-width: 768px) {
    .legal-section {
        padding: 2rem 0;
    }
    
    .legal-content h2 {
        font-size: 2rem;
    }
    
    .legal-content h3 {
        font-size: 1.3rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
}