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

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #0a0a0a;
    overflow-x: hidden
}

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

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #1a1a2e, #0a0a0a 70%)
}

.bg-animation:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite
}

@keyframes gridMove {
    0% {
        transform: translate(0)
    }

    to {
        transform: translate(10px, 10px)
    }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #0a0a0acc;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: all .3s ease
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: all .3s ease;
    position: relative
}

.nav-links a:hover {
    color: #667eea
}

.nav-links a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width .3s ease
}

.nav-links a:hover:after {
    width: 100%
}

.cta-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: .8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
    display: inline-block
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px #667eea4d
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.hero-text h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1
}

.hero-text p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.8
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    padding: .8rem 2rem;
    border: 2px solid #667eea;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
    display: inline-block
}

.btn-secondary:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px)
}

.hero-visual {
    position: relative;
    height: 500px
}

.hero-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px #00000040;
    transform: perspective(1200px) rotateY(-10deg) rotateX(5deg);
    opacity: 0;
    animation: fadeInRight 1.2s ease-out forwards
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate(60px) perspective(1200px) rotateY(-15deg) rotateX(5deg)
    }

    to {
        opacity: 1;
        transform: translate(0) perspective(1200px) rotateY(-10deg) rotateX(5deg)
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem
}

.feature-card {
    background: #ffffff0d;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: 2rem;
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.feature-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, .1), transparent);
    transition: left .5s ease
}

.feature-card:hover:before {
    left: 100%
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #667eea4d;
    box-shadow: 0 20px 40px #667eea1a
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.8
}

.stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea1a, #764ba21a)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .5rem
}

.stat-item p {
    color: #b0b0b0;
    font-size: 1.1rem
}

.cta-section {
    padding: 8rem 0;
    text-align: center
}

.cta-content {
    background: #ffffff0d;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 30px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden
}

.cta-content:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(102, 126, 234, .1), transparent);
    animation: rotate 20s linear infinite
}

@keyframes rotate {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.cta-content>* {
    position: relative;
    z-index: 1
}

footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    color: #666
}

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

    .nav-links {
        display: none
    }

    .hero-buttons {
        justify-content: center
    }
}

.features {
    padding: 8rem 0;
    position: relative
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 4rem
}

.features-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-direction: row-reverse
}

.features-list {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 2rem
}

.feature-card {
    background: #ffffff0d;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: 2rem;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp .8s ease forwards
}

.feature-card:nth-child(1) {
    animation-delay: .2s
}

.feature-card:nth-child(2) {
    animation-delay: .6s
}

.feature-card:nth-child(3) {
    animation-delay: 1s
}

.feature-card:nth-child(4) {
    animation-delay: 1.4s
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px)
    }

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

.features-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center
}

.feature-image {
    max-width: 90%;
    border-radius: 20px;
    box-shadow: 0 12px 30px #0003;
    position: absolute;
    opacity: 0;
    animation: fadeInLeft 1s ease forwards
}

.feature-image.img1 {
    z-index: 2;
    transform: translate(0) rotate(-3deg);
    animation-delay: 1.4s
}

.feature-image.img2 {
    z-index: 1;
    transform: translate(40px, 40px) rotate(3deg) scale(.95);
    animation-delay: 1.8s
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate(-60px) rotate(-5deg) scale(.9)
    }

    to {
        opacity: 1
    }
}

.hero-visuall {
    position: relative;
    height: 500px
}

.hero-imagel {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px #00000040;
    transform: perspective(1200px) rotateY(10deg) rotateX(-15deg);
    opacity: 0;
    animation: fadeInLeft 1.2s ease-out forwards
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate(60px) perspective(1200px) rotateY(15deg) rotateX(5deg)
    }

    to {
        opacity: 1;
        transform: translate(0) perspective(1200px) rotateY(15deg) rotateX(8deg)
    }
}

.video-demo {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    overflow: hidden;
}

.video-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1), transparent 70%);
    pointer-events: none;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 0;
    animation: videoFadeIn 1.5s ease-out forwards;
}

@keyframes videoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #2d2d3a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.play-button {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.video-title {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.video-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.video-title p {
    color: #b0b0b0;
    font-size: 1.2rem;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-video {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-video:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Floating elements animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite linear;
}

.floating-element:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    left: 35%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    left: 50%;
    animation-delay: 6s;
}

.floating-element:nth-child(5) {
    left: 65%;
    animation-delay: 8s;
}

.floating-element:nth-child(6) {
    left: 80%;
    animation-delay: 10s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
        transform: translateY(90vh) scale(1);
    }

    90% {
        opacity: 0.6;
        transform: translateY(-10vh) scale(1);
    }

    100% {
        transform: translateY(-20vh) scale(0);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .video-title h2 {
        font-size: 2rem;
    }

    .video-title {
        top: -60px;
    }

    .video-container {
        width: 95%;
    }

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

    .play-button::before {
        border-left: 16px solid #fff;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }
}

/* Add spacing between sections */
.video-demo {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    overflow: hidden;
    padding: 80px 0;
    /* space above and below */
}

/* Video container */
.video-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 0;
    animation: videoFadeIn 1.5s ease-out forwards;
}

/* Video overlay - fullscreen on click */
.video-overlay {
    position: fixed;
    /* fullscreen */
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.5s ease;
    z-index: 1000;
}

.video-overlay.active {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
}

/* Video inside overlay */
#demoVideo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    transition: all 0.5s ease;
}

/* Close button */
.close-video {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-video:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
    /* optional styling */
}