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

:root {
    --primary-color: #6B4CE6;
    --primary-dark: #5538C8;
    --secondary-color: #FF6B9D;
    --accent-color: #FFD93D;
    --success-color: #4CAF50;
    --text-dark: #1A1A2E;
    --text-light: #6B6B8C;
    --bg-light: #F8F9FF;
    --bg-white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #6B4CE6 0%, #8B5CF6 100%);
    --gradient-2: linear-gradient(135deg, #FF6B9D 0%, #FFA384 100%);
    --gradient-3: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-image {
    height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 2rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cta-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta {
    background: var(--gradient-1);
    color: white;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(107, 76, 230, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.hero-store-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.watch-demo {
    align-self: flex-start;
}

.cta-primary {
    background: var(--gradient-1);
    color: white;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-secondary:hover {
    background: var(--primary-color);
    color: white;
}

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

.badge {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.hero-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.highlight-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 500px;
    overflow: visible;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.card-icon {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

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

.app-screenshot-carousel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(-15deg);
    width: 320px;
    height: 650px;
    z-index: 5;
    perspective: 1000px;
    animation: floatAndTilt 6s ease-in-out infinite;
    transition: transform 0.6s ease;
    cursor: pointer;
}

.app-screenshot-carousel:hover {
    animation-play-state: paused;
    transform: translate(-50%, -50%) rotateY(0deg) scale(1.05);
}

.app-screenshot-carousel:active {
    transform: translate(-50%, -50%) rotateY(0deg) scale(0.98);
}

.screenshot-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.3s ease;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.2));
}

.screenshot-image.active {
    opacity: 1;
    animation: slideIn 1s ease-out;
}

@keyframes floatAndTilt {
    0%, 100% {
        transform: translate(-50%, -50%) rotateY(-15deg) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) rotateY(-15deg) translateY(-20px);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeCarousel {
    0%, 100% {
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Features */
.features {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.crocodile-scooter-rider {
    position: absolute;
    bottom: -60px;
    width: 286px;
    height: 286px;
    z-index: 100;
    pointer-events: none;
    animation: crocodileRide 35s linear infinite;
}

@keyframes crocodileRide {
    0% {
        left: calc(100% + 286px);
        transform: scaleX(1);
    }
    45% {
        left: -286px;
        transform: scaleX(1);
    }
    50% {
        left: -286px;
        transform: scaleX(-1);
    }
    95% {
        left: calc(100% + 286px);
        transform: scaleX(-1);
    }
    100% {
        left: calc(100% + 286px);
        transform: scaleX(1);
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Pricing */
.pricing {
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: var(--gradient-1);
    color: white;
    border-color: var(--primary-dark);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1.25rem;
    font-weight: 400;
}

.savings {
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 0.5rem;
}

.pricing-card.featured .savings {
    color: var(--accent-color);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--success-color);
}

.pricing-card.featured .pricing-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card.featured .pricing-button {
    background: white;
    color: var(--primary-color);
}

.pricing-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* About */
.about {
    background: var(--bg-light);
}

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

.about-text {
    position: relative;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.tech-stack {
    margin-top: 2rem;
}

.tech-stack h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-badge {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 600;
}

/* About Section */
.about {
    position: relative;
    overflow: visible;
}

.crab-about-bottom {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 192px;
    height: 192px;
    z-index: 100;
    pointer-events: none;
    animation: crabDance 8s ease-in-out infinite;
}

@keyframes crabDance {
    0%, 100% {
        transform: translateX(-50%) translateX(-125px);
    }
    50% {
        transform: translateX(-50%) translateX(125px);
    }
}

/* CTA Section */
.cta-section {
    background: var(--gradient-1);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: visible;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.store-button {
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.store-button:hover {
    transform: translateY(-5px);
    filter: brightness(1.05);
}

.store-button img {
    height: 50px;
    width: auto;
}

.hero-store-buttons .store-button img {
    height: 55px;
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.cta-section .cta-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .cta-secondary:hover {
    background: white;
    color: var(--primary-color);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section .logo {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.logo-image-footer {
    height: 120px;
    width: auto;
    max-width: 400px;
}

.footer-section:first-child {
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-developer {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-developer .flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.developer-link {
    display: inline-block;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.developer-link:hover {
    transform: scale(1.1);
}

.ao-monogram {
    height: 24px;
    width: auto;
    display: inline-block;
    transition: opacity 0.3s ease, filter 0.3s ease;
    opacity: 0.9;
    filter: brightness(0) saturate(100%) invert(37%) sepia(98%) saturate(2170%) hue-rotate(240deg) brightness(95%) contrast(92%);
}

.ao-monogram:hover {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(37%) sepia(98%) saturate(2170%) hue-rotate(240deg) brightness(105%) contrast(92%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-store-buttons {
        flex-direction: column;
        width: 100%;
    }

    .store-button img {
        height: 45px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

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

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

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px) scale(1);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Lottie Character Animations */
.lottie-character {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    opacity: 0.9;
}

/* Hero Section Characters */
.lottie-chameleon {
    top: -55px;
    left: -125px;
    width: 240px;
    height: 240px;
}

.lottie-turtle {
    top: -40px;
    right: -100px;
    width: 180px;
    height: 180px;
}

.lottie-polar-bear {
    bottom: -40px;
    right: -120px;
    width: 190px;
    height: 190px;
}

.lottie-crab {
    top: 50%;
    left: -180px;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
}

/* Section Decorative Characters */
.features,
.how-it-works,
.pricing,
.about {
    position: relative;
    overflow: visible;
}

.section-character {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

.char-features-left {
    top: 10%;
    left: -80px;
    width: 150px;
    height: 150px;
}

.char-features-left-close {
    top: 0px;
    left: 270px;
    width: 243px;
    height: 243px;
}

.char-features-right {
    bottom: 10%;
    right: -80px;
    width: 140px;
    height: 140px;
}

.char-how-it-works {
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
}

.char-pricing {
    bottom: -60px;
    left: -90px;
    width: 170px;
    height: 170px;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
