/* 
  Gyaansaar Sampad - Zoho Style Design System
  Professional & Transparent Enterprise SaaS Aesthetics
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Zoho-Inspired Color Palette */
    --primary: #18243b;         /* Dark Slate Blue for Headings */
    --accent: #2152ff;          /* Vibrant Zoho Blue */
    --accent-hover: #153bc0;
    --accent-light: #eff4ff;    /* Light background for cards/badges */
    
    --secondary: #00be46;       /* Growth Success Green */
    --warning: #fca311;         /* Corporate Orange */
    --danger: #ef233c;
    
    --text-main: #344054;       /* Slate 700 for body text */
    --text-muted: #667085;     /* Slate 500 */
    --text-dim: #98a2b3;       /* Slate 400 */
    
    --bg-main: #ffffff;
    --bg-surface: #f9fafb;     /* Light gray section backgrounds */
    --bg-card: #ffffff;
    
    --border-dim: #eaecf0;     /* light border */
    --border-accent: rgba(33, 82, 255, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Effects */
    --transition: all 0.3s ease-out;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.1);
    --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.06), 0 2px 4px -2px rgba(16, 24, 40, 0.04);
    --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
    
    --container-xl: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Hide ambient glow for light theme */
.bg-glow {
    display: none !important;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Override text-gradient with Zoho solid blue/black style */
.text-gradient {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: var(--primary) !important;
}

.text-accent { color: var(--accent) !important; }
.text-secondary { color: var(--secondary); }

.subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 650px;
    line-height: 1.7;
    margin-top: 0.5rem;
}

/* Layout */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    max-width: var(--container-xl);
}

.section-padding {
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .section-padding { padding: 6rem 0; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    font-size: 0.95rem;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-main) !important;
    border: 1px solid var(--border-dim);
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--text-dim);
}

/* Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-dim);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary) !important;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.nav-links {
    display: none;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-item {
        font-weight: 500;
        color: var(--text-main) !important;
        font-size: 0.95rem;
    }
    
    .nav-item:hover, .nav-item.active {
        color: var(--accent) !important;
    }
}

/* Feature Cards */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(16, 24, 40, 0.03);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .icon-box {
    background: var(--accent);
    color: #ffffff;
}

/* Trust & Compliance Badges */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 1024px) {
    .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

.compliance-badge {
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.compliance-badge:hover {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.compliance-badge i {
    color: var(--accent);
    width: 28px;
    height: 28px;
}

.compliance-badge span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: none;
    letter-spacing: normal;
}

/* Industry Focus Section */
.industry-focus {
    background-color: var(--bg-surface);
}

.focus-card {
    background: #ffffff;
    border: 1px solid var(--border-dim);
    border-left: 4px solid var(--accent);
    padding: 2rem;
    border-radius: var(--radius-md);
}

.focus-card:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}

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

.focus-card p {
    color: var(--text-muted);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Specifics */
.hero-content h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.15;
    color: var(--primary);
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-dim);
    overflow: hidden;
}

.hero-image-wrapper::after {
    display: none;
}

/* Pricing Card */
.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-dim);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--accent);
    border-width: 2px;
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

/* Grid helper */
.grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb {
    background: var(--text-dim);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* --- Footer CTA --- */
.footer-cta {
    background: var(--accent);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: -3.5rem;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.footer-cta h2, .footer-cta p {
    color: #ffffff !important;
}

.footer-main {
    padding-top: 8rem;
    background: #111822; /* Very dark Zoho blue-gray for depth */
    color: #ffffff;
}

.footer-grid-extended {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

@media (min-width: 1024px) {
    .footer-grid-extended {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    }
}

.footer-column h4 {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin-bottom: 1.25rem;
    opacity: 0.7;
}

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

.footer-links a {
    color: #98a2b3;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #98a2b3;
}

.social-icon:hover {
    background: var(--accent);
    color: #ffffff;
}

/* FAQ Accordion */
.faq-container {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-dim);
    margin-bottom: 0.75rem;
    border-radius: var(--radius-md);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.faq-answer {
    background: var(--bg-surface);
}

/* Comparison Table */
.comparison-container {
    background: #ffffff;
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
}

.comparison-table th {
    color: var(--primary);
    background: var(--bg-surface);
}

/* --- Form Styles --- */
.form-control {
    background: #ffffff;
    border: 1px solid var(--border-dim);
    color: var(--text-main);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(33, 82, 255, 0.1);
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Margins */
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 4rem; }

.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 4rem; }

/* Padding Plugins */
.pt-navbar { padding-top: 8rem; }

/* Grid Gaps */
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 3rem; }
.gap-xl { gap: 5rem; }

/* Layout Plugins */
.align-center { align-items: center; }
.flex-wrap { display: flex; flex-wrap: wrap; }

/* Font Utilities */
.font-sm { font-size: 0.9rem; }
.font-xs { font-size: 0.8rem; }
.line-height-lg { line-height: 1.8; }

/* Images */
.img-responsive { max-width: 100%; height: auto; }
.hero-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border-dim); }

/* Backgrounds & Borders */
.bg-surface { background-color: var(--bg-surface); }
.bordered-section { border-top: 1px solid var(--border-dim); border-bottom: 1px solid var(--border-dim); }

/* --- Components --- */
.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-light);
    border: 1px solid var(--border-accent);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Stats Section */
.stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--border-dim);
}

/* Floating Card */
.floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #ffffff;
    border: 1px solid var(--border-accent);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.floating-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    color: var(--accent);
}

/* Trust Marquee */
.marquee-title {
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-weight: 700;
}

.marquee-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(1);
}

.marquee-content h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0;
}

/* Steps */
.step-card {
    position: relative;
    padding: 1.5rem;
}

.step-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: -1.5rem;
    font-family: var(--font-heading);
}

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

.btn-light {
    background: #ffffff;
    color: var(--accent) !important;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    color: #ffffff !important;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer Additions */
.footer-bottom {
    margin-top: 6rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    color: var(--primary);
    font-size: 1.5rem;
}

@media (max-width: 1023px) {
    .mobile-toggle { display: block; }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .grid { gap: 2rem; grid-template-columns: 1fr !important; }
    .hero { text-align: center; }
    .stats-row { justify-content: center; margin-top: 2rem; }
    .floating-card { bottom: -10px; right: -10px; padding: 1rem; flex-direction: column; text-align: center; }
    .section-padding { padding: 3rem 0; }
    .footer-grid-extended { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { justify-content: center; text-align: center; margin-top: 4rem; padding-bottom: 2rem; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .pt-navbar { padding-top: 6rem; }
}

/* --- Pricing Features List (Helpful for pricing cards) --- */
.features-list {
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.features-list i {
    color: var(--accent);
    width: 18px;
    height: 18px;
}
