/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* Color Variables */
:root {
    --salmon: #FF6B35;
    --orange: #FF8C00;
    --dark-pink: #C71585;
    --dark-purple: #4B0082;
    --black: #000000;
    --space-dark: #0B0C10;
    --space-blue: #1F2833;
    --light-gray: #C5C6C7;
    --white: #FFFFFF;
    --gradient-space: linear-gradient(135deg, var(--space-dark) 0%, var(--dark-purple) 100%);
    --gradient-accent: linear-gradient(45deg, var(--salmon) 0%, var(--orange) 50%, var(--dark-pink) 100%);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--space-dark);
    color: var(--light-gray);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Colors */
.text-salmon { color: var(--salmon) !important; }
.text-orange { color: var(--orange) !important; }
.text-dark-pink { color: var(--dark-pink) !important; }
.text-purple { color: var(--dark-purple) !important; }
.text-light-gray { color: var(--light-gray) !important; }
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-space { background: var(--space-blue) !important; }
.bg-gradient { background: var(--gradient-space) !important; }

/* Buttons */
.btn-salmon {
    background: linear-gradient(135deg, var(--salmon) 0%, var(--orange) 100%);
    border-color: var(--salmon);
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.btn-salmon:hover {
    background: linear-gradient(135deg, var(--orange) 0%, var(--dark-pink) 100%);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-outline-salmon {
    border: 2px solid var(--salmon);
    color: var(--salmon);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline-salmon:hover {
    background: linear-gradient(135deg, var(--salmon) 0%, var(--orange) 100%);
    border-color: var(--salmon);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-outline-orange {
    border-color: var(--orange);
    color: var(--orange);
}

.btn-outline-orange:hover {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* Navigation */
.navbar {
    background: rgba(15, 16, 20, 0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
    padding: 1.2rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

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

.navbar-nav .nav-link {
    color: var(--light-gray) !important;
    font-weight: 500;
    margin: 0 0.75rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--salmon) !important;
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-space);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -400px;
    width: 1000px;
    height: 1000px;
    background-image: url('../images/earth.svg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    animation: rotate 180s infinite linear;
    z-index: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.9;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.installation-code .code-block {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--salmon);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.code-header {
    background: var(--salmon);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.code-body {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.code-body code {
    color: var(--light-gray);
    font-family: 'Consolas', monospace;
    font-size: 1rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    z-index: 3;
}

.satellite-image {
    width: 250px;
    height: 250px;
    z-index: 3;
    position: relative;
    filter: drop-shadow(0 0 30px var(--salmon)) drop-shadow(0 0 60px rgba(255, 107, 53, 0.4));
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.orbit-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.orbit-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.6;
}

.ring-1 {
    width: 250px;
    height: 250px;
    border-color: rgba(250, 128, 114, 0.3);
    top: -125px;
    left: -125px;
}

.ring-2 {
    width: 320px;
    height: 320px;
    border-color: rgba(255, 140, 0, 0.2);
    top: -160px;
    left: -160px;
    animation-duration: 30s;
}

.ring-3 {
    width: 400px;
    height: 400px;
    border-color: rgba(199, 21, 133, 0.15);
    top: -200px;
    left: -200px;
    animation-duration: 40s;
}

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

/* Section Styles */
.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

/* Page Headers */
.page-header {
    background: var(--gradient-space);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--light-gray);
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.5;
}

/* Feature Cards */
.features-section {
    background: var(--space-dark);
    padding: 6rem 0;
    position: relative;
}

.feature-card {
    background: rgba(31, 40, 51, 0.85);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255, 107, 53, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--salmon);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.4), 0 0 20px rgba(255, 107, 53, 0.2);
    background: rgba(31, 40, 51, 0.95);
}

.feature-icon {
    font-size: 3rem;
    color: var(--salmon);
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Quick Start Section */
.quickstart-section {
    background: var(--space-blue);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.code-example {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--salmon);
}

.code-example .code-header {
    background: var(--salmon);
    color: var(--white);
    padding: 1rem;
    font-weight: 600;
}

.code-example .code-body {
    padding: 0;
}

.code-example pre {
    margin: 0;
    padding: 2rem;
    background: transparent;
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* GitHub Stats */
.github-stats {
    background: var(--space-dark);
    padding: 4rem 0;
    position: relative;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-card i {
    color: var(--salmon);
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Gallery Styles */
.use-case-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    border: 1px solid rgba(255, 107, 53, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.use-case-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--salmon);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3), 0 0 20px rgba(255, 107, 53, 0.15);
    background: rgba(31, 40, 51, 0.95);
}

.use-case-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.use-case-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.use-case-example {
    margin-top: 1rem;
}

.code-snippet {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.75rem;
    border-radius: 5px;
    border-left: 3px solid var(--salmon);
}

.code-snippet code {
    color: var(--light-gray);
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
}

/* Workflow Cards */
.workflow-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.workflow-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.workflow-steps {
    margin-top: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.step-number {
    background: var(--orange);
    color: var(--white);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-text {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Data Source Cards */
.data-source-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(199, 21, 133, 0.2);
    transition: all 0.3s ease;
}

.data-source-card:hover {
    transform: translateY(-3px);
    border-color: var(--dark-pink);
}

.data-source-card i {
    color: var(--dark-pink);
}

.data-source-card h5 {
    color: var(--white);
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.data-source-card p {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* About Page Styles */
.mission-stats {
    background: rgba(31, 40, 51, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(250, 128, 114, 0.2);
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-item .stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: var(--light-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Deep Dive */
.feature-deep-dive {
    background: rgba(31, 40, 51, 0.9);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    border: 1px solid rgba(250, 128, 114, 0.2);
}

.feature-icon-large {
    font-size: 3rem;
    color: var(--salmon);
    margin-bottom: 1rem;
}

.feature-deep-dive h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-list li {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '▸';
    color: var(--salmon);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Tech Stack */
.tech-stack {
    background: rgba(31, 40, 51, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.tech-category {
    margin-bottom: 1.5rem;
}

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

.tech-category h5 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    background: rgba(250, 128, 114, 0.2);
    color: var(--salmon);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(250, 128, 114, 0.3);
}

/* Community Links */
.community-links {
    margin-top: 1.5rem;
}

.contribution-types {
    list-style: none;
    padding: 0;
}

.contribution-types li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: var(--light-gray);
}

/* License Section */
.license-section {
    background: rgba(31, 40, 51, 0.6);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(199, 21, 133, 0.2);
}

.license-section h3 {
    color: var(--white);
    font-weight: 600;
}

.license-section p {
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Documentation Styles */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.quick-link {
    background: rgba(31, 40, 51, 0.8);
    border: 1px solid rgba(250, 128, 114, 0.3);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--light-gray);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.quick-link:hover {
    color: var(--salmon);
    border-color: var(--salmon);
    transform: translateY(-3px);
}

.quick-link i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Installation Methods */
.installation-methods {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.method-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(250, 128, 114, 0.2);
}

.method-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.method-card .code-block {
    margin-top: 1rem;
}

/* Requirements Section */
.requirements-section {
    background: rgba(31, 40, 51, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.requirements-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.requirements-section ul {
    color: var(--light-gray);
    margin: 0;
}

.requirements-section li {
    margin-bottom: 0.5rem;
}

/* Quick Start Steps */
.quickstart-steps {
    display: grid;
    gap: 2rem;
}

.step-card {
    background: rgba(31, 40, 51, 0.9);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(250, 128, 114, 0.2);
}

.step-header {
    background: var(--salmon);
    padding: 1rem;
    display: flex;
    align-items: center;
}

.step-header .step-number {
    background: var(--white);
    color: var(--salmon);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
}

.step-header h4 {
    color: var(--white);
    margin: 0;
    font-weight: 600;
}

/* API Modules */
.api-modules {
    display: grid;
    gap: 1.5rem;
}

.module-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.module-card h4 {
    color: var(--orange);
    font-family: 'Consolas', monospace;
    margin-bottom: 0.5rem;
}

.module-card > p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.function-list {
    margin-top: 1rem;
}

.function-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(197, 198, 199, 0.1);
}

.function-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.function-item code {
    color: var(--salmon);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-family: 'Consolas', monospace;
    display: block;
    margin-bottom: 0.25rem;
}

.function-desc {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Tutorials */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tutorial-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(199, 21, 133, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.tutorial-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--dark-pink);
    box-shadow: 0 20px 40px rgba(199, 21, 133, 0.3), 0 0 20px rgba(199, 21, 133, 0.15);
    background: rgba(31, 40, 51, 0.95);
}

.tutorial-icon {
    font-size: 2.5rem;
    color: var(--dark-pink);
    margin-bottom: 1rem;
}

.tutorial-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tutorial-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.difficulty {
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty.beginner {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.difficulty.intermediate {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.difficulty.advanced {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.duration {
    color: var(--light-gray);
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Example Tabs */
.example-tabs .nav-tabs {
    border-bottom: 1px solid rgba(250, 128, 114, 0.3);
    margin-bottom: 1rem;
}

.example-tabs .nav-link {
    background: transparent;
    border: 1px solid rgba(250, 128, 114, 0.2);
    color: var(--light-gray);
    margin-right: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 10px 10px 0 0;
}

.example-tabs .nav-link.active {
    background: var(--salmon);
    border-color: var(--salmon);
    color: var(--white);
}

.example-code {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(250, 128, 114, 0.2);
}

.example-code pre {
    margin: 0;
    padding: 1.5rem;
}

/* Help Section */
.help-section {
    background: rgba(31, 40, 51, 0.6);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(250, 128, 114, 0.2);
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.help-option {
    text-align: center;
    padding: 1.5rem;
}

.help-option i {
    color: var(--salmon);
    margin-bottom: 1rem;
}

.help-option h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.help-option p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--space-blue) !important;
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.footer h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

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

.social-links a:hover {
    color: var(--salmon) !important;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Fix main content padding for mobile */
    .main-content {
        padding-top: 70px;
    }
    
    /* Fix hero section mobile issues - don't over-center */
    .hero-section .row {
        min-height: auto !important;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        text-align: left;
        position: relative;
        z-index: 5;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        text-align: left;
        max-width: 100%;
        position: relative;
        z-index: 5;
    }
    
    .hero-buttons {
        text-align: center;
        margin-bottom: 2rem;
        position: relative;
        z-index: 5;
    }
    
    .hero-buttons .btn {
        display: inline-block;
        margin: 0.5rem 0.5rem 0.5rem 0;
        min-width: 140px;
        position: relative;
        z-index: 5;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    /* Position satellite over earth properly on mobile */
    .hero-visual {
        height: 300px;
        margin-top: 1rem;
        padding: 1rem;
        position: relative;
        z-index: 4;
    }
    
    .satellite-image {
        width: 120px;
        height: 120px;
        position: relative;
        z-index: 4;
    }
    
    /* Adjust earth background for mobile */
    .hero-section::before {
        top: -150px;
        right: -300px;
        width: 600px;
        height: 600px;
        opacity: 0.4;
    }
    
    .ring-1 {
        width: 180px;
        height: 180px;
        top: -90px;
        left: -90px;
    }
    
    .ring-2 {
        width: 220px;
        height: 220px;
        top: -110px;
        left: -110px;
    }
    
    .ring-3 {
        width: 260px;
        height: 260px;
        top: -130px;
        left: -130px;
    }
    
    /* Fix code block mobile display */
    .installation-code {
        margin-top: 1.5rem;
        position: relative;
        z-index: 5;
    }
    
    .code-block {
        max-width: 100%;
        overflow-x: auto;
        position: relative;
        z-index: 5;
    }
    
    .code-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 0.75rem;
    }
    
    .code-body code {
        font-size: 0.9rem;
        word-break: break-all;
    }
    
    .code-body button {
        position: relative;
        z-index: 5;
    }
    
    /* Improve navigation on mobile */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        padding: 0.75rem 1rem !important;
        text-align: center;
    }
    
    /* Better feature cards on mobile */
    .feature-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
    }
    
    /* Improve stats section */
    .stat-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .quick-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .quick-link {
        min-width: auto;
        flex: 0 0 auto;
        width: calc(50% - 0.375rem);
    }
    
    .mission-stats {
        text-align: center;
    }
    
    .stat-item {
        margin-bottom: 1.5rem;
    }
    
    .tech-items {
        justify-content: center;
    }
    
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
    
    .help-options {
        grid-template-columns: 1fr;
    }
    
    /* Fix section spacing */
    .features-section, .quickstart-section, .github-stats {
        padding: 3rem 0 !important;
    }
    
    /* Better mobile containers */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 576px) {
    /* Fix very small screen hero section */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: left;
        position: relative;
        z-index: 5;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0;
        text-align: left;
        position: relative;
        z-index: 5;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    /* Stack buttons properly on small screens */
    .hero-buttons {
        text-align: center;
        padding: 0;
        position: relative;
        z-index: 5;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 0.75rem auto;
        padding: 0.875rem 1.5rem;
        position: relative;
        z-index: 5;
    }
    
    /* Improve hero visual for very small screens */
    .hero-visual {
        height: 220px;
        margin-top: 1.5rem;
        position: relative;
        z-index: 4;
    }
    
    .satellite-image {
        width: 100px;
        height: 100px;
        position: relative;
        z-index: 4;
    }
    
    /* Adjust earth background for very small screens */
    .hero-section::before {
        top: -100px;
        right: -250px;
        width: 500px;
        height: 500px;
        opacity: 0.3;
    }
    
    .ring-1 {
        width: 150px;
        height: 150px;
        top: -75px;
        left: -75px;
    }
    
    .ring-2 {
        width: 180px;
        height: 180px;
        top: -90px;
        left: -90px;
    }
    
    .ring-3 {
        width: 210px;
        height: 210px;
        top: -105px;
        left: -105px;
    }
    
    /* Better cards on small screens */
    .feature-card,
    .use-case-card,
    .workflow-card,
    .tutorial-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    /* Improve code blocks for small screens */
    .installation-code {
        margin-top: 1.5rem;
        padding: 0;
        position: relative;
        z-index: 5;
    }
    
    .code-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .code-body code {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .code-body button {
        position: relative;
        z-index: 5;
    }
    
    /* Better navigation for small screens */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.875rem 0.75rem !important;
        font-size: 0.95rem;
    }
    
    /* Better section spacing */
    .features-section, .quickstart-section, .github-stats {
        padding: 2.5rem 0 !important;
    }
    
    /* Adjust quick links for small screens */
    .quick-link {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    /* Better stats display */
    .stat-card {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    /* Better container padding */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--space-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--salmon);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-pink);
}

/* Elegant scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced glow effects */
.satellite-image:hover {
    filter: drop-shadow(0 0 40px var(--salmon)) drop-shadow(0 0 80px rgba(255, 107, 53, 0.6));
    transform: scale(1.05) translateY(-20px);
}

/* Enhanced text selection */
::selection {
    background: rgba(255, 107, 53, 0.3);
    color: var(--white);
}

::-moz-selection {
    background: rgba(255, 107, 53, 0.3);
    color: var(--white);
}

/* Loading animation */
.loading {
    animation: pulse 2s infinite;
}

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

/* Utility classes */
.min-vh-100 {
    min-height: 100vh;
}

/* Mobile viewport fix */
@media (max-width: 768px) {
    .min-vh-100 {
        min-height: auto;
        padding: 4rem 0;
    }
}

.cursor-pointer {
    cursor: pointer;
}

.text-decoration-none {
    text-decoration: none !important;
}

.border-salmon {
    border-color: var(--salmon) !important;
}

.border-orange {
    border-color: var(--orange) !important;
}

/* Playground Styles */
.playground-section {
    background: var(--space-dark);
    min-height: calc(100vh - 200px);
}

.playground-container {
    background: rgba(31, 40, 51, 0.9);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.playground-header h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.playground-iframe-container {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 600px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 53, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.playground-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--space-dark);
}

/* Tips Section */
.tips-section {
    background: var(--space-blue);
}

.tip-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tip-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
}

.tip-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.tip-card h5 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tip-card p {
    color: var(--light-gray);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for playground */
@media (max-width: 768px) {
    .playground-container {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .playground-iframe-container {
        height: 60vh;
        min-height: 400px;
    }
    
    .playground-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
}
