/* Modern Ultra-Stylish Design System */
:root {
    --primary-orange: #FF992E;
    --primary-pink: #DA1467;
    --accent-coral: #FF6B6B;
    --accent-sunset: #FFA94D;
    --background-light: #F8F9FA;
    --background-dark: #0F172A;
    --text-dark: #1E293B;
    --text-light: #fff;
    --text-muted: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-pink) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-sunset) 100%);
}

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

body {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Hero Section - Modern & Eye-catching */
.hero-section {
    position: relative;
    padding: 150px 0;
    color: var(--text-light);
    min-height: 100vh;
    background: url('assets/header.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Animated gradient overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(255, 153, 46, 0.1) 25%, 
        rgba(218, 20, 103, 0.1) 50%, 
        rgba(255, 107, 107, 0.1) 75%, 
        transparent 100%);
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    50% { opacity: 0.8; transform: translateX(50%) translateY(50%) rotate(180deg); }
}

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

.hero-section h1 {
    font-size: clamp(3rem, 15vw, 10rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-section .btn {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    padding: 1.2rem 3rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 153, 46, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-section .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 153, 46, 0.5);
}

.hero-section .btn:active {
    transform: translateY(-2px) scale(1.02);
}

.hero-section .btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Section Styling */
section {
    padding: 120px 0;
    position: relative;
}

section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section .lead {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 4rem;
}

/* Modern Feature Cards with Glassmorphism */
.feature-box,
.feature-card {
    height: 100%;
    min-height: 280px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-box::before,
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box:hover,
.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-elevated);
    background: rgba(255, 255, 255, 0.95);
}

.feature-box:hover::before,
.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-box i,
.feature-card i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-box:hover i,
.feature-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

.feature-box h4,
.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-box p,
.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Background gradient for sections */
#features {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    margin-top: 60px;
}

#features::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--background-light);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
}

/* Download Section */
#download {
    background: linear-gradient(135deg, 
        rgba(255, 153, 46, 0.05) 0%, 
        rgba(218, 20, 103, 0.05) 100%);
}

#download img {
    max-width: 100%;
    border-radius: 30px;
    max-height: 70vh;
    float: right;
    box-shadow: var(--shadow-elevated);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatAnimation 6s ease-in-out infinite;
}

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

#download img:hover {
    transform: scale(1.05) translateY(-10px);
}

.btn-orange,
.btn-pink {
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-orange {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FFA500 100%);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(255, 153, 46, 0.3);
}

.btn-orange:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 153, 46, 0.5);
    color: var(--text-light);
}

.btn-pink {
    background: linear-gradient(135deg, var(--primary-pink) 0%, #FF1493 100%);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(218, 20, 103, 0.3);
}

.btn-pink:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(218, 20, 103, 0.5);
    color: var(--text-light);
}

.btn-pink:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(218, 20, 103, 0.5);
    color: var(--text-light);
}

/* Footer Styling */
footer {
    background: var(--background-dark);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

footer a {
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
}

footer a:hover {
    color: var(--primary-orange);
    transform: translateY(-3px);
}

footer .bi {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

footer .bi:hover {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-orange);
}

footer p {
    margin: 0;
    opacity: 0.8;
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design - Mobile Optimizations */
@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero-section {
        min-height: 100vh;
        padding: 100px 0;
    }

    .hero-section h1 {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    #features {
        margin-top: 40px;
    }

    #download .row {
        flex-direction: column-reverse;
    }

    #download .col-md-6 {
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    #download img {
        display: block;
        margin: 2rem auto;
        max-width: 90%;
        float: none;
        max-height: 50vh;
    }

    #download h2 {
        margin-top: 1rem;
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    #download p {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    #download .btn {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        padding: 0.8rem 1.5rem;
        margin: 0.5rem !important;
        width: 100%;
        max-width: 300px;
    }

    .feature-box,
    .feature-card {
        margin-bottom: 1.5rem;
        min-height: 250px;
    }

    .btn-orange,
    .btn-pink {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section h1 {
        font-size: clamp(4rem, 10vw, 8rem);
    }

    #download img {
        max-height: 55vh;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-light: #0F172A;
        --text-dark: #F1F5F9;
        --text-muted: #94A3B8;
    }

    body {
        background-color: var(--background-dark);
        color: var(--text-light);
    }

    .feature-box,
    .feature-card {
        background: rgba(30, 41, 59, 0.8);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .feature-box:hover,
    .feature-card:hover {
        background: rgba(30, 41, 59, 0.95);
    }

    section h2,
    .feature-box h4,
    .feature-card h4 {
        color: var(--text-light);
    }
}

/* Loading animation for images */
img {
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.2s forwards;
}

/* Smooth transitions for all interactive elements */
button,
a,
.btn {
    position: relative;
    overflow: hidden;
}

button::before,
a.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before,
a.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-pink);
}

/* Selection styling */
::selection {
    background: var(--primary-orange);
    color: white;
}

::-moz-selection {
    background: var(--primary-orange);
    color: white;
}