/* CSS Variables for Inventory - Matching retail.css exactly */
:root {
    /* Primary Brand Colors - Red Theme */
    --posinity-primary: #dc2626; /* Red color matching theme */
    --posinity-primary-dark: #b91c1c;
    --posinity-primary-light: #ef4444;
    --posinity-secondary: #000000;
    --posinity-accent: #dc2626;
    
    /* Background Colors - Matching retail.css */
    --bg-dark: #0f0f0f;
    --white: #ffffff;
    --gray-800: #1a1a1a;
    
    /* Gradient Colors - Matching retail.css exactly */
    --gradient-hero: linear-gradient(45deg, #000 0%, #1a0b2e 50%, #4a1b3d 100%);
    --gradient-light: linear-gradient(135deg, #fef2f2 0%, #fee2e2 50%, #fecaca 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #fef2f2 50%, #fee2e2 100%);
    --gradient-section: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%);
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    --gradient-secondary: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    --gradient-footer: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 50%, #333333 100%);
    
    /* Text Colors - Matching retail.css */
    --text-primary: #1a1a1a;
    --text-secondary: #5a6270;
    --text-light: #8b8b8b;
    --text-white: #ffffff;
    
    /* Shadow Colors - Matching retail.css but with red theme */
    --shadow-light: rgba(220, 38, 38, 0.1);
    --shadow-medium: rgba(220, 38, 38, 0.15);
    --shadow-dark: rgba(220, 38, 38, 0.2);
    
    /* Neutral Colors */
    --light-gray: #F8FAFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Features Header - Matching retail.css exactly */
.features-header {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    text-align: center;
    padding: 0 2rem;
}

.features-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--posinity-primary) 0%, var(--posinity-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subheadline {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Center section headings - Matching retail.css */
.features-container h2 {
    text-align: center;
    width: 100%;
}

body {
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
}

/* Hero Section - Matching retail.css exactly */
.hero-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 50%, var(--bg-dark) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 78vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.hero-btn.primary {
    background: var(--posinity-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.hero-btn.primary:hover {
    background: var(--posinity-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.hero-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-btn.secondary:hover {
    background: white;
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-dark:hover {
    background-color: transparent;
    border: 1px solid #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.btn-dark:hover svg {
    transform: translateX(4px);
}

.btn-dark svg {
    vertical-align: middle;
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 450px;
    max-width: 100%;
    height: auto;
}

/* Inventory-specific animations */
@keyframes inventoryFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(2deg);
    }
    50% {
        transform: translateY(-4px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-2deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes inventoryPulse {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.08) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes inventoryGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(220, 38, 38, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.6));
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(220, 38, 38, 0.3));
    }
}

@keyframes inventorySlide {
    0% {
        transform: translateX(-10px) scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: translateX(0px) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translateX(10px) scale(0.95);
        opacity: 0.7;
    }
}

@keyframes inventoryBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Inventory card specific animations */
.inventory-feature-card {
    perspective: 2000px;
    height: 320px;
}

.inventory-card-inner {
    position: relative;
    width: 90%;
    height: 90%;
    text-align: center;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: default;
    margin: 0 auto;
}

.inventory-feature-card:hover .inventory-card-inner {
    transform: rotateY(180deg) scale(1.05);
}

.inventory-card-front, .inventory-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.inventory-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.inventory-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(220, 38, 38, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.inventory-feature-card:hover .inventory-card-front::before {
    opacity: 1;
}

.inventory-card-front img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 6px 12px rgba(220, 38, 38, 0.2));
    animation: inventoryFloat 4s ease-in-out infinite;
}

/* SVG specific animations for inventory */
.inventory-card-front img[alt="Real-time Inventory Tracking"] {
    animation: inventoryFloat 4s ease-in-out infinite;
}

.inventory-card-front img[alt="Automated Alerts & Notifications"] {
    animation: inventoryPulse 3s ease-in-out infinite;
}

.inventory-card-front img[alt="Multi-location Inventory Management"] {
    animation: inventoryGlow 2.5s ease-in-out infinite;
}

.inventory-card-front img[alt="Barcode Scanning & QR Codes"] {
    animation: inventorySlide 3.5s ease-in-out infinite;
}

.inventory-card-front img[alt="Analytics & Insights"] {
    animation: inventoryBounce 2s ease-in-out infinite;
}

.inventory-feature-card:hover .inventory-card-front img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(220, 38, 38, 0.3));
}

.inventory-card-front h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

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

.inventory-feature-card:hover .inventory-card-front h3 {
    color: var(--posinity-primary);
    transform: translateY(-5px);
    animation: fadeInUp 0.6s ease-out;
}

.inventory-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(145deg, var(--posinity-primary), var(--posinity-primary-dark));
    color: white;
    padding: 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.inventory-card-back h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    animation: fadeIn 0.8s ease-out;
}

.inventory-card-back p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    animation: fadeIn 1s ease-out;
}

/* Stagger the inventory card animations */
.inventory-feature-card:nth-child(1) .inventory-card-front img,
.inventory-feature-card:nth-child(1) .inventory-card-front h3 {
    animation-delay: 0s;
}

.inventory-feature-card:nth-child(2) .inventory-card-front img,
.inventory-feature-card:nth-child(2) .inventory-card-front h3 {
    animation-delay: 0.2s;
}

.inventory-feature-card:nth-child(3) .inventory-card-front img,
.inventory-feature-card:nth-child(3) .inventory-card-front h3 {
    animation-delay: 0.4s;
}

.inventory-feature-card:nth-child(4) .inventory-card-front img,
.inventory-feature-card:nth-child(4) .inventory-card-front h3 {
    animation-delay: 0.6s;
}

.inventory-feature-card:nth-child(5) .inventory-card-front img,
.inventory-feature-card:nth-child(5) .inventory-card-front h3 {
    animation-delay: 0.8s;
}

/* Inventory section specific styling */
.inventory-features-section {
    background: var(--gradient-section);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.inventory-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--posinity-primary-light), transparent);
    margin: 0;
}



@keyframes gradientShift {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.inventory-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.inventory-features-container h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gray-800);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.inventory-features-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.inventory-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .inventory-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .inventory-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .inventory-feature-card {
        height: 280px;
    }
    
    .inventory-features-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* New Simplified Design Styles */
.benefits-section {
    background: var(--gradient-section);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--posinity-primary-light), transparent);
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--gradient-card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 12px 40px var(--shadow-light), 0 4px 16px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
    text-align: center;
    overflow: hidden;
    position: relative;
}



.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px var(--shadow-medium), 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--posinity-primary-light);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-icon svg {
    color: var(--posinity-primary);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    transform: scale(1.05);
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.benefit-highlight {
    background: linear-gradient(135deg, var(--posinity-primary) 0%, var(--posinity-primary-light) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

/* Business Types Section */
.business-types-section {
    background: var(--gradient-card);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.business-types-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--posinity-primary-light), transparent);
    margin: 0;
}

.business-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.business-type-card {
    background: var(--gradient-card);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px var(--shadow-light), 0 4px 16px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.business-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--posinity-primary) 0%, var(--posinity-primary-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.business-type-card:hover::before {
    transform: scaleX(1);
}

.business-type-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px var(--shadow-medium), 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--posinity-primary-light);
}

.business-type-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.business-type-icon svg {
    color: var(--posinity-primary);
    transition: all 0.3s ease;
}

.business-type-card:hover .business-type-icon {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    transform: scale(1.05);
}

.business-type-card:hover .business-type-icon svg {
    transform: scale(1.1);
}

.business-type-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.business-type-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
}

/* Enhanced CTA Section */
.cta-section {
    background: var(--gradient-section);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--posinity-primary-light), transparent);
    margin: 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--posinity-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn.primary {
    background: var(--posinity-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.cta-btn.primary:hover {
    background: var(--posinity-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.cta-btn.secondary {
    background: white;
    color: var(--gray-800);
    border: 2px solid var(--gray-200);
}

.cta-btn.secondary:hover {
    border-color: var(--posinity-primary);
    color: var(--posinity-primary);
    transform: translateY(-2px);
}

/* Responsive Design for New Elements */
@media (max-width: 1024px) {
    .benefits-grid,
    .business-types-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .cta-stats {
        gap: 2rem;
    }
}

/* Responsive features-header - Matching retail.css */
@media (max-width: 768px) {
    .features-header h2 {
        font-size: 2rem;
    }
    
    .features-subheadline {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .features-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .benefits-grid,
    .business-types-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
} 