/* MyStorageBuddy Landing Page Styles */

:root {
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --dark-blue: #1e40af;
    --light-blue: #dbeafe;
    --extra-light-blue: #eff6ff;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
}

/* ====================
   GLOBAL LANDING STYLES
   ==================== */

section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ====================
   HERO SECTION
   ==================== */

.hero-section {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-badge {
    display: inline-block;
    background: var(--extra-light-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--light-blue);
}

.hero-badge i {
    color: var(--warning-orange);
    margin-right: 5px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-primary {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
}

.hero-image-placeholder {
    position: relative;
}

.screenshot-placeholder {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--extra-light-blue) 100%);
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    border: 2px dashed var(--primary-blue);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.screenshot-placeholder i {
    font-size: 5rem;
    color: var(--primary-blue);
    opacity: 0.6;
    margin-bottom: 1rem;
}

.screenshot-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.screenshot-placeholder small {
    color: var(--text-gray);
}

/* ====================
   TRUST SIGNALS
   ==================== */

.trust-section {
    background: white;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-badge {
    text-align: center;
}

.trust-badge i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    display: block;
}

.trust-badge h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* ====================
   HOW IT WORKS
   ==================== */

.how-it-works-section {
    background: white;
}

.step-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.step-card.featured {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-color: var(--primary-blue);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.step-card.featured .step-number,
.step-card.featured .step-title,
.step-card.featured .step-description {
    color: white;
}

.step-card.featured .step-icon i {
    color: white;
}

.step-card.featured .step-features li {
    color: white;
}

.step-card.featured .step-features i {
    color: rgba(255, 255, 255, 0.9);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.step-card.featured .step-number {
    background: white;
    color: var(--primary-blue);
}

.step-icon {
    margin: 30px 0 20px;
}

.step-icon i {
    font-size: 4rem;
    color: var(--primary-blue);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.step-features li {
    padding: 8px 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
}

.step-features i {
    color: var(--success-green);
    margin-right: 10px;
    font-size: 1.1rem;
}

.process-visual {
    margin-top: 60px;
}

.process-placeholder {
    background: var(--extra-light-blue);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    border: 2px dashed var(--primary-blue);
}

.process-placeholder i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.process-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.process-placeholder small {
    color: var(--text-gray);
}

/* ====================
   FEATURES SECTION
   ==================== */

.features-section {
    background: var(--extra-light-blue);
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 35px 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--extra-light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* ====================
   SCREENSHOT GALLERY
   ==================== */

.screenshot-section {
    background: white;
}

.screenshot-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.screenshot-img {
    background: var(--extra-light-blue);
    border-radius: 8px;
    padding: 60px 20px;
    margin-bottom: 1rem;
    border: 2px dashed var(--light-blue);
}

.screenshot-img i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.screenshot-img p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gray);
    margin: 0;
}

.screenshot-card h5 {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* ====================
   TESTIMONIALS
   ==================== */

.testimonials-section {
    background: var(--extra-light-blue);
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 35px 30px;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.testimonial-stars {
    color: var(--warning-orange);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--extra-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.author-info h6 {
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ====================
   FAQ SECTION
   ==================== */

.faq-section {
    background: white;
}

.faq-section .accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-section .accordion-button {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1.25rem 1.5rem;
    background: white;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--extra-light-blue);
    color: var(--primary-blue);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-blue);
}

.faq-section .accordion-body {
    padding: 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ====================
   FINAL CTA
   ==================== */

.final-cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 80px 0;
}

.cta-card {
    padding: 20px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.final-cta-section .btn-light {
    background: white;
    color: var(--primary-blue);
    font-weight: 600;
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.final-cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: var(--extra-light-blue);
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */

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

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

@media (max-width: 991px) {
    section {
        padding: 60px 0;
    }

    .hero-section {
        padding: 80px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

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

@media (max-width: 767px) {
    section {
        padding: 50px 0;
    }

    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 1rem;
        justify-content: space-between;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .screenshot-placeholder {
        padding: 60px 30px;
    }

    .screenshot-placeholder i {
        font-size: 4rem;
    }

    .step-icon i {
        font-size: 3rem;
    }

    .step-title {
        font-size: 1.3rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .cta-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .final-cta-section .btn-light {
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        text-align: center;
    }

    .trust-badge i {
        font-size: 2rem;
    }

    .trust-badge h6 {
        font-size: 0.9rem;
    }
}

/* ====================
   ANIMATIONS
   ==================== */

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

.hero-content > * {
    animation: fadeInUp 0.6s ease-out;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* ====================
   UTILITY CLASSES
   ==================== */

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
