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

:root {
    /* Light Theme (SmartiConnect inspired) */
    --bg-main: #ffffff;
    --bg-card: #f8fafc;
    --bg-hover: #f1f5f9;
    --bg-alt: #f4f7fb;
    --border-color: #e2e8f0;
    
    /* Text Colors */
    --text-primary: #0B132B; /* Darkest blue for headings/primary */
    --text-secondary: #1C2541; /* Dark blue for body text */
    --text-muted: #64748b; 
    
    --accent: #10B981; /* Emerald green (not WhatsApp green) */
    --accent-hover: #059669;
    --brand-blue: #0B132B;
    --container-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-secondary);
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 32px 32px;
    background-color: var(--bg-main);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    transition: transform 0.2s, opacity 0.2s;
}

.logo:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.logo img {
    height: 65px;
    width: auto;
    margin-right: -28px; /* Aggressive pull to cut whitespace */
    z-index: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    z-index: 1;
}

.logo-text span {
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.logo-text small {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.footer-logo-text span {
    font-size: 2rem;
}

.footer-logo-text small {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

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

.nav-links a.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a.nav-item:hover {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--text-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-secondary {
    background-color: var(--bg-main);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.hero {
    padding: 13rem 0 7rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.25rem;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    max-width: 750px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
}

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

/* Section Common */
.section {
    padding: 7rem 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-main);
}

.section.alt-bg {
    background-color: var(--bg-alt);
    border-top: none;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* Industries Section */
.industries {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-main);
    text-align: center;
}

.industries p {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.industry-tags {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.industry-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.8;
}

.industry-tag:hover {
    opacity: 1;
}

.industry-tag img {
    width: 32px;
    height: 32px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-wrapper img {
    width: 28px;
    height: 28px;
    filter: invert(0.1); 
}

/* Split Content Section (Visual Builder & Templates) */
.split-section {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
}

.split-visual {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
    padding: 0;
    margin-left: 0;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.feature-list li img {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    filter: invert(0.1);
}

/* Catalogue Section */
.catalogue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cat-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 1rem;
    gap: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.cat-item img {
    width: 24px;
    height: 24px;
    filter: invert(0.1);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.pricing-card.featured {
    background: var(--bg-card);
    border: 2px solid var(--text-primary);
    position: relative;
    transform: scale(1.02);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0 2.5rem;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.faq-question {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none; /* hide default marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    transform: rotate(45deg);
    transition: transform 0.2s;
}

details[open] .faq-question::after {
    transform: rotate(225deg);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 1rem;
}

/* Demo Section */
.demo-box {
    background: var(--text-primary);
    color: #fff;
    border-radius: 24px;
    padding: 5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(11, 19, 43, 0.25);
}

.demo-box h2, .demo-box p {
    color: #fff;
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

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

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-contact h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-contact p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-contact a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 992px) {
    .split-section, .split-section.reverse {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .features-grid, .pricing-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 3rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .nav-links {
        display: none;
    }
}
