/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 249, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: none;
    animation: slideDown 0.6s ease-out;
    transition: all 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.66rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    width: var(--logo-slot-width);
    flex: 0 0 var(--logo-slot-width);
    gap: calc(var(--logo-base-gap) * (1 - var(--brand-collapse)));
    margin-left: 2.1rem;
    white-space: nowrap;
    transition: color 0.25s ease;
    --brand-collapse: 0;
    --logo-base-gap: 0.41rem;
    --logo-slot-width: 8.8rem;
}

.logo-mark {
    width: 1.64rem;
    height: 1.64rem;
    flex: 0 0 auto;
    display: block;
    transform: translate(0.13em, 0.21em) scale(calc(1 + (0.05 * var(--brand-collapse))));
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 2px 8px rgba(15, 118, 110, calc(0.14 + (0.14 * var(--brand-collapse)))));
    transition: transform 180ms linear, filter 180ms linear;
}

.logo-word {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.44rem;
    letter-spacing: 0.03em;
    line-height: 1;
    max-width: calc(9ch * (1 - var(--brand-collapse)));
    overflow: hidden;
    opacity: calc(1 - var(--brand-collapse));
    transform: translateX(calc(-0.42em * var(--brand-collapse))) scaleX(calc(1 - (0.18 * var(--brand-collapse))));
    transform-origin: left center;
    transition: letter-spacing 0.25s ease, max-width 180ms linear, opacity 180ms linear, transform 180ms linear;
}

.logo:hover,
.logo:focus-visible {
    color: var(--color-accent);
}

.logo:hover .logo-word,
.logo:focus-visible .logo-word {
    letter-spacing: 0.045em;
}

.logo:hover .logo-mark,
.logo:focus-visible .logo-mark {
    transform: translate(0.13em, 0.21em) scale(calc(1.03 + (0.05 * var(--brand-collapse))));
    filter: drop-shadow(0 3px 10px rgba(15, 118, 110, calc(0.24 + (0.12 * var(--brand-collapse)))));
}

.logo:focus-visible {
    outline: 2px solid rgba(15, 118, 110, 0.32);
    outline-offset: 4px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.cta-button {
    background: var(--color-accent);
    color: white;
    padding: 0.4rem 0.92rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--color-accent);
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.4);
}

/* Hero Section */
.hero {
    margin-top: 58px;
    min-height: calc(100vh - 58px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(15, 118, 110, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(20, 184, 166, 0.06) 0%, transparent 40%);
    animation: gradientFloat 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(250, 250, 249, 0.8) 100%);
    pointer-events: none;
}

@keyframes gradientFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    33% { 
        transform: translate(30px, -30px) rotate(3deg);
        opacity: 0.8;
    }
    66% { 
        transform: translate(-20px, 20px) rotate(-2deg);
        opacity: 0.7;
    }
}

/* Planet Showcase Section */
.planet-section {
    padding: var(--spacing-xl) 2rem;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 30% 50%, rgba(15, 118, 110, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(20, 184, 166, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg) 0%, #f0f9f8 50%, var(--color-bg) 100%);
    min-height: 600px;
}

.planet-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(15, 118, 110, 0.02) 2px, rgba(15, 118, 110, 0.02) 4px);
    pointer-events: none;
}

.planet-section-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.planet-text {
    z-index: 2;
}

.planet-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.planet-text p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Planet Animation */
.planet-container {
    position: relative;
    width: 500px;
    height: 500px;
    z-index: 1;
    animation: planetFloat 8s ease-in-out infinite;
    margin: 0 auto;
}

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

/* Stars background */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; opacity: 0.8; }
.star:nth-child(2) { top: 40%; left: 25%; animation-delay: 0.5s; opacity: 0.6; }
.star:nth-child(3) { top: 60%; left: 35%; animation-delay: 1s; opacity: 0.9; }
.star:nth-child(4) { top: 30%; left: 45%; animation-delay: 1.5s; opacity: 0.7; }
.star:nth-child(5) { top: 70%; left: 55%; animation-delay: 2s; opacity: 0.5; }
.star:nth-child(6) { top: 15%; left: 65%; animation-delay: 2.5s; opacity: 0.8; }
.star:nth-child(7) { top: 50%; left: 75%; animation-delay: 0.7s; opacity: 0.6; }
.star:nth-child(8) { top: 80%; left: 85%; animation-delay: 1.2s; opacity: 0.9; }

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.planet {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 30% 30%, #14b8a6, #0f766e 40%, #0d5e56 70%, #0a4a44 100%);
    box-shadow: 
        inset -40px -40px 80px rgba(0, 0, 0, 0.4),
        inset 20px 20px 60px rgba(255, 255, 255, 0.1),
        0 0 100px rgba(20, 184, 166, 0.3),
        0 0 200px rgba(15, 118, 110, 0.2);
    animation: planetRotate 30s linear infinite;
    overflow: hidden;
    transition: transform 0.3s ease-out;
    transform-style: preserve-3d;
}

.planet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 30px,
            rgba(255, 255, 255, 0.03) 30px,
            rgba(255, 255, 255, 0.03) 60px
        );
    animation: surfacePattern 60s linear infinite;
}

.planet::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    filter: blur(20px);
}

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

@keyframes surfacePattern {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(60px);
    }
}

/* Planet atmosphere glow */
.planet-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 60%, rgba(20, 184, 166, 0.2) 70%, rgba(15, 118, 110, 0.1) 80%, transparent 100%);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Orbital ring */
.planet-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    border: 2px solid rgba(20, 184, 166, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
    animation: orbitRotate 20s linear infinite;
}

.planet-orbit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--color-accent-light);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--color-accent-light);
    animation: orbitDot 20s linear infinite;
}

@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg);
    }
}

@keyframes orbitDot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Planet craters/details */
.planet-detail {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3), transparent 70%);
}

.planet-detail:nth-child(1) {
    top: 20%;
    left: 15%;
    width: 60px;
    height: 60px;
    animation: craterFloat1 15s ease-in-out infinite;
}

.planet-detail:nth-child(2) {
    top: 60%;
    left: 70%;
    width: 40px;
    height: 40px;
    animation: craterFloat2 12s ease-in-out infinite;
}

.planet-detail:nth-child(3) {
    top: 40%;
    left: 50%;
    width: 50px;
    height: 50px;
    animation: craterFloat3 18s ease-in-out infinite;
}

@keyframes craterFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -5px); }
}

@keyframes craterFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, 10px); }
}

@keyframes craterFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, 5px); }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero h1 span {
    color: var(--color-accent);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
}

/* Floating particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; }

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(50vh) translateX(50px) scale(1);
        opacity: 0.5;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) translateX(-30px) scale(0);
        opacity: 0;
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

/* Grid Section */
.grid-section {
    padding: var(--spacing-xl) 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--color-card);
    border: none;
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-light));
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.card:hover::after {
    width: 500px;
    height: 500px;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1);
}

.card:hover::before {
    height: 100%;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    background-size: 200% 200%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: iconGradient 4s ease infinite;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

@keyframes iconGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.4);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Values Section */
.values-section {
    padding: var(--spacing-xl) 2rem;
    background: var(--color-card);
    border-top: none;
    border-bottom: none;
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
}

.values-container h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.value-item {
    background: var(--color-bg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-light), transparent);
    opacity: 0.1;
    transform: translateY(-50%);
    transition: width 0.4s ease;
}

.value-item::after {
    content: '→';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    opacity: 0;
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.4s ease;
}

.value-item:hover {
    background: var(--color-card);
    padding-left: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.value-item:hover::before {
    width: 100%;
}

.value-item:hover::after {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

.value-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.value-item p {
    color: var(--color-text-light);
}

/* Final CTA Section */
.cta-section {
    background:
        radial-gradient(circle at 15% 10%, rgba(20, 184, 166, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(15, 118, 110, 0.12) 0%, transparent 50%),
        var(--color-card);
}

.cta-container {
    max-width: 920px;
    text-align: center;
}

.cta-container .section-title {
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 720px;
    margin: 0 auto 2.2rem;
    line-height: 1.75;
}

.cta-actions {
    justify-content: center;
}

/* Footer */
footer {
    background: var(--color-text);
    color: white;
    padding: var(--spacing-lg) 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-accent-light);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(6px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: none;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}



