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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #E5E5CB;
}

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

/* Header Styles */
header {
    background: #1A120B;
    color: #FFFFFF;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #FFFFFF;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1024px) {
    nav .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        order: 1;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #1A120B;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 2rem;
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        display: block;
        text-align: center;
        width: 100%;
        border-radius: 10px;
    }
    
    .nav-menu a:hover {
        background: #3C2A21;
        color: #D5CEA3;
    }
    
    .auth-buttons {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        padding: 1rem;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
    }
}

.logo img {
    height: 60px;
    width: auto;
}

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

.nav-menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    color: #D5CEA3;
    background-color: rgba(255, 255, 255, 0.1);
}

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

/* Ensure auth buttons are visible on desktop */
@media (min-width: 1025px) {
    .auth-buttons {
        display: flex;
    }
}

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

.btn-primary {
    background: #3C2A21;
    color: #FFFFFF;
    border-color: #3C2A21;
}

.btn-primary:hover {
    background: #1A120B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 18, 11, 0.4);
}

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

.btn-outline:hover {
    background: #FFFFFF;
    color: #1A120B;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: #D5CEA3;
    padding: 1rem 0;
    border-bottom: 1px solid #3C2A21;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin: 0 0.5rem;
    color: #3C2A21;
}

.breadcrumb a {
    color: #1A120B;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: #3C2A21;
    color: #FFFFFF;
    padding: 4rem 0;
    text-align: center;
}

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

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

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

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: #D5CEA3;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1A120B;
}

section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #3C2A21;
}

/* About Platform */
.about-platform {
    background: #E5E5CB;
}

.about-platform p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #E5E5CB;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #3C2A21;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: #D5CEA3;
}

.feature-card img {
    margin-bottom: 1rem;
}

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



/* Registration Process */
.registration-process {
    background: #D5CEA3;
}

.registration-process p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Advantages & Security */
.advantages-security {
    background: #E5E5CB;
}

.advantages-security p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Testimonials Section */
.testimonials {
    background: #E5E5CB;
    padding: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1A120B;
    font-size: 2.5rem;
}

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

.testimonial-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #3C2A21;
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: #D5CEA3;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #3C2A21;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: serif;
    opacity: 0.3;
}

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

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-left: 2rem;
}

.author-info h4 {
    color: #1A120B;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.author-info span {
    color: #3C2A21;
    font-size: 0.9rem;
    font-weight: 500;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 2px solid #3C2A21;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 2px solid #3C2A21;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: #D5CEA3;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #1A120B;
    margin: 0 0 0.5rem 0;
    font-weight: bold;
}

.stat-item p {
    color: #3C2A21;
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
}

/* FAQ Section */
.faq {
    background: #D5CEA3;
}

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

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

.faq-item h3 {
    background: #1A120B;
    color: #FFFFFF;
    padding: 1.5rem;
    margin: 0;
    font-size: 1.2rem;
}

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

.faq-item a {
    color: #1A120B;
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta {
    background: #1A120B;
    color: #FFFFFF;
    text-align: center;
}

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

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

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #1A120B;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
}

.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: #D5CEA3;
}

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

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

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

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

.footer-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid #3C2A21;
    padding-top: 1rem;
    text-align: center;
    color: #D5CEA3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #D5CEA3;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #1A120B;
        color: #FFFFFF;
        border-color: #1A120B;
    }
    
    .btn-outline {
        background: #FFFFFF;
        color: #1A120B;
        border-color: #1A120B;
    }
}

/* Additional Page Styles */
.about-hero,
.privacy-hero,
.terms-hero,
.disclaimer-hero,
.support-hero {
    background: #3C2A21;
    color: #FFFFFF;
    padding: 3rem 0;
    text-align: center;
}

.about-hero h1,
.privacy-hero h1,
.terms-hero h1,
.disclaimer-hero h1,
.support-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.about-content,
.privacy-content,
.terms-content,
.disclaimer-content,
.support-content {
    padding: 4rem 0;
}

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

.content-text h2 {
    color: #1A120B;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-text h3 {
    color: #3C2A21;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: justify;
}

.content-text ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

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

.content-wrapper h2 {
    color: #1A120B;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #D5CEA3;
    padding-bottom: 0.5rem;
}

.content-wrapper h3 {
    color: #3C2A21;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.content-wrapper h4 {
    color: #1A120B;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: justify;
}

.content-wrapper ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.important-notice {
    background: #D5CEA3;
    border: 2px solid #3C2A21;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.important-notice h3 {
    color: #1A120B;
    margin-bottom: 1rem;
}

.important-notice p {
    color: #000000;
    margin-bottom: 0;
}

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

.support-card {
    background: #E5E5CB;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #3C2A21;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: #D5CEA3;
}

.support-card img {
    margin-bottom: 1rem;
}

.support-card h3 {
    margin-bottom: 1rem;
    color: #1A120B;
}

.faq-section {
    margin: 3rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1A120B;
}

.contact-info {
    margin: 3rem 0;
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1A120B;
}

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

.contact-item {
    background: #E5E5CB;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #3C2A21;
}

.contact-item h4 {
    color: #1A120B;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin-bottom: 0.5rem;
    color: #000000;
}

.support-tips {
    margin: 3rem 0;
}

.support-tips h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1A120B;
}

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

.tip-item {
    background: #E5E5CB;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 2px solid #3C2A21;
}

.tip-item h4 {
    color: #1A120B;
    margin-bottom: 1rem;
}

.tip-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.tip-item li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 404 Error Page Styles */
.error-page {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: center;
}

.error-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
}

.error-text h1 {
    font-size: 3rem;
    color: #1A120B;
    margin-bottom: 1rem;
}

.error-subtitle {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 1.5rem;
}

.error-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #000000;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.helpful-links {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.helpful-links h3 {
    color: #1A120B;
    margin-bottom: 1rem;
    text-align: center;
}

.helpful-links ul {
    list-style: none;
    padding: 0;
}

.helpful-links li {
    margin-bottom: 0.5rem;
}

.helpful-links a {
    color: #1A120B;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.helpful-links a:hover {
    background-color: #D5CEA3;
    color: #000000;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .error-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .error-text h1 {
        font-size: 2rem;
    }
    
    .about-hero h1,
    .privacy-hero h1,
    .terms-hero h1,
    .disclaimer-hero h1,
    .support-hero h1 {
        font-size: 2rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 480px) {
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
        top: 0.5rem;
        left: 1rem;
    }
    
    .testimonial-content {
        padding-left: 1.5rem;
    }
    
    .testimonial-author {
        padding-left: 1.5rem;
    }
    
}
