/* 
 * Deepak Industries B2B - Premium Landing Page Styles
 * Designed for human-centric, high-quality B2B brand experience.
 */

:root {
    /* Color System */
    --primary-orange: #E66A12; /* Warm, premium orange */
    --primary-orange-hover: #CC5B0C;
    --primary-orange-light: rgba(230, 106, 18, 0.1);
    
    --bg-main: #FAFAF8; /* Warm off-white */
    --bg-secondary: #F5F2EB; /* Light warm beige */
    
    --text-main: #1A1A1A; /* Deep charcoal */
    --text-muted: #5C5C5C;
    
    --white: #FFFFFF;
    --black: #000000;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

p.lead {
    font-size: 1.25rem;
    color: var(--text-main);
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.bg-accent {
    background-color: var(--primary-orange);
    color: var(--white);
}

.bg-accent h2, 
.bg-accent p, 
.bg-accent .lead {
    color: var(--white);
}

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

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.split-layout.align-center {
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 1rem;
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--text-main);
    color: var(--white);
}

.btn-dark {
    background-color: var(--text-main);
    color: var(--white);
}

.btn-dark:hover {
    background-color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-logo .logo-accent {
    color: var(--primary-orange);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    position: absolute;
    transition: var(--transition-smooth);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-orange-light);
    color: var(--primary-orange-hover);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-orange);
    border-radius: 50%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Hero Visual & Mockups */
.hero-visual {
    position: relative;
    height: auto;
    width: 100%;
}

.device-mockup {
    position: absolute;
    width: 280px;
    height: 580px;
    background-color: #fff;
    border-radius: 36px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background-color: #f1f1f1;
    position: relative;
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    font-size: 0.875rem;
    opacity: 0; /* Hide by default if using real images, or show for placeholder info */
}

/* For placeholders, let's keep it visible if needed, or hide on hover */
.mockup-overlay {
    opacity: 1; /* Show placeholder text */
    background: rgba(0,0,0,0.4);
}

.center-device {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.left-device {
    top: 80px;
    left: 50%;
    transform: translateX(-120%) scale(0.9) rotate(-6deg);
    z-index: 1;
    opacity: 0.85;
}

.right-device {
    top: 80px;
    left: 50%;
    transform: translateX(20%) scale(0.9) rotate(6deg);
    z-index: 2;
    opacity: 0.85;
}

/* Section 2: Problem */
.editorial-list {
    list-style: none;
    margin: 2rem 0;
}

.editorial-list li {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-size: 1.125rem;
    color: var(--text-muted);
}

.editorial-list li strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.25rem;
}

.highlight-text {
    font-size: 1.25rem;
    color: var(--primary-orange-hover);
    font-weight: 500;
    border-left: 4px solid var(--primary-orange);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

.premium-image-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.premium-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.premium-image-container:hover .premium-image {
    transform: scale(1.05);
}

/* Section 3: Features */
.section-header {
    max-width: 600px;
    margin: 0 auto 5rem;
}

.feature-stories {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-story.reverse {
    direction: rtl;
}

.feature-story.reverse .split-content {
    direction: ltr;
}

.feature-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 1rem;
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-orange);
}

.feature-mockup {
    width: 320px;
    height: 650px;
    background-color: #fff;
    border-radius: 40px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    position: relative;
}

.feature-mockup img {
    border-radius: 30px;
}

.feature-mockup .mockup-overlay {
    border-radius: 30px;
}

/* Section 4: Showcase */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card-content h4 {
    margin-bottom: 0.5rem;
}

.card-content p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* Section 5: Why */
.value-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.value-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-orange-hover);
}

.value-item p {
    font-size: 1.125rem;
}

/* Section 6: Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.process-step .step-number {
    font-size: 3rem;
    font-weight: 300;
    color: rgba(230, 106, 18, 0.2);
    margin-bottom: -1.5rem;
    position: relative;
    z-index: 1;
}

.step-image {
    width: 200px;
    height: 400px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 6px;
}

.step-image img {
    border-radius: 14px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.step-image .mockup-overlay {
    border-radius: 14px;
}

/* CTA Section */
.cta-content {
    text-align: left;
}

.cta-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-start;
}

.play-store-btn svg {
    margin-right: 0.75rem;
}

/* Footer */
.footer {
    background-color: var(--text-main);
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    font-weight: 400;
    color: var(--primary-orange);
}

.footer-links h4,
.footer-app h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-play-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: var(--white);
}

.footer-play-btn:hover {
    background: var(--white);
    color: var(--text-main);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Animations */
.fade-up, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up {
    transform: translateY(30px);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.fade-up.active, 
.reveal-up.active, 
.reveal-left.active, 
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.faq-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-orange-hover);
}

.faq-item p {
    margin-bottom: 0;
}

/* CTA Download Mockup */
.cta-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.cta-device {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .split-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }
    
    .hero-visual {
        height: auto;
        margin-top: 1rem;
    }
    
    .center-device { left: 50%; transform: translateX(-50%); }
    .left-device { left: 5%; }
    .right-device { right: 5%; }
    
    .feature-story.reverse {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .category-grid,
    .process-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: auto;
    }
    
    .device-mockup {
        width: 200px;
        height: 420px;
    }
    
    .split-content,
    .split-visual {
        text-align: center;
    }
    
    .editorial-list li {
        text-align: left;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .left-device, .right-device {
        display: none;
    }
    
    .feature-mockup {
        width: 260px;
        height: 540px;
    }
}
