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

html {
    scroll-behavior: smooth;
}

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

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar {
    padding: 1.2rem 0;
    position: relative;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 40px;
    width: 40px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-link:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}

.logo-link h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

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

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,215,0,0.3);
}

.btn-login,
.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-login::before,
.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before,
.btn-register:hover::before {
    left: 100%;
}

.btn-login {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-login:hover {
    background: rgba(255,255,255,0.2);
    color: #ffd700;
    border-color: #ffd700;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-login:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #ff8a80 100%);
    color: white;
    border-color: #ff6b6b;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.btn-register:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 50%, #ffab91 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    border-color: #ff8a80;
}

.btn-register:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

.btn-login:focus,
.btn-register:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
}

.btn-login:focus-visible,
.btn-register:focus-visible {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    gap: 4px;
}

.hamburger:hover {
    background: rgba(255,255,255,0.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #ff8a80 100%);
    color: white;
    border-color: #ff6b6b;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 50%, #ffab91 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    border-color: #ff8a80;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.2);
    color: #ffd700;
    border-color: #ffd700;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-outline:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    min-width: 180px;
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    min-width: 100px;
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #1e3c72;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin-left: 0.5rem;
    color: #6c757d;
}

/* Main Content Styles */
.main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 215, 0, 0.1) 50%, rgba(30, 60, 114, 0.1) 100%);
    opacity: 0.3;
    z-index: 1;
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02) rotate(1deg);
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

/* Section Styles */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    color: #1a365d;
    position: relative;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 2px;
}

/* About Platform Section */
.about-platform {
    padding: 4rem 0;
    background: white;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.features .container {
    position: relative;
    z-index: 2;
}

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

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.8);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,215,0,0.3);
    border-color: rgba(255,215,0,0.3);
}

.feature-icon {
    margin-bottom: 2rem;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon::before {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.1);
}

.feature-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a365d;
    font-weight: 700;
    line-height: 1.3;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Registration Process Section */
.registration-process {
    padding: 4rem 0;
    background: white;
}

.process-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: #1e3c72;
}

.process-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Advantages & Security Section */
.advantages-security {
    padding: 4rem 0;
    background: #f8f9fa;
}

.security-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: #1e3c72;
}

.security-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.faq .container {
    position: relative;
    z-index: 2;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border-left: 5px solid #ff6b6b;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,107,107,0.1), transparent);
    transition: left 0.6s ease;
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left-color: #ffd700;
}

.faq-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #1a365d;
    font-weight: 700;
    line-height: 1.3;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.faq-item a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Registration Section */
.register-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 50%, #fbb6ce 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.register-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.register-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.register-content h2 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-content p {
    color: #4a5568;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.register-content h3 {
    color: #1a365d;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.steps-container {
    margin-bottom: 3rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border-left: 5px solid #ffd700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
    transition: left 0.6s ease;
}

.step-item:hover::before {
    left: 100%;
}

.step-item:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left-color: #ff6b6b;
}

.step-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.step-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.step-content h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content p {
    color: #4a5568;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.register-note {
    color: #4a5568;
    font-size: 1.1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border-left: 4px solid #ffd700;
}

.register-note a {
    color: #3182ce;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-note a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

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

.register-images::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
}

.register-images img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.register-images img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,215,0,0.5);
}

/* Login Section */
.login-section {
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 50%, #81e6d9 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(49, 130, 206, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.login-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.login-content h2 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-content p {
    color: #4a5568;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.login-content h3 {
    color: #1a365d;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 700;
}

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

.benefits-list li {
    background: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid #3182ce;
    color: #4a5568;
    position: relative;
    padding-left: 4rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.benefits-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-left-color: #ffd700;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    color: #3182ce;
    font-weight: bold;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #3182ce, #63b3ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-note {
    color: #4a5568;
    font-size: 1.1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border-left: 4px solid #3182ce;
}

.login-note a {
    color: #3182ce;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-note a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

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

.login-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, #3182ce, #63b3ed, #3182ce);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.1;
}

.login-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-image img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 0 1px rgba(49, 130, 206, 0.5);
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.content-wrapper h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #1e3c72;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
    color: #1e3c72;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

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

.content-wrapper a {
    color: #ff6b6b;
    text-decoration: none;
}

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

/* Values List */
.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
}

/* Support Styles */
.support-intro {
    text-align: center;
    margin-bottom: 3rem;
}

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

.support-method {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.support-method h3 {
    margin: 1rem 0;
    color: #1e3c72;
}

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

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

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

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

.contact-item h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.support-tips ul {
    list-style: none;
    padding-left: 0;
}

.support-tips li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.support-tips li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
}

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

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-image {
    margin-bottom: 2rem;
}

.error-title {
    font-size: 3rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.error-actions {
    margin-bottom: 3rem;
}

.error-suggestions {
    text-align: left;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.error-suggestions h2 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

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

.error-suggestions li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.error-suggestions li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

.error-suggestions a {
    color: #ff6b6b;
    text-decoration: none;
}

.error-suggestions a:hover {
    text-decoration: underline;
}

/* Disclaimer Notice */
.disclaimer-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.disclaimer-notice h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.disclaimer-notice p {
    color: #856404;
    margin-bottom: 0;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
    color: white;
    padding: 4rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    margin-bottom: 1.5rem;
    color: #ffd700;
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
}

.footer-brand h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    color: #ffd700;
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.link-group p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.link-group ul {
    list-style: none;
    padding: 0;
}

.link-group ul li {
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.link-group ul li:hover {
    transform: translateX(5px);
}

.link-group a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.link-group a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: width 0.3s ease;
}

.link-group a:hover {
    color: #ffd700;
    transform: translateX(3px);
}

.link-group a:hover::before {
    width: 100%;
}

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

.footer-bottom {
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        padding: 3rem 0;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 1000;
        height: calc(100vh - 80px);
        justify-content: flex-start;
        align-items: center;
        overflow-y: auto;
    }
    
    /* Mobile menu overlay */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-menu.active::before {
        opacity: 1;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 200px;
        text-align: center;
        border-radius: 8px;
        margin: 0.5rem 0;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .nav-menu .btn-login,
    .nav-menu .btn-register {
        display: inline-flex;
        margin: 0.5rem 0;
        justify-content: center;
        width: 200px;
        padding: 0.75rem 1.5rem;
        order: 10; /* Move buttons to bottom */
        animation: slideInUp 0.3s ease-out;
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu .btn-login {
        order: 10;
    }
    
    .nav-menu .btn-register {
        order: 11;
    }
    
    .btn-login,
    .btn-register {
        display: none;
    }
}

/* Specific styles for iPad Air and similar tablets */
@media (max-width: 820px) and (min-width: 769px) {
    .nav-menu {
        padding: 2rem 0;
    }
    
    .nav-menu .nav-link {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
        width: 250px;
    }
    
    .nav-menu .btn-login,
    .nav-menu .btn-register {
        width: 250px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Additional tablet optimizations */
@media (max-width: 1024px) and (min-width: 821px) {
    .nav-menu .nav-link {
        padding: 1.1rem 2.2rem;
        font-size: 1.15rem;
        width: 220px;
    }
    
    .nav-menu .btn-login,
    .nav-menu .btn-register {
        width: 220px;
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    
    .hero {
        padding: 4rem 0;
        min-height: 70vh;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        margin-bottom: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Registration and Login sections mobile */
    .register-section .container,
    .login-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .register-images {
        order: -1;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .register-images img {
        max-width: 120px;
        height: auto;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .step-icon {
        align-self: center;
    }
    
    .faq-item {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* 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 */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 3px solid #ffd700;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

/* Loading animation for better perceived performance */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Improved text selection */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: #1a365d;
}

::-moz-selection {
    background: rgba(255, 215, 0, 0.3);
    color: #1a365d;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-buttons,
    .cta {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}