/* Visual Strategy Designer - Custom Styles */
/* Design: Creative & Playful with Bulma CSS */
/* Color Mood: Energetic | Spacing: Rhythmic | Borders: Soft | Animation: Flowing | Typography: Friendly */

:root {
    --primary-color: #FF6B35;
    --secondary-color: #00A8E8;
    --accent-color: #FFD23F;
    --text-dark: #2D3142;
    --text-light: #ffffff;
    --bg-light: #F8F9FA;
    --bg-gradient-start: #FF6B35;
    --bg-gradient-end: #00A8E8;
    --border-radius: 10px;
    --spacing-unit: 20px;
}

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

body {
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Arial Black', sans-serif;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 0.8);
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: var(--spacing-unit);
    text-align: left;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    padding: calc(var(--spacing-unit) * 0.75) var(--spacing-unit);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar-brand .navbar-item {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand .navbar-item:hover {
    transform: scale(1.05);
}

.navbar-menu {
    background: transparent;
}

.navbar-item {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    margin: 0 5px;
}

.navbar-item:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.navbar-burger {
    color: var(--text-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(0,168,232,0.1) 100%);
    padding: calc(var(--spacing-unit) * 3) var(--spacing-unit);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,210,63,0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, -50px) rotate(180deg); }
}

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

.hero-content {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-unit);
    animation: slideInLeft 0.8s ease-out;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    text-align: left;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    justify-content: center;
    animation: slideInRight 0.8s ease-out;
}

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

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

.device-mockup img {
    width: 100%;
    border-radius: calc(var(--border-radius) * 2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.device-mockup:hover img {
    transform: scale(1.05) rotate(2deg);
}

/* Buttons */
.button {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 30px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.button.is-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8555 100%);
    color: var(--text-light);
}

.button.is-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,107,53,0.4);
}

.button.is-info {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #00C8FF 100%);
    color: var(--text-light);
}

.button.is-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,168,232,0.4);
}

.button.is-large {
    font-size: 1.2rem;
    padding: 15px 40px;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-unit);
    flex-wrap: wrap;
    margin-top: var(--spacing-unit);
}

/* Screenshot Section */
.screenshot-section {
    max-height: 450px;
    padding: calc(var(--spacing-unit) * 3) var(--spacing-unit);
    background: var(--bg-light);
}

.screenshot-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 350px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    max-height: 300px;
    max-width: 90%;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    cursor: pointer;
    filter: blur(0);
    transition: all 0.3s ease;
}

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

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

.carousel-nav:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

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

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-light);
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

/* Features Section */
.features-section {
    padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
}

.feature-block {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 3);
    flex-wrap: wrap;
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.feature-content h3 {
    color: var(--primary-color);
}

.feature-content ul {
    list-style: none;
    padding: 0;
}

.feature-content li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    text-align: left;
}

.feature-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-icon {
    flex: 1;
    min-width: 200px;
    display: flex;
    justify-content: center;
    font-size: 5rem;
}

/* Content Sections */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 3) var(--spacing-unit);
}

.content-section h1,
.content-section h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.content-section p,
.content-section li {
    text-align: left;
}

/* Privacy Accept Button (Flutter Integration) */
.privacy-accept-button {
    position: fixed;
    bottom: calc(var(--spacing-unit) * 2);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 15px 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF8555 100%);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255,107,53,0.4);
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.privacy-accept-button.visible {
    display: flex;
}

.privacy-accept-button:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255,107,53,0.6);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: calc(var(--spacing-unit) * 2) auto;
    background: var(--bg-light);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.input, .textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input:focus, .textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,168,232,0.1);
}

.file-input {
    margin: var(--spacing-unit) 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-light);
    padding: calc(var(--spacing-unit) * 3) var(--spacing-unit);
    margin-top: calc(var(--spacing-unit) * 4);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

.footer-section h4 {
    color: var(--text-light);
    margin-bottom: var(--spacing-unit);
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    text-align: left;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 2);
    padding-top: var(--spacing-unit);
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-image {
        max-width: 300px;
    }

    .device-mockup {
        max-width: 250px;
    }

    .screenshot-carousel {
        height: 300px;
    }

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

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

    .feature-block {
        flex-direction: column !important;
    }

    .feature-icon {
        font-size: 3rem;
    }

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

    .button {
        width: 100%;
    }

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

    .privacy-accept-button {
        width: 90%;
        padding: 15px 20px;
    }
}

/* Loading States */
.loading {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.loaded {
    filter: blur(0);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.mt-1 { margin-top: var(--spacing-unit); }
.mt-2 { margin-top: calc(var(--spacing-unit) * 2); }
.mb-1 { margin-bottom: var(--spacing-unit); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }
