/* style.css - Style system for My Kalvikoodam Sales & Admin Portal */

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

:root {
    /* Color Palette - Educate/Trust Theme */
    --primary: #4f46e5;       /* Indigo */
    --primary-hover: #4338ca;
    --primary-light: #e0e7ff;
    --secondary: #06b6d4;     /* Cyan */
    --secondary-hover: #0891b2;
    --accent: #f59e0b;        /* Amber */
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.07), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: 16px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-main: #0b0f19;
    --bg-card: #151c2c;
    --border: #222e45;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary-light: rgba(79, 70, 229, 0.15);
    --glass-bg: rgba(21, 28, 44, 0.7);
    --glass-border: rgba(34, 46, 69, 0.6);
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.25);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-secondary);
    line-height: 1.6;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    z-index: -1;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}
.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

.btn-icon {
    padding: 8px;
    border-radius: var(--radius-sm);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--border);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08), transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(79, 70, 229, 0.08), transparent 45%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge {
    align-self: flex-start;
    padding: 6px 14px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
}

.hero-mockup {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.hero-visual:hover .hero-mockup {
    transform: translateY(-8px) scale(1.01);
}

.hero-addon-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-addon-icon {
    width: 40px;
    height: 40px;
    background-color: #fef3c7;
    color: #d97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Features Grid Section */
.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-title {
    font-size: 32px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-card:nth-child(even) .feature-icon {
    background-color: #cffafe;
    color: var(--secondary);
}

.feature-name {
    font-size: 18px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Tabs Panel Slider */
.slider-container {
    margin-top: 32px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.slider-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.slider-tab {
    background: none;
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.slider-tab:hover, .slider-tab.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.slider-content {
    display: none;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.slider-content.active {
    display: grid;
}

.slider-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slider-title {
    font-size: 24px;
}

.slider-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slider-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.slider-item-check {
    width: 20px;
    height: 20px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.slider-image-container {
    background: linear-gradient(135deg, var(--primary-light), var(--bg-main));
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 320px;
}

.slider-icon-main {
    font-size: 80px;
    color: var(--primary);
    animation: pulse 2s infinite;
}

/* ROI Calculator */
.roi-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.roi-inputs {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.roi-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.roi-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-primary);
}

.roi-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--border);
    outline: none;
    transition: var(--transition);
}

.roi-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.roi-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.roi-results {
    background: linear-gradient(135deg, #1e1b4b, #0f172a);
    padding: 32px;
    border-radius: var(--radius-md);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.roi-title-dark {
    color: #e2e8f0;
    font-size: 18px;
}

.roi-savings-huge {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: #38bdf8; /* cyan */
    line-height: 1.1;
}

.roi-breakdown {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.roi-breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #94a3b8;
}

.roi-breakdown-value {
    color: white;
    font-weight: 600;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.03);
}

.pricing-popular-badge {
    position: absolute;
    top: -16px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.pricing-name {
    font-size: 22px;
}

.pricing-price-container {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
}

.pricing-period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.pricing-feature-check {
    color: var(--success);
    font-weight: 700;
    margin-top: 2px;
}

/* Testimonials Carousel */
.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-name {
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.testimonial-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.testimonial-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: all 0.3s ease-out;
    color: var(--text-secondary);
    font-size: 14px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-icon-arrow {
    transition: var(--transition);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
}

/* Lead Form Section */
.lead-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: flex-start;
}

.lead-info-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-text-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-text-value {
    font-size: 16px;
}

.form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form-group.margin-none {
    margin-bottom: 0;
}

.form-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

textarea.form-input {
    height: 120px;
    padding: 12px 16px;
    resize: none;
}

/* Footer */
.footer {
    position: relative;
    background-color: #0b0f19;
    background-image: radial-gradient(ellipse at bottom, rgba(79, 70, 229, 0.12) 0%, rgba(6, 182, 212, 0.02) 40%, transparent 70%);
    color: #94a3b8;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.4), rgba(6, 182, 212, 0.4), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 50px;
    align-items: start;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    color: white;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0px;
    transition: all 0.25s ease;
}

.footer-link::before {
    content: '→';
    opacity: 0;
    width: 0;
    transition: all 0.25s ease;
    color: var(--secondary);
    font-weight: bold;
}

.footer-link:hover {
    color: white;
    padding-left: 4px;
}

.footer-link:hover::before {
    opacity: 1;
    width: 14px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-newsletter-text {
    font-size: 13px;
    line-height: 1.5;
    color: #94a3b8;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
    position: relative;
}

.footer-newsletter-input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.footer-newsletter-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

/* Responsiveness for Redesigned Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-grid > :first-child,
    .footer-grid > :last-child {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 50px 0 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 30px;
    }
    .footer-grid > :first-child,
    .footer-grid > :last-child {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Toasts Alert Notification */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.toast {
    min-width: 300px;
    padding: 16px 20px;
    background-color: var(--bg-card);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-xl);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transform: translateY(100px);
    opacity: 0;
    animation: slideIn 0.3s forwards;
    transition: var(--transition);
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--error);
}

/* Admin Dashboard layout */
.admin-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.admin-sidebar {
    width: 260px;
    background-color: #0f172a;
    border-right: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
    color: #94a3b8;
    flex-shrink: 0;
}

.admin-sidebar-header {
    height: 72px;
    border-bottom: 1px solid #1e293b;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 10px;
}

.admin-nav {
    flex-grow: 1;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    transition: var(--transition);
}

.admin-nav-item:hover, .admin-nav-item.active {
    background-color: #1e293b;
    color: white;
}

.admin-sidebar-footer {
    padding: 16px;
    border-top: 1px solid #1e293b;
}

.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-main);
    overflow: hidden;
}

.admin-header {
    height: 72px;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    flex-shrink: 0;
}

.admin-title-area {
    display: flex;
    flex-direction: column;
}

.admin-title {
    font-size: 20px;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.admin-user-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.admin-content-view {
    flex-grow: 1;
    padding: 32px;
    overflow-y: auto;
    display: none;
}

.admin-content-view.active {
    display: block;
}

/* Dashboard Widgets */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-footer {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.stat-footer.negative {
    color: var(--error);
}

/* Dashboard Charts Split */
.charts-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.chart-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-title {
    font-size: 16px;
}

.chart-visual-container {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Tables styling */
.card-table-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-controls {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.table-search {
    width: 280px;
    height: 38px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    outline: none;
    font-size: 14px;
    color: var(--text-primary);
}

.table-filters {
    display: flex;
    gap: 12px;
}

.table-filter-select {
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: var(--bg-card);
    color: var(--text-secondary);
    outline: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.admin-table th {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-weight: 700;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.admin-table tr:hover td {
    background-color: rgba(79, 70, 229, 0.02);
}

.status-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.status-badge.new { background-color: #eff6ff; color: #1d4ed8; }          /* Blue */
.status-badge.contacted { background-color: #fef3c7; color: #d97706; }    /* Amber */
.status-badge.demo { background-color: #faf5ff; color: #7e22ce; }         /* Purple */
.status-badge.won { background-color: #ecfdf5; color: #047857; }          /* Emerald */
.status-badge.lost { background-color: #fef2f2; color: #b91c1c; }         /* Red */

.status-badge.paid { background-color: #ecfdf5; color: #047857; }         /* Green */
.status-badge.pending { background-color: #fffbeb; color: #b45309; }      /* Orange */
.status-badge.partial { background-color: #eff6ff; color: #1d4ed8; }      /* Blue */

.actions-cell {
    display: flex;
    gap: 8px;
}

.btn-table {
    padding: 6px 12px;
    font-size: 12px;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-backdrop.active {
    display: flex;
}

.modal {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: scaleIn 0.3s ease-out;
    overflow: hidden;
}

.modal-lg {
    max-width: 900px;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Login Gate */
.login-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: center;
}

.login-header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.login-error {
    background-color: #fef2f2;
    color: var(--error);
    border: 1px solid #fee2e2;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    display: none;
}

/* AI Panel styling */
.ai-panel-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-icon-large {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.ai-panel-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Invoice Printing Specific Styles */
.invoice-container {
    background: white;
    color: #1e293b;
    padding: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.invoice-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.invoice-brand-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e1b4b;
}

.invoice-title {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    color: #4f46e5;
    text-align: right;
}

.invoice-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.invoice-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.invoice-bill-to {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.invoice-bill-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.invoice-table th {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid #cbd5e1;
    text-transform: uppercase;
    font-size: 11px;
}

.invoice-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.invoice-table td.strong {
    font-weight: 700;
    color: #0f172a;
}

.invoice-totals {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.invoice-totals-row {
    display: flex;
    width: 320px;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14px;
}

.invoice-totals-row.grand-total {
    border-top: 2px solid #cbd5e1;
    padding-top: 12px;
    font-size: 20px;
    font-weight: 800;
    color: #1e1b4b;
}

.invoice-footer-notes {
    margin-top: 56px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

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

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

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero-grid, .roi-card, .lead-grid, .slider-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-visual {
        order: -1;
    }
    .charts-grid {
        grid-template-columns: 1fr;
    }
    .header-container .logo img {
        height: 56px !important;
        margin-right: 8px !important;
    }
    .roi-card, .slider-content {
        padding: 24px !important;
    }
    .roi-results, .pricing-card {
        padding: 24px !important;
    }
}

@media (max-width: 480px) {
    .roi-card, .slider-content {
        padding: 16px !important;
    }
    .roi-results, .pricing-card {
        padding: 16px !important;
    }
    .hero-title {
        font-size: 28px !important;
    }
    .roi-savings-huge {
        font-size: 28px !important;
    }
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border);
        gap: 16px;
        z-index: 999;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-actions {
        display: none !important;
    }
    .nav-actions .btn {
        width: 100%;
    }
    .hero-title {
        font-size: 36px;
    }
    .roi-savings-huge {
        font-size: 36px;
    }
}

/* Print Specific Styles */
@media print {
    @page {
        size: portrait;
        margin: 15mm;
    }
    body {
        background-color: white !important;
        color: black !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
    
    /* Hide all layout structures except the printable invoice container */
    .admin-layout, .header, .footer, .toast-container, .modal-header, .modal-footer, .no-print, .modal-close {
        display: none !important;
    }
    
    .modal-backdrop {
        display: block !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .modal-backdrop .modal:not(#modal-invoice-viewer) {
        display: none !important;
    }
    
    .modal {
        border: none !important;
        box-shadow: none !important;
        max-width: 100% !important;
        max-height: 100% !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        display: block !important;
        background: transparent !important;
    }

    .modal-body {
        padding: 0 !important;
        overflow: visible !important;
    }

    .invoice-container {
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        background-color: white !important;
    }

    .invoice-header {
        border-bottom: 2px solid #1e293b !important;
        padding-bottom: 20px !important;
        margin-bottom: 30px !important;
    }

    .invoice-details-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
        margin-bottom: 30px !important;
    }

    .invoice-table th {
        background-color: #f1f5f9 !important;
        color: #1e293b !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        border-bottom: 2px solid #cbd5e1 !important;
    }

    .invoice-table td {
        border-bottom: 1px solid #e2e8f0 !important;
    }
}

/* --- MOBILE DASHBOARD SHELL LAYOUT --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    grid-template-columns: repeat(5, 1fr);
    z-index: 100;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-nav-item i {
    width: 20px;
    height: 20px;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--primary);
}

/* Mobile More Drawer Styles */
.mobile-drawer-backdrop {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: flex-end;
}

.mobile-drawer-backdrop.active {
    display: flex;
}

.mobile-drawer {
    width: 100%;
    background-color: var(--bg-card);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer-backdrop.active .mobile-drawer {
    transform: translateY(0);
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.mobile-drawer-header h3 {
    font-size: 16px;
    margin: 0;
    color: var(--text-primary);
}

#btn-close-mobile-drawer {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-drawer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.drawer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 12px;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.drawer-nav-item i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

@media (max-width: 768px) {
    .admin-sidebar {
        display: none !important;
    }
    .mobile-bottom-nav {
        display: grid;
    }
    .admin-main {
        padding-bottom: 72px; /* Prevent navigation overlay clipping */
        height: 100vh;
        overflow-y: auto;
    }
    .admin-header {
        padding: 0 16px;
    }
    .admin-header-actions .btn-secondary {
        display: none !important;
    }
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    .form-group-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .admin-content-view {
        padding: 16px !important;
        overflow-y: visible !important;
    }
    .mobile-drawer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- SAAS NEON GLOW EFFECTS --- */
.attention-glow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.attention-glow:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 10px 20px rgba(79, 70, 229, 0.3));
    border-color: var(--primary) !important;
}

.glow-blob {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, rgba(79, 70, 229, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    pointer-events: none;
}

/* --- COLUMN LAYOUTS AND ALIGNMENTS --- */
.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr) !important; /* 4 Columns Grid */
    }
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr) !important; /* 3 Columns Grid */
    }
}

@media (max-width: 768px) {
    .page-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
        text-align: center;
    }
    .page-hero-grid img {
        max-width: 100%;
        margin-top: 16px;
    }
}

/* --- PREMIUM ATTENTION-GRABBING ANIMATIONS --- */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite !important;
}

.animate-float-delayed {
    animation: float 7s ease-in-out infinite !important;
    animation-delay: 1.5s !important;
}

.pulse-glow-btn {
    animation: pulseGlow 2s infinite !important;
    position: relative;
}

/* Hover scales and gradients */
.attention-glow:hover {
    transform: translateY(-8px) scale(1.03) !important;
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.25) !important;
}

.feature-card, .pricing-card, .review-card, .faq-item, .benefit-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.feature-card:hover, .pricing-card:hover, .review-card:hover, .benefit-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(79, 70, 229, 0.05) !important;
}

/* Entrance Fade Up classes */
.entrance-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* --- ANIMATED GRAPHIC BLOB BACKGROUND DECORATIONS --- */
.glow-blob-animated-1 {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.18) 0%, rgba(79, 70, 229, 0) 70%);
    border-radius: 50%;
    filter: blur(65px);
    z-index: -1;
    pointer-events: none;
    top: -15%;
    left: -10%;
    animation: moveBlob 18s infinite alternate ease-in-out !important;
}

.glow-blob-animated-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(168, 85, 247, 0) 70%);
    border-radius: 50%;
    filter: blur(65px);
    z-index: -1;
    pointer-events: none;
    bottom: -15%;
    right: -10%;
    animation: moveBlob 25s infinite alternate-reverse ease-in-out !important;
}

@keyframes moveBlob {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(80px, -60px) scale(1.2); }
    100% { transform: translate(-60px, 80px) scale(0.8); }
}

.graphic-bg-decor {
    position: relative;
    overflow: hidden;
}
/* --- MORE GRAPHIC ANIMATIONS: FLOATING GEOMETRY --- */
.floating-geo {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    animation: floatUp 25s linear infinite;
    opacity: 0.15;
}
.geo-circle {
    width: 80px;
    height: 80px;
    border: 3px solid var(--primary);
    border-radius: 50%;
}
.geo-square {
    width: 60px;
    height: 60px;
    border: 3px solid var(--accent);
    border-radius: 8px;
}
.geo-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--text-muted) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.05 !important;
}
@keyframes floatUp {
    0% { transform: translateY(100vh) translateX(-20px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.2; }
    90% { opacity: 0.2; }
    100% { transform: translateY(-200px) translateX(50px) rotate(360deg); opacity: 0; }
}

/* 3D Parallax Hover for mockups */
.parallax-mockup {
    transition: transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform-style: preserve-3d;
}
/* --- SUPER PREMIUM TEXT & BUTTON ANIMATIONS --- */
.text-gradient-animated {
    background: linear-gradient(270deg, var(--primary), var(--accent), #e11d48, var(--primary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 6s ease infinite !important;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.badge-animated {
    animation: badgePulse 2s infinite;
    display: inline-block;
}

@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255, 255, 255, 0.4), rgba(255,255,255,0));
    transform: skewX(-25deg);
    animation: shimmerSlide 3s infinite;
}

@keyframes shimmerSlide {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
/* Staggered entrance for cards */
.stagger-1 { animation-delay: 0.1s !important; }
.stagger-2 { animation-delay: 0.2s !important; }
.stagger-3 { animation-delay: 0.3s !important; }
.stagger-4 { animation-delay: 0.4s !important; }

/* --- CUSTOM ANIMATED CURSOR --- */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    box-shadow: 0 0 10px 2px var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.2s, background-color 0.2s;
    display: none;
}

.cursor-outline {
    position: fixed;
    top: 0; left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.5) 0%, rgba(225, 29, 72, 0.1) 40%, transparent 70%);
    filter: blur(20px);
    border: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    display: none;
    mix-blend-mode: screen;
}

.cursor-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 8px var(--accent);
    animation: fadeParticle 0.8s forwards;
    transform: translate(-50%, -50%);
}

@keyframes fadeParticle {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, 40px) scale(0); opacity: 0; }
}

@media (min-width: 1024px) {
    .cursor-dot, .cursor-outline {
        display: block;
    }
}
