/*
Theme Name: Lumina Theme
Theme URI: https://example.com/lumina
Author: Antigravity
Author URI: https://example.com
Description: A custom WordPress theme for Lumina Analytics Platform.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumina-theme
*/

/* Global Styles */
:root {
    /* Modern Palette */
    --bg-color: #FAFAFA;
    --bg-secondary: #F0F4F8;
    --text-color: #0F172A;
    /* Slate 900 */
    --text-light: #64748B;
    /* Slate 500 */

    /* Brand Colors */
    --primary-color: #2563EB;
    /* Royal Blue 600 */
    --primary-dark: #1D4ED8;
    /* Royal Blue 700 */
    --primary-light: #EFF6FF;
    /* Blue 50 */
    --accent-color: #7C3AED;
    /* Violet 600 */
    --accent-secondary: #DB2777;
    /* Pink 600 */

    --success-color: #10B981;
    --danger-color: #EF4444;

    /* UI Elements */
    --card-bg: #FFFFFF;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --border-color: #E2E8F0;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-main: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-color);
    letter-spacing: -0.025em;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(to right, var(--text-color), var(--text-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    letter-spacing: -0.01em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2), 0 2px 4px -1px rgba(37, 99, 235, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.15);
}

.btn-secondary {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    box-shadow: var(--shadow-sm);
    margin-left: 15px;
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    display: flex;
    width: 100%;
    margin-left: 0;
}

.btn-featured {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.95rem;
}

.btn-featured:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
}

.dot {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at top right, rgba(239, 246, 255, 0.5), transparent 40%),
        radial-gradient(circle at bottom left, rgba(250, 250, 250, 1), transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 32px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    color: var(--text-color);
    letter-spacing: -0.05em;
    line-height: 1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient 5s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 560px;
    line-height: 1.7;
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* Abstract Shapes */
.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.6;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light), rgba(37, 99, 235, 0.2));
    top: -50px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15), rgba(219, 39, 119, 0.1));
    bottom: -50px;
    left: 0;
    animation: float 12s ease-in-out infinite reverse;
}

/* Glass Cards */
.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 24px;
    border-radius: 20px;
    width: 260px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    /* Soft deep shadow */
    animation: float-card 8s ease-in-out infinite;
    z-index: 2;
    transform-style: preserve-3d;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.glass-card.card-2 {
    bottom: 15%;
    right: 5%;
    animation-delay: 2s;
    width: auto;
    padding-right: 32px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    margin-top: 56px;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--text-color);
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.divider {
    width: 1px;
    height: 50px;
    background-color: var(--border-color);
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    background: #fff;
    overflow: hidden;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: fit-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    color: #cbd5e1;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 40px;
    white-space: nowrap;
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-logo:hover {
    color: var(--text-light);
    opacity: 1;
}

/* Services / Features */
.services {
    padding: 140px 0;
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 48px 36px;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(37, 99, 235, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    transform: scale(1.1) rotate(3deg);
    border-color: var(--primary-color);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.icon-box i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .icon-box i {
    color: white;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* How It Works */
.how-it-works-section {
    padding: 120px 0;
    background-color: #fff;
    border-top: 1px solid var(--border-color);
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 20px;
}

.step-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.08);
    line-height: 1;
    margin-bottom: -30px;
    position: relative;
    z-index: -1;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.step-card:hover .step-number {
    color: rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
    margin-top: 20px;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.3;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .steps-grid {
        flex-direction: column;
        gap: 60px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: -30px 0;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: start;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-tier {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-right: 2px;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
}

.period {
    color: var(--text-light);
    font-size: 1rem;
    margin-left: 4px;
}

.pricing-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.feature-list {
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background-color: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #F59E0B;
    /* Amber */
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 32px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.placeholder-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.client-info h4 {
    font-size: 1rem;
    font-weight: 700;
}

.client-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 0 0 100px 0;
}

.cta-wrapper {
    background: var(--text-color);
    /* Dark background */
    border-radius: 24px;
    padding: 80px 24px;
    text-align: center;
    background-image: radial-gradient(circle at top right, #334155 0%, #1F2933 100%);
    color: white;
}

.cta-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-description {
    color: #94A3B8;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.cta-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    outline: none;
}

.cta-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-btn {
    white-space: nowrap;
}

.cta-note {
    font-size: 0.875rem;
    color: #94A3B8;
}

/* Footer */
.footer {
    padding: 80px 0 32px;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-light);
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.875rem;
}

.social-links-footer {
    display: flex;
    gap: 20px;
}

.social-links-footer a {
    color: var(--text-light);
    font-size: 1.25rem;
}

.social-links-footer a:hover {
    color: var(--primary-color);
}

/* Animations using Keyframes defined previously? No, let's redefine if needed or just rely on basics */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 40px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes float-card {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Utilities */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 73px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 32px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-input {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .copyright {
        flex-direction: column;
        gap: 16px;
    }
}