:root {
    --primary-color: #8b5cf6;
    --secondary-color: #6d28d9;
    --accent-color: #06b6d4;
    --bg-dark: #0f0728;
    --bg-card: #1e1b4b;
    --text-light: #f3f4f6;
    --text-gray: #9ca3af;
    --gradient-main: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
    --gradient-hero: linear-gradient(180deg, #2e1065 0%, #0f0728 100%);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: #f8f9fa;
    /* Light background for the content below hero as per design */
    color: #1f2937;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 125%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    font-size: 1rem;
    font-weight: 500;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6);
    background: linear-gradient(90deg, #7c3aed, #0891b2);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

.nav-links .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Space for navbar */
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, rgba(103, 232, 249, 1), rgba(216, 180, 254, 1));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 15px;
}

.section-header .underline {
    width: 80px;
    height: 4px;
    /* background: var(--primary-color); */
    background: linear-gradient(90deg, rgba(147, 51, 234, 1), rgba(6, 182, 212, 1));
    margin: 0 auto;
    border-radius: 2px;
}

/* Solution Section */
.solution {
    background-color: white;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f3f4f6;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #f5f3ff;
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #111827;
}

.card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Advanced Features */
.advanced-features {
    background: linear-gradient(135deg, #1e1b4b 0%, #6b21a8 50%, #3b0764 100%);
    color: white;
    position: relative;
    overflow: hidden;
}


.advanced-features .section-header h2 {
    color: white;
}

.advanced-features .section-header p {
    color: rgb(218, 208, 208);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

/* .feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
} */

.feature-icon {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(90deg, rgba(147, 51, 234, 1), rgba(8, 145, 178, 1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: white;
}

.feature-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Seamless Integration */
.integration {
    background: white;
}

.integration-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.integration-text {
    flex: 1;
}

.integration-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.integration-text p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.integration-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.int-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.int-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(90deg, rgba(243, 232, 255, 1), rgba(207, 250, 254, 1));
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.int-content h4 {
    font-size: 1rem;
    color: #334155;
}

.int-content p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.integration-visual {
    flex: 1;
    background: #1e1b4b;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.code-block {
    font-family: 'Courier New', Courier, monospace;
    color: #a5b4fc;
    font-size: 0.9rem;
}

.code-line {
    margin-bottom: 5px;
}

.cl-green {
    color: #4ade80;
}

.cl-blue {
    color: #60a5fa;
}

/* Key Capabilities */
.capabilities {
    background: #f8fafc;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.cap-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.cap-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.cap-icon {
    width: 50px;
    height: 50px;
    background: #f0f9ff;
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.cap-card h4 {
    font-size: 1rem;
    color: #334155;
}


/* Flexible Input Sources */
.input-sources {
    background: white;
}

.sources-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.source-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.source-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.source-item:hover .source-icon {
    border-color: var(--primary-color);
    background: #f5f3ff;
    transform: scale(1.1);
}

.source-item h4 {
    color: #475569;
    font-size: 1.1rem;
}

.connector-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin-top: -40px;
    min-width: 50px;
}

/* Why Choose Us */
.why-us {
    background: #f8fafc;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(243, 232, 255, 1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.why-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 400px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--accent-color);
    width: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

/* ===================================
   COMPREHENSIVE MOBILE RESPONSIVE
   =================================== */

/* iPhone SE (2nd/3rd gen) - 375 × 667 */
@media (max-width: 375px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 25px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cap-card {
        padding: 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-card {
        padding: 25px;
    }

    .integration-container {
        flex-direction: column;
        gap: 30px;
    }

    .integration-text h3 {
        font-size: 1.5rem;
    }

    .integration-text p {
        font-size: 0.95rem;
    }

    .int-content h4 {
        font-size: 0.9rem;
    }

    .int-content p {
        font-size: 0.8rem;
    }

    .integration-visual {
        padding: 15px;
        width: 100%;
        overflow-x: auto;
    }

    .code-block {
        font-size: 0.7rem;
        white-space: pre-wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .code-line {
        word-break: break-all;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 15px;
    }
}

/* Samsung Galaxy S8+ - 360 × 740 */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .card h3,
    .feature-card h3,
    .why-card h3 {
        font-size: 1.1rem;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .integration-visual {
        overflow-x: auto;
    }

    .code-block {
        font-size: 0.75rem;
    }

    .cap-card h4 {
        font-size: 0.9rem;
    }
}

/* iPhone XR - 414 × 896 */
@media (min-width: 376px) and (max-width: 414px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .integration-visual {
        overflow-x: auto;
    }

    .code-block {
        font-size: 0.75rem;
    }
}

/* iPhone 12 Pro - 390 × 844 */
@media (min-width: 376px) and (max-width: 390px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .integration-visual {
        overflow-x: auto;
    }

    .code-block {
        font-size: 0.75rem;
    }
}

/* Pixel 7, Samsung Galaxy S20 Ultra, Samsung Galaxy A51/71 - 412 × 915 */
@media (min-width: 391px) and (max-width: 412px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integration-visual {
        overflow-x: auto;
    }

    .code-block {
        font-size: 0.75rem;
    }
}

/* Galaxy Z Fold 5 (folded) - 412 × 883 */
@media (min-width: 391px) and (max-width: 412px) and (max-height: 883px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: 90vh;
    }
}

/* iPhone 14 Pro Max - 430 × 932 */
@media (min-width: 413px) and (max-width: 430px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integration-visual {
        overflow-x: auto;
    }

    .code-block {
        font-size: 0.8rem;
    }
}

/* Surface Duo (single screen) - 540 × 720 */
@media (min-width: 431px) and (max-width: 540px) {
    .hero h1 {
        font-size: 2.6rem;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integration-container {
        flex-direction: column;
    }

    .integration-visual {
        overflow-x: auto;
    }

    .code-block {
        font-size: 0.85rem;
    }
}

/* General Mobile (up to 768px) */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-radius: 0 0 15px 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn:hover {
        transform: scale(1.1);
    }

    .hero {
        padding-top: 100px;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 200px;
        text-align: center;
    }

    .connector-line {
        display: none;
    }

    .sources-container {
        flex-direction: column;
        gap: 30px;
    }

    .source-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .source-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-form {
        gap: 12px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
}

/* iPad Mini (6th gen) - 768 × 1024 */
@media (min-width: 769px) and (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* iPad Air (10.9") - 820 × 1180 */
@media (min-width: 769px) and (max-width: 820px) {
    .container {
        max-width: 750px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .capabilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .integration-container {
        gap: 40px;
    }
}

/* iPad Pro 11" - 834 × 1194 */
@media (min-width: 821px) and (max-width: 834px) {
    .container {
        max-width: 780px;
    }

    .hero h1 {
        font-size: 3.3rem;
    }

    .capabilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Surface Pro 7 - 912 × 1368 */
@media (min-width: 835px) and (max-width: 912px) {
    .container {
        max-width: 850px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .capabilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Nest Hub - 1024 × 600 */
@media (min-width: 913px) and (max-width: 1024px) and (max-height: 600px) {
    .hero {
        min-height: 90vh;
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section {
        padding: 60px 0;
    }

    .capabilities-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* General Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .section {
        padding: 80px 0;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .integration-container {
        gap: 40px;
    }

    .footer-content {
        gap: 50px;
    }
}

/* Asus Zenbook Fold - 1280 × 853 */
@media (min-width: 1025px) and (max-width: 1280px) and (max-height: 853px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .capabilities-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Nest Hub Max - 1280 × 800 */
@media (min-width: 1025px) and (max-width: 1280px) and (max-height: 800px) {
    .hero {
        min-height: 85vh;
    }

    .section {
        padding: 70px 0;
    }

    .capabilities-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Large Tablets/Small Laptops (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .container {
        max-width: 1100px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Touch-friendly improvements for all mobile devices */
@media (max-width: 1024px) {
    .btn {
        min-height: 44px;
        /* Apple's recommended touch target */
        padding: 12px 24px;
    }

    .nav-links a {
        padding: 15px 0;
        font-size: 1.1rem;
    }

    .card,
    .feature-card,
    .why-card,
    .cap-card {
        transition: transform 0.2s ease;
    }

    .card:active,
    .feature-card:active,
    .why-card:active,
    .cap-card:active {
        transform: scale(0.98);
    }

    /* Improve form usability on mobile */
    .contact-form input,
    .contact-form textarea {
        border-radius: 8px;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: var(--primary-color);
        transform: scale(1.02);
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 50px 0;
    }

    .capabilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .hero::before,
    .hero::after {
        filter: blur(80px);
    }

    .card-icon,
    .feature-icon,
    .why-icon,
    .cap-icon {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {

    /* Larger text for better readability */
    .card p,
    .feature-card p,
    .why-card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Better contrast for mobile */
    .hero p {
        color: rgba(255, 255, 255, 0.95);
    }

    /* Improved spacing */
    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        margin-bottom: 20px;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {

    .hero::before,
    .hero::after {
        display: none;
        /* Remove heavy blur effects on mobile */
    }

    .card,
    .feature-card,
    .why-card {
        will-change: auto;
        /* Reduce GPU usage */
    }

    /* Simplify animations on mobile */
    .card:hover,
    .feature-card:hover,
    .why-card:hover {
        animation: none;
    }
}

.advanced-features-desc {
    color: #ffffff !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

/* Mobile-specific optimizations */
@media (max-width: 480px) {
    .goal-vision-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .goal-vision-card {
        padding: 30px 20px;
    }

    .goal-vision-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .goal-vision-card h2 {
        font-size: 1.5rem;
    }
}

/* Inner Page Header */
.page-header {
    background: var(--gradient-hero);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Styles */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #f3f4f6;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 20px 0 10px;
}

.price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

.pricing-features {
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 15px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--accent-color);
}

/* Contact Page Styles */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-box {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item h3 i {
    color: var(--primary-color);
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

/* ===================================
   INTERACTIVE ANIMATIONS & EFFECTS
   =================================== */

/* Scroll Animations */
.card,
.feature-card,
.why-card,
.cap-card,
.pricing-card,
.section-header,
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--animation-delay, 0s);
}

.card.animate-in,
.feature-card.animate-in,
.why-card.animate-in,
.cap-card.animate-in,
.pricing-card.animate-in,
.section-header.animate-in,
.hero-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Transform Effects */
.card,
.feature-card,
.pricing-card,
.why-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(139, 92, 246, 0.1);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Custom Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    mix-blend-mode: difference;
    left: -20px;
    top: -20px;
}

.cursor-inner {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.cursor-follower.cursor-hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-color);
}

.cursor-follower.cursor-hover .cursor-inner {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}

/* Navbar Scroll Effects */
.navbar {
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 7, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.nav-links a {
    transition: transform 0.2s ease, color 0.3s ease;
}

/* Enhanced Card Hover Effects */
.card:hover,
.feature-card:hover,
.why-card:hover {
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.25);
}

.pricing-card:hover {
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.3);
}

/* Smooth Transitions for All Interactive Elements */
a,
button,
input,
textarea,
select {
    transition: all 0.3s ease;
}

/* Glow Effect on Focus */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    outline: none;
}

/* Icon Animations */
.card-icon,
.feature-icon,
.why-icon,
.cap-icon {
    transition: transform 0.3s ease;
}

.card:hover .card-icon,
.feature-card:hover .feature-icon,
.why-card:hover .why-icon,
.cap-card:hover .cap-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Parallax Layers */
.hero {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.hero-content {
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
}

/* Stagger Animation Delays */
.cards-grid .card:nth-child(1) {
    --animation-delay: 0.1s;
}

.cards-grid .card:nth-child(2) {
    --animation-delay: 0.2s;
}

.cards-grid .card:nth-child(3) {
    --animation-delay: 0.3s;
}

.cards-grid .card:nth-child(4) {
    --animation-delay: 0.4s;
}

.cards-grid .card:nth-child(5) {
    --animation-delay: 0.5s;
}

.cards-grid .card:nth-child(6) {
    --animation-delay: 0.6s;
}

.features-grid .feature-card:nth-child(1) {
    --animation-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2) {
    --animation-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
    --animation-delay: 0.3s;
}

.features-grid .feature-card:nth-child(4) {
    --animation-delay: 0.4s;
}

.features-grid .feature-card:nth-child(5) {
    --animation-delay: 0.5s;
}

.features-grid .feature-card:nth-child(6) {
    --animation-delay: 0.6s;
}

/* Pulse Animation for Important Elements */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.btn-primary:hover {
    animation: pulse 1s infinite;
}

/* Gradient Animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-primary {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

/* Floating Animation for Hero Elements */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.badge {
    animation: float 3s ease-in-out infinite;
}

/* Smooth Scale on Hover */
.source-item,
.int-item {
    transition: transform 0.3s ease;
}

.source-item:hover,
.int-item:hover {
    transform: scale(1.05);
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cursor-follower {
        display: none;
    }
}

/* Performance Optimizations */
.card,
.feature-card,
.pricing-card,
.why-card,
.btn,
.hero,
.hero-content,
.navbar {
    will-change: auto;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Enhanced Button Hover States */
.btn {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
}

/* Card Icon Glow Effect */
.card-icon,
.feature-icon {
    position: relative;
}

.card:hover .card-icon::after,
.feature-card:hover .feature-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

/* Section Header Animation */
.section-header {
    animation: fadeIn 0.8s ease-out;
}

.underline {
    animation: slideInLeft 0.6s ease-out 0.3s both;
}

/* ===================================
   ENHANCED FEATURES PAGE STYLING
   =================================== */

/* Features page specific - light background section */
.section .features-grid .feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.section .features-grid .feature-card:hover {
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Dark, attractive text for features page */
.section .features-grid .feature-content h3 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section .features-grid .feature-content p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Enhanced icon styling for light background */
.section .features-grid .feature-icon {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Add subtle gradient text effect to titles */
.section .features-grid .feature-content h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
    margin-top: 8px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.section .features-grid .feature-card:hover .feature-content h3::after {
    opacity: 1;
    width: 60px;
}

/* Make feature cards more prominent */
.section .features-grid .feature-card {
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section .features-grid .feature-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Enhanced typography */
.section .features-grid .feature-content h3 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    transition: background-position 0.3s ease;
}

.section .features-grid .feature-card:hover .feature-content h3 {
    background-position: 100% 0;
}

/* ===================================
   GOAL & VISION SECTION STYLING
   =================================== */

.goal-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.goal-vision-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.goal-vision-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.goal-vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    transition: transform 0.3s ease;
}

.goal-vision-card:hover .goal-vision-icon {
    transform: scale(1.1) rotate(5deg);
}

.goal-vision-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: rgb(0, 0, 0);
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.goal-vision-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.goal-vision-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.goal-vision-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    transition: transform 0.3s ease;
}

.goal-vision-list li:hover {
    transform: translateX(10px);
}

.goal-vision-list li i {
    color: #06b6d4;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .goal-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .goal-vision-card {
        padding: 40px 30px;
    }
}

/* ===================================
   ENHANCED CARD PARALLAX EFFECTS
   =================================== */

/* Smooth transitions for parallax layers */
.card-icon,
.feature-icon,
.why-icon,
.cap-icon,
.goal-vision-icon,
.feature-content,
.card h3,
.card p {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Card depth layers */
.card,
.feature-card,
.pricing-card,
.why-card,
.cap-card {
    position: relative;
    overflow: visible;
}

/* Add subtle shadow depth that responds to parallax */
.card::before,
.feature-card::before,
.pricing-card::before,
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.card:hover::before,
.feature-card:hover::before,
.pricing-card:hover::before,
.why-card:hover::before {
    opacity: 1;
}

/* Enhanced icon parallax movement */
.card-icon,
.feature-icon,
.why-icon,
.cap-icon {
    position: relative;
    z-index: 2;
}

/* Content layer parallax */
.feature-content,
.card h3,
.card p {
    position: relative;
    z-index: 1;
}

/* Scroll parallax opacity fade */
.card,
.feature-card,
.pricing-card,
.why-card,
.cap-card {
    transition: opacity 0.6s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add floating animation on scroll */
@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Stagger the floating effect */
.card:nth-child(odd) {
    animation: cardFloat 6s ease-in-out infinite;
}

.card:nth-child(even) {
    animation: cardFloat 6s ease-in-out infinite 0.5s;
}

/* Disable float on hover to allow parallax */
.card:hover,
.feature-card:hover,
.pricing-card:hover,
.why-card:hover {
    animation: none;
}

/* Enhanced glow effect on card hover */
.card:hover,
.feature-card:hover,
.pricing-card:hover,
.why-card:hover {
    box-shadow:
        0 20px 60px rgba(139, 92, 246, 0.25),
        0 0 40px rgba(6, 182, 212, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Parallax depth indicator */
.card:hover .card-icon,
.feature-card:hover .feature-icon,
.why-card:hover .why-icon {
    box-shadow:
        0 15px 35px rgba(139, 92, 246, 0.4),
        0 0 20px rgba(6, 182, 212, 0.3);
}

/* ===================================
   SPECIAL CAP-CARD MAGNETIC PARALLAX
   =================================== */

.cap-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    will-change: transform, box-shadow;
}

/* Magnetic hover state */
.cap-card:hover {
    z-index: 10;
    border-color: rgba(139, 92, 246, 0.6);
}

/* Icon special effects */
.cap-card .cap-icon {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    position: relative;
}

/* Add animated border glow */
.cap-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #8b5cf6, #06b6d4, #8b5cf6);
    background-size: 300% 300%;
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: gradientRotate 3s ease infinite;
}

.cap-card:hover::before {
    opacity: 1;
}

@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Add particle effect background */
.cap-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(139, 92, 246, 0.2) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.cap-card:hover::after {
    opacity: 1;
}

/* Title animation */
.cap-card h4 {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.cap-card:hover h4 {
    color: #8b5cf6;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* Add ripple effect on click */
.cap-card.clicked {
    animation: capCardPulse 0.6s ease;
}

@keyframes capCardPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }
}

/* Stagger entrance animation */
.cap-card:nth-child(1) {
    animation-delay: 0.1s;
}

.cap-card:nth-child(2) {
    animation-delay: 0.2s;
}

.cap-card:nth-child(3) {
    animation-delay: 0.3s;
}

.cap-card:nth-child(4) {
    animation-delay: 0.4s;
}

.cap-card:nth-child(5) {
    animation-delay: 0.5s;
}

.cap-card:nth-child(6) {
    animation-delay: 0.6s;
}

.cap-card:nth-child(7) {
    animation-delay: 0.7s;
}

/* Smooth icon rotation and scale */
.cap-card:hover .cap-icon {
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.6));
}

/* Add shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.cap-card:hover {
    background-image: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ===================================
   CAP-CARD DARKER HOVER CONTENT
   =================================== */

/* Darken background on hover */
.cap-card:hover {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.95), rgba(76, 29, 149, 0.95)) !important;
}

/* Make title much darker and bolder on hover */
.cap-card h4 {
    color: #64748b;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.cap-card:hover h4 {
    color: #0f172a !important;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
    font-size: 1.05rem;
}

/* Darken and enhance icon on hover */
.cap-card .cap-icon {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    color: #8b5cf6;
}

.cap-card:hover .cap-icon {
    background: linear-gradient(135deg, #1e1b4b, #4c1d95);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.5);
}

/* Add dark overlay effect */
.cap-card::after {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(15, 23, 42, 0.3) 0%,
            rgba(30, 27, 75, 0.2) 50%,
            transparent 70%);
}

/* Enhance border on hover */
.cap-card:hover {
    border: 2px solid rgba(15, 23, 42, 0.8);
    box-shadow:
        0 0 40px rgba(15, 23, 42, 0.6),
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(15, 23, 42, 0.2);
}

/* ===================================
   CAP-CARD BRIGHTER HOVER CONTENT
   =================================== */

/* Bright vibrant background on hover */
.cap-card:hover {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4) !important;
    box-shadow:
        0 0 60px rgba(139, 92, 246, 0.8),
        0 20px 60px rgba(6, 182, 212, 0.6),
        0 0 100px rgba(255, 255, 255, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.2);
}

/* Bright white title on hover */
.cap-card h4 {
    color: #475569;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.cap-card:hover h4 {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(139, 92, 246, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Bright glowing icon on hover */
.cap-card .cap-icon {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    color: #8b5cf6;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cap-card:hover .cap-icon {
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
    color: #8b5cf6;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 1),
        0 0 50px rgba(139, 92, 246, 0.8),
        0 8px 25px rgba(255, 255, 255, 0.5);
    transform: scale(1.2) rotate(0deg) !important;
}

/* Bright radial glow overlay */
.cap-card::after {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.4) 0%,
            rgba(139, 92, 246, 0.3) 30%,
            transparent 70%);
}

/* Bright animated border */
.cap-card::before {
    background: linear-gradient(45deg, #ffffff, #8b5cf6, #06b6d4, #ffffff);
    background-size: 400% 400%;
}

.cap-card:hover {
    border: 2px solid rgba(255, 255, 255, 0.8);
}

/* Add bright shimmer effect */
.cap-card:hover {
    background-image: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Bright pulsing glow animation */
@keyframes brightGlow {

    0%,
    100% {
        box-shadow:
            0 0 40px rgba(139, 92, 246, 0.6),
            0 20px 60px rgba(6, 182, 212, 0.4),
            0 0 80px rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow:
            0 0 80px rgba(139, 92, 246, 1),
            0 20px 80px rgba(6, 182, 212, 0.8),
            0 0 120px rgba(255, 255, 255, 0.4);
    }
}

.cap-card:hover {
    animation: shimmer 1.5s infinite, brightGlow 2s ease-in-out infinite;
}

/* Make h4 black on hover */
.cap-card:hover h4 {
    color: #000000 !important;
    font-weight: 700;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* ===================================
   FIXED PARALLAX TIMING FOR CAP-CARDS
   =================================== */

/* Fast title transition */
.cap-card h4 {
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Slower, stepped icon transition */
.cap-card .cap-icon {
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) !important;
    transition-delay: 0.1s;
}

/* Slower background transition */
.cap-card {
    transition:
        transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        background 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.15s,
        box-shadow 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.2s,
        border 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.1s !important;
}

/* Stepped overlay effects */
.cap-card::before {
    transition: opacity 0.6s ease 0.2s !important;
}

.cap-card::after {
    transition: opacity 0.5s ease 0.15s !important;
}

/* ===================================
   ALL CARDS BRIGHTER HOVER - ALL PAGES
   =================================== */

/* Bright gradient backgrounds for all cards on hover */
.card:hover,
.feature-card:hover,
.pricing-card:hover,
.why-card:hover {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4) !important;
    box-shadow:
        0 0 60px rgba(139, 92, 246, 0.8),
        0 20px 60px rgba(6, 182, 212, 0.6),
        0 0 100px rgba(255, 255, 255, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Bright white titles for all cards */
.card:hover h3,
.feature-card:hover h3,
.pricing-card:hover h3,
.why-card:hover h3 {
    color: #ffffff !important;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(139, 92, 246, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.3);
    -webkit-text-fill-color: #ffffff !important;
}

/* Bright white descriptions */
.card:hover p,
.feature-card:hover p,
.feature-card:hover .feature-content p,
.pricing-card:hover p,
.why-card:hover p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Bright glowing icons */
.card:hover .card-icon,
.feature-card:hover .feature-icon,
.pricing-card:hover .pricing-icon,
.why-card:hover .why-icon {
    background: linear-gradient(135deg, #ffffff, #f0f9ff) !important;
    color: #8b5cf6 !important;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 1),
        0 0 50px rgba(139, 92, 246, 0.8),
        0 8px 25px rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.15) rotate(5deg) !important;
}

/* Bright shimmer animation for all cards */
.card:hover,
.feature-card:hover,
.pricing-card:hover,
.why-card:hover {
    background-image: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%) !important;
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite, brightGlow 2s ease-in-out infinite;
}

/* Bright pricing card specific */
.pricing-card:hover .price {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.pricing-card:hover .pricing-features li {
    color: rgba(255, 255, 255, 0.95) !important;
}

.pricing-card:hover .pricing-features li i {
    color: #ffffff !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Bright buttons on card hover */
.card:hover .btn,
.feature-card:hover .btn,
.pricing-card:hover .btn,
.why-card:hover .btn {
    background: linear-gradient(90deg, #ffffff, #f0f9ff) !important;
    color: #8b5cf6 !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Features page specific - override dark text */
.section .features-grid .feature-card:hover .feature-content h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.section .features-grid .feature-card:hover .feature-content p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Bright underline for feature cards */
.section .features-grid .feature-card:hover .feature-content h3::after {
    background: linear-gradient(90deg, #ffffff, #f0f9ff) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Goal/Vision cards brighter */
.goal-vision-card:hover {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4) !important;
    box-shadow:
        0 0 60px rgba(139, 92, 246, 0.8),
        0 20px 60px rgba(6, 182, 212, 0.6),
        0 0 100px rgba(255, 255, 255, 0.3) !important;
}

.goal-vision-card:hover h2,
.goal-vision-card:hover p,
.goal-vision-card:hover li {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.goal-vision-card:hover .goal-vision-icon {
    background: linear-gradient(135deg, #ffffff, #f0f9ff) !important;
    color: #8b5cf6 !important;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 1),
        0 0 50px rgba(139, 92, 246, 0.8) !important;
}

/* ===================================
   PROFESSIONAL TEXT COLOR FIXES
   =================================== */

/* Reset and fix all card text colors for normal state */
.card h3,
.feature-card h3,
.pricing-card h3,
.why-card h3,
.cap-card h4 {
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
}

.card p,
.feature-card p,
.feature-card .feature-content p,
.pricing-card p,
.why-card p {
    color: #475569 !important;
}

/* Features page - ensure dark text on light background (normal state) */
.section .features-grid .feature-card h3,
.section .features-grid .feature-content h3 {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

.section .features-grid .feature-card p,
.section .features-grid .feature-content p {
    color: #475569 !important;
}

/* Pricing card text - normal state */
.pricing-card h3 {
    color: #1e293b !important;
}

.pricing-card p {
    color: #475569 !important;
}

.pricing-card .price {
    color: #1e293b !important;
}

.pricing-card .price span {
    color: #64748b !important;
}

.pricing-card .pricing-features li {
    color: #475569 !important;
}

/* Cap-card normal state */
.cap-card h4 {
    color: #1e293b !important;
}

/* Why cards normal state */
.why-card h3 {
    color: #1e293b !important;
}

.why-card p {
    color: #475569 !important;
}

/* Hero section - ensure readability */
.hero h1 {
    color: #ffffff !important;
}

.hero p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Page headers - white text on dark gradient */
.page-header h1 {
    color: #ffffff !important;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Section headers - dark text on light background */
.section-header h2,
.section h2 {
    color: #1e293b !important;
}

.section-header p,
.section>.container>div>p {
    color: #1e293b !important;
}

/* Navigation - ensure visibility */
.nav-links a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff !important;
}

/* Footer text */
.footer h3 {
    color: #ffffff !important;
}

.footer p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer a:hover {
    color: #ffffff !important;
}

/* Contact info */
.contact-item span {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Form elements */
input::placeholder,
textarea::placeholder {
    color: #94a3b8 !important;
}

/* Badge */
.badge {
    color: #8b5cf6 !important;
}

/* Buttons - ensure contrast */
.btn-primary {
    color: #ffffff !important;
}

.btn-outline {
    color: #8b5cf6 !important;
}

.btn-outline:hover {
    color: #ffffff !important;
}

/* Integration items */
.int-item h4,
.source-item h4 {
    color: #1e293b !important;
}

/* Stats/numbers if any */
.stats-number {
    color: #1e293b !important;
}

/* Ensure list items are readable */
ul li,
ol li {
    color: #475569 !important;
}

/* Links in content */
.section a:not(.btn) {
    color: #8b5cf6 !important;
}

.section a:not(.btn):hover {
    color: #06b6d4 !important;
}

/* Popular badge on pricing */
.popular-badge {
    color: #ffffff !important;
}

/* Goal/Vision normal state */
.goal-vision-card h2 {
    color: #000000 !important;
    -webkit-text-fill-color: transparent !important;
    background: linear-gradient(90deg, #ffffff, #a78bfa) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

.goal-vision-card p {
    color: rgba(255, 255, 255, 0.85) !important;
}

.goal-vision-list li {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Contact page specific */
.info-item h3 {
    color: #1e293b !important;
}

.info-item p {
    color: #475569 !important;
}

/* About page story section */
.section div[style*="max-width: 800px"] h2 {
    color: #1e293b !important;
}

.section div[style*="max-width: 800px"] p {
    color: #475569 !important;
}

/* Ensure icons maintain their colors */
.card-icon i,
.feature-icon i,
.why-icon i,
.cap-icon i {
    color: inherit !important;
}

/* Fix any transparent text issues */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure hover states override properly - keep white on bright backgrounds */
.card:hover h3,
.card:hover p,
.feature-card:hover h3,
.feature-card:hover p,
.feature-card:hover .feature-content h3,
.feature-card:hover .feature-content p,
.pricing-card:hover h3,
.pricing-card:hover p,
.pricing-card:hover .price,
.pricing-card:hover .pricing-features li,
.why-card:hover h3,
.why-card:hover p,
.cap-card:hover h4,
.goal-vision-card:hover h2,
.goal-vision-card:hover p,
.goal-vision-card:hover li {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Special case: cap-card h4 should be black on hover */
.cap-card:hover h4 {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Ensure feature page cards on light background have proper hover */
.section .features-grid .feature-card:hover h3,
.section .features-grid .feature-card:hover .feature-content h3,
.section .features-grid .feature-card:hover p,
.section .features-grid .feature-card:hover .feature-content p {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* ===================================
   BLACK TITLES ON CARD HOVER
   =================================== */

/* Make all h3 and h4 black on card hover */
.card:hover h3,
.feature-card:hover h3,
.feature-card:hover .feature-content h3,
.pricing-card:hover h3,
.why-card:hover h3,
.cap-card:hover h4,
.section .features-grid .feature-card:hover h3,
.section .features-grid .feature-card:hover .feature-content h3 {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===================================
   BLACK PARAGRAPHS ON CARD HOVER
   =================================== */

/* Make all paragraphs black on card hover */
.card:hover p,
.feature-card:hover p,
.feature-card:hover .feature-content p,
.pricing-card:hover p,
.why-card:hover p,
.section .features-grid .feature-card:hover p,
.section .features-grid .feature-card:hover .feature-content p {
    color: #000000 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

/* Pricing features list items also black */
.pricing-card:hover .pricing-features li {
    color: #000000 !important;
}

/* Price text black on hover */
.pricing-card:hover .price {
    color: #000000 !important;
}

.pricing-card:hover .price span {
    color: #1e293b !important;
}

/* Ensure why-card paragraphs are black on hover */
.why-card:hover p {
    color: #000000 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5) !important;
}

/* ===================================
   FIXED HOVER COLOR PATTERN - CONSISTENT BRIGHT STYLE
   =================================== */

/* Remove any conflicting background colors and ensure bright gradient */
.why-card,
.card {
    background: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Bright vibrant hover - override all previous styles */
.why-card:hover,
.card:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%) !important;
    box-shadow:
        0 0 60px rgba(139, 92, 246, 0.8),
        0 20px 60px rgba(6, 182, 212, 0.6),
        0 0 100px rgba(255, 255, 255, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-10px) scale(1.03) !important;
}

/* Ensure text is black on bright background */
.why-card h3,
.card h3 {
    color: #1e293b !important;
    transition: all 0.3s ease;
}

.why-card:hover h3,
.card:hover h3 {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.2) !important;
    font-weight: 700;
}

.why-card p,
.card p {
    color: #475569 !important;
    transition: all 0.3s ease;
}

.why-card:hover p,
.card:hover p {
    color: #000000 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5) !important;
    font-weight: 500;
}

/* Icon bright white background on hover */
.why-icon,
.card-icon {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.why-card:hover .why-icon,
.card:hover .card-icon {
    background: linear-gradient(135deg, #ffffff, #f0f9ff) !important;
    color: #8b5cf6 !important;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 1),
        0 0 50px rgba(139, 92, 246, 0.8),
        0 8px 25px rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.15) rotate(5deg) !important;
}

/* Remove any light purple/lavender backgrounds */
.why-card:hover::before,
.card:hover::before {
    opacity: 0 !important;
}

/* Ensure shimmer effect works */
.why-card:hover,
.card:hover {
    background-image:
        linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%) !important;
    background-size: 100% 100%, 200% 100%;
    animation: shimmer 1.5s infinite, brightGlow 2s ease-in-out infinite !important;
}

/* ===================================
   FIX FEATURE CARDS ON DARK BACKGROUND
   =================================== */

/* Advanced Features section - dark background cards */
.advanced-features .feature-card,
section[style*="background: var(--gradient-hero)"] .feature-card,
.feature-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Bright vibrant hover for dark section feature cards */
.advanced-features .feature-card:hover,
section[style*="background: var(--gradient-hero)"] .feature-card:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%) !important;
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 60px rgba(139, 92, 246, 0.9),
        0 20px 60px rgba(6, 182, 212, 0.7),
        0 0 100px rgba(255, 255, 255, 0.4),
        inset 0 0 40px rgba(255, 255, 255, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-15px) scale(1.05) !important;
}

/* Text on dark section - white normally, black on hover */
.advanced-features .feature-card h3,
.advanced-features .feature-card .feature-content h3,
section[style*="background: var(--gradient-hero)"] .feature-card h3,
section[style*="background: var(--gradient-hero)"] .feature-card .feature-content h3 {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.advanced-features .feature-card:hover h3,
.advanced-features .feature-card:hover .feature-content h3,
section[style*="background: var(--gradient-hero)"] .feature-card:hover h3,
section[style*="background: var(--gradient-hero)"] .feature-card:hover .feature-content h3 {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.2) !important;
    font-weight: 700;
}

.advanced-features .feature-card p,
.advanced-features .feature-card .feature-content p,
section[style*="background: var(--gradient-hero)"] .feature-card p,
section[style*="background: var(--gradient-hero)"] .feature-card .feature-content p {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
}

.advanced-features .feature-card:hover p,
.advanced-features .feature-card:hover .feature-content p,
section[style*="background: var(--gradient-hero)"] .feature-card:hover p,
section[style*="background: var(--gradient-hero)"] .feature-card:hover .feature-content p {
    color: #000000 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5) !important;
    font-weight: 500;
}

/* Icons bright white on hover */
.advanced-features .feature-card:hover .feature-icon,
section[style*="background: var(--gradient-hero)"] .feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #ffffff, #f0f9ff) !important;
    color: #8b5cf6 !important;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 1),
        0 0 50px rgba(139, 92, 246, 0.8),
        0 8px 25px rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.15) rotate(5deg) !important;
}

/* Add shimmer and glow animation */
.advanced-features .feature-card:hover,
section[style*="background: var(--gradient-hero)"] .feature-card:hover {
    animation: shimmer 1.5s infinite, brightGlow 2s ease-in-out infinite !important;
}

/* Remove any light purple overlay */
.advanced-features .feature-card:hover::before,
section[style*="background: var(--gradient-hero)"] .feature-card:hover::before {
    opacity: 0 !important;
}

/* ===================================
   FINAL BUSINESS-READY HOVER EFFECT
   =================================== */

/* Override all previous hover styles with consistent bright effect */
.feature-card:hover,
.card:hover,
.why-card:hover,
.pricing-card:hover,
.cap-card:hover,
.advanced-features .feature-card:hover,
section[style*="background: var(--gradient-hero)"] .feature-card:hover,
.section .features-grid .feature-card:hover {
    background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow:
        0 0 80px rgba(167, 139, 250, 0.9),
        0 25px 70px rgba(56, 189, 248, 0.7),
        0 0 120px rgba(255, 255, 255, 0.5),
        inset 0 0 50px rgba(255, 255, 255, 0.3) !important;
    border: 3px solid rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-12px) scale(1.04) !important;
}

/* Bright white glowing icons */
.feature-card:hover .feature-icon,
.card:hover .card-icon,
.why-card:hover .why-icon,
.cap-card:hover .cap-icon,
.pricing-card:hover .pricing-icon {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%) !important;
    color: #7c3aed !important;
    box-shadow:
        0 0 40px rgba(255, 255, 255, 1),
        0 0 60px rgba(124, 58, 237, 0.9),
        0 10px 30px rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.2) rotate(8deg) !important;
    filter: brightness(1.2);
}

/* Black text for maximum contrast */
.feature-card:hover h3,
.feature-card:hover .feature-content h3,
.card:hover h3,
.why-card:hover h3,
.pricing-card:hover h3,
.cap-card:hover h4,
.advanced-features .feature-card:hover h3,
section[style*="background: var(--gradient-hero)"] .feature-card:hover h3,
.section .features-grid .feature-card:hover h3,
.section .features-grid .feature-card:hover .feature-content h3 {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.9),
        0 3px 10px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
}

/* Black paragraphs */
.feature-card:hover p,
.feature-card:hover .feature-content p,
.card:hover p,
.why-card:hover p,
.pricing-card:hover p,
.advanced-features .feature-card:hover p,
section[style*="background: var(--gradient-hero)"] .feature-card:hover p,
.section .features-grid .feature-card:hover p,
.section .features-grid .feature-card:hover .feature-content p {
    color: #000000 !important;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6) !important;
    font-weight: 500 !important;
}

/* Enhanced glow animation */
@keyframes enhancedGlow {

    0%,
    100% {
        box-shadow:
            0 0 60px rgba(167, 139, 250, 0.7),
            0 25px 70px rgba(56, 189, 248, 0.5),
            0 0 100px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow:
            0 0 100px rgba(167, 139, 250, 1),
            0 25px 90px rgba(56, 189, 248, 0.8),
            0 0 140px rgba(255, 255, 255, 0.5);
    }
}

/* Apply enhanced animations */
.feature-card:hover,
.card:hover,
.why-card:hover,
.pricing-card:hover,
.cap-card:hover {
    animation: shimmer 1.5s infinite, enhancedGlow 2.5s ease-in-out infinite !important;
}

/* Pricing specific */
.pricing-card:hover .price,
.pricing-card:hover .pricing-features li {
    color: #000000 !important;
}

.pricing-card:hover .pricing-features li i {
    color: #ffffff !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
}

/* Remove any conflicting overlays */
.feature-card:hover::before,
.card:hover::before,
.why-card:hover::before {
    display: none !important;
}

/* ===================================
   MAXIMUM BRIGHTNESS HOVER EFFECT
   =================================== */

/* Ultra-bright gradient background */
.feature-card:hover,
.card:hover,
.why-card:hover,
.pricing-card:hover,
.cap-card:hover,
.advanced-features .feature-card:hover,
section[style*="background: var(--gradient-hero)"] .feature-card:hover,
.section .features-grid .feature-card:hover {
    background: linear-gradient(135deg, #c4b5fd 0%, #7dd3fc 100%) !important;
    backdrop-filter: blur(25px) brightness(1.3) !important;
    box-shadow:
        0 0 120px rgba(196, 181, 253, 1),
        0 30px 90px rgba(125, 211, 252, 0.9),
        0 0 160px rgba(255, 255, 255, 0.8),
        inset 0 0 80px rgba(255, 255, 255, 0.5) !important;
    border: 4px solid rgba(255, 255, 255, 1) !important;
    transform: translateY(-15px) scale(1.06) !important;
    filter: brightness(1.15);
}

/* Ultra-bright white icons */
.feature-card:hover .feature-icon,
.card:hover .card-icon,
.why-card:hover .why-icon,
.cap-card:hover .cap-icon,
.pricing-card:hover .pricing-icon {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%) !important;
    color: #6366f1 !important;
    box-shadow:
        0 0 60px rgba(255, 255, 255, 1),
        0 0 90px rgba(99, 102, 241, 1),
        0 15px 40px rgba(255, 255, 255, 0.8),
        inset 0 0 30px rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.25) rotate(10deg) !important;
    filter: brightness(1.3) drop-shadow(0 0 20px rgba(255, 255, 255, 1));
}

/* Maximum glow animation */
@keyframes maxGlow {

    0%,
    100% {
        box-shadow:
            0 0 100px rgba(196, 181, 253, 1),
            0 30px 90px rgba(125, 211, 252, 0.9),
            0 0 140px rgba(255, 255, 255, 0.7);
        filter: brightness(1.15);
    }

    50% {
        box-shadow:
            0 0 150px rgba(196, 181, 253, 1),
            0 30px 110px rgba(125, 211, 252, 1),
            0 0 200px rgba(255, 255, 255, 0.9);
        filter: brightness(1.25);
    }
}

/* Apply maximum brightness animation */
.feature-card:hover,
.card:hover,
.why-card:hover,
.pricing-card:hover,
.cap-card:hover {
    animation: shimmer 1.2s infinite, maxGlow 2s ease-in-out infinite !important;
}

/* Brighter shimmer effect */
@keyframes brighterShimmer {
    0% {
        background-position: -200% center;
        filter: brightness(1.15);
    }

    50% {
        filter: brightness(1.3);
    }

    100% {
        background-position: 200% center;
        filter: brightness(1.15);
    }
}

.feature-card:hover,
.card:hover,
.why-card:hover,
.pricing-card:hover,
.cap-card:hover {
    background-image:
        linear-gradient(135deg, #c4b5fd 0%, #7dd3fc 100%),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%) !important;
    background-size: 100% 100%, 200% 100%;
    animation: brighterShimmer 1.2s infinite, maxGlow 2s ease-in-out infinite !important;
}

/* ===================================
   BRIGHTER BACKGROUND ONLY
   =================================== */

/* Just make the background gradient brighter */
.feature-card:hover,
.card:hover,
.why-card:hover,
.pricing-card:hover,
.cap-card:hover,
.advanced-features .feature-card:hover,
section[style*="background: var(--gradient-hero)"] .feature-card:hover,
.section .features-grid .feature-card:hover {
    background: linear-gradient(135deg, #c4b5fd 0%, #7dd3fc 100%) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow:
        0 0 80px rgba(167, 139, 250, 0.9),
        0 25px 70px rgba(56, 189, 248, 0.7),
        0 0 120px rgba(255, 255, 255, 0.5),
        inset 0 0 50px rgba(255, 255, 255, 0.3) !important;
    border: 3px solid rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-12px) scale(1.04) !important;
    filter: none !important;
}

/* Keep normal icon brightness */
.feature-card:hover .feature-icon,
.card:hover .card-icon,
.why-card:hover .why-icon,
.cap-card:hover .cap-icon,
.pricing-card:hover .pricing-icon {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%) !important;
    color: #7c3aed !important;
    box-shadow:
        0 0 40px rgba(255, 255, 255, 1),
        0 0 60px rgba(124, 58, 237, 0.9),
        0 10px 30px rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.2) rotate(8deg) !important;
    filter: none !important;
}

/* Normal animation */
.feature-card:hover,
.card:hover,
.why-card:hover,
.pricing-card:hover,
.cap-card:hover {
    animation: shimmer 1.5s infinite, enhancedGlow 2.5s ease-in-out infinite !important;
}

/* ===================================
   PROFESSIONAL HOVER BACKGROUND
   =================================== */

/* Professional gradient background for all cards */
.feature-card:hover,
.card:hover,
.why-card:hover,
.pricing-card:hover,
.cap-card:hover,
.advanced-features .feature-card:hover,
section[style*="background: var(--gradient-hero)"] .feature-card:hover,
.section .features-grid .feature-card:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow:
        0 15px 50px rgba(139, 92, 246, 0.25),
        0 8px 25px rgba(6, 182, 212, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-6px) scale(1.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Professional white text on gradient background */
.feature-card:hover h3,
.feature-card:hover .feature-content h3,
.card:hover h3,
.why-card:hover h3,
.pricing-card:hover h3,
.cap-card:hover h4,
.advanced-features .feature-card:hover h3,
section[style*="background: var(--gradient-hero)"] .feature-card:hover h3,
.section .features-grid .feature-card:hover h3,
.section .features-grid .feature-card:hover .feature-content h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700 !important;
}

/* Professional white paragraphs on gradient background */
.feature-card:hover p,
.feature-card:hover .feature-content p,
.card:hover p,
.why-card:hover p,
.pricing-card:hover p,
.advanced-features .feature-card:hover p,
section[style*="background: var(--gradient-hero)"] .feature-card:hover p,
.section .features-grid .feature-card:hover p,
.section .features-grid .feature-card:hover .feature-content p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
    font-weight: 500 !important;
}

/* Professional bright icon on gradient background */
.feature-card:hover .feature-icon,
.card:hover .card-icon,
.why-card:hover .why-icon,
.cap-card:hover .cap-icon,
.pricing-card:hover .pricing-icon {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #6366f1 !important;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.9),
        0 8px 25px rgba(255, 255, 255, 0.6),
        0 0 50px rgba(99, 102, 241, 0.4) !important;
    transform: scale(1.15) rotate(5deg) !important;
    filter: brightness(1.1) !important;
}

/* Professional glow animation */
@keyframes professionalGlow {

    0%,
    100% {
        box-shadow:
            0 15px 50px rgba(139, 92, 246, 0.25),
            0 8px 25px rgba(6, 182, 212, 0.2),
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow:
            0 20px 60px rgba(139, 92, 246, 0.35),
            0 10px 30px rgba(6, 182, 212, 0.3),
            inset 0 0 40px rgba(255, 255, 255, 0.15);
    }
}

/* Apply professional animation */
.feature-card:hover,
.card:hover,
.why-card:hover,
.pricing-card:hover,
.cap-card:hover {
    animation: professionalGlow 2s ease-in-out infinite !important;
}

/* Pricing specific - professional white text */
.pricing-card:hover .price,
.pricing-card:hover .pricing-features li {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.pricing-card:hover .pricing-features li i {
    color: #ffffff !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) !important;
}

/* ===================================
   ADVANCED FEATURES SECTION - BRIGHTER OVERLAY
   =================================== */

/* Add bright overlay to advanced features section */
.advanced-features {
    position: relative;
}

.advanced-features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196, 181, 253, 0.3) 0%, rgba(125, 211, 252, 0.3) 100%);
    pointer-events: none;
    z-index: 0;
}

.advanced-features .container {
    position: relative;
    z-index: 1;
}

/* Brighter section header */
.advanced-features .section-header h2 {
    color: #ffffff !important;
    text-shadow:
        0 0 30px rgba(255, 255, 255, 0.8),
        0 4px 20px rgba(196, 181, 253, 0.6),
        0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 2.5rem;
    font-weight: 800;
}

.advanced-features .section-header p {
    color: rgb(231, 224, 224) !important;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.15rem;
    font-weight: 500;
}

/* Brighter underline */
.advanced-features .underline {
    background: linear-gradient(90deg, #ffffff, #c4b5fd, #7dd3fc, #ffffff);
    height: 4px;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 4px 15px rgba(196, 181, 253, 0.6);
}

/* ===================================
   OPTIMIZED PARALLAX EFFECTS
   =================================== */

/* Optimized card parallax movement */
.card,
.feature-card,
.pricing-card,
.why-card,
.cap-card {
    transition:
        opacity 0.6s ease,
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

/* Optimized hover animations */
.card:hover,
.feature-card:hover,
.pricing-card:hover,
.why-card:hover,
.cap-card:hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optimized icon parallax */
.card-icon,
.feature-icon,
.why-icon,
.cap-icon,
.goal-vision-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Optimized content parallax */
.feature-content,
.card h3,
.card p {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ===================================
   PRODUCTION-READY COLOR FIXES
   =================================== */

/* Fix Advanced Features section text visibility */
.advanced-features .section-header h2 {
    color: #1e293b !important;
    text-shadow: none !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
}

.advanced-features .section-header p {
    color: rgb(255, 255, 255) !important;
    text-shadow: none !important;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Fix feature card text on light background */
.advanced-features .feature-card h3,
.advanced-features .feature-card .feature-content h3 {
    color: #1e293b !important;
    font-weight: 600 !important;
}

.advanced-features .feature-card p,
.advanced-features .feature-card .feature-content p {
    color: #64748b !important;
}

/* Ensure all page headers are readable */
.page-header h1 {
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-header p {
    color: #f1f5f9 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero section text */
.hero h1 {
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero p {
    color: #f1f5f9 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Section headers on light backgrounds */
.section-header h2,
.section h2 {
    color: #0f172a !important;
}

.section-header p {
    color: white !important;
}

/* Why Choose Us section - ensure visibility */
.why-section h2 {
    color: #0f172a !important;
}

.why-section p {
    color: #475569 !important;
}

/* Footer readability */
.footer h3 {
    color: #ffffff !important;
}

.footer p,
.footer a {
    color: #e2e8f0 !important;
}

.footer a:hover {
    color: #ffffff !important;
}

/* Contact info */
.contact-item span {
    color: #e2e8f0 !important;
}

/* Goal/Vision section text */
.goal-vision-card h2 {
    color: #000000 !important;
    -webkit-text-fill-color: transparent !important;
    background: linear-gradient(90deg, #ffffff, #c4b5fd) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

.goal-vision-card p {
    color: #f1f5f9 !important;
}

.goal-vision-list li {
    color: #f1f5f9 !important;
}

/* Pricing card text */
.pricing-card h3 {
    color: #0f172a !important;
}

.pricing-card .price {
    color: #0f172a !important;
}

.pricing-card .pricing-features li {
    color: #475569 !important;
}

/* Service cards */
.card h3 {
    color: #0f172a !important;
}

.card p {
    color: #475569 !important;
}

/* Feature cards on light background */
.section .features-grid .feature-card h3 {
    color: #0f172a !important;
}

.section .features-grid .feature-card p {
    color: #475569 !important;
}

/* About page */
.section div[style*="max-width: 800px"] h2 {
    color: #0f172a !important;
}

.section div[style*="max-width: 800px"] p {
    color: #475569 !important;
}

/* ===================================
   MODERN ADVANCED FEATURES SECTION
   =================================== */

/* Clean modern background */
.advanced-features {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Remove any overlays */
.advanced-features::before {
    display: none;
}

/* Modern section title */
.advanced-features .section-header h2 {
    color: #1e293b !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-shadow: none !important;
    margin-bottom: 16px !important;
}

/* Modern description */
.advanced-features .section-header p {
    color: white !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    text-shadow: none !important;
    max-width: 700px;
    margin: 0 auto 48px;
}

/* Modern underline */
.advanced-features .underline {
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #8b5cf6);
    height: 3px;
    width: 80px;
    margin: 0 auto;
    box-shadow: none;
}

/* Section spacing */
.advanced-features .section-header {
    margin-bottom: 64px;
}