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

body {
    font-family: 'Inter', 'Arial', sans-serif;
    background-color: #000;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    font-feature-settings: "rlig" 1, "calt" 1;
    line-height: 1.6;
}

/* CSS Variables for Colors */
:root {
    --matrix-green: rgb(0, 255, 65);
    --matrix-green-dark: rgb(0, 200, 50);
    --cyber-blue: rgb(0, 212, 255);
    --cyber-purple: rgb(147, 51, 234);
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --slate-700: #334155;
    --slate-800: #1e293b;
}

/* Matrix Background Canvas */
.matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: transparent;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--matrix-green);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor.expand {
    transform: translate(-50%, -50%) scale(2);
    border-color: #ff0000;
}

/* Loading Screen */
.loader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-text {
    font-size: 2rem;
    color: var(--matrix-green);
    font-family: 'Courier New', monospace;
    animation: glow 2s ease-in-out infinite alternate;
    margin-bottom: 1rem;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--matrix-green);
    }
    to {
        text-shadow: 0 0 30px var(--matrix-green), 0 0 40px var(--matrix-green);
    }
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-800);
    padding: 1rem 1.5rem;
}

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

.nav-logo .logo-link {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--matrix-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo .logo-link:hover {
    color: var(--cyber-blue);
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links, .nav-auth {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--matrix-green);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--gray-800);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(0, 255, 65, 0.1);
    color: var(--matrix-green);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--matrix-green);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid var(--gray-800);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1.5rem;
}

.mobile-nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--matrix-green);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--gray-300);
}

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

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* CTA Buttons */
.cta-button {
    padding: 1rem 2rem;
    background: var(--matrix-green);
    color: #000000;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--matrix-green);
}

.cta-secondary {
    background: var(--matrix-green);
    color: #000000;
}

.cta-secondary:hover {
    background: #00cc33;
}

/* Sections */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-300);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Services Section */
.services-section {
    padding: 5rem 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Service Cards */
.service-card {
    background: transparent;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 0, 0.3);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--matrix-green);
}

.service-card p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card .cta-button {
    width: 100%;
    margin-top: auto;
}

.service-card:hover .cta-button {
    transform: scale(1.05);
}

/* Platform Showcase */
.platform-showcase {
    padding: 5rem 1rem;
    background: rgba(30, 41, 59, 0.3);
}

.gradient-text {
    background: linear-gradient(to right, var(--matrix-green), var(--cyber-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platforms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.platform-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid var(--slate-700);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.platform-card:hover {
    border-color: var(--cyber-blue);
    transform: translateY(-5px);
}

.platform-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.platform-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.horus-icon {
    background: linear-gradient(to right, #3b82f6, var(--cyber-blue));
}

.osiris-icon {
    background: linear-gradient(to right, var(--cyber-blue), var(--cyber-purple));
}

.platform-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.platform-name {
    font-size: 1.875rem;
    font-weight: bold;
}

.horus-name {
    background: linear-gradient(to right, #60a5fa, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.osiris-name {
    background: linear-gradient(to right, var(--cyber-blue), var(--cyber-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #60a5fa;
}

.platform-description {
    color: var(--gray-300);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.platform-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.feature-icon {
    width: 1rem;
    height: 1rem;
    color: #10b981;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.875rem;
    color: var(--gray-300);
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.horus-btn {
    background: linear-gradient(to right, #3b82f6, var(--cyber-blue));
    color: white;
}

.osiris-btn {
    background: linear-gradient(to right, var(--cyber-blue), var(--cyber-purple));
    color: white;
}

.platform-btn:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}

/* Special Offers Section */
.special-offers-section {
    padding: 5rem 1rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* About Section */
.about-section {
    padding: 5rem 1rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: var(--gray-300);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Booking Section */
.booking-section {
    padding: 5rem 1rem;
}

.booking-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .booking-content {
        flex-direction: row;
        justify-content: center;
    }
}

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

@media (min-width: 768px) {
    .booking-text {
        text-align: left;
    }
}

.booking-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.booking-description {
    color: var(--gray-300);
    font-size: 1.125rem;
}

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

.booking-btn {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.booking-note {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 5rem 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--matrix-green);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--gray-300);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    color: var(--gray-300);
}

.contact-method strong {
    color: #ffffff;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--matrix-green);
    box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.submit-btn {
    margin-top: 1rem;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    border-top: 1px solid var(--gray-800);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--matrix-green);
}

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

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-end;
    }
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--matrix-green);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-400);
}

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

.footer-tagline {
    font-size: 0.875rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--gray-700);
    border-radius: 8px;
    padding: 1rem;
    color: #ffffff;
    min-width: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

.toast.success {
    border-color: #10b981;
}

.toast.error {
    border-color: #ef4444;
}

.toast-title {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.toast.success .toast-title {
    color: #10b981;
}

.toast.error .toast-title {
    color: #ef4444;
}

.toast-description {
    font-size: 0.875rem;
    color: var(--gray-300);
}

/* Responsive Design */
@media (max-width: 767px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-card,
    .platform-card {
        padding: 1.5rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

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

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

/* Utility Classes */
.text-matrix-green {
    color: var(--matrix-green);
}

.font-cyber {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 1px;
}

.mt-4 {
    margin-top: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.font-mono {
    font-family: 'Courier New', monospace;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 65, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 65, 0.5);
}