:root {
    --primary-blue: #0077c0;
    --primary-yellow: #fdb813;
    --primary-green: #4caf50;
    --primary-orange: #ff9800;
    --bg-cream: #f9f7f2;
    --text-dark: #2d2d2d;
    --font-main: 'Lexend', sans-serif;
    --font-cursive: 'Dancing Script', cursive;
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --glass: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Texture Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/p6.png");
    opacity: 0.15;
    pointer-events: none;
    z-index: 9999;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    background: rgba(249, 247, 242, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    flex-direction: row;
    justify-content: space-between;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    position: relative;
}

.logo-text::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40%;
    height: 4px;
    background: var(--primary-yellow);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    background:
        radial-gradient(circle at 10% 20%, rgba(253, 184, 19, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 119, 192, 0.1) 0%, transparent 40%);
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.cursive {
    font-family: var(--font-cursive);
    color: var(--primary-green);
    display: block;
    font-size: 1.1em;
    margin-top: 0.2em;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.4rem);
    color: #666;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.fixed-logo {
    width: 280px;
    height: 280px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

.logo-aura {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle,
            rgba(253, 184, 19, 0.3) 0%,
            rgba(0, 119, 192, 0.2) 50%,
            transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-aura 4s ease-in-out infinite;
    filter: blur(15px);
}

@keyframes pulse-aura {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes rotate-aura {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Sections General */
section {
    padding: 120px 0;
    overflow: hidden;
}

/* Evolution Section */
.evolution {
    background-color: white;
}

.evolution .container {
    gap: 3rem;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    text-align: center;
    margin-bottom: 2rem;
}

.highlight {
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--primary-yellow);
    opacity: 0.3;
    z-index: -1;
}

.evolution-card {
    background: var(--bg-cream);
    border-radius: 40px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
}

.evolution-media {
    width: 100%;
    display: flex;
    justify-content: center;
}

.book-img {
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-slow);
}

.book-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Space Section */
.space {
    background: linear-gradient(135deg, var(--bg-cream) 0%, #fff 100%);
}

.facade-preview {
    width: 100%;
    max-width: 900px;
    border-radius: 40px;
    overflow: hidden;
    border: 12px solid white;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.geometric-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* Footer Section */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 100px 0 40px;
    text-align: center;
    border-radius: 60px 60px 0 0;
}

.footer h3 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 2rem;
}

/* Desktop Enhancements */
@media (min-width: 992px) {
    .evolution-card {
        grid-template-columns: 1fr 1fr;
    }
}