:root {
    --primary: #FF7E67;
    --secondary: #09203F;
    --accent: #537895;
    --text-main: #E2E8F0;
    --text-dark: #1A202C;
    --bg-dark: #0F172A;
    --bg-light: #F8FAFC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Glassmorphism utility */
.glassmorphism {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Header & Nav */
header.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background glow */
header.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    opacity: 0.15;
    border-radius: 50%;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(-50px, 50px); }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    z-index: 10;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    z-index: 10;
}

h1 {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a0aec0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.highlight {
    background: linear-gradient(to right, var(--primary), #FFB7A1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 550px;
    margin-bottom: 3rem;
    line-height: 1.7;
    color: #94A3B8;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.2s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-button {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 126, 103, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s 0.4s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 126, 103, 0.4);
    background: #ff684d;
}

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

/* Sections */
section {
    padding: 8rem 10%;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #fff;
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    gap: 5rem;
    position: relative;
}

.about-card {
    flex: 1;
    padding: 4rem 3rem;
}

.about-card h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.about-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #CBD5E1;
    margin-bottom: 2.5rem;
}

.read-moreBtn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-moreBtn:hover {
    background: var(--primary);
    color: #fff;
}

.hidden-fact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 126, 103, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #E2E8F0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    line-height: 1.6;
}

.hidden-fact.show {
    opacity: 1;
    max-height: 200px;
    margin-top: 2rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px; /* For 3D rotation effect */
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transition: transform 0.1s ease-out; /* JavaScript will handle the animation */
}

/* Habitat Section */
.habitat-section {
    background: var(--secondary);
    border-top: 1rem solid var(--bg-dark);
    border-radius: 60px 60px 0 0;
    padding-bottom: 10rem;
}

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

.feature-card {
    padding: 3rem;
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 126, 103, 0.3);
}

.feature-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: #94A3B8;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    background: #020617;
    color: #64748B;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-section {
        flex-direction: column;
    }
    .about-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 3.5rem; }
    .nav-links { display: none; }
    section { padding: 5rem 5%; }
}
