/* Complete ColorUp Styles - Clean Version */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a90e2;
    --secondary-color: #50c878;
    --accent-color: #ff6b6b;
    --dark-text: #2c3e50;
    --light-text: #6c757d;
    --background: #ffffff;
    --section-bg: #f8f9fa;
    --border-color: #e9ecef;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-qr {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff8f0 0%, #fffaf5 100%);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.qr-pattern {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    height: 100%;
}

.qr-row {
    display: flex;
    gap: 2px;
    flex: 1;
}

.qr-block {
    flex: 1;
    border-radius: 2px;
    transition: all 0.3s;
}

.qr-block.filled-orange {
    background: linear-gradient(135deg, #ff9800, #ff6b00);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.qr-block.filled-yellow {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.qr-block.empty {
    background: white;
    border: 1px solid #ffe0b2;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-demo, .btn-login {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
}

.btn-demo {
    background: var(--primary-color);
    color: white !important;
}

.btn-login {
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
}

/* Enhanced Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-qr-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

.hero-qr-pattern {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    height: 100%;
}

.hero-qr-row {
    display: flex;
    gap: 2px;
    flex: 1;
}

.hero-qr-block {
    flex: 1;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hero-qr-block.filled-orange {
    background: linear-gradient(135deg, #ff9800, #ff6b00);
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

.hero-qr-block.filled-yellow {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hero-qr-block.empty {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 200, 100, 0.3);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video {
    margin: 40px auto;
    text-align: center;
}

.demo-video {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background: #000;
    outline: none;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.demo-video:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-buttons .btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #ffd700, #ff9800);
    color: #333;
    border: none;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,152,0,0.3);
    color: #333;
}

.hero-buttons .btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    color: white;
}

.hero-image {
    display: none;
}

/* Modern Paint Store Challenge Section */
.problem-solution {
    padding: 120px 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.problem-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.problem-solution .container {
    position: relative;
    z-index: 2;
}

.problem-solution h2 {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #1e293b, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.problem-solution h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-card, .solution-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.problem-card::before, .solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 1;
}

.problem-card::before {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.solution-card::before {
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

.problem-card:hover, .solution-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8);
}

.problem-card .icon, .solution-card .icon {
    display: block;
    margin-bottom: 24px;
    text-align: center;
    height: 80px;
    position: relative;
}

/* Custom Problem Icon - Broken/Chaotic papers */
.icon-problem {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
    animation: problemShake 4s infinite;
}

.icon-problem::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 35px;
    height: 45px;
    background: #dc2626;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.icon-problem::after {
    content: '!';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: 900;
    color: white;
    z-index: 1;
}

@keyframes problemShake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-5deg); }
    20% { transform: rotate(5deg); }
    30% { transform: rotate(-5deg); }
    40% { transform: rotate(0deg); }
}

/* Custom Solution Icon - Sparkle/Success */
.icon-solution {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    animation: solutionPulse 3s infinite;
}

.icon-solution::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #10b981;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.icon-solution::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #fbbf24, transparent);
    border-radius: 50%;
    animation: sparkle 2s infinite;
}

@keyframes solutionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.problem-card h3, .solution-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    position: relative;
}

.problem-card h3 {
    color: #dc2626;
}

.solution-card h3 {
    color: #059669;
}

.problem-card ul, .solution-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-card li, .solution-card li {
    padding: 20px 0;
    padding-left: 50px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px 0;
}

.problem-card li:hover {
    background: rgba(239, 68, 68, 0.05);
    padding-left: 55px;
    transform: translateX(5px);
}

.solution-card li:hover {
    background: rgba(16, 185, 129, 0.05);
    padding-left: 55px;
    transform: translateX(5px);
}

.problem-card li:last-child, .solution-card li:last-child {
    border-bottom: none;
}

.problem-card li::before {
    content: "❌";
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 2px solid #fca5a5;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    animation: problemPulse 2s infinite;
}

@keyframes problemPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    }
}

.solution-card li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 2px solid #6ee7b7;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: solutionGlow 3s infinite;
}

@keyframes solutionGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    }
}

/* Responsive styles for problem-solution */
@media (max-width: 1024px) {
    .problem-solution {
        padding: 80px 40px;
    }

    .problem-solution h2 {
        font-size: 2.8rem;
        margin-bottom: 40px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .problem-solution {
        padding: 60px 20px;
    }

    .problem-solution h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .problem-card, .solution-card {
        padding: 30px 24px;
    }

    .problem-card h3, .solution-card h3 {
        font-size: 1.6rem;
    }

    .problem-card li, .solution-card li {
        font-size: 1rem;
        padding-left: 35px;
    }
}

/* Modern How It Works Section */
.how-it-works {
    padding: 120px 60px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

.how-it-works h2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #e0e7ff, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 80px;
    font-weight: 400;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Connecting line between steps */
.steps::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 10%,
        rgba(255, 255, 255, 0.2) 90%,
        transparent 100%);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    animation: float 3s ease-in-out infinite;
}

.step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    animation-delay: 0s;
}

.step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    animation-delay: 0.5s;
}

.step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.step-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.step-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Step Visual Elements */
.step-visual {
    margin-top: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 220px;
}

.mini-form input {
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
}

.mini-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.label-preview {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.label-preview:hover {
    transform: rotate(0deg) scale(1.1);
}

.qr-mini {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000),
                linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    border-radius: 4px;
}

.label-preview span {
    font-size: 0.8rem;
    color: #333;
    font-weight: 600;
}

.phone-mockup {
    width: 200px;
    height: 100px;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 12px;
    border: 3px solid #475569;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.message {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.85rem;
    animation: messageSlide 2s ease-in-out infinite;
}

@keyframes messageSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .nav-links {
        display: none;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .steps::before {
        display: none;
    }

    .how-it-works {
        padding: 80px 40px;
    }

    .how-it-works h2 {
        font-size: 2.8rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 50px;
    }

    .step {
        padding: 30px 20px;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

    .step-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}