/* --------------------------------------------------
   GLOBAL RESET
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* --------------------------------------------------
   HERO SECTION (SMALLER VERSION)
-------------------------------------------------- */
#hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    padding-top: 80px;
    text-align: center;
    overflow: visible;
}

/* Glow behind hero */
.hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,215,0,0.22), transparent 70%);
    filter: blur(65px);
    z-index: 0;
}

/* Banner */
.ixboom-banner-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.ixboom-banner {
    width: 100%;
    height: auto;
    display: block;
    will-change: transform;
}

.ixboom-top-image {
    width: 100%;
    max-width: 720px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 0 18px rgba(212,175,55,0.6));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* Hero text */
.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 5px;
    z-index: 3;
    position: relative;
}

.hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-top: 8px;
    z-index: 3;
    position: relative;
}

/* Button */
.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    background: linear-gradient(90deg, #d4af37, #f5d76e);
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s ease;
    z-index: 3;
    position: relative;
}

.hero-btn:hover {
    transform: scale(1.05);
}

/* --------------------------------------------------
   PARTICLES (smaller)
-------------------------------------------------- */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    width: 6px;
    height: 6px;
    background: #d4af37;
    border-radius: 50%;
    position: absolute;
    opacity: 0.7;
    animation: floatParticle 6s infinite ease-in-out;
}

@keyframes floatParticle {
    0% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-14px); opacity: 1; }
    100% { transform: translateY(0); opacity: 0.7; }
}

/* --------------------------------------------------
   FEATURES SECTION
-------------------------------------------------- */
.features {
    padding: 80px 20px;
    margin-top: -10px;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* Cards */
.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
    max-width: 420px; /* 🔥 NEW: Prevents stretching on tablets */
    margin: 0 auto;   /* 🔥 NEW: Centers cards on all devices */
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,175,55,0.6);
}

.feature-icon {
    width: 180px;
    height: auto;
    margin-bottom: 10px;
    alignment: center;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-list {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 20px;
}

.info-list li {
    margin-bottom: 6px;
    opacity: 0.85;
}

.info-highlight {
    font-weight: 600;
    color: #f5d76e;
}

/* --------------------------------------------------
   🔥 RESPONSIVE VIDEO WRAPPER (9:16)
-------------------------------------------------- */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.77%; /* 9:16 aspect ratio */
    border-radius: 14px;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------
   🔥 PILLAR VIDEO (YOUR REQUESTED CODE)
-------------------------------------------------- */
.pillar-video {
    width: 105%;        /* slightly larger than wrapper */
    height: 105%;
    object-fit: cover;
    transform: scale(1); /* GSAP will animate this */
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.footer {
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .ixboom-top-image {
        max-width: 260px;
    }

    /* 🔥 MOBILE FIX: Cards fill screen width */
    .feature-card {
        max-width: 100%;
    }
}

/* Remove unwanted space between hero and features */
#hero {
    margin-bottom: 0;
    padding-bottom: 0;
}

.features {
    margin-top: 5px; /* reduce or set to 0 if needed */
    padding-top: 0;
}

/* Remove default browser spacing */
section {
    margin: 0;
    padding: 0;
}

/* Ensure the GIF banner has no extra spacing */
.ixboom-top-image {
    display: block;
    margin: 0 auto;
    padding: 0;
}

/* App Store Section */
.app-download-section {
    text-align: center;
    margin-top: 0px;
    padding: 40px 0;
}

.download-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.store-logo {
    width: 180px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover effect */
.store-logo:hover {
    transform: scale(1.08);
    opacity: 0.85;
}

/* Smooth grow animation */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.77%; /* 9:16 */
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.35s ease;
}

.video-wrapper:hover,
.video-wrapper.active {
    transform: scale(1.75); /* 75% growth */
    z-index: 10;
}
