/* ===== CSS Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Root Variables ===== */
:root {
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray-dark: #333333;
    --primary: #000000;
    --secondary: #ffffff;
    --accent-blue-light: #018eef;
    --accent-blue-dark: #004799;
    --bg-bluish-white: #e3f9ff;
    --transition: all 0.3s ease;
    --header-height: 80px;
}

/* ===== Base Styles ===== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Bricolage Grotesque", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--bg-bluish-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Header Styles ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    box-shadow: none;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.header-container {
    max-width: 1400px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    cursor: pointer;
}

.logo-img:hover {
    opacity: 0.8;
}

/* ===== Navigation Styles ===== */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-size: 1.125rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.03em;
    font-variation-settings: "wdth" 100;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue-dark);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue-dark);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== Mobile Menu Toggle ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 25px;
    height: 2px;
    background-color: var(--black);
    transition: var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--bg-bluish-white);
    padding: calc(var(--header-height) + 6rem) 1rem 2rem;
    padding-bottom: 8rem;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    text-align: left;
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: clamp(3.25rem, 6.5vw, 5.85rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--black);
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
    font-variation-settings: "wdth" 100;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.375rem);
    color: var(--gray-dark);
    margin-bottom: 0;
    opacity: 0.85;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
    font-variation-settings: "wdth" 100;
}

/* ===== Hero Right - Animated Element ===== */
.hero-right {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-element {
    position: relative;
    width: 100%;
    height: 100%;
}

/* DNA Helix Strands */
.circle {
    position: absolute;
    border-radius: 50%;
}

.circle-1 {
    width: 20px;
    height: 20px;
    background: var(--accent-blue-dark);
    top: 50%;
    left: 50%;
    animation: orbit1 4s linear infinite;
    box-shadow: 0 0 20px rgba(0, 71, 153, 0.5);
}

.circle-2 {
    width: 16px;
    height: 16px;
    background: var(--accent-blue-light);
    top: 50%;
    left: 50%;
    animation: orbit2 4s linear infinite;
    box-shadow: 0 0 15px rgba(1, 142, 239, 0.5);
}

.circle-3 {
    width: 14px;
    height: 14px;
    background: var(--black);
    top: 50%;
    left: 50%;
    animation: orbit3 4s linear infinite;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Data Flow Lines */
.floating-shape {
    position: absolute;
    background: transparent;
    border: 2px solid var(--accent-blue-dark);
    border-radius: 50%;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 8s linear infinite;
    opacity: 0.3;
}

.shape-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: var(--accent-blue-light);
    animation: rotate 12s linear infinite reverse;
    opacity: 0.2;
}

.shape-3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: var(--accent-blue-dark);
    border-style: dashed;
    animation: rotate 16s linear infinite;
    opacity: 0.15;
}

/* ===== Hero Bottom Section ===== */
.hero-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6rem;
    width: 100%;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes orbit1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(150px) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    0% {
        transform: translate(-50%, -50%) rotate(120deg) translateX(120px) rotate(-120deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(480deg) translateX(120px) rotate(-480deg);
    }
}

@keyframes orbit3 {
    0% {
        transform: translate(-50%, -50%) rotate(240deg) translateX(90px) rotate(-240deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(600deg) translateX(90px) rotate(-600deg);
    }
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* ===== Responsive Design ===== */
/* Tablet */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero {
        padding: calc(var(--header-height) + 3rem) 1rem 1.5rem;
        padding-bottom: 6rem;
        align-items: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-left {
        text-align: center;
        order: 2;
    }
    
    .hero-right {
        order: 1;
    }
    
    .hero-title {
        white-space: normal;
        font-size: clamp(2.6rem, 5.2vw, 4.68rem);
    }
    
    .hero-subtitle {
        max-width: 100%;
        font-size: clamp(0.95rem, 1.9vw, 1.2rem);
        opacity: 0.85;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-right {
        height: 350px;
    }
    
    .circle-1 {
        width: 16px;
        height: 16px;
    }
    
    .circle-2 {
        width: 14px;
        height: 14px;
    }
    
    .circle-3 {
        width: 12px;
        height: 12px;
    }
    
    .shape-1 {
        width: 150px;
        height: 150px;
    }
    
    .shape-2 {
        width: 220px;
        height: 220px;
    }
    
    .shape-3 {
        width: 300px;
        height: 300px;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-bluish-white);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1.46rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hero {
        padding: calc(var(--header-height) + 2rem) 0.75rem 1rem;
        padding-bottom: 4rem;
        align-items: center;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-right {
        height: 300px;
    }
    
    .circle-1 {
        width: 14px;
        height: 14px;
    }
    
    .circle-2 {
        width: 12px;
        height: 12px;
    }
    
    .circle-3 {
        width: 10px;
        height: 10px;
    }
    
    .shape-1 {
        width: 120px;
        height: 120px;
    }
    
    .shape-2 {
        width: 180px;
        height: 180px;
    }
    
    .shape-3 {
        width: 240px;
        height: 240px;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-bluish-white);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1.31rem;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .hero-container {
        max-width: 1400px;
    }
}
