/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #FEFF6A;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(254, 255, 106, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #2c2c2c;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #2c2c2c;
}

.logo-icon {
    font-size: 2rem;
    animation: logoSpin 3s linear infinite;
}

@keyframes logoSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4a4a4a;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c2c2c;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2c2c2c;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(254, 255, 106, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 2px solid #2c2c2c;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 44, 44, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #2c2c2c;
    border: 2px solid #2c2c2c;
}

.btn-secondary:hover {
    background: #2c2c2c;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Sun Animation */
.sun-animation {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 200px;
    height: 200px;
    z-index: 1;
}

.sun-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #2c2c2c;
    border-radius: 50%;
    background: rgba(254, 255, 106, 0.8);
    animation: sunPulse 3s ease-in-out infinite;
}

.sun-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sun-dots::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: sunDots 4s linear infinite;
}

@keyframes sunPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes sunDots {
    0% {
        border-color: transparent;
        transform: translate(-50%, -50%) rotate(0deg);
    }
    25% {
        border-color: #2c2c2c;
        transform: translate(-50%, -50%) rotate(90deg);
    }
    50% {
        border-color: transparent;
        transform: translate(-50%, -50%) rotate(180deg);
    }
    75% {
        border-color: #2c2c2c;
        transform: translate(-50%, -50%) rotate(270deg);
    }
    100% {
        border-color: transparent;
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: #FEFF6A;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Account for fixed navbar */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c2c2c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.sparkle {
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #4a4a4a;
    margin-bottom: 40px;
    line-height: 1.6;
}

.heart {
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(44, 44, 44, 0.3);
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-items {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-item {
    position: absolute;
    font-size: 2rem;
    animation: float-up 4s ease-in-out infinite;
}

.floating-item.drone { top: 20%; left: 10%; animation-delay: 0s; }
.floating-item.grain { top: 30%; right: 15%; animation-delay: 1s; }
.floating-item.drum { bottom: 30%; left: 20%; animation-delay: 2s; }
.floating-item.book { top: 60%; right: 10%; animation-delay: 3s; }
.floating-item.phone { bottom: 20%; right: 25%; animation-delay: 4s; }

@keyframes float-up {
    0% { transform: translateY(100px) scale(0); opacity: 0; }
    50% { transform: translateY(-50px) scale(1); opacity: 1; }
    100% { transform: translateY(-100px) scale(0.8); opacity: 0; }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2c2c2c;
}

.section-title.center {
    text-align: center;
    margin-bottom: 60px;
}

.icon {
    display: inline-block;
    margin-right: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 30px;
}

.section-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Durability Section */
.durability {
    background: #f8f9fa;
}

.falling-laptop {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.laptop-falling {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    animation: fall 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.laptop-falling:hover {
    transform: scale(1.05);
}

@keyframes fall {
    0% { transform: translateY(-100px) rotate(0deg); }
    50% { transform: translateY(50px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

.parachute {
    position: absolute;
    top: -50px;
    font-size: 3rem;
    animation: parachute 3s ease-in-out infinite;
}

@keyframes parachute {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Future Control Section */
.future-control {
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    color: white;
}

.future-control .section-title,
.future-control .section-description {
    color: white;
}

.drone-control {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.laptop-drones {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.laptop-drones:hover {
    transform: scale(1.05);
}

.drones-flying {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.drone-flying {
    position: absolute;
    font-size: 2rem;
    animation: fly 4s ease-in-out infinite;
}

.drone-flying:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.drone-flying:nth-child(2) { top: 40%; right: 30%; animation-delay: 1s; }
.drone-flying:nth-child(3) { bottom: 30%; left: 40%; animation-delay: 2s; }

@keyframes fly {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    50% { transform: translateY(-100px) scale(1); opacity: 1; }
    100% { transform: translateY(-200px) scale(0.5); opacity: 0; }
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.feature-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 10px;
}

/* Meme Section */
.meme-section {
    background: #fff;
}

.meme-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #333;
    border-left: 4px solid #2c2c2c;
    padding-left: 20px;
    margin: 30px 0;
    position: relative;
}

.meme-quote::before {
    content: '"';
    font-size: 4rem;
    color: #2c2c2c;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

.meme-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: wiggle 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.meme-image:hover {
    transform: scale(1.05);
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}

/* Features Section */
.features {
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.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(44, 44, 44, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.feature-card.battle-edition {
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    color: white;
}

.feature-card.battle-edition h3,
.feature-card.battle-edition p {
    color: white;
}

.battle-edition-img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.battle-edition-img:hover {
    transform: scale(1.05);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    color: white;
    text-align: center;
}

.cta .section-title {
    color: white;
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .section-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .sun-animation {
        top: 20px;
        right: 20px;
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .sun-animation {
        top: 10px;
        right: 10px;
        width: 80px;
        height: 80px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Path Section */
.success-path {
    background: linear-gradient(135deg, #FEFF6A 0%, #FFF8A0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.success-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%232c2c2c" opacity="0.1"/></svg>') repeat;
    animation: backgroundFloat 20s linear infinite;
}

@keyframes backgroundFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.success-story {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.story-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.story-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-step.reverse {
    direction: rtl;
}

.story-step.reverse .step-content {
    direction: ltr;
}

.step-image {
    position: relative;
    text-align: center;
}

.story-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.story-img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.step-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(44, 44, 44, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.step-content {
    padding: 20px;
}

.step-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 20px;
    position: relative;
}

.step-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2c2c2c, #4a4a4a);
    border-radius: 2px;
}

.step-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
}

/* Video Styles */
.laptop-falling {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.laptop-falling:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Success Path */
@media (max-width: 768px) {
    .story-step {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .story-step.reverse {
        direction: ltr;
    }
    
    .step-content h3 {
        font-size: 1.5rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    .success-path {
        padding: 60px 0;
    }
}

/* Additional Responsive Styles */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
}
