/* Core Premium Light SaaS Variables */
:root {
    --primary: #ea580c; /* Advanced Corporate Orange */
    --primary-light: #f97316; /* Vibrant Orange */
    --primary-dark: #c2410c;
    --secondary-color: #2563eb; 
    --bg-base: #ffffff; /* Pure White Corporate Background */
    --bg-surface: #ffffff; /* Clean White */
    --text-main: #0f172a; /* Slate Dark for high contrast text */
    --text-muted: #475569; /* Slate Gray for reading */
    --border-color: #e2e8f0;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px -10px rgba(234, 88, 12, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--text-main); }
h1 { 
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); 
    color: var(--text-main); /* Removed gradient to look solid heavy corporate */
}
h1 .highlight { color: var(--primary); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); text-align: center; margin-bottom: 3rem; }
p { color: var(--text-muted); font-size: 1.1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Background Geometry (Hidden for pure corporate white look) */
.hero-bg, .hero-bg-2 { display: none; }
.hero-bg { top: -10%; left: -5%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; background: rgba(249, 115, 22, 0.12); }
.hero-bg-2 { bottom: 10%; right: -5%; width: 40vw; height: 40vw; max-width: 500px; background: rgba(37, 99, 235, 0.06); animation-delay: -5s; }

@keyframes pulseOrbs {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.05); }
}

/* Grid & Layout */
.container { width: 100%; max-width: 1250px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 7rem 0; }
.pt-0 { padding-top: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }

/* B2B SaaS Header */
header {
    position: fixed; width: 100%; top: 0; z-index: 1000; padding: 1.2rem 0; 
    transition: var(--transition); background: transparent; border-bottom: 1px solid transparent;
}
header.scrolled {
    padding: 0.8rem 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color); box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; color: var(--primary); position: relative; z-index: 1002; }

/* Nav Links */
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links li a { font-weight: 600; font-size: 0.95rem; color: var(--text-muted); position: relative; padding: 0.5rem 0; }
.nav-links li a:hover, .nav-links li a.active { color: var(--primary); }
.nav-links li a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; border-radius: 3px;
    background: var(--primary); transition: var(--transition);
}
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; }

/* Professional Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 2.2rem; border-radius: 8px; font-weight: 600; cursor: pointer;
    transition: var(--transition); border: 2px solid transparent; gap: 10px; font-size: 0.95rem;
}
.btn-primary { 
    background: var(--primary); color: #fff !important; 
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2); 
}
.btn-primary:hover { 
    background: var(--primary-dark); transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.35); 
}
.btn-glass { 
    background: #fff; border-color: var(--border-color); color: var(--text-main) !important; 
}
.btn-glass:hover { 
    border-color: var(--primary); color: var(--primary) !important; 
    transform: translateY(-3px); box-shadow: var(--shadow-soft); 
}

/* Corporate Cards replacing old glassmorphism */
.glass-panel { /* Keeping the classname to avoid breaking HTML, but logic is changed */
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 16px; box-shadow: var(--shadow-soft);
}
.card { padding: 3rem 2.5rem; transition: var(--transition); position: relative; overflow: hidden; }
.card > * { position: relative; z-index: 1; }
.card:hover { transform: translateY(-10px); border-color: var(--primary-light); box-shadow: var(--shadow-hover); }

.card-icon {
    width: 64px; height: 64px; background: rgba(234, 88, 12, 0.08); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
    color: var(--primary); margin-bottom: 2rem; border: 1px solid rgba(234, 88, 12, 0.15); transition: var(--transition);
}
.card:hover .card-icon { background: var(--primary); color: #fff; transform: scale(1.1) rotate(5deg); }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 80px; text-align: center; }
.hero-content { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-subtitle {
    display: inline-block; padding: 0.5rem 1.4rem; background: rgba(234, 88, 12, 0.1);
    border-radius: 50px; font-size: 0.85rem; color: var(--primary); margin-bottom: 2rem; 
    letter-spacing: 1px; text-transform: uppercase; font-weight: 700; border: 1px solid rgba(234, 88, 12, 0.2);
}
.hero p { font-size: 1.25rem; margin-bottom: 3rem; max-width: 700px; color: var(--text-muted); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; }

/* Page Header */
.page-header { padding: 10rem 0 5rem; text-align: center; position: relative; }

/* Mobile Menu */
.menu-btn { display: none; background: none; border: none; color: var(--text-main); font-size: 1.8rem; cursor: pointer; z-index: 1002; }

@media (max-width: 992px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }

@media (max-width: 768px) {
    .menu-btn { display: flex; align-items: center; justify-content: center; }
    
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: #ffffff; flex-direction: column; justify-content: center; align-items: center;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); gap: 2rem; z-index: 1000; box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }
    .nav-links.active { right: 0; }
    .nav-links li a { font-size: 1.5rem; color: var(--text-main); font-weight: 700; }
    .nav-container > .btn.btn-primary { display: none; }
    
    .hero-cta { flex-direction: column; width: 100%; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 320px; }
    .card { padding: 2rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

/* Light Footer */
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; align-items: flex-start; }
footer { border-top: 1px solid var(--border-color); padding: 5rem 0 2rem; background: #ffffff; }
.footer-col h4 { color: var(--text-main); margin-bottom: 1.5rem; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); transition: var(--transition); display: inline-block; font-weight: 500; }
.footer-links a:hover { color: var(--primary); transform: translateX(4px); }
.footer-bottom { text-align: center; padding-top: 3rem; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }

/* Force Overrides for text set previously inline over dark mode */
strong, h1, h2, h3, h4, .content-area strong { color: var(--text-main) !important; }
span, .content-area span { color: inherit; }
.btn i, .btn-primary i { color: inherit !important; }

/* --------------------------------------
   E-COMMERCE WOOCOMMERCE-STYLE CART
----------------------------------------- */
.cart-icon-container { position: relative; cursor: pointer; color: var(--text-main); display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; transition: var(--transition); margin-left: auto; margin-right: 1.5rem; }
.cart-icon-container i { font-size: 1.3rem; }
.cart-icon-container:hover { background: rgba(234, 88, 12, 0.1); color: var(--primary); }
.cart-badge { position: absolute; top: -2px; right: -2px; background: var(--primary); color: white; font-size: 0.70rem; font-weight: 800; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid white; box-shadow: 0 4px 10px rgba(234,88,12,0.3); font-family: 'Outfit'; }

.cart-drawer { position: fixed; top: 0; right: -100%; width: 420px; max-width: 100vw; height: 100vh; background: var(--bg-base); box-shadow: -10px 0 40px rgba(0,0,0,0.15); z-index: 2000; transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; }
.cart-drawer.open { right: 0; }

.cart-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-header { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: var(--bg-surface); }
.cart-header h3 { margin: 0; font-size: 1.5rem; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.close-cart { background: rgba(0,0,0,0.05); width: 35px; height: 35px; border-radius: 50%; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-muted); display:flex; align-items:center; justify-content:center; transition:var(--transition); }
.close-cart:hover { background: #fee2e2; color: #ef4444; transform: rotate(90deg); }

.cart-items { flex-grow: 1; overflow-y: auto; padding: 2rem; }
.cart-item { display: flex; gap: 1.2rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px dashed var(--border-color); position: relative; }
.cart-item-img { width: 85px; height: 85px; background: rgba(234, 88, 12, 0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(234, 88, 12, 0.1); padding: 5px; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-details { flex-grow: 1; }
.cart-item-title { font-weight: 800; color: var(--text-main); margin-bottom: 0.25rem; font-size: 1.1rem; line-height: 1.2; }
.cart-item-plan { font-size: 0.8rem; color: var(--primary); font-weight: 700; text-transform: uppercase; margin-bottom: 0.8rem; background: rgba(234, 88, 12, 0.1); display: inline-block; padding: 2px 8px; border-radius: 4px; }
.cart-item-price { font-weight: 800; color: var(--text-main); font-size: 1.15rem; }
.cart-item-actions { display: flex; align-items: center; gap: 12px; margin-top: 1rem; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; }
.qty-btn { background: var(--bg-surface); border: none; width: 30px; height: 30px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: bold; color: var(--text-main); transition: background 0.2s; }
.qty-btn:hover { background: rgba(0,0,0,0.05); }
.qty-value { width: 30px; text-align: center; font-size: 0.9rem; font-weight: 700; }

.remove-item { color: #ef4444; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: 6px; padding: 5px 10px; cursor: pointer; font-size: 0.8rem; font-weight: 700; transition: var(--transition); }
.remove-item:hover { background: #ef4444; color: white; }

.cart-footer { padding: 2rem; border-top: 1px solid var(--border-color); background: var(--bg-surface); box-shadow: 0 -10px 20px rgba(0,0,0,0.02); z-index: 10; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--text-main); }

.toast-notification { position: fixed; bottom: 30px; right: 30px; background: #ffffff; border-left: 5px solid var(--primary); box-shadow: 0 15px 40px rgba(0,0,0,0.15); padding: 1rem 1.5rem; border-radius: 8px; z-index: 3000; display: flex; align-items: center; gap: 1rem; transform: translateY(150px); opacity: 0; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); font-weight: 600; color: var(--text-main); font-family: 'Outfit'; }
.toast-notification.show { transform: translateY(0); opacity: 1; }

@media (max-width: 768px) { .cart-icon-container { margin-right: 1rem; } .cart-drawer { width: 100vw; } }
