/* ========================================
   DENEBOR LANDING - MODERN CSS
   ======================================== */

:root {
    /* Colors */
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
    --success: #48bb78;
    --danger: #f56565;
    --dark: #1a202c;
    --light: #f7fafc;

    /* Spacing */
    --section-padding: 5rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    color: var(--dark);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background: transparent !important;
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(26, 32, 44, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo-light {
    display: none !important;
}

.navbar.scrolled .logo-dark {
    display: inline-block !important;
}

.navbar-brand {
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: var(--transition);
    max-height: 80px;
    height: auto;
    width: auto;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.gradient-text {
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-stats h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.hero-stats p {
    opacity: 0.9;
    margin: 0;
}

/* Floating Cards */
.hero-image {
    position: relative;
    min-height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    color: var(--dark);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.floating-card.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 10%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.dashboard-preview {
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* ========================================
   PROBLEM/SOLUTION SECTION
   ======================================== */

.problem-box,
.solution-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.solution-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.problem-list,
.solution-list {
    list-style: none;
    padding: 0;
}

.problem-list li,
.solution-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.problem-list i {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.solution-list i {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

/* ========================================
   GRADIENT BACKGROUNDS
   ======================================== */

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

/* ========================================
   SECTION DIVIDER
   ======================================== */

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 400px;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.divider-icon {
    font-size: 2rem;
    color: #ffd700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* ========================================
   HOW IT WORKS - STEPS
   ======================================== */

.step-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.step-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem 0;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.pricing-featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-price {
    margin: 1.5rem 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.pricing-features i {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    color: #ffd700;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    font-size: 0.875rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.accordion-button {
    font-weight: 600;
    background: white;
    color: var(--dark);
    border: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    background: #f8f9fa;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 2rem;
}

.contact-icon-wrapper i {
    font-size: 18rem;
    color: rgba(102, 126, 234, 0.8);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    opacity: 0.8;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--dark);
}

.footer img {
    max-height: 120px;
    height: auto;
    width: auto;
}

.footer a {
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary) !important;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    border: none;
    border-radius: 50px 0 0 50px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
    .hero-section {
        padding-top: 80px;
    }

    .floating-card {
        display: none;
    }

    .pricing-featured {
        transform: scale(1);
    }

    .pricing-featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .hero-stats h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */

.text-white-50 {
    opacity: 0.7;
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner-border {
    animation: spin 0.75s linear infinite;
}

/* ========================================
   CATALOG DEMO SECTION
   ======================================== */

.catalog-demo-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.catalog-demo-frame {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    border: 3px solid #667eea;
    background: white;
}

.catalog-demo-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.catalog-demo-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    z-index: 10;
}

.catalog-demo-badge i {
    margin-right: 6px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.demo-features {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.demo-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(0.2);
}

@media (max-width: 768px) {
    .catalog-demo-frame {
        height: 500px;
    }

    .demo-features {
        padding: 2rem 1rem;
    }
}

/* ========================================
   PHONE MOCKUP HERO WITH PNG FRAME (from landing-silicon)
   ======================================== */

.phone-mockup-hero {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
    filter: drop-shadow(0 25px 50px rgba(79, 70, 229, 0.35));
}

.phone-mockup-hero-container {
    position: relative;
    width: 100%;
    padding-bottom: 203%;
    /* iPhone aspect ratio */
}

.phone-video-bg {
    position: absolute;
    top: 2.2%;
    left: 4.5%;
    width: 91%;
    height: 95.5%;
    background: #000;
    border-radius: 42px;
    overflow: hidden;
    z-index: 1;
}

.phone-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.phone-frame-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}