/* JEETO88 Gaming Platform - Main Stylesheet */
/* ColorHunt Palette: #3E0703, #660B05, #81007F, #FFF0C4 */

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

/* Force navbar to stay fixed */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: #3E0703 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Additional navbar fix */
nav.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000; /* Black text on light background */
    background-color: #FFF0C4; /* Light cream background */
    padding-top: 80px !important; /* Account for fixed header */
    margin: 0 !important;
}

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

/* Navigation Styles */
.navbar {
    background: #3E0703 !important; /* Very dark red-brown */
    box-shadow: 0 2px 10px rgba(62, 7, 3, 0.3);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

.nav-logo img {
    height: 40px;
    width: auto;
}

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

.nav-menu a {
    color: #FFFFFF; /* White text on dark background */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    color: #81007F; /* Purple accent for hover/active */
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-login, .btn-register {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login {
    color: #FFFFFF; /* White text on dark background */
    border: 1px solid #FFFFFF;
}

.btn-login:hover {
    background-color: #FFFFFF;
    color: #3E0703; /* Dark background color for text */
}

.btn-register {
    background-color: #81007F; /* Purple accent */
    color: #FFFFFF; /* White text on purple background */
    border: 1px solid #81007F;
}

.btn-register:hover {
    background-color: #660B05; /* Darker variant for hover */
    transform: translateY(-2px);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #660B05; /* Dark red-brown */
    padding: 0.5rem 0;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-item {
    color: #FFFFFF; /* White text on dark background */
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin: 0 0.5rem;
    color: #FFFFFF; /* White text on dark background */
}

.breadcrumb-item a {
    color: #81007F; /* Purple accent for links */
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #FFFFFF; /* White on hover */
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3E0703 0%, #660B05 100%); /* Dark gradient */
    color: #FFFFFF; /* White text on dark background */
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 60vh;
}

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

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #FFFFFF;
}

.title-line-1 {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
}

.title-line-2 {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    position: relative;
}

.title-line-2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #81007F; /* Purple accent */
    border-radius: 2px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #FFFFFF; /* White text on dark background */
    opacity: 0.9;
}

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

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 250px;
}

.btn-primary {
    background-color: #81007F; /* Purple accent */
    color: #FFFFFF; /* White text on purple background */
    border: 2px solid #81007F;
}

.btn-primary:hover {
    background-color: #660B05; /* Darker variant for hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(129, 0, 127, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF; /* White text on dark background */
    border: 2px solid #FFFFFF;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #3E0703; /* Dark background color for text */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

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

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #3E0703 0%, #660B05 100%); /* Dark gradient */
    color: #FFFFFF; /* White text on dark background */
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

/* Content Sections */
.about-platform, .features, .register-section, .login-section, .registration-process, .security-assurance, .faq, .cta {
    padding: 4rem 0;
}

.about-platform {
    background-color: #FFF0C4; /* Light cream background */
    color: #000000; /* Black text on light background */
}

.features {
    background-color: #FFF0C4; /* Light cream background */
    color: #000000; /* Black text on light background */
}

.registration-process {
    background-color: #FFF0C4; /* Light cream background */
    color: #000000; /* Black text on light background */
}

.security-assurance {
    background-color: #FFF0C4; /* Light cream background */
    color: #000000; /* Black text on light background */
}

.faq {
    background-color: #FFF0C4; /* Light cream background */
    color: #000000; /* Black text on light background */
}

.register-section {
    background-color: #FFF0C4; /* Light cream background */
    color: #000000; /* Black text on light background */
}

.login-section {
    background-color: #FFFFFF; /* White background */
    color: #000000; /* Black text on white background */
}

.cta {
    background: linear-gradient(135deg, #3E0703 0%, #660B05 100%); /* Dark gradient */
    color: #FFFFFF; /* White text on dark background */
    text-align: center;
}

/* Section Headings */
h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #3E0703; /* Dark red-brown for headings */
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #660B05; /* Dark red-brown for subheadings */
}

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

.feature-card {
    background: #FFFFFF; /* White background for cards */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(62, 7, 3, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #81007F; /* Purple border */
}

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

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

.feature-card h3 {
    margin-bottom: 1rem;
    color: #3E0703; /* Dark red-brown for card headings */
}

.feature-card p {
    color: #000000; /* Black text on white background */
    line-height: 1.6;
}

/* Register and Login Section Styles */
.register-section .container,
.login-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.register-content,
.login-content {
    padding-right: 2rem;
}

.register-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.register-images img {
    width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(62, 7, 3, 0.2);
    border: 2px solid #81007F; /* Purple border */
}

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

.login-image img {
    width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(62, 7, 3, 0.2);
    border: 2px solid #81007F; /* Purple border */
}

.steps-container {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #FFFFFF; /* White background for steps */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(62, 7, 3, 0.1);
    border: 1px solid #81007F; /* Purple border */
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(129, 0, 127, 0.2);
}

.step-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #81007F; /* Purple background for icons */
    border-radius: 50%;
}

.step-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1); /* Make icons white */
}

.step-content h4 {
    color: #3E0703; /* Dark red-brown for step headings */
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-content p {
    color: #000000; /* Black text on white background */
    margin: 0;
    line-height: 1.5;
}

.benefits-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    color: #000000; /* Black text on white background */
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #81007F; /* Purple accent for checkmarks */
    font-weight: bold;
    font-size: 1.2rem;
}

.register-buttons,
.login-buttons {
    margin: 2rem 0;
    text-align: center;
}

.register-note,
.login-note {
    text-align: center;
    color: #000000; /* Black text on light background */
    margin-top: 1rem;
}

.register-note a,
.login-note a {
    color: #81007F; /* Purple accent for links */
    text-decoration: none;
    font-weight: 500;
}

.register-note a:hover,
.login-note a:hover {
    color: #660B05; /* Darker variant for hover */
    text-decoration: underline;
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF; /* White background for FAQ items */
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(62, 7, 3, 0.2);
    overflow: hidden;
    border: 1px solid #81007F; /* Purple border */
}

.faq-item h3 {
    background-color: #660B05; /* Dark red-brown background */
    padding: 1.5rem;
    margin: 0;
    color: #FFFFFF; /* White text on dark background */
    border-bottom: 1px solid #81007F;
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    color: #000000; /* Black text on white background */
    line-height: 1.6;
}

/* About Page Styles */
.about-content, .policy-content, .terms-content, .disclaimer-content, .support-content {
    padding: 4rem 0;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF; /* White background for value items */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(62, 7, 3, 0.2);
    border: 2px solid #81007F; /* Purple border */
}

.value-item img {
    margin-bottom: 1rem;
}

.value-item h3 {
    margin-bottom: 1rem;
    color: #3E0703; /* Dark red-brown for headings */
}

.value-item p {
    color: #000000; /* Black text on white background */
    line-height: 1.6;
}

/* Policy and Terms Styles */
.policy-section, .terms-section, .disclaimer-section {
    margin-bottom: 3rem;
    background: #FFFFFF; /* White background for policy sections */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(62, 7, 3, 0.2);
    border: 1px solid #81007F; /* Purple border */
}

.policy-section h2, .terms-section h2, .disclaimer-section h2 {
    color: #3E0703; /* Dark red-brown for headings */
    text-align: left;
    margin-bottom: 1.5rem;
}

.policy-section h3, .terms-section h3, .disclaimer-section h3 {
    color: #660B05; /* Dark red-brown for subheadings */
    margin-bottom: 1rem;
}

.policy-section ul, .terms-section ul, .disclaimer-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-section li, .terms-section li, .disclaimer-section li {
    margin-bottom: 0.5rem;
    color: #000000; /* Black text on white background */
}

/* Support Page Styles */
.support-methods {
    margin-bottom: 4rem;
}

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

.support-card {
    background: #FFFFFF; /* White background for support cards */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(62, 7, 3, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #81007F; /* Purple border */
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(129, 0, 127, 0.3);
}

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

.support-card h3 {
    margin-bottom: 1rem;
    color: #3E0703; /* Dark red-brown for headings */
}

.support-card p {
    margin-bottom: 1.5rem;
    color: #000000; /* Black text on white background */
    line-height: 1.6;
}

.btn-support {
    background-color: #81007F; /* Purple accent */
    color: #FFFFFF; /* White text on purple background */
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-support:hover {
    background-color: #660B05; /* Darker variant for hover */
}

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

.topic-card {
    background: #FFFFFF; /* White background for topic cards */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(62, 7, 3, 0.2);
    border: 1px solid #81007F; /* Purple border */
}

.topic-card h3 {
    margin-bottom: 1rem;
    color: #3E0703; /* Dark red-brown for headings */
}

.topic-card ul {
    list-style: none;
    margin-left: 0;
}

.topic-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #81007F; /* Purple border */
    color: #000000; /* Black text on white background */
}

.topic-card li:last-child {
    border-bottom: none;
}

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

.response-item {
    background: #FFFFFF; /* White background for response items */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(62, 7, 3, 0.2);
    text-align: center;
    border: 1px solid #81007F; /* Purple border */
}

.response-item h3 {
    margin-bottom: 1rem;
    color: #3E0703; /* Dark red-brown for headings */
}

.response-item p {
    color: #000000; /* Black text on white background */
}

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

.tip-item {
    background: #FFFFFF; /* White background for tip items */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(62, 7, 3, 0.2);
    border: 1px solid #81007F; /* Purple border */
}

.tip-item h3 {
    margin-bottom: 1rem;
    color: #3E0703; /* Dark red-brown for headings */
}

.tip-item p {
    color: #000000; /* Black text on white background */
    line-height: 1.6;
}

/* 404 Error Page Styles */
.error-page {
    padding: 4rem 0;
    text-align: center;
}

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

.error-text h1 {
    font-size: 4rem;
    color: #3E0703; /* Dark red-brown for main heading */
    margin-bottom: 1rem;
}

.error-text h2 {
    font-size: 1.5rem;
    color: #660B05; /* Dark red-brown for subheading */
    margin-bottom: 1.5rem;
    text-align: left;
}

.error-text p {
    color: #000000; /* Black text on light background */
    margin-bottom: 2rem;
    text-align: left;
}

.error-suggestions {
    text-align: left;
    margin-bottom: 2rem;
}

.error-suggestions h3 {
    color: #3E0703; /* Dark red-brown for headings */
    margin-bottom: 1rem;
}

.error-suggestions ul {
    list-style: none;
    margin-left: 0;
}

.error-suggestions li {
    padding: 0.5rem 0;
    color: #000000; /* Black text on light background */
    position: relative;
    padding-left: 1.5rem;
}

.error-suggestions li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #81007F; /* Purple accent for checkmarks */
    font-weight: bold;
}

.error-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.helpful-links {
    margin-bottom: 4rem;
}

.helpful-links h3 {
    color: #3E0703; /* Dark red-brown for headings */
    margin-bottom: 2rem;
}

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

.link-card {
    background: #FFFFFF; /* White background for link cards */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(62, 7, 3, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #81007F; /* Purple border */
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(129, 0, 127, 0.3);
}

.link-card h4 {
    color: #3E0703; /* Dark red-brown for headings */
    margin-bottom: 1rem;
}

.link-card p {
    color: #000000; /* Black text on white background */
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.link-card a {
    color: #81007F; /* Purple accent for links */
    text-decoration: none;
    font-weight: 500;
}

.link-card a:hover {
    color: #660B05; /* Darker variant for hover */
    text-decoration: underline;
}

.search-section {
    background: #FFFFFF; /* White background for search section */
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(62, 7, 3, 0.2);
    border: 1px solid #81007F; /* Purple border */
}

.search-section h3 {
    color: #3E0703; /* Dark red-brown for headings */
    margin-bottom: 1rem;
}

.search-section p {
    color: #000000; /* Black text on white background */
    margin-bottom: 2rem;
}

.search-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.search-link {
    background-color: #FFF0C4; /* Light cream background */
    color: #3E0703; /* Dark red-brown text */
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #81007F; /* Purple border */
}

.search-link:hover {
    background-color: #81007F; /* Purple background on hover */
    color: #FFFFFF; /* White text on purple background */
}

/* Footer Styles */
.footer {
    background-color: #3E0703; /* Very dark red-brown */
    color: #FFFFFF; /* White text on dark background */
    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: #81007F; /* Purple accent for footer headings */
}

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

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

.footer-section a {
    color: #FFFFFF; /* White text on dark background */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #81007F; /* Purple accent on hover */
}

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

.btn-footer {
    background-color: #81007F; /* Purple accent */
    color: #FFFFFF; /* White text on purple background */
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-footer:hover {
    background-color: #660B05; /* Darker variant for hover */
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #660B05; /* Dark red-brown border */
    padding-top: 1rem;
    text-align: center;
    color: #81007F; /* Purple accent for footer text */
}

/* Responsive Design */

/* iPad and Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 30px;
    }
    
    /* Hide desktop nav menu on tablet */
    .nav-menu {
        display: none;
    }
    
    /* Show mobile menu toggle on tablet */
    .nav-toggle {
        display: block !important;
        background: none;
        border: none;
        color: #FFFFFF;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .nav-toggle:hover {
        background-color: #660B05;
    }
    
    /* Hide desktop buttons on tablet */
    .nav-buttons {
        display: none !important;
    }
    
    .btn-login, .btn-register {
        display: none !important;
    }
    
    /* Mobile menu styles for tablet */
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #3E0703;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .register-section .container,
    .login-section .container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    
    .register-content,
    .login-content {
        padding-right: 0;
        text-align: center;
        width: 100%;
        max-width: 600px;
    }
    
    .mobile-screenshots,
    .hero-image-login {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .mobile-screenshots {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .mobile-screenshots img {
        width: 200px;
        height: auto;
    }
    
    .hero-image-login img {
        width: 250px;
        height: auto;
    }
}

/* Mobile Styles (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Navigation */
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 20px;
        position: relative;
    }
    
    /* Hide desktop nav menu on mobile */
    .nav-menu {
        display: none;
    }
    
    /* Mobile menu toggle button */
    .nav-toggle {
        display: block !important;
        background: none;
        border: none;
        color: #FFFFFF;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .nav-toggle:hover {
        background-color: #660B05;
    }
    
    /* Hide desktop buttons on mobile */
    .nav-buttons {
        display: none !important;
    }
    
    .btn-login, .btn-register {
        display: none !important;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #3E0703;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-buttons {
        display: flex;
        gap: 0.5rem;
    }
    
    .btn-login, .btn-register {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .title-line-1 {
        font-size: 2rem;
    }
    
    .title-line-2 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .hero-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    /* About Platform */
    .about-platform {
        padding: 3rem 0;
    }
    
    .about-platform h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-platform p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    /* Features Grid */
    .features {
        padding: 3rem 0;
    }
    
    .features h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
        text-align: center;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .feature-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Register Section */
    .register-section {
        padding: 3rem 0;
    }
    
    .register-section .container,
    .login-section .container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    
    .register-content,
    .login-content {
        padding-right: 0;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-screenshots,
    .hero-image-login {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 1rem;
    }
    
    .register-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .register-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .register-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .steps-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 600px;
    }
    
    .step-item {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
        background: #FFFFFF;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(62, 7, 3, 0.1);
        border: 1px solid #81007F;
    }
    
    .step-icon {
        align-self: center;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #81007F;
        border-radius: 50%;
    }
    
    .step-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: #3E0703;
    }
    
    .step-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #000000;
    }
    
    .mobile-screenshots {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .mobile-screenshots img {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .register-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Login Section */
    .login-section {
        padding: 3rem 0;
    }
    
    .login-section .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .login-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .login-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .login-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .benefits-list {
        margin-bottom: 2rem;
    }
    
    .benefits-list li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .login-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-image-login {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 1rem;
    }
    
    .hero-image-login img {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .benefits-list {
        margin-bottom: 2rem;
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .benefits-list li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        padding: 0.75rem 0;
        padding-left: 2rem;
        position: relative;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .benefits-list li:last-child {
        border-bottom: none;
    }
    
    .benefits-list li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #81007F;
        font-weight: bold;
        font-size: 1.2rem;
    }
    
    /* Registration Process */
    .registration-process {
        padding: 3rem 0;
    }
    
    .registration-process h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .registration-process h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .registration-process p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step {
        padding: 2rem;
        text-align: center;
    }
    
    .process-step h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .process-step p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Security Assurance */
    .security-assurance {
        padding: 3rem 0;
    }
    
    .security-assurance h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .security-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .security-feature {
        padding: 2rem;
        text-align: center;
    }
    
    .security-feature h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .security-feature p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* FAQ Section */
    .faq {
        padding: 3rem 0;
    }
    
    .faq h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 2rem;
    }
    
    .faq-item h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .faq-item p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* CTA Section */
    .cta {
        padding: 3rem 0;
    }
    
    .cta h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .cta p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3, .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .footer-section ul {
        margin-bottom: 1rem;
    }
    
    .footer-section li {
        margin-bottom: 0.5rem;
    }
    
    .footer-section a {
        font-size: 1rem;
    }
    
    .footer-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .btn-footer {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Support Grid */
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    /* Error Content */
    .error-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .error-text h2, .error-text p, .error-suggestions {
        text-align: center;
    }
    
    .error-buttons {
        justify-content: center;
    }
    
    .search-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Small Mobile Styles (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 15px;
    }
    
    body {
        padding-top: 70px; /* Slightly less padding for small mobile */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-line-1 {
        font-size: 1.5rem;
    }
    
    .title-line-2 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .feature-card, .support-card, .faq-item {
        padding: 1.5rem;
    }
    
    .step-item {
        padding: 1rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
    }
    
    .mobile-screenshots img {
        max-width: 250px;
    }
    
    .hero-image-login img {
        max-width: 250px;
    }
    
    .process-step, .security-feature {
        padding: 1.5rem;
    }
}

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

/* Focus styles for keyboard navigation */
a:focus, button:focus {
    outline: 2px solid #81007F; /* Purple accent for focus */
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000000; /* Black border for high contrast */
    }
    
    .btn-secondary {
        border: 2px solid #FFFFFF; /* White border for high contrast */
    }
}
