/* =========================================
   01. CSS Variables & Design System
   ========================================= */
:root {
    /* Primary Colors */
    --primary-blue: #103f72;
    --primary-green: #80c649;
    --primary-green-hover: #6eb03d;
    
    /* Accents */
    --accent-blue: #3abff8;
    --accent-green: #7dd053;
    --accent-yellow: #d3af37;
    --accent-red: #e62122;

    /* Comparison / Specific Branding */
    --vortex-blue: #103f72;
    --vortex-green: #7dd053;
    --vortex-yellow: #f7f755;
    --vortex-red: #e62122;

    /* Neutrals & Backgrounds */
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-light: #f0f2f5;
    --bg-white: #ffffff;
    
    /* Typography Colors */
    --text-dark: #1a1f36;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px rgba(16, 63, 114, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================
   02. Global Reset & Typography
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
    line-height: 1.2;
    font-weight: 700;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-green);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =========================================
   03. Layout Utilities
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-bg {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
}

/* =========================================
   04. Components (Buttons)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary-gold {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
}

.btn-primary-gold:hover {
    background-color: var(--accent-red);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

/* =========================================
   05. Navigation / Header
   ========================================= */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    margin-top: 15px;
    height: 70px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* =========================================
   06. Hero Section
   ========================================= */
.hero {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary-green);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-dashboard-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-dashboard-img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 20px 40px rgba(16, 63, 114, 0.15);
}

/* =========================================
   07. Structured Grids (Video & Compliance)
   ========================================= */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* =========================================
   08. Features Section
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Lowered from 320px */
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-green);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(16, 63, 114, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.fc-1 .feature-icon { color: var(--accent-blue); background: rgba(58, 191, 248, 0.1); }
.fc-2 .feature-icon { color: var(--primary-green); background: rgba(128, 198, 73, 0.1); }
.fc-3 .feature-icon { color: var(--accent-yellow); background: rgba(247, 247, 85, 0.2); }
.fc-4 .feature-icon { color: var(--accent-blue); background: rgba(58, 191, 248, 0.1); }
.fc-5 .feature-icon { color: var(--accent-green); background: rgba(125, 208, 83, 0.1); }
.fc-6 .feature-icon { color: var(--accent-red); background: rgba(230, 33, 34, 0.1); }
.fc-7 .feature-icon { color: var(--accent-blue); background: rgba(58, 191, 248, 0.1); }
.fc-8 .feature-icon { color: var(--primary-green); background: rgba(128, 198, 73, 0.1); }
.fc-9 .feature-icon { color: var(--accent-yellow); background: rgba(247, 247, 85, 0.2); }

/* =========================================
   09. Integrations / Logo Strip
   ========================================= */
.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.8;
}

.integration-logo {
    max-height: 40px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.integration-logo:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
}

/* =========================================
   10. How It Works (Steps)
   ========================================= */
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 2rem;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: dashed 2px var(--primary-blue);
    opacity: 0.2;
    z-index: 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--bg-white);
    border: 4px solid var(--primary-blue);
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step-item:hover .step-number {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    transform: scale(1.1);
}

.step-item h3 {
    margin-bottom: 0.5rem;
}

.step-item:nth-child(1) .step-number { background: rgba(58, 191, 248, 0.1); color: var(--accent-blue); border-color: var(--accent-blue); }
.step-item:nth-child(2) .step-number { background: rgba(128, 198, 73, 0.1); color: var(--primary-green); border-color: var(--primary-green); }
.step-item:nth-child(3) .step-number { background: rgba(247, 247, 85, 0.2); color: var(--accent-yellow); border-color: var(--accent-yellow); }

/* =========================================
   11. Comparison Table
   ========================================= */
.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--bg-main);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th {
    padding: 1.5rem;
    color: var(--text-muted);
}

.comparison-table th.vortex-col {
    background: var(--bg-alt);
    color: var(--vortex-blue);
    font-weight: 800;
    text-align: center;
    border-radius: 8px 8px 0 0;
    width: 25%;
}

.comparison-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table td.feature-name {
    font-weight: 500;
    color: var(--text-main);
}

.comparison-table td.vortex-col {
    text-align: center;
    background: var(--bg-alt);
    color: var(--vortex-green);
    font-weight: bold;
}

.comparison-table td.vortex-col.bottom-radius {
    border-radius: 0 0 8px 8px;
}

.comparison-table td.center-text {
    text-align: center;
}

.text-red {
    color: var(--vortex-red);
}

/* =========================================
   12. Pricing
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary-green);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card.founders {
    border: 2px solid var(--accent-yellow);
    transform: scale(1.05);
}

.pricing-card.founders:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card.blue {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
}

.pricing-card.blue:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 35px;
    right: -45px;
    background-color: var(--primary-green);
    color: white;
    padding: 5px 40px;
    font-size: 1rem;
    font-weight: 800;
    transform: rotate(45deg);
}

.founders-badge {
    position: absolute;
    top: 35px;
    right: -45px;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    padding: 5px 40px;
    font-size: 1.0rem;
    font-weight: 800;
    transform: rotate(45deg);
}

.remaining-badge {
    position: absolute;
    top: 35px;
    left: -45px;
    background-color: var(--vortex-blue);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 800;
    transform: rotate(-45deg);
}

.pricing-duration {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.pricing-discount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.pricing-discount span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: bold;
}

/* =========================================
   13. Footer
   ========================================= */
.footer {
    background-color: var(--primary-blue);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
}

.footer h4 {
    color: var(--bg-white);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* =========================================
   14. Subpages: Terms & Conditions
   ========================================= */
.terms_container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 3rem;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.terms_title {
    font-size: 2.5rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 1rem;
}

.terms_welcome {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.terms_content {
    color: var(--text-main);
}

.terms_section {
    margin-bottom: 2.5rem;
}

.terms_section_title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms_subsection_title {
    font-size: 1.2rem;
    color: var(--text-main);
    margin: 1.5rem 0 0.5rem 0;
}

.terms_section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.terms_list {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.terms_list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.terms_list li::before {
    content: '•';
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.terms_download_btn {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 3rem auto 0;
    text-align: center;
    background-color: var(--primary-green);
    color: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.terms_download_btn:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =========================================
   15. Subpages: Contact Page
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(58, 191, 248, 0.1);
    color: var(--vortex-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.contact-text p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-text a, .contact-text span {
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--vortex-blue);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.vortex-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.vortex-form .form-group {
    margin-bottom: 1.5rem;
}

.vortex-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.vortex-form input,
.vortex-form select,
.vortex-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-white);
    transition: var(--transition);
}

.vortex-form input::placeholder,
.vortex-form textarea::placeholder {
    color: #94a3b8;
}

.vortex-form input:focus,
.vortex-form select:focus,
.vortex-form textarea:focus {
    outline: none;
    border-color: var(--vortex-blue);
    box-shadow: 0 0 0 3px rgba(58, 191, 248, 0.15);
}

/* =========================================
   16. Subpages: Signup Plan Selectors
   ========================================= */
.plan-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.plan-card {
    cursor: pointer;
    display: block;
    position: relative;
}

.plan-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.plan-card-content {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition);
    background: var(--bg-white);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.plan-name {
    font-weight: 700;
    color: var(--text-main);
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.plan-card:hover .plan-card-content {
    border-color: #cbd5e1;
    background: var(--bg-light);
}

.plan-card input[type="radio"]:checked + .plan-card-content {
    border-color: var(--vortex-blue);
    background: rgba(58, 191, 248, 0.05);
    box-shadow: 0 0 0 4px rgba(58, 191, 248, 0.1);
}

/* =========================================
   17. Video Modal Elements
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 63, 114, 0.9);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--vortex-red);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-color: #000;
}

/* =========================================
   18. FAQ Accordion Elements
   ========================================= */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--vortex-blue);
    box-shadow: 0 4px 12px rgba(16, 63, 114, 0.05);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-blue);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--vortex-blue);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-content {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   19. Insights Feed (Blog Grid)
   ========================================= */

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.insight-card {
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: inherit; /* Prevents the whole card from turning link-green */
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.insight-image-wrapper {
    width: 110%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-alt);
}

.insight-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insight-card:hover .insight-image {
    transform: scale(1.05); /* Smooth zoom effect on hover */
}

.insight-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.insight-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.insight-meta .badge {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insight-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.insight-title {
    font-size: 1.35rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.insight-card:hover .insight-title {
    color: var(--primary-green);
}

.insight-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Pushes the 'Read More' link to the bottom */
    
    /* Truncates the text to 3 lines if it gets too long */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-read-more {
    font-weight: 600;
    color: var(--vortex-blue);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.insight-card:hover .insight-read-more {
    gap: 10px; /* Moves the arrow slightly to the right on hover */
    color: var(--primary-green);
}

/* =========================================
   20. Long-Form Article Styles
   ========================================= */

.article-container {
    max-width: 800px; /* Narrower width for reading comfort */
    margin: 0 auto;
    padding: 0 2rem;
}

.article-header {
    padding: 6rem 0 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.author-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--text-main);
    font-size: 1rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-body {
    background-color: var(--bg-white);
    font-size: 1.15rem; /* Slightly larger text for articles */
    line-height: 1.8;
    color: #334155;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.article-body h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    color: var(--primary-blue);
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: inherit;
}

.article-body ul {
    margin: 0 0 2rem 2rem;
}

.article-body ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0.5rem;
}

.article-body ul li::before {
    content: '•';
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.article-body blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--vortex-blue);
    margin: 3rem 0;
    padding: 2rem;
    border-left: 5px solid var(--primary-green);
    background: var(--bg-light);
    border-radius: 0 8px 8px 0;
}

/* Embedded Article Call-To-Action Box */
.article-cta {
    background: linear-gradient(135deg, var(--vortex-blue) 0%, #1a202c 100%);
    border-radius: 12px;
    padding: 3rem;
    margin-top: 4rem;
    display: flex;
    flex-direction: column; /* Forces the button below the text */
    align-items: flex-start; /* Aligns everything to the left */
    text-align: left;
    gap: 1.5rem; 
    box-shadow: var(--shadow-lg);
}

.article-cta .cta-content h3 {
    color: var(--bg-white);
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
}

.article-cta .cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
}

/* =========================================
   21. Responsive Media Queries (CONSOLIDATED)
   ========================================= */

/* Tablets and Below (Max Width: 992px) */
@media (max-width: 992px) {
    /* Hero & Dashboard */
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .hero p {
        margin: 0 auto 2.5rem auto;
    }
    .hero-btns {
        justify-content: center;
        margin-bottom: 2rem;
    }
    .hero-visual {
        width: 100%;
    }
    .hero-dashboard-img {
        transform: none; 
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
    .hero-dashboard-img:hover {
        transform: none; 
    }

    /* Navigation */
    .nav-container {
        justify-content: center;
        position: relative;
    }
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }


    /* --- 1. CENTER DEMO VIDEO SECTION --- */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .video-grid ul {
        display: inline-block;
        text-align: left; /* Keeps the lightning bolts aligned, but centers the whole block */
    }
    .video-preview .badge {
        bottom: 10px;
        right: 10px;
    }

    /* --- 2. CENTER COMPLIANCE SECTION --- */
    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    /* Forces the inline Flexbox checkmarks and flags to center */
    .compliance-grid h3, 
    .compliance-visual li {
        justify-content: center !important; 
    }
    .compliance-visual ul {
        display: inline-block;
        text-align: left; /* Centers the list block itself */
    }

    /* --- 3. CENTER FEATURES GRID --- */
    .feature-card {
        text-align: center;
    }
    .feature-icon {
        margin: 0 auto 1.5rem auto; /* Pushes the icon to the direct center */
    }

    /* --- 4. CENTER PRICING FEATURES --- */
    .pricing-features {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the checklist inside the pricing card */
    }

    /* CTA Banner override */
    .cta-banner {
        padding: 2rem 1.5rem !important; 
    }
    .cta-banner h2 {
        font-size: 1.8rem !important;
    }

    /* Steps Section */
    .steps-container::before {
        display: none;
    }
    .steps-container {
        flex-direction: column;
        gap: 4rem;
    }

    /* Pricing Card Hover Fixes */
    .pricing-card.popular,
    .pricing-card.founders,
    .pricing-card.blue {
        transform: none;
    }
    .pricing-card.popular:hover,
    .pricing-card.founders:hover,
    .pricing-card.blue:hover {
        transform: translateY(-5px);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Contact Page Overrides */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .vortex-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Mobile Phones (Max Width: 768px) */
@media (max-width: 768px) {

    .container {
        padding: 0 1.25rem; 
    }
    /* Hero */
    .hero {
        padding: 4rem 0;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-visual {
        width: 90%;
    }

    
    /* Logo Strip Integration */
    .logo img {
        height: 60px;

    }
    .logo-strip {
        gap: 2rem;
    }
    .integration-logo {
        max-height: 30px;
        max-width: 100px;
    }

    /* Comparison Table Wrapper (Inner shadow for horizontal scrolling hint) */
    .comparison-table-wrapper {
        box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.1);
    }

    /* Terms Page */
    .terms_container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    .terms_title {
        font-size: 2rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-brand h3 {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-bottom div {
        justify-content: center;
    }

    /* Article Page */
    .article-header {
        padding: 4rem 0 2rem 0;
    }
    .article-header h1 {
        font-size: 2.2rem;
    }
    .article-body {
        font-size: 1.05rem;
    }
    .article-body blockquote {
        font-size: 1.25rem;
        padding: 1.5rem;
    }
    .article-cta {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .article-cta .btn {
        width: 100%;
    }

    /* Insights Page */
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .insight-image-wrapper {
        height: 200px;
    }
    .insight-content {
        padding: 1.5rem;
    }
}