/* Theme Name: VDPL - Engineering Software That Scales Theme URI: https://vdpl.in Author: VDPL Author URI: https://vdpl.in Description: Ultra-lightweight custom WordPress theme for VDPL - Engineering software company. Built from scratch for maximum performance, Core Web Vitals compliance, and SEO optimization. Version: 1.0.0 Text Domain: vdpl License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: custom, lightweight, performance, seo, engineering, software, modern Requires at least: 6.0 Tested up to: 6.7 Requires PHP: 8.0 */ :root {
   --color-primary: #6366F1;
  --color-primary-dark: #4F46E5;
  --color-primary-light: #818CF8;
  --color-gray-900: #0F172A;
  --color-gray-700: #334155;
  --color-gray-600: #475569;
  --color-gray-50: #F8FAFC;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Font Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 600;

  --header-height: 88px;
  --container-width: 1240px;
}
 * { box-sizing: border-box; }
 html { scrollbar-gutter: stable; }
 body { margin: 0; padding: 0; font-family: var(--font-body); color: var(--color-gray-900); background: var(--color-gray-50); line-height: 1.5; -webkit-font-smoothing: antialiased; }
 .container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }
 img { max-width: 100%; height: auto; }
 /* Header */ .site-header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid #E2E8F0; z-index: 1000; display: flex; align-items: center; transition: background 0.4s ease, border 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease; }
 .header__inner { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
 .header__logo { display: flex; align-items: center; text-decoration: none; gap: 0.75rem; }
 .header__logo-icon { width: 32px; height: 32px; background: var(--color-primary); color: white; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 600; font-size: 1.25rem; }
 .header__logo-text { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; color: var(--color-gray-900); letter-spacing: -0.02em; }
 .header__nav { display: flex; align-items: center; gap: 2rem; }
 .nav-link-with-icon, .nav-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-gray-700);
  font-weight: var(--fw-medium);
  font-size: 14px;
  transition: 0.2s;
}
 .nav-link-with-icon:hover, .nav-dropdown__trigger:hover { color: var(--color-primary); }
 .nav-trigger-icon { width: 20px; height: 20px; opacity: 0.6; }
 .btn--header-sleek {
  background: var(--color-primary);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
 .btn--header-sleek:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
 /* Mega Menu Utility (Prevent Layout Breaks) */ .nav-dropdown { position: relative; }
 .mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px); width: 600px; background: white; border-radius: 20px; border: 1px solid #E2E8F0; box-shadow: 0 20px 40px rgba(0,0,0,0.1); padding: 2rem; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--saas-ease, ease), transform 0.3s var(--saas-ease, ease), visibility 0.3s; z-index: 1000; pointer-events: none; }
 .nav-dropdown:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
 /* Mobile Support (Essential for Revert) */ @media (max-width: 1024px) { 
    .header__nav { display: none; }
    .site-header { height: 72px; }
    .header__inner { padding: 0; }
}
 /* Base Utility Classes */ .text-gradient { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
 .saas-container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }
 /* CTA Section */ .cta-section { padding: 100px 0; }
 .cta-glow-card { background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 32px; padding: 5rem 2rem; position: relative; overflow: hidden; color: var(--color-gray-900); text-align: center; }
 .cta__title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
 .cta__description { font-size: 1.25rem; color: #94A3B8; max-width: 600px; margin: 0 auto 3rem; }
 .cta__actions { display: flex; align-items: center; justify-content: center; gap: 1rem; }
 .saas-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: 0.3s;
}
 .saas-btn--primary { background: var(--color-primary); color: white; }
 .saas-btn--glass { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); color: white; border: 1px solid rgba(255, 255, 255, 0.2); }
 /* Footer */ .site-footer { background: white; padding: 100px 0 40px; border-top: 1px solid #E2E8F0; }
 .footer__grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 5rem; margin-bottom: 80px; }
 .footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
 .footer__column-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 1.5rem;
  color: var(--color-gray-900);
}
 .footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
 .footer__links a { text-decoration: none; color: var(--color-gray-600); font-size: 0.9375rem; transition: 0.2s; }
 .footer__links a:hover { color: var(--color-primary); }
 .footer__logo { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; margin-bottom: 1.5rem; }
 .footer__logo-icon { width: 32px; height: 32px; background: var(--color-primary); color: white; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
 .footer__description { color: var(--color-gray-600); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 2rem; }
 .footer__bottom { border-top: 1px solid #E2E8F0; padding-top: 40px; display: flex; justify-content: space-between; align-items: center; }
 .footer__copyright { color: #64748B; font-size: 0.875rem; }
 .footer__bottom-links { display: flex; gap: 2rem; }
 .footer__bottom-links a { color: #64748B; font-size: 0.875rem; text-decoration: none; }
 /* Animations */ .animate-on-scroll { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
 .animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* Footer Toggles (Mobile Only) */
.footer__toggle-icon {
    display: none;
}

/* Footer Social Icons Polish */
.footer__social {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-top: 1rem;
}
.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 50%;
    color: #64748B;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}
.footer__social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}
.footer__social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s ease;
}
.footer__social-link:hover svg {
    transform: scale(1.1);
}

/* Premium Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 32px;
    left: 32px;
    right: 32px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px 32px;
    z-index: 9999;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
}
.cookie-banner.is-visible {
    display: block;
    transform: translateY(0);
}
.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.cookie-banner__content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}
.cookie-banner__icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    flex-shrink: 0;
}
.cookie-banner__content p {
    color: #CBD5E1;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}
.cookie-banner__content a {
    color: var(--color-primary-light);
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.saas-btn--small {
    padding: 10px 20px !important;
    font-size: 0.875rem !important;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        padding: 24px;
    }
    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .cookie-banner__actions {
        width: 100%;
    }
    .cookie-banner__actions button {
        flex: 1;
    }
}

/* Mobile Footer Fixes */
@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 40px;
    }
    .footer__nav {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer__nav h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .footer__menu a {
        font-size: 0.9375rem;
    }
    .footer__menu li {
        margin-bottom: 0.75rem;
    }
    .footer__bottom {
        padding: 24px 0;
        flex-direction: column;
        gap: 16px;
        text-align: center;
        border-top: 1px solid var(--color-gray-100);
    }
    .footer__copyright {
        font-size: 0.8125rem;
        color: var(--color-gray-500);
        margin-bottom: 0px;
    }
    .footer__bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.25rem;
    }
    .footer__bottom-links a {
        font-size: 0.8125rem;
        color: var(--color-gray-600);
    }

    .footer__toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding-bottom: 15px;
        margin-bottom: 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .footer__toggle-icon {
        display: block;
        font-size: 1.25rem;
        font-weight: 300;
        color: var(--color-primary);
        transition: transform 0.3s ease;
        line-height: 1;
    }
    .footer__links {
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 0;
        margin-bottom: 0 !important;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .footer__section.active .footer__links {
        max-height: 600px;
        opacity: 1;
        padding-top: 20px;
        margin-bottom: 30px !important;
        pointer-events: auto;
    }
    .footer__section.active .footer__toggle-icon {
        transform: rotate(45deg);
        color: var(--color-gray-900);
    }
    .footer__section.active .footer__toggle {
        border-bottom-color: var(--color-primary);
    }
}
