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

/* Status text colors */
.text-error { color: #dc2626; }
.text-info { color: #2563eb; }
.text-success { color: #059669; }

/* Test account cards */
.test-account-card {
    background: #ffffff;
    color: #1f2937;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    display: block;
}

.test-account-card:hover {
    transform: translateY(-2px);
}

.test-account-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.test-account-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background-color: #663399;
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
    border-radius: 8px; /* Rounded corners for documentation logo */
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF6B35;
}



/* Hero Section */
.hero {
    background: linear-gradient(135deg, #663399 0%, #8B5A9F 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #663399;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.intro-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #555;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

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

.benefit-card h3 {
    color: #663399;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.comparison-section {
    text-align: center;
}

.comparison-title {
    font-size: 2rem;
    color: #663399;
    margin-bottom: 2rem;
}

.comparison-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
}

.solution-overview {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.solution-overview h3 {
    font-size: 1.8rem;
    color: #663399;
    margin-bottom: 1rem;
}

.solution-overview p {
    font-size: 1.1rem;
    color: #555;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #FF6B35;
}

.feature-card h4 {
    color: #663399;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.alignment-section {
    background: linear-gradient(135deg, #663399 0%, #8B5A9F 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.alignment-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.alignment-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Guide Section */
.guide-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.guide-section-block {
    margin-bottom: 4rem;
}

.guide-section-title {
    font-size: 2rem;
    color: #663399;
    margin-bottom: 2rem;
    text-align: center;
}

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

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    background: #FF6B35;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #663399;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content p {
    color: #555;
    line-height: 1.6;
}

.contact-guide {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.qr-demo-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.faq-question {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    color: #663399;
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #FF6B35;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.troubleshooting-section {
    text-align: center;
}

.troubleshooting-section h3 {
    font-size: 2rem;
    color: #663399;
    margin-bottom: 2rem;
}

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

.troubleshooting-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-top: 4px solid #FF6B35;
}

.troubleshooting-item h4 {
    color: #663399;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #663399 0%, #8B5A9F 100%);
    color: white;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.contact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: white;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B35;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-guide {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid,
    .features-grid,
    .troubleshooting-grid {
        grid-template-columns: 1fr;
    }
}

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Header Action Button */
.btn-header {
    background-color: #FF6B35;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-header:hover {
    background-color: #E55A2B;
}

/* Animation keyframes */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* CSP-compliant dynamic styles */
.parallax-active {
    transform: translateY(var(--parallax-offset, 0px));
}

.btn-hover-active {
    transform: translateY(-2px) !important;
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #FF6B35;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    z-index: 1001;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification-show {
    opacity: 1;
    transform: translateX(0);
    animation: slideIn 0.3s ease;
}

/* Navigation active state */
.nav-link.active {
    color: #FF6B35 !important;
}

/* Page loading animation */
.loaded .hero {
    animation: fadeInUp 1s ease;
}

@media (max-width: 768px) {
    .header-action-button {
        display: none; /* Hide on smaller screens if navigation is hidden */
    }
}