/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #1a1a1a;
    --color-bg-tertiary: #252525;
    --color-purple: #8b5cf6;
    --color-purple-dark: #7c3aed;
    --color-purple-light: #a78bfa;
    --color-blue: #3b82f6;
    --color-blue-dark: #2563eb;
    --color-cyan: #06b6d4;
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-tertiary: #707070;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-purple), var(--color-blue));
    --gradient-radial: radial-gradient(circle at center, rgba(139, 92, 246, 0.15), transparent 70%);
    --gradient-bg: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.1), transparent 50%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.3);
    --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-purple-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Status Indicator */
.status-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    /* Green = operational */
    animation: pulse-status 2s ease-in-out infinite;
}

.status-indicator.degraded {
    background: #f59e0b;
    /* Yellow */
}

.status-indicator.down {
    background: #ef4444;
    /* Red */
}

@keyframes pulse-status {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
    }
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    padding: 0;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background: var(--color-bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-card);
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--color-purple-light);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Hamburger to X animation */
.nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-bg);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-radial);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: var(--color-purple-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff, var(--color-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.hero-feature:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-purple);
}

.hero-feature svg {
    color: var(--color-purple-light);
}

.hero-feature span {
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--color-purple);
}

.btn-outline {
    background: transparent;
    color: var(--color-purple-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 6rem 2rem;
    background: var(--color-bg-primary);
    position: relative;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--color-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-header p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.features-panel {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    background: var(--color-bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

/* Left Panel: Feature List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    max-height: 700px;
    padding-right: 1rem;
}

.features-list::-webkit-scrollbar {
    width: 6px;
}

.features-list::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
    border-radius: 3px;
}

.features-list::-webkit-scrollbar-thumb {
    background: var(--color-purple);
    border-radius: 3px;
}

.feature-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-bg-primary);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.feature-card.active {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--color-purple);
    box-shadow: var(--shadow-glow-purple);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text-primary);
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Right Panel: Preview */
.preview-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.browser-frame {
    background: var(--color-bg-primary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg-tertiary);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.browser-dots span:nth-child(1) {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
}

.browser-title {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.browser-content {
    position: relative;
    width: 100%;
    min-height: 400px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-content img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    transition: opacity var(--transition-normal);
}

.browser-content img.fade-out {
    opacity: 0;
}

.preview-info {
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
}

.preview-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-purple-light);
}

.preview-info p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 6rem 2rem;
    background: var(--color-bg-primary);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--color-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-header p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--color-bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-purple);
    box-shadow: var(--shadow-glow-purple);
    background: rgba(139, 92, 246, 0.05);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.service-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ===== ABOUT US SECTION ===== */
.about-section {
    padding: 6rem 2rem;
    background: var(--color-bg-primary);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--color-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    background: var(--color-bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.about-content p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 6rem 2rem;
    background: var(--color-bg-secondary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff, var(--color-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-header p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-bg-primary);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-item.active {
    border-color: var(--color-purple);
    box-shadow: var(--shadow-glow-purple);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: rgba(139, 92, 246, 0.05);
}

.faq-question span {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.5;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--color-purple-light);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--color-purple-light);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.faq-answer a:hover {
    color: var(--color-purple);
    text-decoration: underline;
}

.faq-answer strong {
    color: var(--color-text-primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--color-purple-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    text-align: center;
    color: var(--color-text-tertiary);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 3rem;
    text-align: center;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--color-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-header .update-date {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.legal-content {
    background: var(--color-bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-purple-light);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.legal-content p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--color-text-primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .features-panel {
        grid-template-columns: 1fr;
    }

    .features-list {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .features-header h2,
    .services-header h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delays for lists */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ===== ENHANCED HOVER EFFECTS ===== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
}

/* ===== OUR STORY SECTION ===== */
.story-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.story-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.story-header {
    text-align: center;
    margin-bottom: 4rem;
}

.story-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-header .lead {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.story-intro {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 4rem;
}

.story-intro p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.9;
    text-align: center;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    padding: 6rem 2rem;
    background: var(--color-bg-primary);
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-purple), var(--color-blue), var(--color-purple));
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: translateX(-6px);
}

.timeline-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-purple-light);
    margin-bottom: 1rem;
}

.timeline-item p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.timeline-item ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.timeline-item ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.timeline-item ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-purple-light);
    font-weight: 600;
}

.timeline-highlight {
    background: rgba(139, 92, 246, 0.08);
    border-left: 3px solid var(--color-purple);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-top: 1rem;
}

.timeline-highlight p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--color-text-primary);
}

/* ===== SERVER LOCATIONS SECTION ===== */
.locations-section {
    padding: 6rem 2rem;
    background: var(--color-bg-secondary);
}

.locations-container {
    max-width: 1200px;
    margin: 0 auto;
}

.locations-header {
    text-align: center;
    margin-bottom: 4rem;
}

.locations-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--color-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.locations-header p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.location-card {
    background: var(--color-bg-primary);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-purple);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

.location-flag {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.location-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.location-card .city {
    font-size: 1rem;
    color: var(--color-purple-light);
    font-weight: 500;
}

.location-features {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.location-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.location-features span svg {
    color: #10b981;
}

/* ===== PROFESSIONAL SERVICES SECTION ===== */
.pro-services-section {
    padding: 6rem 2rem;
    background: var(--color-bg-primary);
}

.pro-services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pro-services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pro-services-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--color-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pro-services-header p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
}

.pro-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pro-service-card {
    background: var(--color-bg-secondary);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pro-service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-purple);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
}

.pro-service-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pro-service-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.pro-service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.pro-service-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 992px) {

    .locations-grid,
    .pro-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-item::before {
        left: -2rem;
    }
}

@media (max-width: 768px) {
    .story-header h2 {
        font-size: 2.25rem;
    }

    .story-intro {
        padding: 2rem;
    }

    .locations-grid,
    .pro-services-grid {
        grid-template-columns: 1fr;
    }

    .locations-header h2,
    .pro-services-header h2 {
        font-size: 2rem;
    }
}

/* ===== ENHANCED SMOOTH ANIMATIONS ===== */

/* Smooth page load animation */
@keyframes pageLoad {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

body {
    animation: pageLoad 0.6s ease-out;
}

/* Enhanced button interactions */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.98);
}

/* Card hover shimmer effect */
.pro-service-card,
.location-card,
.feature-card,
.faq-item {
    position: relative;
    overflow: hidden;
}

.pro-service-card::after,
.location-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    transition: left 0.6s ease;
}

.pro-service-card:hover::after,
.location-card:hover::after {
    left: 100%;
}

/* Timeline pulse animation */
@keyframes timelinePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }
}

.timeline-item::before {
    animation: timelinePulse 2.5s ease-in-out infinite;
}

/* Floating animation for hero features */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-feature:hover {
    animation: float 2s ease-in-out infinite;
}

/* Smooth link underline animation */
.footer-column ul li a,
.faq-answer a {
    position: relative;
}

.footer-column ul li a::after,
.faq-answer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-purple-light);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover::after,
.faq-answer a:hover::after {
    width: 100%;
}

/* Section divider gradient line */
.story-section::after,
.timeline-section::after,
.locations-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

/* Navbar glass effect enhancement */
.navbar {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* GPU acceleration for animated elements */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.btn,
.hero-feature,
.service-card,
.pro-service-card,
.location-card,
.feature-card,
.timeline-item,
.faq-item {
    will-change: transform, opacity;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* Content visibility for performance */
.footer,
.faq-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

/* Smooth font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Image optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Loading state for images */
.browser-content img,
.preview-panel img {
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-tertiary));
}