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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #F8F9FA;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E5E7EB;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2563EB;
}

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

.nav-link {
    text-decoration: none;
    color: #6B7281;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #2563EB;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #111827;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 160px 0 96px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: #6B7281;
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 500px;
}

.cta-button {
    background: #2563EB;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.cta-button:hover {
    background: #3B82F6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.cta-button:active {
    background: #1D4ED8;
    transform: scale(0.98);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.data-network {
    position: relative;
    width: 400px;
    height: 400px;
}

.node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

.node-1 {
    top: 50px;
    left: 170px;
    animation-delay: 0s;
}

.node-2 {
    top: 120px;
    left: 50px;
    animation-delay: 0.5s;
}

.node-3 {
    top: 120px;
    right: 50px;
    animation-delay: 1s;
}

.node-4 {
    bottom: 120px;
    left: 50px;
    animation-delay: 1.5s;
}

.node-5 {
    bottom: 120px;
    right: 50px;
    animation-delay: 2s;
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #2563EB, #3B82F6);
    animation: flow 4s infinite;
    transform-origin: left center;
}

.connection-1 {
    top: 80px;
    left: 80px;
    width: 240px;
    animation-delay: 0s;
}

.connection-2 {
    top: 80px;
    right: 80px;
    width: 240px;
    animation-delay: 0.5s;
}

.connection-3 {
    bottom: 80px;
    left: 80px;
    width: 240px;
    animation-delay: 1s;
}

.connection-4 {
    bottom: 80px;
    right: 80px;
    width: 240px;
    animation-delay: 1.5s;
}

.connection-5 {
    top: 150px;
    left: 100px;
    width: 200px;
    transform: rotate(45deg);
    animation-delay: 2s;
}

.connection-6 {
    bottom: 150px;
    right: 100px;
    width: 200px;
    transform: rotate(-45deg);
    animation-delay: 2.5s;
}

/* About Section */
.about {
    padding: 96px 0;
    background: white;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 48px;
    color: #111827;
}

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

.about-text {
    font-size: 18px;
    color: #6B7281;
    line-height: 1.7;
    margin-bottom: 64px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #2563EB;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #6B7281;
    font-weight: 500;
}

/* Platform Section */
.platform {
    padding: 96px 0;
    background: #F8F9FA;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6B7281;
    margin-bottom: 64px;
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    border-color: #2563EB;
}

.feature-icon {
    color: #2563EB;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111827;
}

.feature-description {
    font-size: 16px;
    color: #6B7281;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 96px 0;
    background: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.contact-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2563EB;
}

.contact-item p {
    color: #6B7281;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
}

.footer-content {
    padding: 64px 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-section {
    flex: 1;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.footer-section p {
    color: #A1A1AA;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #A1A1AA;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #3B82F6;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 24px 0;
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom-content p {
    color: #6B7281;
    font-size: 14px;
    margin-bottom: 8px;
}

.icp-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #6B7281;
}

.separator {
    color: #374151;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes flow {
    0% {
        opacity: 0.3;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0.3;
        transform: scaleX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 32px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 64px;
        min-height: auto;
    }
    
    .hero-container {
        gap: 48px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .icp-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-description {
        font-size: 14px;
    }
}