/* AstroIndexer Website Styles */

:root {
    --primary-color: #4dd0e1;
    --secondary-color: #7c4dff;
    --dark-bg: #0a0e1a;
    --dark-secondary: #1a1f2e;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #9e9e9e;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-bg: rgba(26, 31, 46, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand .logo {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background: #3dc1d3;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(77, 208, 225, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-version {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(124, 77, 255, 0.2);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-version:hover {
    background: rgba(124, 77, 255, 0.3);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/stars-bg.png');
    opacity: 0.1;
    animation: twinkle 50s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Startup Showcase */
.startup-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #0a0e1a 100%);
}

.startup-showcase .section-title {
    font-size: 48px;
    background: linear-gradient(135deg, #4dd0e1 0%, #7c4dff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.startup-image {
    margin-top: 40px;
    text-align: center;
}

.showcase-image {
    width: 100%;
    max-width: 1200px;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(77, 208, 225, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--dark-secondary);
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(77, 208, 225, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Feature Details Section */
.feature-details {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #0a0e1a 100%);
}

.feature-detail {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.feature-detail.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 16px;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-points {
    list-style: none;
    padding: 0;
}

.feature-points li {
    padding: 10px 0;
    color: #4dd0e1;
    position: relative;
    padding-left: 25px;
}

.feature-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-screenshot {
    flex: 1;
    position: relative;
}

.feature-screenshot img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(77, 208, 225, 0.2);
}

@media (max-width: 768px) {
    .feature-detail,
    .feature-detail.reverse {
        flex-direction: column;
        gap: 30px;
    }
}

/* ML Analytics Section */
.ml-analytics {
    padding: 80px 0;
    background: #0a0e1a;
}

.ml-analytics .section-title {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.ml-analytics .feature-detail {
    margin-bottom: 100px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--dark-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.price {
    margin-bottom: 30px;
}

.price .currency {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    display: block;
    color: var(--text-muted);
    margin-top: 10px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--dark-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 24px;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

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

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}