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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: white;
}

/* Page Background */
#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.page-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
}

.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.element-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
}

.container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.infinity-logo {
    font-size: 1.8rem;
    color: #6366f1;
    font-weight: 300;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.navbar-brand span:last-child {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

.btn-auth {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.btn-auth:hover {
    background: rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

/* Hero Section */
.hero-section {
    padding: 80px 48px;
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    color: #6366f1;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Section Common Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* Company Section */
.company-section {
    padding: 80px 48px;
    background: rgba(0, 0, 0, 0.2);
}

.company-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 48px;
}

.company-logo {
    text-align: center;
    margin-bottom: 32px;
}

.infinity-symbol-large {
    font-family: Georgia, serif;
    font-size: 4rem;
    color: #6366f1;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    display: block;
    margin-bottom: 16px;
}

.company-logo h3 {
    font-size: 2rem;
    color: white;
    font-weight: 600;
}

.company-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.company-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #6366f1;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 120px;
    flex-shrink: 0;
}

.info-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.value-item {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.value-item h4 {
    color: #6366f1;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.value-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ecosystem Section */
.ecosystem-section {
    padding: 80px 48px;
}

.ecosystem-category {
    margin-bottom: 60px;
}

.ecosystem-category:last-child {
    margin-bottom: 0;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-card.active {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-card h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 8px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.service-link {
    color: #6366f1;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Developer Section */
.developer-section {
    padding: 80px 48px;
    background: rgba(0, 0, 0, 0.2);
}

.developer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.developer-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.developer-avatar {
    width: 80px;
    height: 80px;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    flex-shrink: 0;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developer-info h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 8px;
}

.developer-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 4px;
}

.developer-username {
    color: #6366f1;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.developer-bio {
    margin-bottom: 32px;
}

.developer-bio p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.8;
}

.developer-tech {
    margin-bottom: 32px;
}

.developer-tech h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.developer-links {
    display: flex;
    gap: 16px;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.github-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.github-link span {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Compliance Section */
.compliance-section {
    padding: 80px 48px;
}

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

.compliance-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.compliance-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.compliance-card h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.compliance-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.compliance-card strong {
    color: #6366f1;
}

/* CTA Section */
.cta-section {
    padding: 100px 48px;
    background: rgba(0, 0, 0, 0.2);
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary,
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Footer */
.minimalist-footer {
    position: relative;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    width: 100%;
    min-height: 80px;
    z-index: 1;
    margin-top: auto;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    align-items: center;
}

.powered-by-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.powered-by-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
}

.infinity-symbol {
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #6366f1;
    margin: 0 8px;
    display: inline-block;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.footer-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 16px;
    }

    .hero-section {
        padding: 60px 20px;
    }

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

    .company-section,
    .ecosystem-section,
    .developer-section,
    .compliance-section,
    .cta-section {
        padding: 60px 20px;
    }

    .company-card,
    .developer-card {
        padding: 32px 24px;
    }

    .developer-header {
        flex-direction: column;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .company-values {
        grid-template-columns: 1fr;
    }

    .company-info-card {
        padding: 20px;
    }

    .info-row {
        flex-direction: column;
        gap: 4px;
    }

    .info-label {
        min-width: auto;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-title {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 24px 20px;
    }

    .footer-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating-element {
        animation: none;
    }

    .service-card,
    .github-link,
    .cta-btn-primary,
    .cta-btn-secondary {
        transition: none;
    }

    .service-card:hover,
    .github-link:hover,
    .cta-btn-primary:hover,
    .cta-btn-secondary:hover {
        transform: none;
    }
}
