/* Data-Centric AI Community - Blue Palette Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1e3a8a;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

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

.logo-icon {
    width: 32px;
    height: 32px;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a8a;
}

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

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3b82f6;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .brand-text {
        font-size: 16px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transform-origin: center;
}

.element-1 {
    top: 15%;
    left: 8%;
    width: 48px;
    height: 48px;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.element-2 {
    top: 30%;
    right: 15%;
    width: 32px;
    height: 32px;
    border-color: rgba(99, 102, 241, 0.25);
    transform: rotate(12deg);
    animation: float 6s ease-in-out infinite -2s;
}

.element-3 {
    bottom: 30%;
    left: 20%;
    width: 64px;
    height: 64px;
    border-color: rgba(34, 197, 94, 0.15);
    transform: rotate(45deg);
    animation: pulse-subtle 4s ease-in-out infinite;
}

.element-4 {
    top: 45%;
    right: 25%;
    width: 24px;
    height: 24px;
    border-color: rgba(139, 92, 246, 0.3);
    transform: rotate(90deg);
    animation: float 6s ease-in-out infinite;
}

.element-5 {
    bottom: 15%;
    right: 8%;
    width: 40px;
    height: 40px;
    border-color: rgba(14, 165, 233, 0.2);
    transform: rotate(12deg);
    animation: float 6s ease-in-out infinite -2s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(var(--rotation, 0deg)); 
    }
    50% { 
        transform: translateY(-10px) rotate(calc(var(--rotation, 0deg) + 5deg)); 
    }
}

@keyframes pulse-subtle {
    0%, 100% { 
        opacity: 0.6; 
    }
    50% { 
        opacity: 0.8; 
    }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 80px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1e3a8a;
}

.highlight {
    color: #3b82f6;
    position: relative;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #1e3a8a;
    border-color: rgba(59, 130, 246, 0.3);
}

.btn-outline:hover {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background-color: white;
    color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
    filter: invert(0);
}

.btn-primary .btn-icon {
    filter: invert(1);
}

.btn-secondary .btn-icon {
    filter: invert(0);
}

/* Sections */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #1e3a8a;
    line-height: 1.2;
}

/* Definition Section */
.definition {
    padding: 80px 0;
    background-color: #ffffff;
}

.definition-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.definition-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #334155;
}

.definition-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
}

.definition-attribution {
    color: #64748b;
    font-size: 16px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    filter: grayscale(1) opacity(0.8);
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon {
    opacity: 1;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1e3a8a;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 0;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.feature-link:hover {
    color: #2563eb;
}

.feature-coming-soon {
    padding: 12px 20px;
    color: #64748b;
    font-style: italic;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
}

.chevron {
    width: 16px;
    height: 16px;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.blog-card:hover .blog-image {
    filter: grayscale(0.5);
}

.blog-content {
    padding: 24px;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e3a8a;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: #3b82f6;
}

.blog-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #2563eb;
}

/* Footer */
.footer {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3730a3 100%);
    color: white;
    text-align: center;
}

.footer-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .definition-card,
    .blog-content,
    .feature-card {
        padding: 24px;
    }
    
    .features-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding-top: 60px;
    }
    
    .section-title {
        margin-bottom: 32px;
    }
}