:root {
    --primary-color: #007A3D;
    --primary-hover: #006633;
    --primary-light: rgba(0, 122, 61, 0.1);
    --primary-transparent: rgba(0, 122, 61, 0.05);
    --secondary-color: #CE1126;
    --secondary-hover: #b80f21;
    --secondary-light: rgba(206, 17, 38, 0.1);
    --accent-color: #000000;
    --background-light: #ffffff;
    --background-gray: #f9fafb;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #f9fafb;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --header-height: 70px;
    --footer-height: 60px;
    --card-bg: #f8f9fa;
    --transition-normal: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--background-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
    color: var(--text-dark);
    position: relative;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-hover);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    padding: 0;
    box-shadow: var(--shadow-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: var(--transition-normal);
}

header.scrolled {
    background-color: rgba(0, 122, 61, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

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

.header-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0.5rem;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: all 0.3s ease;
    display: none;
}

.menu-toggle:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: var(--border-radius-sm);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 50%;
    transform: translateX(50%) scaleX(0);
    width: 60%;
    height: 2px;
    background-color: white;
    transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(50%) scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-button {
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-login {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    margin-left: 0.75rem;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.btn-register {
    background-color: var(--secondary-color);
    color: white;
}

.btn-register:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Side Menu Styles */
.side-menu {
    position: fixed;
    right: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    padding: calc(var(--header-height) + 1rem) 1rem 1rem 1rem;
}

.side-menu.active {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.menu-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.menu-items {
    list-style: none;
}

.menu-item {
    margin-bottom: 0.5rem;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
    opacity: 0.1;
}

.menu-link:hover::before {
    transform: translateX(0);
}

.menu-link i {
    margin-left: 0.75rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.menu-link:hover i {
    transform: scale(1.2);
}

.submenu-arrow {
    margin-right: auto;
    transition: transform 0.3s ease;
}

.submenu {
    list-style: none;
    margin-right: 2rem;
    margin-top: 0.5rem;
    display: none;
    transition: all 0.3s ease;
}

.submenu.active {
    display: block;
}

.menu-close {
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-close:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    padding: 5rem 0 6rem;
    background: linear-gradient(to bottom, var(--primary-transparent), var(--background-light));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 180%;
    background: radial-gradient(ellipse at center, var(--primary-light) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 0;
    border-radius: 50%;
    animation: pulse 15s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.6; }
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    padding-left: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1.2s ease;
}

.btn {
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(to left, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 12px rgba(0, 122, 61, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 122, 61, 0.35);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    flex: 1;
    max-width: 550px;
    animation: fadeIn 1.5s ease;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s ease;
    cursor: pointer;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0.3;
    transform: rotate(-3deg);
    transition: all 0.5s ease;
}

.hero-image:hover img {
    transform: translateY(-5px);
}

.hero-image:hover::before {
    transform: rotate(-5deg) scale(1.02);
    opacity: 0.4;
}

.highlight {
    position: relative;
    color: var(--primary-color);
    font-weight: 700;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--primary-light);
    z-index: -1;
    border-radius: 3px;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--background-light);
}

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

.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 15px rgba(0, 122, 61, 0.25);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Content Types Section */
.content-types {
    padding: 5rem 0;
    background-color: var(--background-gray);
    position: relative;
    overflow: hidden;
}

.content-types::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, var(--primary-light) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
    border-radius: 50%;
}

.content-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.content-type-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    height: 100%;
}

.content-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-type-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.content-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.content-type-card:hover .content-type-image img {
    transform: scale(1.05);
}

.content-type-details {
    padding: 1.5rem;
}

.content-type-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.content-type-description {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.content-type-features {
    list-style: none;
    margin-top: 1rem;
}

.content-type-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.content-type-feature i {
    color: var(--success-color);
    margin-left: 0.5rem;
    min-width: 16px;
}

/* Lightbox Modal Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    right: 2rem;
}

.lightbox-next {
    left: 2rem;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 80vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.lightbox-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    margin-top: 1rem;
    text-align: center;
    color: white;
    max-width: 600px;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lightbox-info p {
    font-size: 1rem;
    opacity: 0.9;
}

.lightbox-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
}

.lightbox-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.lightbox-counter {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--background-gray), var(--background-light));
}

.pricing-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary-color);
    z-index: 2;
}

.pricing-card.popular::before {
    content: 'الأكثر شعبية';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.pricing-card.popular .pricing-price {
    color: var(--secondary-color);
}

.pricing-currency {
    font-size: 1.25rem;
    position: absolute;
    top: 5px;
    right: -20px;
    font-weight: 600;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.pricing-description {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pricing-feature i {
    color: var(--success-color);
    margin-left: 0.75rem;
    min-width: 20px;
    font-size: 0.9rem;
}

.pricing-feature.disabled {
    color: var(--text-medium);
    opacity: 0.7;
}

.pricing-feature.disabled i {
    color: var(--text-medium);
}

.pricing-action {
    text-align: center;
}

.btn-pricing {
    width: 100%;
    padding: 0.875rem;
    border-radius: var(--border-radius-md);
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular .btn-pricing {
    background: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(206, 17, 38, 0.25);
}

.btn-pricing:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Login Section */
.login-section {
    padding: 5rem 0;
    background-color: var(--background-gray);
    position: relative;
    overflow: hidden;
}

.login-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse at center, var(--primary-light) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
    border-radius: 50%;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.login-image {
    flex: 1;
    max-width: 500px;
    margin-left: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.login-form-container {
    flex: 1;
    max-width: 500px;
}

.glass-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-xl);
    width: 100%;
    padding: 2.5rem;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.login-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    background: var(--background-gray);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.input-group i {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--text-dark);
    opacity: 0.6;
}

.verify-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.verify-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.verify-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.purchase-button {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.purchase-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.login-button {
    background: linear-gradient(45deg, #ff9800, #ffb400);
    color: white;
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.login-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.error-message {
    color: var(--error-color);
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success View Styles */
.success-container {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.access-code-container {
    background: var(--background-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    border: 1px dashed var(--primary-color);
}

.code-label {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.access-code {
    font-family: monospace;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.copy-code-button {
    background: var(--primary-light);
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-code-button:hover {
    background: rgba(0, 122, 61, 0.2);
}

.platform-button {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.platform-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.return-button {
    background: var(--background-gray);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    padding: 0.75rem;
    width: 100%;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.return-button:hover {
    background: var(--primary-light);
}

/* Footer */
footer {
    background-color: #040404;
    color: white;
    padding: 4rem 0 1rem;
}

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

.footer-logo {
    grid-column: 1 / 2;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-links {
    grid-column: 2 / 3;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-nav {
    list-style: none;
}

.footer-nav-item {
    margin-bottom: 0.75rem;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-nav-link:hover {
    color: white;
    transform: translateX(-5px);
}

.footer-nav-link i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.footer-contact {
    grid-column: 3 / 4;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-icon {
    margin-left: 1rem;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.contact-text {
    flex: 1;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright a {
    color: white;
    font-weight: 600;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 1000;
    min-width: 200px;
    max-width: 400px;
}

.toast.error {
    background: var(--error-color);
}

.toast.success {
    background: var(--success-color);
}

.toast.show {
    transform: translateX(0);
}

/* Utility Classes */
.gallery-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Utility Classes */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.5s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.5s ease forwards;
}

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

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.5rem; }

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
        margin-bottom: 3rem;
        padding-left: 0;
    }

    .hero-actions {
        justify-content: center;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-logo {
        grid-column: 1 / 2;
    }

    .footer-links {
        grid-column: 2 / 3;
    }

    .footer-contact {
        grid-column: 1 / 2;
        grid-row: 2;
        margin-top: 2rem;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .lightbox-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .header-title {
        font-size: 1.2rem;
    }

    .container {
        max-width: 540px;
        padding: 0 1rem;
    }

    .nav-list {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-actions {
        display: none;
    }

    .hero {
        padding: 3rem 0 4rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .features-grid,
    .content-types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .login-container {
        flex-direction: column;
    }

    .login-image {
        margin: 0 0 2rem 0;
        max-width: 100%;
    }

    .login-form-container {
        max-width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-logo,
    .footer-links,
    .footer-contact {
        grid-column: 1;
    }

    .footer-links,
    .footer-contact {
        margin-top: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }

    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        transform: translateY(120%);
    }

    .toast.show {
        transform: translateY(0);
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .lightbox-nav {
        display: none;
    }

    .lightbox-controls {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
    }

    .lightbox-btn {
        background: rgba(255, 255, 255, 0.9);
        color: var(--text-dark);
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .lightbox-counter {
        top: 1rem;
        left: 1rem;
        transform: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

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

    .hero-actions .btn {
        width: 100%;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .pricing-options {
        flex-direction: column;
        align-items: center;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .content-type-title {
        font-size: 1.1rem;
    }

    .lightbox-content img {
        max-height: 60vh;
    }

    .lightbox-info {
        padding: 0.75rem 1rem;
        margin-top: 0.5rem;
    }

    .lightbox-info h3 {
        font-size: 1.25rem;
    }

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