/* Sweet Billions - Creative & Playful Design */
/* Color Mood: Playful with candy colors (pink, purple, blue) */
/* Border Style: Soft (8-12px radius) */
/* Animation Style: Bouncy */

:root {
    --candy-pink: #ff6b9d;
    --candy-purple: #9b59b6;
    --candy-blue: #3498db;
    --candy-yellow: #f39c12;
    --candy-green: #2ecc71;
    --dark-bg: #1a1a2e;
    --card-bg: #16213e;
    --text-light: #ffffff;
    --text-muted: #b8b8d1;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f0f23 100%);
    color: var(--text-light);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Navigation */
.navbar-custom {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--candy-pink);
    padding: 0.5rem 1rem;
}

.navbar-custom .navbar-item {
    color: var(--text-light) !important;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: 0 0.25rem;
}

.navbar-custom .navbar-item:hover {
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
    transform: translateY(-2px);
}

.navbar-custom .navbar-brand .navbar-item {
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-custom .navbar-brand .navbar-item:hover {
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.05);
}

.navbar-custom .navbar-burger span {
    background-color: var(--candy-pink) !important;
    height: 3px;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 4rem 1.5rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
    animation: floatBg 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-2%, -2%) rotate(2deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-yellow), var(--candy-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: left;
}

/* Device Mockup */
.device-mockup {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.device-mockup::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(145deg, #2a2a4a, #1a1a2e);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2),
                0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.device-mockup img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

/* Buttons */
.btn-candy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    gap: 0.5rem;
    min-height: 56px;
}

.btn-candy:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.5);
    color: white;
}

.btn-candy-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--candy-pink);
    background: transparent;
    border: 2px solid var(--candy-pink);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    gap: 0.5rem;
    min-height: 56px;
}

.btn-candy-outline:hover {
    background: var(--candy-pink);
    color: white;
    transform: translateY(-3px);
}

/* Screenshot Carousel */
.screenshot-section {
    padding: 4rem 1.5rem;
    max-height: 500px;
    background: rgba(22, 33, 62, 0.5);
    position: relative;
}

.screenshot-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 320px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    height: 100%;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.carousel-slide img {
    max-height: 280px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: blur(5px);
}

.carousel-slide img.loaded {
    filter: blur(0);
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--candy-pink);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--candy-purple);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--candy-pink);
    transform: scale(1.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

/* Features Section */
.features-section {
    padding: 4rem 1.5rem;
}

.features-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.feature-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(22, 33, 62, 0.8));
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 107, 157, 0.2);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--candy-pink);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

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

/* Content Sections (Privacy, Terms) */
.content-section {
    padding: 3rem 1.5rem;
    min-height: calc(100vh - 200px);
}

.content-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--card-bg), rgba(22, 33, 62, 0.8));
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 107, 157, 0.2);
}

.content-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-card .effective-date {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.content-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--candy-pink);
}

.content-card p {
    text-align: left;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.content-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-card li {
    text-align: left;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.content-card a {
    color: var(--candy-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-card a:hover {
    color: var(--candy-pink);
    text-decoration: underline;
}

/* Contact Form */
.contact-section {
    padding: 3rem 1.5rem;
    min-height: calc(100vh - 200px);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--card-bg), rgba(22, 33, 62, 0.8));
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 107, 157, 0.2);
}

.contact-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--candy-pink);
    background: rgba(255, 255, 255, 0.08);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
}

.file-input-wrapper input[type="file"]:hover {
    border-color: var(--candy-pink);
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
    background: rgba(46, 204, 113, 0.2);
    border: 2px solid var(--candy-green);
    border-radius: 12px;
    color: var(--candy-green);
}

.success-message.show {
    display: block;
}

/* Privacy Accept Button */
.privacy-accept-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.98), rgba(26, 26, 46, 0.9));
    padding: 1.5rem;
    text-align: center;
    z-index: 9998;
    border-top: 2px solid var(--candy-pink);
    display: none;
}

.privacy-accept-container.show {
    display: block;
}

.btn-accept {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--candy-green), #27ae60);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4);
    min-height: 56px;
}

.btn-accept:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(46, 204, 113, 0.5);
}

/* Footer */
.footer-section {
    background: rgba(22, 33, 62, 0.8);
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 157, 0.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--candy-pink);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        text-align: left;
    }

    .hero-subtitle {
        text-align: left;
    }

    .hero-section {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .device-mockup {
        max-width: 250px;
        margin-top: 2rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-candy, .btn-candy-outline {
        width: 100%;
    }

    .screenshot-section {
        max-height: 400px;
        padding: 2rem 1rem;
    }

    .carousel-container {
        height: 280px;
    }

    .carousel-slide img {
        max-height: 240px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .content-card, .contact-card {
        padding: 1.5rem;
    }

    .content-card h1, .contact-card h1 {
        font-size: 1.5rem;
    }

    .navbar-custom .navbar-menu {
        background: var(--dark-bg);
        padding: 1rem;
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .carousel-btn.prev { left: -5px; }
    .carousel-btn.next { right: -5px; }
}

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

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

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
