/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5F5DC;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(245, 245, 220, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(222, 184, 135, 0.05) 0%, transparent 50%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1d29 0%, #2d3748 50%, #1a1d29 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 1rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Sticky Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(26, 29, 41, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    border-radius: 12px 12px 0 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #FF6B35;
    cursor: pointer;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #E2E8F0;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FF6B35;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FF6B35;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 2rem;
}

.btn-demo {
    background: linear-gradient(135deg, #FF6B35 0%, #F56500 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #E2E8F0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

/* Main Content Area */
main {
    background-color: #F5F5DC;
    padding: 2rem 1rem;
    min-height: 50vh;
}

/* Container for other sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-container {
    max-width: 1200px;
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.highlight {
    color: #FF6B35;
    position: relative;
}

.hero-subtext {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: #A0AEC0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.accent {
    color: #FF6B35;
    font-weight: 600;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #F56500 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.icon-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(45, 55, 72, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A0AEC0;
    backdrop-filter: blur(15px);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.icon-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.icon-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.icon-3 {
    top: 60%;
    left: 12%;
    animation-delay: 2s;
}

.icon-4 {
    bottom: 20%;
    right: 8%;
    animation-delay: 3s;
}

.icon-5 {
    top: 45%;
    right: 25%;
    animation-delay: 4s;
}

.icon-6 {
    bottom: 35%;
    left: 20%;
    animation-delay: 5s;
}

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

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .hero {
        margin: 0.5rem;
        border-radius: 8px;
    }

    .navbar {
        border-radius: 8px 8px 0 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 29, 41, 0.98);
        width: calc(100% - 1rem);
        left: 0.5rem;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 1.5rem;
        backdrop-filter: blur(20px);
        border-radius: 0 0 8px 8px;
        margin-top: 0.5rem;
    }

    .nav-menu.active {
        left: 0.5rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

    .hero-subtext {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .floating-icons {
        display: none;
    }
}

/* Tablet Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero-headline {
        font-size: 2.75rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }
}

/* Large Desktop Styles */
@media screen and (min-width: 1200px) {
    .hero-headline {
        font-size: 4rem;
    }

    .hero-subtext {
        font-size: 1.25rem;
    }

    .icon-circle {
        width: 90px;
        height: 90px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-icons {
        animation: none;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }
    
    .navbar {
        background: #000;
        border-bottom: 2px solid #FF6B35;
    }
    
    .icon-circle {
        background: #333;
        border-color: #FF6B35;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-subtext {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Tablet Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .hero-headline {
        font-size: 2.25rem;
    }

    .nav-container {
        padding: 0 2rem;
    }
}

/* Large Desktop Styles */
@media screen and (min-width: 1200px) {
    .hero-headline {
        font-size: 3rem;
    }

    .hero-subtext {
        font-size: 1.375rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }
    
    .navbar {
        background: #fff;
        border-bottom: 2px solid #000;
    }
}
