/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header and Logo Styles */
header {
    padding: 1rem 5%;
    background-color: white;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    padding-right: 1rem;
}

.logo .ai {
    color: #F4804E;
    margin-left: 4px;
}

a{
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
}

.nav-links .active {
    color: #F4804E;
}

.try-it-btn {
    background-color: #F4804E;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

@media screen and (max-width: 768px) {
    header {
        padding: 0.8rem 1rem;
    }
    
    nav {
        padding: 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .menu-toggle {
        margin-left: auto;
        margin-right: 0;
        padding: 0.5rem;
        z-index: 100;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #eee;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-links .try-it-btn {
        margin: 0;
        border-radius: 0;
        background-color: #F4804E;
        color: white;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 0.6rem 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        padding: 0.4rem;
    }
    
    .nav-links a {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Hero Section Styles */
.hero {
    display: flex;
    padding: 4rem 5%;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #F4804E;
}

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

.app-buttons {
    display: flex;
    gap: 1rem;
}

.store-button img {
    height: 40px;
}

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

.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* AI Detector Section Styles */
.detector-section {
    padding: 4rem 5%;
    background-color: #f9f9f9;
}

.detector-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.detector-container {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detector-info {
    flex: 1;
}

.detector-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.detector-input {
    flex: 1.5;
}

textarea {
    width: 100%;
    height: 200px;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    margin-bottom: 1rem;
}

.analyze-btn {
    background-color: #F4804E;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
}

/* Features Section */
.features-section {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}

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

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

.feature-card {
    text-align: center;
    padding: 0.5rem 0.8rem;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card i {
    font-size: 3rem;
    color: #F4804E;
    margin-bottom: 0rem;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

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

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

/* About Section */
.about-section {
    padding: 5rem 5%;
    background-color: #fff;
}

.about-text {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-section h1{
    font-size: xx-large;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 4rem;
    margin-top: 2rem;
    padding: 0 1rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: left;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.stat-item:last-child,
.stat-item:nth-last-child(2) {
    border-bottom: none;
}

.stat-item h3 {
    font-size: 1.4rem;
    color: #F4804E;
    margin-bottom: 1rem;
    font-weight: bold;
    width: 100%;
}

.stat-item p {
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1rem;
        padding: 0;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}

.faq-section h2 {
    font-size: xx-large;
}

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

.faq-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.faq-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.faq-header h3 {
    color: #333;
    font-size: 1.0rem;
    display: flex;
    margin-left: 120px;
    align-items: center;
    gap: 0.5rem;
}

.faq-header i {
    color: #F4804E;
    font-size: 1.4rem;
}

/* Partners Section */
.partners-section {
    padding: 4rem 5%;
    text-align: center;
    background-color: #fff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: white;
    transition: transform 0.3s ease;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* How to Use Section Unified Styles */
.how-to-use-section {
    padding: 4rem 5%;
    background-color: #fff;
}

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

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

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

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

.step-card i {
    font-size: 2.5rem;
    color: #F4804E;
    margin: 1rem 0;
}

.step-card h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #333;
}

@media screen and (max-width: 768px) {
    .how-to-use-section {
        padding: 2rem 1rem;
    }

    .how-to-use-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .step-card {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .step-card h3 {
        font-size: 1.1rem;
        margin: 0.8rem 0;
    }
}

/* How it Works Section */
.how-it-works-section {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}

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

.process-container {
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.process-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
}

.process-icon i {
    font-size: 2rem;
    color: #F4804E;
}

.process-content {
    flex-grow: 1;
}

.process-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

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

/* Result Section Styles */
.result-section {
    max-width: 800px;
    padding: 2rem;
    padding-bottom: 6rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.result-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.result-container {
    text-align: center;
    position: relative;
}

.score-display {
    margin-bottom: 2rem;
}

/* Progress Ring and Result Styles */
.score-circle {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.progress-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: 50%;
    width: 40%;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.score-value {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    margin: 0;
}

.score-label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

.detection-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    z-index: 1;
}

.detection-badge.ai {
    background-color: #ffebee;
    color: #ff4444;
    border: 2px solid #ff4444;
}

.detection-badge.human {
    background-color: #e8f5e9;
    color: #00C851;
    border: 2px solid #00C851;
}

@media screen and (max-width: 768px) {
    .result-section {
        padding-bottom: 5rem;
    }

    .detection-badge {
        bottom: -35px;
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .result-section {
        padding-bottom: 6rem;
    }

    .detection-badge {
        bottom: -30px;
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {
    .score-circle {
        width: 220px;
        height: 220px;
        margin-bottom: 2.5rem;
    }

    .score-value {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .score-circle {
        width: 180px;
        height: 180px;
        margin-bottom: 2rem;
    }

    .score-value {
        font-size: 1.8rem;
    }

    .score-label {
        font-size: 0.8rem;
    }
}

/* Loading Styles */
.loading {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #F4804E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.error {
    background-color: #ffebee;
    color: #c62828;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Call-to-Action Button Styles */
.cta-container {
    text-align: center;
    padding: 2rem 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background: #F4804E;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 128, 78, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 128, 78, 0.3);
    background: #f56a33;
}

/* Footer styles */
footer {
    background-color: #1E2532;
    color: white;
    padding: 2rem 5%;
    text-align: center;
}

.footer-bottom {
    color: #999;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .detector-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    header {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem 1rem;
        box-sizing: border-box;
        background: white;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    nav {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .hero-content {
        width: 100%;
        padding: 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin: 0 0 1rem 0;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .hero p {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
        box-sizing: border-box;
    }

    .hero-image {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .detector-section {
        width: 100%;
        padding: 2rem 1rem;
        box-sizing: border-box;
        margin: 0;
    }

    .detector-container {
        width: 100%;
        flex-direction: column;
        gap: 2rem;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .detector-info {
        width: 100%;
        padding: 0;
    }

    .detector-input {
        width: 100%;
        padding: 0;
    }

    textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 1rem;
        margin: 0;
    }

    .features-section {
        width: 100%;
        padding: 2rem 1rem;
        box-sizing: border-box;
        margin: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .feature-card {
        width: 100%;
        margin: 0;
        padding: 1.5rem;
        box-sizing: border-box;
    }

    .about-section {
        width: 100%;
        padding: 2rem 1rem;
        box-sizing: border-box;
        margin: 0;
    }

    .about-content {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        margin: 0;
    }

    .about-text {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .model-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        margin: 0;
    }

    .model-card {
        width: 100%;
        margin: 0;
        padding: 1.5rem;
        box-sizing: border-box;
    }

    .faq-section {
        width: 100%;
        padding: 2rem 1rem;
        box-sizing: border-box;
        margin: 0;
    }

    .faq-grid {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .faq-item {
        width: 100%;
        margin: 0 0 1rem 0;
        box-sizing: border-box;
    }

    .faq-header {
        width: 100%;
        padding: 1rem;
        box-sizing: border-box;
    }

    .faq-content {
        width: 100%;
        padding: 1rem;
        box-sizing: border-box;
    }

    .result-section {
        width: 100%;
        padding: 1rem;
        box-sizing: border-box;
        margin: 0;
    }

    .result-container {
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .progress-ring {
        width: 200px;
        height: 200px;
        max-width: 100%;
    }

    .analyze-btn,
    .try-it-btn {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem;
        margin: 0.5rem 0;
        box-sizing: border-box;
    }

    h1, h2, h3 {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 1rem;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .detector-section h2,
    .about-section h2,
    .features-section h2,
    .faq-section h2 {
        font-size: 1.5rem;
    }

    .progress-ring {
        width: 150px;
        height: 150px;
    }

    .feature-card,
    .model-card {
        padding: 1rem;
    }

    .faq-header {
        font-size: 0.9rem;
    }

    .faq-content {
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .detector-info p {
        font-size: 0.9rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .analyze-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* Mobile Menu Optimization */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #eee;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-links .try-it-btn {
        margin: 0;
        border-radius: 0;
        background-color: #F4804E;
        color: white;
    }

    /* Supporters List Mobile Optimization */
    .supporters-section {
        width: 100%;
        padding: 2rem 1rem;
        box-sizing: border-box;
        overflow: hidden;
    }

    .supporters-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .supporter-logo {
        width: 100%;
        max-width: 200px;
        height: auto;
        margin: 0 auto;
        padding: 1rem;
        box-sizing: border-box;
        display: block;
    }

    .supporter-card {
        width: 100%;
        margin: 0;
        padding: 1rem;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
}

@media screen and (max-width: 480px) {
    .nav-links a {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .supporter-logo {
        max-width: 150px;
        padding: 0.8rem;
    }

    .supporter-card {
        padding: 0.8rem;
    }
}

/* Add smooth transitions for responsive elements */
.nav-links,
.hero,
.feature-card,
.process-step {
    transition: all 0.3s ease-in-out;
}

/* Improve touch interactions on mobile */
@media (hover: none) {
    .feature-card:hover {
        transform: none;
    }
    
    .nav-links a:active,
    .button:active,
    .feature-card:active {
        opacity: 0.7;
    }
}

/* Ensure smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Improve form accessibility */
textarea:focus,
button:focus {
    outline: 2px solid #F4804E;
    outline-offset: 2px;
}

/* Add hamburger menu for mobile */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

/* Additional Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
    }
    
    .nav-links .try-it-btn {
        margin: 0.5rem auto;
        display: inline-block;
    }
    
    .steps-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step-card {
        width: 100%;
        max-width: none;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .faq-item {
        margin-bottom: 0.5rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .process-icon {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .detector-info p {
        font-size: 0.9rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .analyze-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* Add container max-width for larger screens */
@media screen and (min-width: 1200px) {
    .container,
    .hero,
    .features-grid,
    .process-container {
        max-width: 1140px;
        margin: 0 auto;
    }
}
