/* Global Styles */
:root {
    --primary: #00f2ea;
    --secondary: #ff0050;
    --bg-dark: #050505;
    --bg-glass: rgba(22, 22, 22, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-main: 'Inter', sans-serif;
    --gradient-main: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 242, 234, 0.2) 0%, rgba(255, 0, 80, 0.2) 100%);
    --shadow-glow: 0 0 30px rgba(0, 242, 234, 0.15);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
    /* Enable smooth scrolling */
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 242, 234, 0.15), transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: moveOrb 20s infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 0, 80, 0.15), transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: moveOrb 25s infinite alternate-reverse;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Scroll Animation Classes */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: var(--border-glass);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-main);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.6rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: var(--border-glass);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 5% 4rem;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    z-index: 1;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-img {
    width: 100%;
    max-width: 650px;
    filter: drop-shadow(0 0 50px rgba(0, 242, 234, 0.3));
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #b1b1b1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-primary {
    padding: 1rem 3rem;
    background: var(--primary);
    color: var(--bg-dark);
    font-weight: 700;
    border-radius: 5px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    opacity: 0.2;
    transition: 0.3s;
    z-index: -1;
    transform: skewX(-20deg);
    transform-origin: left;
}

.btn-primary:hover::before {
    width: 150%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 242, 234, 0.5);
}

.btn-secondary {
    padding: 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    font-weight: 700;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features {
    padding: 10rem 5%;
    position: relative;
    z-index: 10;
    /* Ensure shadows don't get cut */
    overflow: visible;
    scroll-margin-top: 80px;
    /* Offset for fixed navbar */
    min-height: 90vh;
    /* Ensure it takes up most of the screen */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 800;
}

.section-title span {
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns */
    gap: 2rem;
    max-width: 1400px;
    /* Wider to fit 4 cards */
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-glass);
    padding: 3rem;
    border-radius: 20px;
    border: var(--border-glass);
    transition: 0.4s;
    text-align: left;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    background: linear-gradient(135deg, #eee 0%, #fff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    /* Kept icon color controlled for better visibility */
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}



/* Insights Section */
.insights {
    padding: 10rem 5%;
    position: relative;
    z-index: 10;
    scroll-margin-top: 80px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #111 100%);
}

.insight-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.insight-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s;
}

.insight-row:hover {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.insight-row.reverse {
    flex-direction: row-reverse;
}

.insight-text {
    flex: 1;
}

.insight-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.insight-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Image Styling (Browser Window Effect) */
.insight-image {
    flex: 1;
    position: relative;
    border-radius: 12px;
    background: rgba(24, 24, 27, 0.8);
    /* Darker window bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    overflow: hidden;
    /* 3D Perspective */
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

/* Browser Window Header */
.insight-image::before {
    content: '';
    display: block;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    /* Browser Dots */
    background-image: radial-gradient(circle, #ff5f56 0%, #ff5f56 100%),
        radial-gradient(circle, #ffbd2e 0%, #ffbd2e 100%),
        radial-gradient(circle, #27c93f 0%, #27c93f 100%);
    background-size: 10px 10px;
    background-repeat: no-repeat;
    background-position: 15px center, 35px center, 55px center;
}

.insight-image img {
    width: 100%;
    display: block;
    opacity: 1;
    /* Keep clear */
    border-radius: 0 0 12px 12px;
    filter: contrast(1.1) brightness(1.1);
    /* Enhance clarity */
}

/* Hover Effect - Flatten and Glow */
.insight-row:hover .insight-image {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 242, 234, 0.15);
    border-color: rgba(0, 242, 234, 0.3);
}

/* Reverse Row - Flip Perspective */
.insight-row.reverse .insight-image {
    transform: perspective(1000px) rotateY(5deg) rotateX(2deg);
}

.insight-row.reverse:hover .insight-image {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
}

/* Floating Animation */
@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0) perspective(1000px) rotateY(-5deg);
    }

    50% {
        transform: translateY(-10px) perspective(1000px) rotateY(-5deg);
    }
}

@keyframes floatImageRev {

    0%,
    100% {
        transform: translateY(0) perspective(1000px) rotateY(5deg);
    }

    50% {
        transform: translateY(-10px) perspective(1000px) rotateY(5deg);
    }
}

/* Apply animation (optional, might be too much with hover. Let's stick to hover interaction for now or subtle) */
/* .insight-image { animation: floatImage 6s ease-in-out infinite; } */

/* Comparison Section */
.comparison {
    padding: 10rem 5%;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
    margin: 5rem 0;
    /* Increased margin */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    /* separation shadow */
    scroll-margin-top: 80px;
    /* Offset for fixed navbar */
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comparison-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-glass);
    border-radius: 20px;
    border: var(--border-glass);
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.comparison-table th,
.comparison-table td {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.03);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.comparison-table td {
    font-size: 1.1rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.check {
    color: #00f2ea;
    font-size: 1.4rem;
    filter: drop-shadow(0 0 5px var(--primary));
}

.cross {
    color: #333;
    font-size: 1.4rem;
}

/* Pricing Section */
.pricing {
    padding: 10rem 5%;
    position: relative;
    z-index: 10;
    overflow: visible;
    scroll-margin-top: 80px;
    /* Offset for fixed navbar */
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Make cards same height */
    gap: 2rem;
    flex-wrap: nowrap;
    /* Force single row */
    max-width: 1400px;
    /* Allow wider to fit 3 cards */
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-glass);
    padding: 3rem 2rem;
    border-radius: 20px;
    flex: 1;
    /* Distribute width evenly */
    min-width: 300px;
    /* Minimum width before breaking layout (handled by media query) */
    text-align: center;
    border: var(--border-glass);
    position: relative;
    transition: 0.4s;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 1px solid var(--primary);
    background: linear-gradient(180deg, rgba(0, 242, 234, 0.05) 0%, rgba(22, 22, 22, 0.8) 100%);
    box-shadow: 0 0 40px rgba(0, 242, 234, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 242, 234, 0.4);
    width: max-content;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
    color: var(--text-main);
    letter-spacing: -1px;
}

.price span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.features-list {
    margin-bottom: 3rem;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
}

.features-list li i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(0, 0, 0, 0.2);
    /* Transparent / Glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 999;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes moveOrb {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

@media (max-width: 1024px) {
    .pricing-grid {
        flex-wrap: wrap;
        /* Allow wrapping on smaller screens/tablets */
    }

    .pricing-card {
        min-width: auto;
        width: 100%;
        max-width: 450px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on medium screens */
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .cta-group {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .feature-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .insight-row,
    .insight-row.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .insight-text h3 {
        font-size: 2rem;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 80px;
    /* Moved up to clear fixed footer */
    right: 40px;
    background: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}