:root {
    /* Premium Light Theme Colors */
    --bg-body: #fafcff; 
    --bg-card: rgba(255, 255, 255, 0.75); 
    --bg-card-solid: #ffffff;
    
    /* Primary Brand = Red */
    --primary: #f44336; 
    --primary-hover: #d32f2f; 
    --accent: #ff7043;
    --primary-glow: rgba(244, 67, 54, 0.35);
    
    /* Text */
    --text-main: #475569; 
    --text-heading: #0f172a; 
    --text-muted: #64748b; 
    --text-light: #ffffff;
    
    /* Borders & Shadow */
    --border-light: rgba(255, 255, 255, 0.8);
    --border-color: rgba(226, 232, 240, 0.7); 
    --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.04);
    --hover-shadow: 0 20px 40px rgba(244, 67, 54, 0.12);
    
    /* Utility Colors */
    --color-danger: #ef4444; /* Red for Bad Practices */
    --color-danger-bg: rgba(239, 68, 68, 0.05); /* Light red bg */
    --color-success: #10b981; /* Green for Good Practices */
    --color-success-bg: rgba(16, 185, 129, 0.05); /* Light green bg */

    /* Layout */
    --nav-height: 84px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

body {
    position: relative;
    overflow-x: hidden;
}

/* Background Grids & Orbs */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    z-index: -2;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244,67,54,0.15) 0%, rgba(244,67,54,0) 70%);
    top: -5%;
    left: -15%;
}

.orb-2 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(255,112,67,0.15) 0%, rgba(255,112,67,0) 70%);
    top: 35%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(244,67,54,0.1) 0%, rgba(244,67,54,0) 70%);
    bottom: 5%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
    100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Typo */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-heading);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-gradient {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.08) 0%, rgba(255, 112, 67, 0.12) 100%);
    color: var(--primary);
}

.text-danger { color: var(--color-danger); }
.text-success { color: var(--color-success); }


/* Glassmorphism */
.glass-nav {
    background: rgba(250, 252, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(244, 67, 54, 0.2);
}

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

.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.w-100 {
    width: 100%;
}

/* Images */
.brand-logo {
    height: 48px;
    object-fit: contain;
}

.footer-logo {
    height: 40px;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--text-light);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(244, 67, 54, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.btn-glow {
    animation: glow-pulse 2s infinite alternate;
}

@keyframes glow-pulse {
    0% { box-shadow: 0 4px 15px var(--primary-glow); }
    100% { box-shadow: 0 12px 25px rgba(244, 67, 54, 0.5); }
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

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

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

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-heading);
}

/* Mobile Dropdown */
.mobile-dropdown {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    flex-direction: column;
}

.mobile-dropdown.active {
    display: flex;
}

.mobile-dropdown ul {
    list-style: none;
}

.mobile-dropdown li {
    margin-bottom: 1rem;
}

.mobile-dropdown a {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 20px);
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 3.5rem;
    line-height: 1.7;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Dashboard Mockup */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    transform: perspective(1200px) rotateX(12deg) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.hero-image-wrapper:hover {
    transform: perspective(1200px) rotateX(0deg) translateY(0);
}

.mockup-header {
    height: 48px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-header-title {
    margin-left: 20px;
    flex-grow: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.6;
    background: rgba(0,0,0,0.03);
    padding: 4px;
    border-radius: 6px;
    max-width: 250px;
}

.mockup-body {
    display: flex;
    height: calc(100% - 48px);
}

.sidebar {
    width: 200px;
    background: #fdfdfd;
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    height: 24px;
    background: #f1f5f9;
    border-radius: 6px;
    width: 100%;
}
.sidebar-item.active {
    background: rgba(244, 67, 54, 0.1);
}

.content {
    flex-grow: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: #fcfcfc;
}

.card-row {
    display: flex;
    gap: 1.25rem;
    height: 100px;
}

.card-sm, .card-lg {
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.skeleton::after {
    content: "";
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer { 100% { left: 200%; } }

/* Comparison Section (Excel vs Kupa) */
.comparison-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.comparison-card {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.comparison-card.old-way {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-color);
    box-shadow: none; /* Make it look dull */
}

.comparison-card.new-way {
    border: 1px solid rgba(244, 67, 54, 0.3);
    box-shadow: var(--hover-shadow);
}

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-muted);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 10;
}

.comparison-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    text-align: center;
}

.icon-old {
    font-size: 3.5rem;
    color: #107c41; /* Excel green approx */
}

.comparison-logo {
    height: 36px;
    object-fit: contain;
}

.comparison-card h3 {
    font-size: 1.25rem;
    color: var(--text-heading);
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
}

.comparison-list li i {
    font-size: 1.25rem;
    margin-top: 2px;
}

.comparison-card.old-way .comparison-list li div {
    color: var(--text-muted);
}

.comparison-card.new-way .comparison-list li div {
    color: var(--text-main);
}

.comparison-list li div strong {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}


/* Workflow / Timeline Section */
.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    z-index: 2;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.15);
    border: 2px solid #fff;
}

.step-content {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.step-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 6rem;
    color: rgba(244, 67, 54, 0.03);
    z-index: -1;
    transform: rotate(-15deg);
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.5;
}

.step-connector {
    flex-grow: 0.2;
    height: 4px;
    background: var(--border-color);
    margin-top: 32px; /* Half of step-icon height */
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.step-connector .line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 1.5s ease;
}

.process-timeline.animate-line .line-fill {
    width: 100%;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Pricing Grid for 4 Items */
.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: stretch; /* Keep heights consistent */
}

.pricing-card {
    padding: 2.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
}

.pricing-card.popular {
    border-color: rgba(244, 67, 54, 0.4);
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 25px 40px rgba(244, 67, 54, 0.1);
}

.popular-bg-blur {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 20px 20px 0 0;
}

.popular-badge {
    position: absolute;
    top: -15px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white; padding: 0.4rem 1.25rem;
    border-radius: 9999px; font-size: 0.8rem; font-weight: 700;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
    white-space: nowrap;
}

.tier-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.popular .tier-header h3 {
    color: var(--primary);
}

.tier-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tier-price {
    margin: 1.5rem 0;
    text-align: center;
}

.custom-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90px;
}

.amount-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

.tier-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    vertical-align: top;
}

.tier-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -1.5px;
}

.tier-price .period {
    font-size: 0.85rem;
    font-weight: 500;
}

.billing-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 4px;
}

.divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 1.5rem;
}

.tier-features {
    flex-grow: 1;
    list-style: none;
    margin-bottom: 2rem;
}

.tier-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.tier-features i {
    color: var(--primary);
    margin-top: 3px;
}

.tier-enterprise i {
    color: var(--accent);
}

.highlight-feature {
    background: rgba(244, 67, 54, 0.04);
    padding: 0.5rem !important;
    border-radius: 8px;
    border: 1px solid rgba(244, 67, 54, 0.1);
}

.tier-btn {
    margin-top: auto;
}

.pricing-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    margin: 0 auto;
    max-width: 800px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Specific Onboarding Banner under Pricing */
.onboarding-notice {
    margin-top: 2rem;
    text-align: center;
}
.onboarding-notice-card {
    display: inline-flex;
    align-items: center;
    max-width: 800px;
    padding: 1.5rem 2.5rem;
    border: 1px solid rgba(244, 67, 54, 0.15);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(244, 67, 54, 0.05) 100%);
    text-align: left;
}
.notice-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.notice-left i {
    font-size: 2.5rem;
    color: var(--accent);
}
.notice-left h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}
.notice-left p {
    font-size: 0.95rem;
    color: var(--text-main);
}

.footer {
    padding-top: 60px;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.cta-card {
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding: 3.5rem 1.5rem;
    text-align: center;
    background: #fff;
    width: 90%;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-bottom {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.product-by {
    font-size: 0.85rem;
    color: var(--text-main);
}
.product-by strong {
    color: var(--text-heading);
}

.footer-copyright {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    background: #fafcff;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Smart Responsiveness for UI/UX */
@media (max-width: 1200px) {
    .pricing-grid-4 { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    
    .comparison-grid {
        flex-direction: column;
    }
    
    .vs-badge {
        position: relative;
        margin: -1.5rem auto;
        top: auto;
        left: auto;
        transform: none;
    }
    
    .process-timeline {
        flex-direction: column;
        align-items: center;
    }
    .process-step {
        width: 100%;
        margin-bottom: 1rem;
    }
    .step-connector {
        width: 4px;
        height: 40px;
        margin: 0 auto 1rem auto;
    }
    .step-connector .line-fill {
        width: 100%;
        height: 0%;
        background: linear-gradient(180deg, var(--primary), var(--accent));
        transition: height 1.5s ease;
    }
    .process-timeline.animate-line .line-fill {
        height: 100%;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons a { width: 100%; }
    
    .pricing-grid-4 { grid-template-columns: 1fr; }
    
    .footer-bottom { 
        flex-direction: column; 
        gap: 2rem; 
        text-align: center; 
        align-items: center;
    }
    .footer-brand {
        flex-direction: column;
    }
    .footer-disclaimer {
        justify-content: center;
    }
    
    .onboarding-notice-card {
        padding: 1.5rem;
    }
    .notice-left {
        flex-direction: column;
        text-align: center;
    }
}
