/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0f1729;
    --primary-accent: #d4e157;
    --secondary: #f5f1e3;
    --background: #0a0e1a;
    --blue-avatar: #5b7cff;
    --green-avatar: #26c281;
    --pink-avatar: #e84393;
    --card-bg: rgba(15, 23, 41, 0.6);
    --glow-color: rgba(212, 225, 87, 0.5);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background);
    color: var(--secondary);
    overflow-x: hidden;
}

/* (Custom cursor removed) */

/* ===== CANVAS BACKGROUNDS ===== */
#matrix-canvas,
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#matrix-canvas {
    opacity: 0.15;
}

#particles-canvas {
    opacity: 0.6;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 50%, #0f1729 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

.logo-container {
    margin-bottom: 3rem;
    animation: fadeInScale 1.5s ease-out;
}

/* Restyled logo */
.logo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(212, 225, 87, 0.4);
    box-shadow: 0 0 20px rgba(212, 225, 87, 0.25), 0 0 60px rgba(212, 225, 87, 0.15) inset;
    animation: logoFloat 8s ease-in-out infinite; /* softer */
    filter: none;
}

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

/* (logoPulse removed) */

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease-out backwards;
    text-shadow: 0 0 40px rgba(212, 225, 87, 0.3);
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(245, 241, 227, 0.8);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn::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, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-accent);
    color: var(--primary-dark);
    box-shadow: 0 10px 40px rgba(212, 225, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 225, 87, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(212, 225, 87, 0.1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 225, 87, 0.2);
}

/* ===== FLOATING SHAPES ===== */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border: 2px solid var(--primary-accent);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 25%;
    border-radius: 50%;
    animation-delay: 1s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 50%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(40px, 10px) rotate(270deg);
    }
}

/* (Scroll indicator removed) */

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(245, 241, 227, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== TEAM SECTION ===== */
.team-section {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--background) 0%, #12182e 100%);
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.team-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 225, 87, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 225, 87, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-accent);
    box-shadow: 0 20px 60px rgba(212, 225, 87, 0.3);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-card:hover .card-glow {
    opacity: 0.3;
}

.avatar-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.team-card:hover .avatar {
    transform: scale(1.1) rotate(5deg);
}

.avatar-blue {
    background: linear-gradient(135deg, #5b7cff 0%, #3d5eff 100%);
    box-shadow: 0 10px 40px rgba(91, 124, 255, 0.4);
}

.avatar-green {
    background: linear-gradient(135deg, #26c281 0%, #1ea76d 100%);
    box-shadow: 0 10px 40px rgba(38, 194, 129, 0.4);
}

.avatar-pink {
    background: linear-gradient(135deg, #e84393 0%, #d63384 100%);
    box-shadow: 0 10px 40px rgba(232, 67, 147, 0.4);
}

.avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-accent);
    border-radius: 50%;
    opacity: 0;
    animation: ringPulse 2s ease-in-out infinite;
}

.team-card:hover .avatar-ring {
    opacity: 1;
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.member-role {
    font-size: 1rem;
    color: rgba(245, 241, 227, 0.7);
    line-height: 1.5;
}

/* ===== GEOMETRIC BACKGROUND ===== */
.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    border: 1px solid rgba(212, 225, 87, 0.1);
    opacity: 0.5;
}

.geo-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -100px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: geoRotate 30s linear infinite;
}

.geo-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    right: -150px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: geoRotate 40s linear infinite reverse;
}

.geo-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: geoPulse 20s ease-in-out infinite;
}

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

@keyframes geoPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.1;
    }
}

/* ===== PACKAGES SECTION ===== */
.packages-section {
    padding: 8rem 0;
    background: var(--background);
    position: relative;
}

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

.package-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 225, 87, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-accent);
    box-shadow: 0 20px 60px rgba(212, 225, 87, 0.2);
}

.package-card.featured {
    border-color: var(--primary-accent);
    box-shadow: 0 10px 40px rgba(212, 225, 87, 0.3);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-accent);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(212, 225, 87, 0.4);
}

.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.package-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: rgba(212, 225, 87, 0.1);
    border: 2px solid var(--primary-accent);
    border-radius: 50%;
    color: var(--primary-accent);
    transition: all 0.3s ease;
}

.package-card:hover .package-icon {
    transform: rotateY(360deg);
    background: rgba(212, 225, 87, 0.2);
}

.package-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.package-description {
    color: rgba(245, 241, 227, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
    min-height: 60px;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.75rem 0;
    color: rgba(245, 241, 227, 0.8);
    border-bottom: 1px solid rgba(212, 225, 87, 0.1);
    position: relative;
    padding-left: 30px;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.btn-package {
    width: 100%;
    background: transparent;
    color: var(--primary-accent);
    border: 2px solid var(--primary-accent);
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-package:hover {
    background: rgba(212, 225, 87, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    padding: 3rem 0;
    background: var(--primary-dark);
    border-top: 1px solid rgba(212, 225, 87, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-logo-img {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-text {
    color: rgba(245, 241, 227, 0.6);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Removed custom cursor overrides */
    .logo { width:160px; height:160px; }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
    }
    
    .team-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
    
    .shape {
        display: none;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}
