/* 
 * DEVIA Landing 5 - "Ultimate Modern Hybrid"
 * Extremely clean, high-conversion layout combining the best elements
 */

:root {
    --dl-bg: #FFFFFF;
    --dl-bg-light: #F8F9FA;
    --dl-bg-dark: #111827;
    --dl-text: #1F2937;
    --dl-text-muted: #6B7280;
    --dl-accent: #2563EB; /* Premium Blue */
    --dl-accent-hover: #1D4ED8;
    --dl-radius: 16px;
    --dl-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--dl-bg);
    color: var(--dl-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utils */
.dl-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.dl-section { padding: 100px 0; }
.dl-bg-light { background-color: var(--dl-bg-light); }
.dl-bg-dark { background-color: var(--dl-bg-dark); color: #fff; }
.dl-text-center { text-align: center; }

/* Typography */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.dl-h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 24px; }
.dl-h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 40px; }
.dl-h3 { font-size: 1.5rem; margin-bottom: 12px; }
.dl-p { font-size: 1.25rem; color: var(--dl-text-muted); margin-bottom: 32px; }

/* Buttons */
.dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.dl-btn-primary { background: var(--dl-accent); color: #fff; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }
.dl-btn-primary:hover { background: var(--dl-accent-hover); transform: translateY(-2px); box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3); }

/* Hero */
.dl-hero { padding: 80px 0 40px; }
.dl-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dl-badge { display: inline-block; padding: 8px 16px; background: #EEF2FF; color: var(--dl-accent); border-radius: 30px; font-weight: 600; font-size: 0.875rem; margin-bottom: 24px; }
.dl-hero-features { list-style: none; padding: 0; margin: 0 0 40px; }
.dl-hero-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.125rem; font-weight: 500; }
.dl-hero-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.dl-guarantee { font-size: 0.875rem; color: var(--dl-text-muted); font-weight: 500; }
.dl-hero-visual { position: relative; }
.dl-hero-image { width: 100%; height: auto; border-radius: 24px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15)); }

/* Features Grid */
.dl-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.dl-feature-card { background: #fff; padding: 40px; border-radius: var(--dl-radius); box-shadow: var(--dl-shadow); transition: transform 0.3s; }
.dl-feature-card:hover { transform: translateY(-5px); }
.dl-icon { width: 60px; height: 60px; border-radius: 16px; background: #EEF2FF; color: var(--dl-accent); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 24px; }

/* Video */
.dl-video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 1000px; margin: 0 auto; border-radius: 24px; box-shadow: var(--dl-shadow); background: #000; }
.dl-video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Use Cases */
.dl-usecases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.dl-usecase-card { background: #fff; border-radius: var(--dl-radius); overflow: hidden; box-shadow: var(--dl-shadow); }
.dl-usecase-card img { width: 100%; height: 250px; object-fit: cover; }
.dl-usecase-content { padding: 32px; }
.dl-usecase-content ul { list-style: none; padding: 0; margin: 0; color: var(--dl-text-muted); }
.dl-usecase-content li { margin-bottom: 8px; }

/* Review */
.dl-review-box { max-width: 800px; margin: 0 auto; text-align: center; }
.dl-stars { color: #FBBF24; font-size: 1.5rem; margin-bottom: 24px; letter-spacing: 2px; }
.dl-review-text { font-size: 1.75rem; font-weight: 500; font-style: italic; margin-bottom: 32px; line-height: 1.4; }
.dl-reviewer { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; }
.dl-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--dl-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.25rem; }
.dl-reviewer span { display: block; font-size: 0.875rem; color: var(--dl-text-muted); }

/* Specs Images */
.dl-specs-images { display: flex; flex-direction: column; gap: 24px; max-width: 1000px; margin: 0 auto; }
.dl-specs-images img { width: 100%; border-radius: var(--dl-radius); }

/* Checkout Grid */
.dl-checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: #fff; border-radius: 32px; box-shadow: var(--dl-shadow); overflow: hidden; border: 1px solid #E5E7EB; }
.dl-checkout-contents { padding: 60px; background: var(--dl-bg-light); border-right: 1px solid #E5E7EB; }
.dl-checkout-contents ul { list-style: none; padding: 0; margin: 30px 0 0; }
.dl-checkout-contents li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 500; }
.dl-checkout-contents svg { color: var(--dl-accent); }
.dl-checkout-box { padding: 60px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.dl-price-wrap { margin-bottom: 32px; display: flex; align-items: baseline; justify-content: center; gap: 16px; }
.dl-old-price { font-size: 1.5rem; color: var(--dl-text-muted); text-decoration: line-through; font-weight: 600; }
.dl-new-price { font-size: 4rem; font-weight: 800; color: var(--dl-accent); line-height: 1; }
.dl-btn-massive { width: 100%; padding: 24px; font-size: 1.5rem; border-radius: 16px; }
.dl-checkout-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; color: var(--dl-text-muted); font-size: 0.875rem; font-weight: 500; }

/* FAQ */
.dl-faq-list { display: flex; flex-direction: column; gap: 16px; }
.dl-faq-item { background: #fff; border-radius: var(--dl-radius); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); overflow: hidden; }
.dl-faq-btn { width: 100%; padding: 24px; text-align: left; background: none; border: none; font-size: 1.125rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--dl-text); }
.dl-faq-btn:focus, .dl-faq-btn:active { outline: none !important; box-shadow: none !important; border: none !important; }
.dl-faq-content { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--dl-text-muted); }
.dl-faq-item.active .dl-faq-content { padding: 24px; max-height: 500px; border-top: 1px solid #E5E7EB; }
.dl-faq-item.active .dl-faq-btn span { transform: rotate(45deg); }

/* Sticky Fast Order */
.dl-sticky-bar {
    position: fixed; bottom: -120px; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #E5E7EB; box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
    padding: 16px 0; z-index: 999; transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.dl-sticky-bar.dl-show { bottom: 0; }
.dl-sticky-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.dl-sticky-info { display: flex; align-items: center; gap: 16px; }
.dl-sticky-info img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.dl-sticky-text strong { display: block; font-size: 1rem; line-height: 1.2; }
.dl-sticky-prices { display: flex; align-items: center; gap: 8px; }
.dl-sticky-new { color: var(--dl-accent); font-weight: 800; font-size: 1.25rem; }
.dl-sticky-old { color: var(--dl-text-muted); text-decoration: line-through; font-size: 0.875rem; }

.dl-fast-order { display: flex; align-items: stretch; gap: 12px; height: 48px; margin: 0; }
.dl-fast-order input { padding: 0 20px; border-radius: 50px; border: 1px solid #D1D5DB; font-size: 1rem; outline: none; background: #F9FAFB; height: 100%; box-sizing: border-box; }
.dl-fast-order input:focus { border-color: var(--dl-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.dl-fast-order button { padding: 0 32px; border-radius: 50px; border: none; background: var(--dl-accent); color: #fff; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; height: 100%; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.dl-fast-order button:hover { background: var(--dl-accent-hover); }

/* Responsive */
@media (max-width: 991px) {
    .dl-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .dl-hero-actions { align-items: center; margin: 0 auto; }
    .dl-hero-features li { justify-content: center; }
    .dl-checkout-grid { grid-template-columns: 1fr; }
    .dl-checkout-contents { border-right: none; border-bottom: 1px solid #E5E7EB; padding: 40px 24px; }
    .dl-checkout-box { padding: 40px 24px; }
}
@media (max-width: 767px) {
    .dl-section { padding: 50px 0; }
    .dl-hero { padding: 40px 0 20px; }
    .dl-feature-card, .dl-usecase-content { padding: 24px; }
    .dl-checkout-contents, .dl-checkout-box { padding: 32px 20px; }
    .dl-faq-btn { padding: 16px; font-size: 1.05rem; }
    .dl-faq-item.active .dl-faq-content { padding: 16px; }
    .dl-h1 { font-size: 2rem; margin-bottom: 16px; }
    .dl-h2 { font-size: 1.75rem; margin-bottom: 24px; }
    
    .dl-sticky-bar { 
        bottom: 0 !important; 
        padding: 12px 16px !important; 
        z-index: 1000; 
        box-sizing: border-box;
        width: 100%;
        display: flex;
        align-items: center;
    }
    .dl-sticky-inner { 
        display: flex;
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
        width: 100%;
        gap: 12px; 
        padding: 0 !important; 
        box-sizing: border-box;
        margin: 0;
    }
    
    .dl-sticky-info { display: flex; align-items: center; flex-shrink: 0; }
    .dl-sticky-info img { display: none; }
    .dl-sticky-text strong { display: none; }
    
    .dl-sticky-prices { 
        display: flex; 
        align-items: center;
        gap: 8px;
        transform: translateY(2px);
    }
    .dl-sticky-new { font-size: 1.25rem; white-space: nowrap; line-height: 1; margin: 0; }
    .dl-sticky-old { font-size: 0.875rem; line-height: 1; margin: 0; }
    
    .dl-fast-order { 
        display: flex;
        flex-direction: row; 
        align-items: center;
        gap: 0; 
        background: #F9FAFB; 
        border: 1px solid #D1D5DB; 
        border-radius: 50px; 
        padding: 4px; 
        margin: 0;
        width: 100%;
        flex: 1;
        box-sizing: border-box;
    }
    .dl-fast-order input {
        border: none; 
        background: transparent; 
        padding: 8px 12px; 
        width: 100%; 
        font-size: 0.875rem;
        min-width: 0; /* Important to prevent flex blowout */
        box-sizing: border-box;
    }
    .dl-fast-order input:focus { box-shadow: none; outline: none; }
    .dl-fast-order button {
        padding: 8px 16px; 
        font-size: 0.875rem; 
        border-radius: 50px;
        white-space: nowrap;
        flex-shrink: 0;
        margin: 0;
    }
    
    body { padding-bottom: 80px !important; }
    
    .col-full {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .dl-container { padding: 0 16px; box-sizing: border-box; }
}
