/* ================================
   SQOIN ERP - 3D Animated Interface
   ================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #14B8A6;
    --primary-light: #2DD4BF;
    --primary-dark: #0D9488;
    --secondary: #0EA5E9;
    --accent: #8B5CF6;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 35, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --glow-primary: 0 0 30px rgba(20, 184, 166, 0.5);
    --glow-cyan: 0 0 30px rgba(14, 165, 233, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ================================
   Animated Background
   ================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
    opacity: 0;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(20, 184, 166, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.glow-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orb-float 10s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.3), transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: 3s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* ================================
   Main Container
   ================================ */
.main-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ================================
   Header Section
   ================================ */
.header {
    text-align: center;
    padding: 60px 20px;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.logo {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 20px rgba(20, 184, 166, 0.5));
    animation: logo-pulse 3s ease-in-out infinite, logo-float 4s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(20, 184, 166, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(20, 184, 166, 0.8));
    }
}

@keyframes logo-float {
    0%, 100% {
        transform: translateY(0) rotateY(0);
    }
    50% {
        transform: translateY(-15px) rotateY(10deg);
    }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.3), transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

.title-section {
    margin-bottom: 30px;
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: title-glow 3s ease-in-out infinite;
}

.main-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.5;
}

@keyframes title-glow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(20, 184, 166, 0.3);
    }
    50% {
        text-shadow: 0 0 60px rgba(20, 184, 166, 0.6);
    }
}

.tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--secondary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 10px;
    animation: tagline-slide 1s ease-out 0.5s both;
}

@keyframes tagline-slide {
    from {
        opacity: 0;
        letter-spacing: 0.5em;
    }
    to {
        opacity: 1;
        letter-spacing: 0.3em;
    }
}

.title-underline {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    margin: 20px auto;
    animation: underline-expand 1s ease-out 0.8s both;
}

@keyframes underline-expand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 200px;
        opacity: 1;
    }
}

.intro-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 1s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.highlight {
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
}

/* ================================
   Cards Section
   ================================ */
.cards-section {
    padding: 60px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    perspective: 1500px;
}

.card-container {
    height: 350px;
    -webkit-perspective: 1500px;
    perspective: 1500px;
}

.card {
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.card.flipped {
    -webkit-transform: rotateY(180deg) !important;
    transform: rotateY(180deg) !important;
}

.card:hover:not(.flipped) {
    -webkit-transform: translateZ(30px) rotateX(5deg) rotateY(-5deg);
    transform: translateZ(30px) rotateX(5deg) rotateY(-5deg);
}

.card-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Card Front */
.card-front {
    z-index: 2;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    background: rgba(10, 10, 20, 0.85);
    border: 1px solid rgba(20, 184, 166, 0.2);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Card Background GIF - Lazy Loaded */
.card-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 0;
    border-radius: 20px;
    transition: opacity 1s ease;
    pointer-events: none;
}

.card-bg-video.loaded {
    background-image: url('../images/back.gif');
    opacity: 0.15;
}

.card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-front::before {
    opacity: 1;
}

.card-front::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 70%
    );
    animation: card-shine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes card-shine {
    0%, 100% {
        transform: translateX(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
    box-shadow: var(--glow-primary);
    transition: all 0.3s ease;
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 50px rgba(20, 184, 166, 0.7);
}

.card-front h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-decoration {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    margin-bottom: 15px;
    transition: width 0.3s ease;
}

.card:hover .card-decoration {
    width: 100px;
}

.click-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.card:hover .click-hint {
    opacity: 1;
    color: var(--primary);
}

/* Card Back */
.card-back {
    z-index: 1;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(0, 212, 255, 0.1));
    border: 2px solid var(--primary);
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    justify-content: flex-start;
    padding-top: 25px;
}

.card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.95), rgba(30, 30, 50, 0.95));
    z-index: -1;
}

.card-back h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-back ul {
    list-style: none;
    text-align: left;
    width: 100%;
}

.card-back li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.card-back li:hover {
    color: var(--text-primary);
    padding-left: 10px;
}

.card-back li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.card-back .click-hint {
    position: absolute;
    bottom: 20px;
}

/* Card animation on load */
.card-container {
    animation: cardEntrance 0.8s ease-out backwards;
}

.card-container:nth-child(1) { animation-delay: 0.1s; }
.card-container:nth-child(2) { animation-delay: 0.2s; }
.card-container:nth-child(3) { animation-delay: 0.3s; }
.card-container:nth-child(4) { animation-delay: 0.4s; }
.card-container:nth-child(5) { animation-delay: 0.5s; }
.card-container:nth-child(6) { animation-delay: 0.6s; }
.card-container:nth-child(7) { animation-delay: 0.7s; }
.card-container:nth-child(8) { animation-delay: 0.8s; }

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(100px) rotateX(-30deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* ================================
   CTA Section
   ================================ */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.3);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

/* ================================
   Hero CTA
   ================================ */
.hero-cta {
    margin-top: 40px;
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.2rem;
}

.highlight-big {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 15px;
}

/* ================================
   Section Titles
   ================================ */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ================================
   Problem Section
   ================================ */
.problem-section {
    padding: 80px 20px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.2);
}

.problem-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: white;
}

.problem-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================
   Step Numbers for Cards
   ================================ */
.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.2;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* ================================
   Output Section
   ================================ */
.output-section {
    padding: 80px 20px;
}

.output-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.output-card {
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.output-card:hover {
    border-color: var(--primary);
}

.output-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.risk-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
}

.gaps-icon {
    background: linear-gradient(135deg, #eab308, #f59e0b);
    color: white;
}

.roadmap-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.output-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.output-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.risk-levels {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.risk-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.risk-badge.unacceptable {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.risk-badge.high {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
    border: 1px solid #f97316;
}

.risk-badge.limited {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border: 1px solid #eab308;
}

.risk-badge.minimal {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.gaps-list, .roadmap-list {
    list-style: none;
}

.gaps-list li, .roadmap-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.gaps-list li i {
    color: #ef4444;
}

.roadmap-list li i {
    color: #22c55e;
}

/* ================================
   Pricing Section
   ================================ */
.pricing-section {
    padding: 80px 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price .amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.price .currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li i {
    color: var(--primary);
}

.pricing-features li.disabled {
    opacity: 0.4;
}

.pricing-features li.disabled i {
    color: var(--text-secondary);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* ================================
   Trust Section
   ================================ */
.trust-section {
    padding: 80px 20px;
}

.trust-content {
    max-width: 800px;
    margin: 50px auto 0;
}

.expert-card {
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
}

.expert-credentials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid var(--primary);
    padding: 12px 24px;
    border-radius: 30px;
    color: var(--primary);
    font-weight: 500;
}

.credential i {
    font-size: 1.2rem;
}

.expert-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ================================
   Hero CTA Buttons Layout
   ================================ */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   Demo Modal
   ================================ */
.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.demo-modal.active {
    display: flex;
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.demo-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.98), rgba(25, 25, 40, 0.98));
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.demo-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.demo-close:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    color: #ef4444;
}

/* Demo Progress */
.demo-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.demo-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 20%;
    transition: width 0.5s ease;
}

.demo-step-indicator {
    text-align: center;
    padding: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-step-indicator span {
    color: var(--primary);
    font-weight: 600;
}

/* Demo Screens */
.demo-screens {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

.demo-screen {
    display: none;
    animation: screenFadeIn 0.5s ease;
}

.demo-screen.active {
    display: block;
}

@keyframes screenFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.demo-header {
    text-align: center;
    margin-bottom: 40px;
}

.demo-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.demo-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.demo-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

/* Screen 1: Welcome */
.demo-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.demo-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.4);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.demo-features-preview {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Screen 2: Form Preview */
.demo-form-preview {
    max-width: 600px;
    margin: 0 auto;
}

.demo-form {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 16px;
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.demo-select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 10px;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
}

.checkbox-group, .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-item, .radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item.checked, .radio-item.selected {
    background: rgba(20, 184, 166, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.checkbox-item input, .radio-item input {
    display: none;
}

.form-progress-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-progress-indicator span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.form-progress-bar div {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* Screen 3: Analysis */
.demo-analysis {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.analysis-animation {
    position: relative;
    width: 100px;
    height: 100px;
}

.analysis-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    z-index: 2;
}

.analysis-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.analysis-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
}

.analysis-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.analysis-step.completed {
    color: #22c55e;
}

.analysis-step.completed i {
    color: #22c55e;
}

.analysis-step.active {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.analysis-step.active i {
    color: var(--primary);
}

.analysis-step i {
    width: 20px;
    text-align: center;
}

.analysis-articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.article-tag {
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid var(--secondary);
    border-radius: 20px;
    color: var(--secondary);
    font-size: 0.85rem;
}

/* Screen 4: Risk Result */
.demo-report {
    max-width: 500px;
    margin: 0 auto;
}

.risk-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.risk-meter {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.risk-meter-bg {
    height: 12px;
    background: linear-gradient(90deg, #22c55e, #eab308, #f97316, #ef4444);
    border-radius: 6px;
    overflow: hidden;
}

.risk-meter-fill {
    height: 100%;
    background: transparent;
}

.risk-indicator {
    position: absolute;
    top: -8px;
    width: 28px;
    height: 28px;
    background: white;
    border: 3px solid;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.risk-indicator.minimal { left: 12.5%; border-color: #22c55e; }
.risk-indicator.limited { left: 37.5%; border-color: #eab308; }
.risk-indicator.high { left: 75%; border-color: #f97316; }
.risk-indicator.unacceptable { left: 95%; border-color: #ef4444; }

.risk-label {
    text-align: center;
}

.risk-badge-large {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.risk-badge-large.high {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
    border: 2px solid #f97316;
}

.risk-label p {
    color: var(--text-secondary);
}

.risk-summary {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.summary-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.summary-item strong {
    color: var(--text-primary);
}

.summary-item div {
    color: var(--text-secondary);
}

/* Screen 5: Final Report */
.demo-final-report {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.report-preview {
    display: flex;
    justify-content: center;
}

.report-document {
    width: 100%;
    max-width: 280px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: rotate(-2deg);
}

.report-doc-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.report-doc-header img {
    width: 30px;
    height: 30px;
}

.report-doc-content {
    padding: 20px;
}

.report-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.report-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.report-section h4 {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-section h4 i {
    color: var(--primary);
}

.mini-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.mini-badge.high {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.report-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.report-section ul li {
    font-size: 0.8rem;
    color: #666;
    padding: 4px 0;
    padding-left: 15px;
    position: relative;
}

.report-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.report-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.report-action-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-action-item:hover {
    background: rgba(20, 184, 166, 0.2);
    transform: translateX(5px);
}

.report-action-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Demo Navigation */
.demo-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.demo-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.demo-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.demo-nav-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
}

.demo-nav-btn.primary:hover {
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
    transform: translateY(-2px);
}

/* Demo Responsive */
@media (max-width: 768px) {
    .demo-container {
        max-height: 95vh;
        border-radius: 16px;
    }

    .demo-screens {
        padding: 25px;
    }

    .demo-header h2 {
        font-size: 1.4rem;
    }

    .demo-final-report {
        grid-template-columns: 1fr;
    }

    .report-document {
        transform: rotate(0);
    }

    .demo-nav {
        padding: 15px 25px;
    }

    .demo-nav-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .checkbox-group, .radio-group {
        flex-direction: column;
    }
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 40px 20px;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.footer-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-content a:hover {
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}

.footer-decoration {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 20px auto 0;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 20px 15px;
    }

    .header {
        padding: 40px 15px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .card-container {
        height: 280px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .card-front h3 {
        font-size: 1.3rem;
    }

    .card-back li {
        font-size: 0.85rem;
        padding: 6px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .orb-1 {
        width: 250px;
        height: 250px;
    }

    .orb-2 {
        width: 200px;
        height: 200px;
    }

    .orb-3 {
        display: none;
    }

    .problem-section,
    .output-section,
    .pricing-section,
    .trust-section {
        padding: 50px 15px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .expert-credentials {
        flex-direction: column;
        align-items: center;
    }

    .credential {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card-container {
        height: 300px;
    }

    .title-underline {
        width: 150px;
    }

    .intro-text {
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 50px 15px;
    }

    .grid-overlay {
        background-size: 30px 30px;
    }
}

/* ================================
   Accessibility & Performance
   ================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Selection styling */
::selection {
    background: var(--primary);
    color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--primary-dark));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}
