/* Main CSS file for Ekvives Landing Page */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Hero Polish */
.hero-title {
    letter-spacing: -2px;
}

.text-gradient-primary {
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blur-3xl {
    filter: blur(3rem);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.btn-glow {
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.5);
}

/* Bento Grid Styles - Deprecated/Removed */

/* Bento V5 Grid (Neo-Bento) */
.bento-v5-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-v5-card {
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-v5-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Card Placements */
.card-v5-main {
    grid-column: span 1;
    grid-row: span 2;
}

.card-v5-lime {
    grid-column: span 1;
    grid-row: span 2;
}

/* V7 SaaS Animations & Styles */
.ripple-1 {
    width: 100px;
    height: 100px;
    animation: ripple 3s infinite;
}

.ripple-2 {
    width: 140px;
    height: 140px;
    animation: ripple 3s infinite 1s;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.satellite {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.satellite-1 {
    top: 10%;
    left: 10%;
    animation: float 4s ease-in-out infinite;
}

.satellite-2 {
    top: 10%;
    right: 10%;
    animation: float 5s ease-in-out infinite 1s;
}

.satellite-3 {
    bottom: 10%;
    left: 20%;
    animation: float 4.5s ease-in-out infinite 0.5s;
}

.satellite-4 {
    bottom: 15%;
    right: 15%;
    animation: float 5.5s ease-in-out infinite 1.5s;
}

/* Float UI Cards */
.float-ui-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatSmall 6s ease-in-out infinite;
}

.float-ui-card:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    z-index: 10;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatSmall {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.card-v5-tech {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 240px;
    /* Increased height for visual spacing */
}

/* V5 Utilities */
.bg-lime {
    background-color: #ccff00;
}

.bg-black {
    background-color: #121212;
}

.text-purple {
    color: #a855f7;
}

.text-lime {
    color: #ccff00;
}

.text-string {
    color: #22c55e;
}

.font-monospace {
    font-family: 'Consolas', 'Monaco', monospace;
}

/* Responsive V5 */
@media (max-width: 992px) {
    .bento-v5-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-v5-main,
    .card-v5-lime {
        grid-column: span 1;
        grid-row: auto;
    }

    .card-v5-tech,
    .card-v5-small {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .bento-v5-grid {
        grid-template-columns: 1fr;
    }
}

/* Bento V4 Grid (Final) */
.bento-v4-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-v4-card {
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-v4-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-large {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    min-height: 400px;
}

.card-side {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.card-wide-1 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.card-wide-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* Utilities for V4 */
.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.bg-green-100 {
    background-color: #d1fae5;
}

.bg-orange-100 {
    background-color: #ffedd5;
}

.min-h-200 {
    min-height: 200px;
}

/* Responsive V4 */
@media (max-width: 992px) {
    .bento-v4-grid {
        grid-template-columns: 1fr;
    }

    .card-large,
    .card-side,
    .card-wide-1,
    .card-wide-2 {
        grid-column: span 1;
        grid-row: auto;
    }

    .card-large {
        min-height: auto;
    }
}

/* Old Bento Grid (retained for About section reuse if needed, or overridden) */
/* .bento-grid rule removed as it was empty and causing lints. Styles are handled by .premium-grid or specific classes. */

/* Timeline Custom Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #e9ecef;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 20px 50px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #0d6efd;
    border: 4px solid #fff;
    top: 24px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

/* Timeline V7 (SaaS Flow) */
.timeline-v7 {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-v7::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, rgba(13, 110, 253, 0) 0%, rgba(13, 110, 253, 0.5) 15%, rgba(13, 202, 240, 0.5) 85%, rgba(13, 202, 240, 0) 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-v7-item {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-v7-item.left {
    left: 0;
    text-align: right;
}

.timeline-v7-item.right {
    left: 50%;
    text-align: left;
}

/* Dot/Node */
.timeline-v7-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 24px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-v7-item.left::after {
    right: -10px;
}

.timeline-v7-item.right::after {
    left: -10px;
}

.timeline-v7-item:hover::after {
    transform: scale(1.3);
    background: #0d6efd;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.5);
}

/* Connectors */
.timeline-v7-item::before {
    content: '';
    position: absolute;
    top: 32px;
    width: 40px;
    height: 2px;
    background: rgba(13, 110, 253, 0.2);
    z-index: 1;
}


.timeline-v7-item.left::before {
    right: 10px;
}

.timeline-v7-item.right::before {
    left: 10px;
}

/* Content Card */
.timeline-v7-content {
    background: #ffffff;
    /* Solid White */
    border-radius: 20px;
    /* Rounded corners */
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Light shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-v7-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}




/* --- Final Refined Bento Style (Testimonials) --- */
/* --- Final Refined Bento Style (Testimonials) --- */
.bento-premium-card {
    background: linear-gradient(135deg, #ffffff 50%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 3rem;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    /* Soft baseline shadow */
}

.bento-premium-card:hover {
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    background: #ffffff;
}

.bento-premium-content {
    position: relative;
    z-index: 10;
}

.bento-premium-card h4 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.bento-premium-quote {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 2rem;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.bento-author-block {
    margin-top: 1rem;
}

.bento-author-name {
    font-weight: 700;
    color: #111827;
}

.bento-author-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Background Visuals (Subtle/Absolute) */
.visual-avatar-group {
    position: absolute;
    bottom: -40px;
    right: -40px;
    opacity: 0.1;
    transform: scale(1.5);
    z-index: 0;
    pointer-events: none;
    display: flex;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-left: -20px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border: 4px solid white;
}

.visual-portrait-card {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    opacity: 0.15;
    z-index: 0;
    transform: rotate(-15deg);
    pointer-events: none;
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    border-radius: 40px;
}


/* --- Bento CTA Section (Contact) --- */
.bento-cta-section {
    padding: 6rem 0;
    position: relative;
    background: #ffffff;
}

.bento-cta-card {
    background-color: #f9fafb;
    border-radius: 20px;
    padding: 4rem 3rem;
    height: 100%;
    position: relative;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.bento-cta-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.bento-cta-text {
    font-size: 1.15rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.bento-cta-btn {
    background-color: #2563eb;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.bento-cta-btn:hover {
    background-color: #1d4ed8;
    color: white;
    transform: translateY(-1px);
}

/* Right Card: Light Contact (Premium) */
.bento-contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    /* Light Gradient */
    border-radius: 20px;
    padding: 4rem 3rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: #111827;
    /* Dark Text */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
}

.bento-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Darker shadow on hover l*/
}

.contact-link-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: #111827;
    /* Dark Text */
    font-size: 1.35rem;
    font-weight: 700;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.03);
    /* Light Grey BG */
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-link-item:hover {
    background: #ffffff;
    color: #2563eb;
    /* Blue on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.contact-link-item i {
    margin-right: 1.25rem;
    font-size: 1.5rem;
    color: #2563eb;
    /* Blue Icons */
}

/* Background Visuals for CTA */
.bento-cta-visual {
    position: absolute;
    bottom: -40px;
    right: -40px;
    font-size: 15rem;
    color: rgba(37, 99, 235, 0.03);
    pointer-events: none;
    transform: rotate(15deg);
}

.bento-contact-visual {
    position: absolute;
    top: -40px;
    right: -40px;
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    transform: rotate(-15deg);
}

/* --- SquareUI Wide Card (Unified CTA) --- */
.square-wide-card {
    background-color: #ffffff;
    border-radius: 36px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.08);
    /* Deep soft shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.square-cta-content {
    padding: 5rem;
    position: relative;
    z-index: 2;
}

.square-cta-btn {
    background-color: #111827;
    /* Black */
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    /* Pill */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    border: 2px solid #111827;
}

.square-cta-btn:hover {
    background-color: #ffffff;
    color: #111827;
    transform: translateY(-2px);
}

.visual-orbit-container {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Concentric Circles */
.orbit-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(0, 0, 0, 0.08);
    border-radius: 50%;
}

.orbit-1 {
    width: 150px;
    height: 150px;
}

.orbit-2 {
    width: 300px;
    height: 300px;
}

.orbit-3 {
    width: 500px;
    height: 500px;
    opacity: 0.5;
}

/* Floating Avatars / Contact Icons */
.orbit-floater {
    position: absolute;
    background: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #2563eb;
    z-index: 2;
}

.floater-1 {
    top: 30%;
    left: 60%;
}

.floater-2 {
    bottom: 35%;
    right: 25%;
}

.floater-3 {
    top: 20%;
    right: 35%;
}

/* Contact Overlay in Orbit */
.orbit-contacts {
    position: relative;
    z-index: 10;
    text-align: center;
}

.orbit-contact-link {
    display: block;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    font-size: 0.95rem;
}

.orbit-contact-link:hover {
    transform: translateY(-2px);
    color: #2563eb;
}

.footer-minimal {
    background-color: #ffffff;
    padding: 5rem 0 3rem;
    border-top: 1px solid #f3f4f6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: #111827;
    margin-bottom: 1rem;
    display: block;
    letter-spacing: -0.5px;
}

.footer-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 3rem;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
}

.footer-link {
    display: block;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #2563eb;
    /* Blue highlight */
}

.footer-link i {
    font-size: 0.8rem;
    margin-left: 4px;
    opacity: 0.5;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.social-icon-link {
    color: #9ca3af;
    font-size: 1.1rem;
    margin-left: 1.5rem;
    transition: color 0.2s ease;
}

.social-icon-link:hover {
    color: #111827;
}

/* --- Mobile Responsive Tweaks --- */
@media (max-width: 768px) {

    /* Reduce large padding on mobile */
    .bento-premium-card,
    .bento-cta-card,
    .bento-contact-card {
        padding: 2rem !important;
    }

    .bento-cta-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .bento-cta-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .bento-cta-visual,
    .bento-contact-visual {
        font-size: 8rem;
        /* Smaller background icons */
        bottom: -20px;
        right: -20px;
    }

    .hero-title {
        font-size: 2.5rem;
        /* Smaller Hero text */
    }

    .display-4 {
        font-size: 2.5rem;
        /* Smaller Section Headers */
    }

    /* Stack Bento Grid on Mobile if not already handled */
    .bento-v5-grid,
    .bento-v4-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Fix Timeline Stacking */
    .timeline-v7-item {
        width: 100%;
        padding-left: 30px;
        padding-right: 0;
        text-align: left !important;
    }

    .timeline-v7-item.left,
    .timeline-v7-item.right {
        left: 0;
    }

    .timeline-v7-item::after {
        left: -10px !important;
        right: auto !important;
    }

    .timeline-v7-item::before {
        left: 10px !important;
        width: 20px;
    }

    .timeline-v7::after {
        left: 0px;
        /* Move vertical line to left */
    }

    /* Mobile Footer Alignment */
    .footer-minimal {
        text-align: center;
        padding: 3rem 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .social-icon-link {
        margin: 0 0.75rem;
    }
}