/* Modern Futuristic Design for Satellite Tracker Project */

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

:root {
    /* Modern Color Palette */
    --primary: #00f5ff;
    --primary-dark: #00b8d4;
    --secondary: #7c4dff;
    --accent: #ff4081;
    --dark-bg: #0a0e27;
    --darker-bg: #050815;
    --card-bg: #121633;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #7a8ea8;
    --border: rgba(255, 255, 255, 0.1);
    --glow: rgba(0, 245, 255, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    --gradient-card: linear-gradient(145deg, rgba(18, 22, 51, 0.8) 0%, rgba(10, 14, 39, 0.9) 100%);
}

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

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

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 8, 21, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
}

.project-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 24px;
}

.label-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 600px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px var(--glow);
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-info {
    position: relative;
}

.info-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

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

.info-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-badge {
    padding: 6px 12px;
    background: rgba(0, 245, 255, 0.15);
    border: 1px solid var(--primary);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

/* Section Styles */
.section-dark {
    background: var(--gradient-dark);
    padding: 100px 0;
}

.section-light {
    background: var(--dark-bg);
    padding: 100px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 64px;
    letter-spacing: -1px;
}

.heading-number {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
}

/* Context Cards */
.context-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.context-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s;
}

.context-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 48px var(--glow);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.context-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.context-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* Architecture Diagram */
.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.arch-layer {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}

.arch-layer:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.arch-layer.highlight {
    border-color: var(--primary);
    box-shadow: 0 0 32px var(--glow);
}

.layer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 12px;
}

.layer-content {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.layer-content span {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.arch-arrow {
    text-align: center;
    font-size: 32px;
    color: var(--primary);
    margin: 8px 0;
}

/* Prototype Timeline */
.prototype-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.prototype-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.prototype-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.prototype-card:hover::before {
    opacity: 1;
}

.prototype-card.completed {
    border-color: rgba(76, 175, 80, 0.5);
}

.prototype-card.in-progress {
    border-color: var(--primary);
}

.prototype-card.planned {
    border-color: rgba(255, 255, 255, 0.2);
}

.prototype-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.version-badge {
    padding: 8px 16px;
    background: var(--gradient-primary);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--darker-bg);
}

.prototype-status {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.prototype-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.prototype-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.prototype-specs {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.prototype-achievements,
.prototype-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.achievement,
.feature {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 4px;
}

.prototype-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.prototype-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.prototype-gallery img:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.tech-category h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.tech-badge {
    padding: 10px 16px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s;
}

.tech-badge:hover {
    background: rgba(0, 245, 255, 0.2);
    transform: translateY(-2px);
}

/* Impact Cards */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.impact-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s;
}

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

.impact-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.impact-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Footer CTA */
.footer-cta {
    background: var(--gradient-dark);
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--glow);
}

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

.btn-secondary:hover {
    background: rgba(0, 245, 255, 0.1);
}

.main-footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 4px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .context-grid,
    .prototype-timeline,
    .tech-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-heading {
        font-size: 32px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* Original Animated AI Interface (Custom Design) */
.ai-interface-icon {
    width: 50px;
    height: 50px;
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.ai-core-mini {
    width: 100%;
    height: 100%;
    position: relative;
    animation: rotate-interface 20s linear infinite;
}

@keyframes rotate-interface {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-ring-mini {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    opacity: 0.6;
}

.ai-ring-mini.ring-1 {
    width: 100%;
    height: 100%;
    border-color: #00d9ff;
    animation: pulse-ring 2s ease-in-out infinite;
}

.ai-ring-mini.ring-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-color: #0099ff;
    animation: pulse-ring 2s ease-in-out infinite 0.4s;
}

@keyframes pulse-ring {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.ai-center-mini {
    position: absolute;
    width: 35%;
    height: 35%;
    top: 32.5%;
    left: 32.5%;
    background: radial-gradient(circle, #00d9ff, transparent);
    border-radius: 50%;
    animation: glow-center 1.5s ease-in-out infinite;
}

@keyframes glow-center {
    0%, 100% { opacity: 0.6; box-shadow: 0 0 15px #00d9ff; }
    50% { opacity: 1; box-shadow: 0 0 25px #00d9ff; }
}

.scan-line-mini {
    position: absolute;
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d9ff, transparent);
    left: -10%;
    top: 50%;
    animation: scan-mini 3s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes scan-mini {
    0%, 100% { top: 20%; }
    50% { top: 80%; }
}
