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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, #1a0f0f 0%, #0a0a0a 70%);
}

.logo-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.mandala-background {
    position: absolute;
    width: clamp(500px, 75vw, 800px);
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

.logo-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    letter-spacing: 0.15em;
}

.company-name {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    color: transparent;
    background: linear-gradient(45deg, #ff6644, #ff4444, #cc2222);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0 0 30px rgba(255, 68, 68, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 3;
}

@keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(255, 68, 68, 0.5);
    }
    to {
        text-shadow: 0 0 50px rgba(255, 68, 68, 0.8), 0 0 80px rgba(255, 68, 68, 0.3);
    }
}


.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #999999;
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 2s ease-out 1s forwards;
    text-transform: uppercase;
}

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


.spot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease-out;
    pointer-events: none;
    z-index: 1000;
}

.spot-small {
    width: 4px;
    height: 4px;
    background: #ff4444;
    box-shadow: 
        0 0 8px rgba(255, 68, 68, 0.8),
        0 0 16px rgba(255, 68, 68, 0.4),
        0 0 24px rgba(255, 68, 68, 0.2);
}

.spot-medium {
    width: 6px;
    height: 6px;
    background: #ff5555;
    box-shadow: 
        0 0 12px rgba(255, 85, 85, 0.9),
        0 0 20px rgba(255, 85, 85, 0.5),
        0 0 28px rgba(255, 85, 85, 0.3);
}

.spot-large {
    width: 8px;
    height: 8px;
    background: #ff6644;
    box-shadow: 
        0 0 16px rgba(255, 102, 68, 1),
        0 0 24px rgba(255, 102, 68, 0.6),
        0 0 32px rgba(255, 102, 68, 0.4);
}

/* Dark red spots */
.spot.yellow.spot-small {
    background: #cc2222;
    box-shadow: 
        0 0 8px rgba(204, 34, 34, 0.8),
        0 0 16px rgba(204, 34, 34, 0.4),
        0 0 24px rgba(204, 34, 34, 0.2);
}

.spot.yellow.spot-medium {
    background: #bb1111;
    box-shadow: 
        0 0 12px rgba(187, 17, 17, 0.9),
        0 0 20px rgba(187, 17, 17, 0.5),
        0 0 28px rgba(187, 17, 17, 0.3);
}

.spot.yellow.spot-large {
    background: #aa0000;
    box-shadow: 
        0 0 16px rgba(170, 0, 0, 1),
        0 0 24px rgba(170, 0, 0, 0.6),
        0 0 32px rgba(170, 0, 0, 0.4);
}

/* Swarm states */
.spot.leader {
    transform: scale(1.3);
    z-index: 10;
}

.spot.leader:not(.yellow) {
    background: #ff6644;
    box-shadow: 0 0 20px rgba(255, 102, 68, 1), 0 0 10px rgba(255, 136, 68, 0.8);
}

.spot.leader.yellow {
    background: #aa0000;
    box-shadow: 0 0 20px rgba(170, 0, 0, 1), 0 0 10px rgba(204, 34, 34, 0.8);
}

.spot.following {
    opacity: 0.9;
}

.spot.swarming {
    animation: swarm-pulse 2s ease-in-out infinite;
}

@keyframes swarm-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}


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

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

.content {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.about {
    display: grid;
    gap: 4rem;
    padding: 2rem 0;
}

.definition-block {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out forwards;
    border-left: 3px solid #ff4444;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.definition-block:nth-child(1) { animation-delay: 0.2s; }
.definition-block:nth-child(2) { animation-delay: 0.4s; }
.definition-block:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.definition-block h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #ff6666;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.definition-block p {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    font-weight: 300;
}

.contact {
    background: linear-gradient(180deg, transparent 0%, #0f0f0f 50%);
    padding: 4rem 2rem 2rem;
    margin-top: auto;
}

.contact-info {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-item .label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #ff4444;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-item .value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 300;
}

/* Scroll-triggered animations */
@media (prefers-reduced-motion: no-preference) {
    .definition-block {
        animation: none;
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.8s ease-out;
    }
    
    .definition-block.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem;
    }
    
    .logo-container {
        margin-bottom: 1.5rem;
    }
    
    .mandala-logo {
        width: clamp(250px, 80vw, 350px);
        opacity: 0.6;
    }
    
    .company-name {
        font-size: clamp(3rem, 15vw, 6rem);
        letter-spacing: 0.15em;
    }
    
    .logo-text {
        font-size: clamp(18px, 6vw, 28px);
    }
    
    .content {
        padding: 2rem 1rem;
    }
    
    .definition-block {
        padding-left: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        text-align: center;
    }
    
    /* Reduce animations on mobile for performance */
    .mandala-petals,
    .rotating-elements {
        animation-duration: 30s;
    }
    
    .middle-ring {
        animation-duration: 8s;
    }
}

@media (max-width: 480px) {
    .mandala-logo {
        width: clamp(200px, 90vw, 280px);
        opacity: 0.5;
    }
    
    .company-name {
        font-size: clamp(2.5rem, 18vw, 4.5rem);
        letter-spacing: 0.1em;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
}

/* Background pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 68, 68, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 68, 68, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}