/* Antigravity Redesign Specific Styles */

/* Hero Video */
.hero-video-container {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 3px solid var(--neon-green);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.95));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(57, 255, 20, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}

/* Before After Slider */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
    border: 2px solid var(--neon-green);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.comparison-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-after {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    z-index: 1;
}

.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--neon-green);
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 10px #000;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
    z-index: 3;
    pointer-events: none;
    border: 2px solid #000;
}

.slider-control {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 4;
    cursor: ew-resize;
}

/* Feature Cards */
.feature-card {
    background: #000;
    border: 1px solid var(--gray-medium);
    padding: 3rem 2rem;
    border-radius: 8px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--neon-green);
    transform: scaleX(0);
    transition: 0.3s;
    transform-origin: left;
}

.feature-card:hover { border-color: var(--neon-green); box-shadow: 0 0 20px var(--neon-green-dim); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
}

/* Price Cards */
.price-card {
    background: var(--gray-dark);
    border: 1px solid var(--gray-medium);
    padding: 3rem;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    position: relative;
    transition: 0.4s;
}

.price-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }
.price-card .price { font-size: 2.5rem; font-weight: 900; color: #aaa; margin-bottom: 1rem; border-bottom: 1px solid var(--gray-medium); padding-bottom: 1rem; }

.price-card.popular {
    background: #000;
    border: 2px solid var(--neon-green);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.15);
}

.price-card.popular .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-green);
    color: #000;
    padding: 0.5rem 1rem;
    font-weight: 900;
    font-size: 0.8rem;
    border-radius: 20px;
    letter-spacing: 1px;
}

/* Hero Geometric Design */
.hero-image-container {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #0b0b0b;
    border-bottom: 3px solid var(--danger);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
}

/* Floating Shapes */
.shape {
    position: absolute;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.shape-triangle-1 {
    width: 0; height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--neon-green);
    top: 20%; left: 15%;
    transform: rotate(45deg);
    animation: float 6s infinite ease-in-out;
}

.shape-circle-1 {
    width: 80px; height: 80px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    bottom: 20%; right: 15%;
    animation: float 8s infinite ease-in-out reverse;
}

.shape-line-1 {
    width: 120px; height: 5px;
    background-color: var(--neon-green);
    top: 30%; right: 25%;
    transform: rotate(-45deg);
    animation: float 5s infinite ease-in-out;
}

.shape-line-2 {
    width: 150px; height: 5px;
    background-color: #555555;
    bottom: 35%; left: 20%;
    transform: rotate(25deg);
    animation: float 7s infinite ease-in-out reverse;
}

.shape-triangle-2 {
    width: 0; height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 40px solid #555555;
    bottom: 10%; left: 5%;
    transform: rotate(-20deg);
}

.shape-circle-2 {
    width: 40px; height: 40px;
    border: 3px solid var(--neon-green);
    border-radius: 50%;
    top: 10%; right: 5%;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.program-item {
    position: relative;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #111;
}

.program-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) brightness(0.4);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.program-item:hover img {
    filter: grayscale(0%) brightness(0.8);
    transform: scale(1.1);
}

.program-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 2;
    transition: 0.3s;
}

.program-overlay h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
}

.btn-program {
    background: var(--neon-green) !important;
    border-color: var(--neon-green) !important;
    color: #000 !important;
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.program-item:hover .btn-program {
    opacity: 1;
    transform: translateY(0);
}

.disabled-card img {
    filter: grayscale(100%) brightness(0.3);
}

/* Mobile Program Grid Adjustment - Force 2x2 but adjust height so it fits nicely on mobile */
@media (max-width: 768px) {
    .program-item {
        height: 250px;
    }
    .program-overlay h3 {
        font-size: 1rem;
    }
    .program-overlay {
        padding: 1rem;
    }
    .btn-program {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
}
