:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --bg-color: #0f0c29;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-color: #ffffff;
    --neon-glow: 0 0 10px rgba(0, 210, 255, 0.7), 0 0 20px rgba(0, 210, 255, 0.5);
}

body {
    background: linear-gradient(to right, #24243e, #302b63, #0f0c29);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 3D Text Effect */
.text-3d {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    text-shadow: 
        1px 1px 0 #00d2ff,
        2px 2px 0 #00b5dd,
        3px 3px 0 #0099bb,
        4px 4px 0 #007c99,
        5px 5px 0 #006077,
        6px 6px 0 #004355,
        7px 7px 0 #002633,
        8px 8px 7px rgba(0,0,0,0.4),
        8px 8px 1px rgba(0,0,0,0.5),
        0px 0px 7px rgba(0,0,0,0.2);
    transform: perspective(500px) rotateX(5deg);
    transition: transform 0.3s ease;
}

.text-3d:hover {
    transform: perspective(500px) rotateX(0deg) scale(1.05);
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }

/* 3D Card Effect */
.card-3d {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.5),
        0 5px 15px rgba(0,0,0,0.3);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card-3d:hover {
    transform: perspective(1000px) translateZ(20px) rotateX(2deg);
    box-shadow: 
        0 25px 45px rgba(0,0,0,0.6),
        0 10px 25px rgba(0,0,0,0.4),
        0 0 20px rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.3);
}

.card-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3D Button */
.btn-3d {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 
        0 5px 15px rgba(0, 210, 255, 0.4),
        inset 0 -3px 0 rgba(0,0,0,0.2);
    transition: all 0.2s;
    position: relative;
    top: 0;
}

.btn-3d:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 
        0 8px 25px rgba(0, 210, 255, 0.6),
        inset 0 -3px 0 rgba(0,0,0,0.2);
    transform: translateY(-3px);
    color: white;
}

.btn-3d:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Navbar */
.navbar-3d {
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 900;
    background: -webkit-linear-gradient(#00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 2px 5px rgba(0,0,0,0.3);
}

/* Inputs */
.form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
    color: #fff;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Particles/Stars Background (Simulated with gradients for now) */
.bg-space {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
}

/* --- New Styles for MLMLAB Clone --- */

/* Feature Icons */
.feature-card .icon-box {
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    margin: 0 auto 1rem auto;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
    transition: 0.3s;
}

.feature-card .icon-box.icon-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .icon-box {
    background: var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
}
.feature-card:hover .icon-box i {
    color: white !important;
}

.icon-3d {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    min-width: 24px;
    min-height: 24px;
    margin-right: 8px;
}

.icon-3d i {
    position: relative;
    z-index: 1;
}

/* Steps */
.step-card .step-icon {
    font-size: 2rem;
    font-weight: bold;
    color: var(--bg-color);
    background: var(--primary-color);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

/* Pricing Ribbon */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card .ribbon {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.pricing-card .ribbon span {
    position: absolute;
    top: 30px;
    right: 0;
    transform: rotate(45deg);
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 40px;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* Transform Scale for Featured Plan */
.transform-scale {
    transform: scale(1.05);
    z-index: 10;
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
}

/* 3D Logo */
.logo-3d {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.5));
    transition: transform 0.3s ease;
}

.logo-3d:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.8));
}

.logo-3d-lg {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.5));
    animation: float 6s ease-in-out infinite;
}
