:root {
    --primary-blue: #068fff;
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Jura', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.logo img {
    height: 32px;
    margin-right: 8px;
}

.logo-accent {
    color: var(--primary-blue);
}

.header-cta {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: #0556cc;
}

.btn-outline {
    border: 2px solid var(--black);
    color: var(--black);
    background: transparent;
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--white);
    overflow-x: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 100%;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--black);
}

.hero-text .highlight {
    color: var(--primary-blue);
}

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.5;
}

.download-section {
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.app-store-btn {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.app-store-btn:hover {
    transform: translateY(-5px);
}

.app-store-btn img {
    transition: none;
}

.app-store-btn:hover img {
    transform: none;
}

.app-store-btn img {
    height: 300px;
    width: auto;
    max-width: 180px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.hero-image {
    text-align: center;
    max-width: 100%;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    width: auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--gray-100);
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--black);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

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

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Interactive Demo Section */
.demo-section {
    padding: 100px 0;
    background: var(--white);
    overflow-x: hidden;
}

.ballistic-demo-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(6, 143, 255, 0.1);
    background: #f8f9fa;
    border: 2px solid rgba(6, 143, 255, 0.1);
}

.demo-instructions {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-blue), #068fff);
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.shooting-areas {
    display: flex;
    min-height: 400px;
    position: relative;
}

.shooting-area {
    flex: 1;
    position: relative;
    padding: 30px 20px;
    overflow: hidden;
    cursor: crosshair;
    transition: all 0.3s ease;
}

.with-ballistiq {
    background: linear-gradient(145deg, #f0f9ff, #e0f7fa);
    border-right: 2px solid #068fff;
}

.without-ballistiq {
    background: linear-gradient(145deg, #fef7f7, #ffebee);
}

.area-header {
    text-align: center;
    margin-bottom: 30px;
}

.area-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.with-ballistiq .area-title {
    color: #068fff;
}

.without-ballistiq .area-title {
    color: #ff5252;
}

.area-subtitle {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 500;
}

.target {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    background: radial-gradient(circle, #ff5252 0%, #ff1744 15%, #fff 20%, #ff5252 25%, #fff 30%, #ff5252 35%, #fff 40%, #ff5252 45%);
    border-radius: 50%;
    border: 3px solid #333;
    box-shadow: 0 4px 15px rgba(255, 82, 82, 0.3);
    animation: float 3s ease-in-out infinite;
}

.target::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-55%) scale(1.05); }
}

.ballistic-data {
    position: absolute;
    top: 80px;
    left: 20px;
    background: rgba(0, 255, 200, 0.1);
    border: 1px solid #068fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 11px;
    text-align: center;
    min-width: 80px;
}

.data-title {
    font-weight: 700;
    color: #068fff;
    margin-bottom: 3px;
}

.data-value {
    color: #666;
    font-size: 10px;
}

.wind-indicator {
    position: absolute;
    top: 80px;
    right: 20px;
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid #ff5252;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 11px;
    text-align: center;
    min-width: 60px;
}

.wind-title {
    font-weight: 700;
    color: #ff5252;
    margin-bottom: 5px;
}

.wind-arrow {
    width: 20px;
    height: 2px;
    background: #ff5252;
    position: relative;
    margin: 5px auto;
    animation: windBlow 2s ease-in-out infinite;
}

.wind-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 0;
    height: 0;
    border-left: 6px solid #ff5252;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}

@keyframes windBlow {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(1.2); }
}

.wind-value {
    color: #666;
    font-size: 10px;
    font-weight: 500;
}

.stats {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.with-ballistiq .stat-number {
    color: #068fff;
}

.without-ballistiq .stat-number {
    color: #ff5252;
}

.stat-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.crosshair {
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

.crosshair::before,
.crosshair::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.crosshair::before {
    width: 20px;
    height: 2px;
    top: -1px;
    left: -10px;
}

.crosshair::after {
    width: 2px;
    height: 20px;
    top: -10px;
    left: -1px;
}

.bullet {
    position: absolute;
    width: 3px;
    height: 6px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 1px;
    box-shadow: 0 0 8px #ffd700;
    z-index: 20;
}

.trajectory {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
    z-index: 15;
    border-radius: 1px;
}

.hit-effect {
    position: absolute;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #ffd700, #ffed4e, transparent);
    border-radius: 50%;
    z-index: 25;
    animation: hitExplosion 0.4s ease-out forwards;
}

@keyframes hitExplosion {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.miss-effect {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #ff5252, transparent);
    border-radius: 50%;
    z-index: 25;
    animation: missExplosion 0.5s ease-out forwards;
}

@keyframes missExplosion {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .demo-section {
        padding: 40px 0;
    }

    .ballistic-demo-container {
        margin: 0 5px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(6, 143, 255, 0.15);
    }

    .demo-instructions {
        padding: 15px;
        font-size: 14px;
        background: linear-gradient(135deg, var(--primary-blue), #068fff);
    }

    .demo-instructions strong {
        color: #fff;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }

    .shooting-areas {
        flex-direction: column;
        min-height: 600px;
    }

    .shooting-area {
        min-height: 300px;
        padding: 25px 20px;
        position: relative;
        touch-action: manipulation;
    }

    .with-ballistiq {
        border-right: none;
        border-bottom: 3px solid #068fff;
    }

    .area-header {
        margin-bottom: 25px;
    }

    .area-title {
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 1.2px;
    }

    .area-subtitle {
        font-size: 12px;
        margin-top: 3px;
    }

    .target {
        width: 55px;
        height: 55px;
        right: 20%;
        top: 45%;
        border-width: 2px;
        box-shadow: 0 3px 12px rgba(255, 82, 82, 0.4);
    }

    .target::before {
        width: 5px;
        height: 5px;
    }

    .stats {
        gap: 18px;
        padding: 12px 18px;
        bottom: 15px;
        backdrop-filter: blur(15px);
        border-radius: 10px;
    }

    .stat-number {
        font-size: 22px;
        font-weight: 800;
    }

    .stat-label {
        font-size: 11px;
        margin-top: 2px;
    }

    .ballistic-data,
    .wind-indicator {
        padding: 8px 10px;
        font-size: 9px;
        min-width: 65px;
        top: 70px;
        border-radius: 6px;
    }

    .ballistic-data {
        left: 15px;
    }

    .wind-indicator {
        right: 15px;
    }

    .data-title,
    .wind-title {
        font-size: 9px;
        font-weight: 800;
    }

    .data-value,
    .wind-value {
        font-size: 8px;
        margin-top: 2px;
    }

    .wind-arrow {
        width: 16px;
        height: 1.5px;
        margin: 3px auto;
    }

    .wind-arrow::after {
        border-left: 5px solid #ff5252;
        border-top: 2.5px solid transparent;
        border-bottom: 2.5px solid transparent;
        top: -1.5px;
    }

    /* Enhanced crosshair for mobile */
    .crosshair::before,
    .crosshair::after {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    }

    .crosshair::before {
        width: 24px;
        height: 3px;
        top: -1.5px;
        left: -12px;
    }

    .crosshair::after {
        width: 3px;
        height: 24px;
        top: -12px;
        left: -1.5px;
    }

    /* Larger touch targets for mobile */
    .bullet {
        width: 4px;
        height: 7px;
    }

    .trajectory {
        height: 3px;
    }

    .hit-effect {
        width: 30px;
        height: 30px;
    }

    .miss-effect {
        width: 20px;
        height: 20px;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .demo-section {
        padding: 30px 0;
    }

    .ballistic-demo-container {
        margin: 0 3px;
        border-radius: 10px;
    }

    .demo-instructions {
        padding: 12px;
        font-size: 13px;
    }

    .shooting-area {
        min-height: 280px;
        padding: 20px 15px;
    }

    .area-title {
        font-size: 14px;
    }

    .area-subtitle {
        font-size: 11px;
    }

    .target {
        width: 50px;
        height: 50px;
        right: 18%;
    }

    .stats {
        gap: 12px;
        padding: 10px 14px;
        bottom: 12px;
    }

    .stat-number {
        font-size: 18px;
    }

    .stat-label {
        font-size: 10px;
    }

    .ballistic-data,
    .wind-indicator {
        padding: 6px 8px;
        font-size: 8px;
        min-width: 55px;
        top: 60px;
    }

    .data-title,
    .wind-title {
        font-size: 8px;
    }

    .data-value,
    .wind-value {
        font-size: 7px;
    }
}

/* Large phones and small tablets in landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .shooting-areas {
        flex-direction: row;
        min-height: 400px;
    }

    .shooting-area {
        min-height: 400px;
        padding: 20px 15px;
    }

    .with-ballistiq {
        border-right: 3px solid #068fff;
        border-bottom: none;
    }

    .target {
        top: 50%;
        right: 15%;
    }

    .stats {
        bottom: 20px;
    }
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.play-button:hover {
    transform: scale(1.1);
    background: #0556cc;
}

.play-button svg {
    width: 32px;
    height: 32px;
    fill: white;
    margin-left: 4px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials .section-subtitle {
    color: var(--gray-400);
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 600%; /* 6 slides × 100% */
}

.testimonial-slide {
    min-width: 16.666%; /* 100% / 6 slides */
    display: flex;
    justify-content: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    background: var(--gray-900);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 143, 255, 0.2);
}

.testimonial-rating {
    color: #ffd700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray-300);
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--white);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    background: var(--primary-blue);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 143, 255, 0.3);
}

.carousel-btn:hover {
    background: #0556cc;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(6, 143, 255, 0.4);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--primary-blue);
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
    overflow-x: hidden;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .app-store-btn img {
    height: 60px;
    max-width: 180px;
}

.cta-buttons .app-store-btn-large img {
    height: 75px;
    max-width: 220px;
    transition: transform 0.3s ease;
}

.cta-buttons .app-store-btn-large:hover img {
    transform: scale(1.05);
}

.cta-buttons .app-store-btn-xl img {
    height: 95px;
    max-width: 280px;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}

.cta-buttons .app-store-btn-xl:hover img {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(6, 143, 255, 0.25);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 20px;
    text-align: center;
    color: var(--gray-500);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-image img {
        max-height: 300px;
    }

    .section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .cta-section h2 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .download-buttons {
        justify-content: center;
        gap: 10px;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .header-cta {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .video-container {
        max-width: 100%;
        margin: 0 10px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button svg {
        width: 24px;
        height: 24px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    /* Testimonials Carousel Mobile */
    .testimonial-slide {
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 24px 20px;
        max-width: 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        gap: 20px;
    }

    .hero-image img {
        max-height: 250px;
    }

    .app-store-btn img {
        height: 55px;
        max-width: 170px;
    }

    .cta-buttons .app-store-btn-large img {
        height: 65px;
        max-width: 200px;
    }

    .cta-buttons .app-store-btn-xl img {
        height: 80px;
        max-width: 240px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .app-store-btn-xl img {
        height: 70px;
        max-width: 210px;
    }

    .hero-stats {
        gap: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 25px 15px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

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

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease forwards;
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s ease forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

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

.hero-image img {
    animation: floating 6s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Parallax Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(6, 143, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 143, 255, 0.1) 0%, transparent 50%);
    animation: parallaxMove 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes parallaxMove {
    0%, 100% { transform: translateX(0) translateY(0); }
    33% { transform: translateX(30px) translateY(-30px); }
    66% { transform: translateX(-20px) translateY(20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Glowing effect for CTA buttons */
.app-store-btn {
    position: relative;
    overflow: hidden;
}

.app-store-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.app-store-btn:hover::before {
    left: 100%;
}

/* Particle effect background */
.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(6, 143, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(6, 143, 255, 0.1) 0%, transparent 50%);
    animation: particleFloat 15s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-10px); }
}

.features {
    position: relative;
}

/* Text typing effect */
.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--primary-blue);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-blue) }
}
