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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.02'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M53.4 20C43.2 20 35 28.2 35 38.4C35 48.6 43.2 56.8 53.4 56.8H77.2C79.4 56.8 81.2 58.6 81.2 60.8V84.6C81.2 94.8 89.4 103 99.6 103C109.8 103 118 94.8 118 84.6V38.4C118 28.2 109.8 20 99.6 20H53.4Z' fill='%23EC3146'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18.4 35C8.2 35 0 43.2 0 53.4V99.6C0 109.8 8.2 118 18.4 118H64.6C74.8 118 83 109.8 83 99.6C83 89.4 74.8 81.2 64.6 81.2H40.8C38.6 81.2 36.8 79.4 36.8 77.2V53.4C36.8 43.2 28.6 35 18.4 35Z' fill='%23FCC41C'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px;
    background-repeat: repeat;
    background-position: 0 0;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 1.1rem;
}

.text-primary {
    color: #ec3146;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #ec3146;
    color: white;
    border-color: #ec3146;
}

.btn-primary:hover {
    background-color: #d12a3f;
    border-color: #d12a3f;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #1a1a1a;
    border-color: #e5e7eb;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-logo a img{
    width: 130px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0px;
}

.nav-links a:hover {
    color: #ec3146;
}

.nav-links a.active {
    color: #ec3146;
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #ec3146 0%, #fcc41c 100%);
    border-radius: 1px;
}

.nav-cta {
    background: linear-gradient(135deg, #ec3146 0%, #dc2626 100%);
    color: white !important;
    padding: 7px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(236, 49, 70, 0.3);
    text-decoration: none;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(236, 49, 70, 0.4);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Modern Hero Section */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    padding-top: 150px;
    padding-bottom: 75px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(236, 49, 70, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(252, 196, 28, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25px 25px, rgba(255, 255, 255, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(236, 49, 70, 0.05) 2px, transparent 2px);
    background-size:
        100px 100px,
        150px 150px;
    animation: patternFloat 20s linear infinite;
}

.hero-ai-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.ai-circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, transparent 0%, rgba(252, 196, 28, 0.1) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(236, 49, 70, 0.08) 50%, transparent 100%),
        linear-gradient(45deg, transparent 0%, rgba(59, 130, 246, 0.06) 50%, transparent 100%);
    background-size:
        200px 1px,
        1px 200px,
        300px 300px;
    animation: circuitPulse 4s ease-in-out infinite;
}

.ai-nodes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.ai-node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(252, 196, 28, 0.6);
    border-radius: 50%;
    animation: nodePulse 3s ease-in-out infinite;
}

.ai-node:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.ai-node:nth-child(2) {
    top: 35%;
    left: 25%;
    animation-delay: 0.5s;
    background: rgba(236, 49, 70, 0.6);
}

.ai-node:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
    background: rgba(59, 130, 246, 0.6);
}

.ai-node:nth-child(4) {
    top: 25%;
    right: 20%;
    animation-delay: 1.5s;
}

.ai-node:nth-child(5) {
    top: 50%;
    right: 15%;
    animation-delay: 2s;
    background: rgba(236, 49, 70, 0.6);
}

.ai-node:nth-child(6) {
    top: 75%;
    right: 25%;
    animation-delay: 2.5s;
    background: rgba(59, 130, 246, 0.6);
}

.ai-symbols {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.ai-symbol {
    position: absolute;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.1);
    animation: symbolFloat 6s ease-in-out infinite;
}

.ai-symbol:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.ai-symbol:nth-child(2) {
    top: 30%;
    left: 80%;
    animation-delay: 1s;
}

.ai-symbol:nth-child(3) {
    top: 70%;
    left: 12%;
    animation-delay: 2s;
}

.ai-symbol:nth-child(4) {
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.ai-symbol:nth-child(5) {
    top: 40%;
    right: 75%;
    animation-delay: 4s;
}

.ai-symbol:nth-child(6) {
    top: 80%;
    right: 20%;
    animation-delay: 5s;
}

.brand-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.brand-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252, 196, 28, 0.15) 0%, transparent 70%);
    animation: brandPulse 8s ease-in-out infinite;
}

.brand-glow:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.brand-glow:nth-child(2) {
    top: 60%;
    right: 5%;
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(236, 49, 70, 0.12) 0%, transparent 70%);
}

.brand-glow:nth-child(3) {
    top: 40%;
    left: 50%;
    animation-delay: 4s;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.floating-ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.ai-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(252, 196, 28, 0.8);
    border-radius: 50%;
    animation: particleFloat 12s linear infinite;
}

.ai-particle:nth-child(1) {
    top: 20%;
    left: -5%;
    animation-delay: 0s;
}

.ai-particle:nth-child(2) {
    top: 40%;
    left: -5%;
    animation-delay: 2s;
    background: rgba(236, 49, 70, 0.8);
}

.ai-particle:nth-child(3) {
    top: 60%;
    left: -5%;
    animation-delay: 4s;
    background: rgba(59, 130, 246, 0.8);
}

.ai-particle:nth-child(4) {
    top: 30%;
    left: -5%;
    animation-delay: 6s;
}

.ai-particle:nth-child(5) {
    top: 70%;
    left: -5%;
    animation-delay: 8s;
    background: rgba(236, 49, 70, 0.8);
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.neural-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(252, 196, 28, 0.3) 50%, transparent 100%);
    animation: neuralPulse 5s ease-in-out infinite;
}

.neural-connection:nth-child(1) {
    top: 25%;
    left: 10%;
    width: 150px;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.neural-connection:nth-child(2) {
    top: 55%;
    right: 15%;
    width: 120px;
    transform: rotate(-20deg);
    animation-delay: 1.5s;
    background: linear-gradient(90deg, transparent 0%, rgba(236, 49, 70, 0.3) 50%, transparent 100%);
}

.neural-connection:nth-child(3) {
    top: 75%;
    left: 20%;
    width: 100px;
    transform: rotate(45deg);
    animation-delay: 3s;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
}

.brand-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.brand-icon {
    position: absolute;
    opacity: 0.08;
    transition: all 0.3s ease;
}

.brand-icon svg {
    width: 100%;
    height: 100%;
}

.brand-icon-1 {
    top: 15%;
    left: 8%;
    animation: brandIconFloat1 8s ease-in-out infinite;
}

.brand-icon-2 {
    top: 25%;
    right: 12%;
    animation: brandIconFloat2 10s ease-in-out infinite;
}

.brand-icon-3 {
    top: 65%;
    left: 15%;
    animation: brandIconFloat3 12s ease-in-out infinite;
}

.brand-icon-4 {
    top: 45%;
    right: 8%;
    animation: brandIconFloat4 9s ease-in-out infinite;
}

.brand-icon-5 {
    top: 80%;
    left: 45%;
    animation: brandIconFloat5 11s ease-in-out infinite;
}

.brand-icon-6 {
    top: 35%;
    left: 35%;
    animation: brandIconFloat6 7s ease-in-out infinite;
}

.brand-icon:hover {
    opacity: 0.15;
    transform: scale(1.1);
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 32px;
    animation: badgeFloat 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-align: left;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleSlideIn 0.8s ease-out forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.title-highlight {
    background: linear-gradient(135deg, #ec3146 0%, #fcc41c 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    display: block;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    animation:
        titleSlideIn 0.8s ease-out 0.6s forwards,
        gradientShift 3s ease-in-out 1s infinite;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-stats {
    display: flex;
    gap: 14px;
    margin-top: 35px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.2s forwards;
    position: relative;
}

.hero-stats::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    background: radial-gradient(ellipse at center, rgba(252, 196, 28, 0.06) 0%, transparent 70%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    animation: statsGlow 3s ease-in-out 2s infinite alternate;
}

.hero-stats .stat-item {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    min-width: 130px;
    animation: statFloat 6s ease-in-out infinite;
    white-space: nowrap;
}

.hero-stats .stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(252, 196, 28, 0.12) 0%,
        rgba(236, 49, 70, 0.08) 35%,
        rgba(59, 130, 246, 0.12) 70%,
        rgba(147, 51, 234, 0.08) 100%
    );
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 24px;
}

.hero-stats .stat-item::after {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(
        135deg,
        rgba(252, 196, 28, 0.7) 0%,
        rgba(236, 49, 70, 0.5) 35%,
        rgba(59, 130, 246, 0.7) 70%,
        rgba(147, 51, 234, 0.5) 100%
    );
    border-radius: 27px;
    opacity: 0;
    z-index: -1;
    transition: all 0.5s ease;
    filter: blur(15px);
}

.hero-stats .stat-item:hover::before {
    opacity: 1;
}

.hero-stats .stat-item:hover::after {
    opacity: 1;
    filter: blur(20px);
}

.hero-stats .stat-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(252, 196, 28, 0.2),
        0 2px 5px rgba(236, 49, 70, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(252, 196, 28, 0.4);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.04) 100%
    );
}

.hero-stats .stat-item:nth-child(1):hover::after {
    background: linear-gradient(
        135deg,
        rgba(252, 196, 28, 0.9) 0%,
        rgba(255, 193, 7, 0.7) 50%,
        rgba(255, 215, 0, 0.8) 100%
    );
}

.hero-stats .stat-item:nth-child(2):hover::after {
    background: linear-gradient(
        135deg,
        rgba(236, 49, 70, 0.9) 0%,
        rgba(220, 38, 127, 0.7) 50%,
        rgba(219, 39, 119, 0.8) 100%
    );
}

.hero-stats .stat-item:nth-child(3):hover::after {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.9) 0%,
        rgba(147, 51, 234, 0.7) 50%,
        rgba(99, 102, 241, 0.8) 100%
    );
}

.hero-stats .stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    display: block;
    line-height: 0.9;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: linear-gradient(135deg, #fcc41c 0%, #ffd700 25%, #ffed4e 50%, #fcc41c 75%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(252, 196, 28, 0.3));
    white-space: nowrap;
    overflow: visible;
}

.hero-stats .stat-item:hover .stat-number {
    transform: scale(1.1) rotateY(3deg);
    filter: drop-shadow(0 0 25px rgba(252, 196, 28, 0.6)) drop-shadow(0 4px 12px rgba(252, 196, 28, 0.2));
    background-size: 150% 150%;
}

.hero-stats .stat-icon {
    font-size: 1.2rem;
    margin-bottom: 4px;
    display: block;
    opacity: 0.8;
    transition: all 0.4s ease;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 2;
}

.hero-stats .stat-item:hover .stat-icon {
    opacity: 1;
    transform: scale(1.15) rotateY(5deg);
    filter: drop-shadow(0 2px 8px rgba(252, 196, 28, 0.3));
}

.hero-stats .stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    margin-bottom: 3px;
}

.hero-stats .stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.hero-stats .stat-trend {
    font-size: 0.6rem;
    color: rgba(252, 196, 28, 0.9);
    font-weight: 500;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    opacity: 0.8;
    font-style: italic;
}

.hero-stats .stat-item:hover .stat-trend {
    color: rgba(252, 196, 28, 1);
    opacity: 1;
    transform: translateY(-1px);
    text-shadow: 0 1px 4px rgba(252, 196, 28, 0.2);
}

/* Enhanced individual stat item animations */
.hero-stats .stat-item:nth-child(1) {
    animation-delay: 1.2s;
}

.hero-stats .stat-item:nth-child(2) {
    animation-delay: 1.4s;
}

.hero-stats .stat-item:nth-child(3) {
    animation-delay: 1.6s;
}

/* New keyframe animations */
@keyframes statsGlow {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.3;
    }
}

@keyframes statFloat {
    0%,
    100% {
        transform: translateY(0px);
    }

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

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out 0.5s forwards;
}

.hero-dashboard {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 480px;
    width: 480px;
    height: 300px;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dashboard-tabs {
    display: flex;
    gap: 8px;
}

.tab {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab.active {
    background: #ec3146;
    color: white;
}

.dashboard-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.action-btn:hover {
    background: rgba(236, 49, 70, 0.1);
}

.dashboard-content {
    padding: 8px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    flex: 1;
    overflow: hidden;
}

.conversation-preview {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow: hidden;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    cursor: pointer;
}

.conversation-item.active {
    background: rgba(236, 49, 70, 0.1);
    border: 1px solid rgba(236, 49, 70, 0.2);
}

.conversation-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.conversation-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.conversation-info {
    flex: 1;
}

.conversation-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.conversation-message {
    color: #6b7280;
    font-size: 0.8rem;
}

.conversation-status {
    font-size: 0.8rem;
}

.ai-suggestions-panel {
    background: rgba(236, 49, 70, 0.05);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(236, 49, 70, 0.1);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.ai-icon {
    font-size: 1.1rem;
}

.suggestion-item {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.suggestion-item:last-child {
    margin-bottom: 0;
}

.suggestion-text {
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 6px;
    line-height: 1.4;
}

.suggestion-confidence {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 500;
}

/* AI Dashboard Styles */
.ai-status {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #059669 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    width: auto !important;
    height: auto !important;
}

.ai-main-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    overflow: hidden;
}

.ai-brain-section {
    background: linear-gradient(135deg, rgba(236, 49, 70, 0.05) 0%, rgba(252, 196, 28, 0.05) 100%);
    border-radius: 6px;
    padding: 6px;
    border: 1px solid rgba(236, 49, 70, 0.1);
    flex-shrink: 0;
}

.ai-brain-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.brain-icon {
    font-size: 1rem;
    animation: brainPulse 2s ease-in-out infinite;
}

.brain-info {
    flex: 1;
}

.brain-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1px;
}

.brain-status {
    font-size: 0.65rem;
    color: #6b7280;
}

.brain-activity {
    display: flex;
    gap: 4px;
}

.activity-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ec3146;
    animation: activityPulse 1.5s ease-in-out infinite;
}

.activity-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.activity-dot:nth-child(3) {
    animation-delay: 0.6s;
}

.ai-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.metric-item {
    text-align: center;
    padding: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
}

.metric-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ec3146;
    margin-bottom: 2px;
}

.metric-label {
    font-size: 0.6rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ai-insights-section {
    background: rgba(252, 196, 28, 0.05);
    border-radius: 6px;
    padding: 6px;
    border: 1px solid rgba(252, 196, 28, 0.1);
    flex: 1;
    overflow: hidden;
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1f2937;
}

.insight-icon {
    font-size: 1.2rem;
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.insight-item:last-child {
    margin-bottom: 0;
}

.insight-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.insight-item.trending {
    border-left: 3px solid #ec3146;
    background: rgba(236, 49, 70, 0.05);
}

.insight-indicator {
    font-size: 1rem;
    margin-top: 2px;
}

.insight-content {
    flex: 1;
}

.insight-text {
    font-size: 0.8rem;
    color: #374151;
    line-height: 1.4;
    margin-bottom: 4px;
}

.insight-confidence {
    font-size: 0.7rem;
    color: #059669;
    font-weight: 500;
}

.ai-conversation-preview {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 6px;
    padding: 6px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.conversation-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1f2937;
}

.conv-icon {
    font-size: 1rem;
}

.ai-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
    font-weight: 500;
    margin-left: 6px;
}

.ai-badge.processing {
    background: rgba(251, 191, 36, 0.1);
    color: #d97706;
    animation: processingPulse 1.5s ease-in-out infinite;
}

.conversation-item.ai-active {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.conversation-item.ai-processing {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.conversation-status.ai-success {
    color: #059669;
    font-size: 1.2rem;
}

.conversation-status.ai-thinking {
    color: #d97706;
    font-size: 1.2rem;
    animation: thinkingPulse 2s ease-in-out infinite;
}

.ai-card {
    background: linear-gradient(135deg, rgba(236, 49, 70, 0.1) 0%, rgba(252, 196, 28, 0.1) 100%);
    border: 1px solid rgba(236, 49, 70, 0.2);
}

.card-subtext {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 4px;
    font-weight: 500;
}

/* AI Dashboard Animations */
@keyframes brainPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes activityPulse {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes processingPulse {
    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes thinkingPulse {
    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a1a1a;
}

.card-1 {
    top: 20%;
    right: -10%;
    animation: floatCard1 6s ease-in-out infinite;
}

.card-2 {
    top: 60%;
    left: -15%;
    animation: floatCard2 8s ease-in-out infinite;
}

.card-3 {
    bottom: 20%;
    right: -5%;
    animation: floatCard3 7s ease-in-out infinite;
}

.card-icon {
    font-size: 1.2rem;
}

/* Animations */
@keyframes gradientShift {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

@keyframes patternFloat {
    0% {
        transform: translateX(0) translateY(0);
    }

    100% {
        transform: translateX(-100px) translateY(-100px);
    }
}

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

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

@keyframes sparkle {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes typewriter {
    0% {
        width: 0;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    50% {
        width: 100%;
        opacity: 1;
        transform: translateY(0) scale(1.05);
    }

    100% {
        width: 100%;
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cursor-blink {
    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes titlePulse {
    0%,
    100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 20px rgba(252, 196, 28, 0.3));
    }

    50% {
        transform: translateY(-2px) scale(1.02);
        filter: drop-shadow(0 0 30px rgba(252, 196, 28, 0.5));
    }
}

/* AI Background Animations */
@keyframes circuitPulse {
    0%,
    100% {
        opacity: 0.3;
        transform: translateX(0) translateY(0);
    }

    50% {
        opacity: 0.7;
        transform: translateX(10px) translateY(5px);
    }
}

@keyframes nodePulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(252, 196, 28, 0.4);
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 0 8px rgba(252, 196, 28, 0);
    }
}

@keyframes symbolFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }

    25% {
        transform: translateY(-10px) rotate(5deg);
        opacity: 0.2;
    }

    50% {
        transform: translateY(-5px) rotate(-3deg);
        opacity: 0.15;
    }

    75% {
        transform: translateY(-15px) rotate(8deg);
        opacity: 0.25;
    }
}

@keyframes brandPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.15;
    }

    33% {
        transform: scale(1.2);
        opacity: 0.25;
    }

    66% {
        transform: scale(0.8);
        opacity: 0.1;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(100vw) translateY(-50px);
        opacity: 0;
    }
}

@keyframes neuralPulse {
    0%,
    100% {
        opacity: 0.2;
        transform: scaleX(0.5);
    }

    50% {
        opacity: 0.6;
        transform: scaleX(1);
    }
}

/* Brand Icon Animations */
@keyframes brandIconFloat1 {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.08;
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
        opacity: 0.12;
    }

    50% {
        transform: translateY(-8px) rotate(-1deg);
        opacity: 0.1;
    }

    75% {
        transform: translateY(-20px) rotate(3deg);
        opacity: 0.14;
    }
}

@keyframes brandIconFloat2 {
    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.08;
    }

    33% {
        transform: translateX(10px) translateY(-12px) rotate(-2deg);
        opacity: 0.11;
    }

    66% {
        transform: translateX(-5px) translateY(-18px) rotate(1deg);
        opacity: 0.13;
    }
}

@keyframes brandIconFloat3 {
    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.08;
    }

    40% {
        transform: translateY(-10px) scale(1.05) rotate(2deg);
        opacity: 0.12;
    }

    80% {
        transform: translateY(-5px) scale(0.95) rotate(-1deg);
        opacity: 0.1;
    }
}

@keyframes brandIconFloat4 {
    0%,
    100% {
        transform: translateX(0) rotate(0deg);
        opacity: 0.08;
    }

    30% {
        transform: translateX(-8px) rotate(3deg);
        opacity: 0.11;
    }

    60% {
        transform: translateX(12px) rotate(-2deg);
        opacity: 0.13;
    }

    90% {
        transform: translateX(-4px) rotate(1deg);
        opacity: 0.09;
    }
}

@keyframes brandIconFloat5 {
    0%,
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.08;
    }

    25% {
        transform: translateY(-8px) translateX(6px) rotate(-1deg);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-15px) translateX(-3px) rotate(2deg);
        opacity: 0.12;
    }

    75% {
        transform: translateY(-6px) translateX(9px) rotate(-2deg);
        opacity: 0.11;
    }
}

@keyframes brandIconFloat6 {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.08;
    }

    20% {
        transform: scale(1.02) rotate(1deg);
        opacity: 0.1;
    }

    40% {
        transform: scale(0.98) rotate(-1deg);
        opacity: 0.09;
    }

    60% {
        transform: scale(1.04) rotate(2deg);
        opacity: 0.12;
    }

    80% {
        transform: scale(0.96) rotate(-2deg);
        opacity: 0.11;
    }
}

@keyframes floatCard1 {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

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

@keyframes floatCard2 {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
}

@keyframes floatCard3 {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(8deg);
    }
}

@keyframes statGlow {
    0%,
    100% {
        text-shadow:
            0 0 20px rgba(252, 196, 28, 0.5),
            0 2px 10px rgba(252, 196, 28, 0.3);
    }

    50% {
        text-shadow:
            0 0 30px rgba(252, 196, 28, 0.7),
            0 2px 15px rgba(252, 196, 28, 0.5);
    }
}

@keyframes statPulse {
    0%,
    100% {
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.15),
            0 0 25px rgba(252, 196, 28, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-title {
        font-size: 2.4rem;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 12px;
        align-items: center;
        margin-top: 30px;
        width: 100%;
    }

    .hero-stats .stat-item {
        width: 100%;
        max-width: 220px;
        padding: 14px 20px;
        min-width: auto;
    }

    .hero-stats .stat-icon {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .hero-stats .stat-number {
        font-size: 1.9rem;
    }

    .hero-stats .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.4px;
    }

    .hero-stats .stat-trend {
        font-size: 0.55rem;
    }

    .hero-stats .stat-item:hover {
        transform: translateY(-4px) scale(1.01);
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 10px;
        margin-top: 25px;
    }

    .hero-stats .stat-item {
        max-width: 90%;
        padding: 12px 18px;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
    }
    .hero-dashboard {
        width: 100%;
        max-width: 100%;
    }

    .hero-stats .stat-icon {
        font-size: 1rem;
    }

    .hero-stats .stat-number {
        font-size: 1.7rem;
    }

    .hero-stats .stat-label {
        font-size: 0.6rem;
        letter-spacing: 0.3px;
    }

    .hero-stats .stat-trend {
        font-size: 0.5rem;
    }

    .dashboard-content {
        padding: 16px;
    }
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f8fafc 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec3146, #fcc41c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-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);
}

.feature-icon {
    margin-bottom: 24px;
}

.icon-background {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-highlight {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(236, 49, 70, 0.1), rgba(252, 196, 28, 0.1));
    border: 1px solid rgba(236, 49, 70, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ec3146;
}

/* Benefits Section */
.benefits {
    padding: 120px 0;
    background:
        radial-gradient(circle at 25% 75%, rgba(236, 49, 70, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(252, 196, 28, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #fef7f0 0%, #fff5f5 30%, #fffbeb 70%, #fefce8 100%);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20px 20px, rgba(236, 49, 70, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 60px 60px, rgba(252, 196, 28, 0.05) 2px, transparent 2px);
    background-size:
        80px 80px,
        120px 120px;
    pointer-events: none;
}

.benefits .section-header h2 {
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ec3146 0%, #fcc41c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fallback for browsers that don't support background-clip */
    color: #ec3146;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 49, 70, 0.02), rgba(252, 196, 28, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(236, 49, 70, 0.2);
}

.benefit-icon-wrapper {
    position: relative;
    margin-bottom: 24px;
    width: fit-content;
}

.benefits .benefit-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Icon glow effect removed for clean look */

.benefit-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.benefit-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
}

.benefit-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ec3146;
}

.stat-label {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.benefit-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec3146, #fcc41c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-gradient {
    transform: scaleX(1);
}

/* Interactive Stats Dashboard */
.benefits-dashboard {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 48px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.benefits-dashboard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec3146, #fcc41c, #ec3146);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

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

.dashboard-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.dashboard-header p {
    color: #6b7280;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ec3146;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: block;
}

.stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(236, 49, 70, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.stat-progress {
    height: 100%;
    background: linear-gradient(90deg, #ec3146, #fcc41c);
    border-radius: 3px;
    transition: width 2s ease-out;
    width: 0;
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.demo-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.demo-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    width: 30%;
}

.demo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.demo-screenshot {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    height: 300px;
}

.screenshot-mockup {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: white;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-tabs {
    display: flex;
    gap: 8px;
}

.tab {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    transition: all 0.2s ease;
}

.tab.active {
    background: #ec3146;
    color: white;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 6px;
}

.search-icon {
    font-size: 0.9rem;
    color: #6b7280;
}

.mockup-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.message-item:hover {
    background: #f8fafc;
    border-color: #ec3146;
}

.message-item.priority {
    border-left: 4px solid #ec3146;
}

.message-avatar {
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.message-info {
    flex: 1;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.sender {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.channel {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.channel.email {
    background: #dbeafe;
    color: #1e40af;
}

.channel.chat {
    background: #dcfce7;
    color: #166534;
}

.channel.social {
    background: #fef3c7;
    color: #92400e;
}

.time {
    font-size: 0.75rem;
    color: #6b7280;
}

.message-preview {
    color: #6b7280;
    font-size: 0.85rem;
}

.priority-badge {
    padding: 4px 8px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.demo-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.demo-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* AI Mockup Styles */
.ai-mockup .conversation-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-avatar {
    width: 40px;
    height: 40px;
    background: #ec3146;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.customer-details {
    display: flex;
    flex-direction: column;
}

.customer-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.customer-status {
    font-size: 0.8rem;
    color: #fcc41c;
    font-weight: 500;
}

.conversation-area {
    padding: 20px 0;
}

.message {
    margin-bottom: 16px;
}

.customer-message .message-bubble {
    background: #f3f4f6;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    color: #1a1a1a;
    font-size: 0.9rem;
    max-width: 80%;
}

.ai-suggestions {
    background: rgba(236, 49, 70, 0.05);
    border: 1px solid rgba(236, 49, 70, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.suggestion-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.ai-icon {
    font-size: 1rem;
}

.suggestion-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.suggestion-item:last-child {
    margin-bottom: 0;
}

.suggestion-item.recommended {
    border-color: #ec3146;
    background: rgba(236, 49, 70, 0.02);
}

.suggestion-item:hover {
    background: #f8fafc;
}

.suggestion-text {
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 8px;
    line-height: 1.4;
}

.suggestion-actions {
    display: flex;
    gap: 8px;
}

.use-suggestion,
.edit-suggestion {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.use-suggestion {
    background: #ec3146;
    color: white;
}

.use-suggestion:hover {
    background: #d12a3f;
}

.edit-suggestion {
    background: #f3f4f6;
    color: #6b7280;
}

.edit-suggestion:hover {
    background: #e5e7eb;
}

/* Analytics Mockup Styles */
.analytics-mockup .dashboard-title {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1rem;
}

.date-range {
    font-size: 0.8rem;
    color: #6b7280;
    padding: 4px 8px;
    background: #f3f4f6;
    border-radius: 4px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.metric-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ec3146;
    margin-bottom: 4px;
    display: block;
}

.metric-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 4px;
    display: block;
}

.metric-trend {
    font-size: 0.7rem;
    font-weight: 500;
}

.metric-trend.up {
    color: #059669;
}

.metric-trend.down {
    color: #dc2626;
}

.chart-area {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.chart-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.chart-placeholder {
    height: 80px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 60px;
}

.bar {
    width: 8px;
    background: linear-gradient(to top, #ec3146, #fcc41c);
    border-radius: 2px 2px 0 0;
    min-height: 8px;
}

.demo-cta {
    text-align: center;
    margin-top: 60px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 24px;
    font-size: 4rem;
    color: #ec3146;
    font-weight: 700;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 24px;
    margin-top: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(236, 49, 70, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(252, 196, 28, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #fef2f2 0%, #fef7f0 30%, #fff5f5 70%, #fefce8 100%);
    position: relative;
}

.cta-content {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-header {
    text-align: center;
    margin-bottom: 60px;
}

.cta-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.cta-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.cta-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.cta-form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.form-header {
    margin-bottom: 28px;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-header p {
    color: #6b7280;
    font-size: 1rem;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.field-error{
    position: absolute;
    bottom: -23px;
}
.form-group {
    display: flex;
    flex-direction: column;
    width: 50%;
    position: relative;
}

.form-group.full-width {
   width: 100% !important;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ec3146;
    box-shadow: 0 0 0 3px rgba(236, 49, 70, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.phone-input-wrapper {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
    overflow: hidden;
}

.phone-input-wrapper:focus-within {
    border-color: #ec3146;
    box-shadow: 0 0 0 3px rgba(236, 49, 70, 0.1);
}

.country-select {
    flex-shrink: 0;
    width: 120px;
    padding: 14px 8px;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

.country-select option {
    font-size: 0.9rem;
    padding: 8px;
}

.phone-input-wrapper input[type="tel"] {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6b7280;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.form-actions {
    margin-top: 24px;
    text-align: center;
}

.form-actions .btn-primary {
    width: 100%;
    justify-content: center;
    position: relative;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0;
}

.cta-benefits {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 32px;
    height: fit-content;
}

.cta-benefits h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cta-benefits .benefit-icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.benefit-text h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6b7280;
}

.trust-icon {
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand p {
    color: #9ca3af;
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #ec3146;
}

/* Animations */
@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }

    .demo-grid {
        gap: 32px;
        width: 100%;
        flex-direction: column;
    }
    .demo-card {
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        gap: 24px;
    }

    .cta-form-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        margin-bottom: 30px;
    }
    .dashboard-header {
        flex-direction: column;
    }
    .benefits-dashboard {
        padding: 20px;
    }
    .cta,
    .demo {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 30px;
    }
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .nav-links {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .country-select {
        width: 100px;
        font-size: 0.8rem;
        padding: 14px 6px;
    }

    .phone-input-wrapper {
        flex-direction: column;
    }

    .country-select {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    .benefits {
        padding: 60px 0;
    }
    .form-row{
        flex-direction: column;
    }
    .form-group{
        width: 100% !important;
    }
}

/* Legal Modal Styles */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.legal-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.legal-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.legal-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.legal-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.legal-modal-close:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}

.legal-tabs {
    display: flex;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 1px solid #e5e7eb;
    padding: 4px;
    border-radius: 12px 12px 0 0;
}

.legal-tab-btn {
    flex: 1;
    padding: 14px 20px;
    background: none;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin: 2px;
}

.legal-tab-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 49, 70, 0.1) 0%, rgba(252, 196, 28, 0.1) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.legal-tab-btn span {
    position: relative;
    z-index: 1;
}

.legal-tab-btn:hover {
    color: #1a1a1a;
    background: rgba(236, 49, 70, 0.06);
    border-color: rgba(236, 49, 70, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(236, 49, 70, 0.1);
}

.legal-tab-btn:hover::before {
    opacity: 0.3;
}

.legal-tab-btn.active {
    color: #ec3146 !important;
    background: transparent !important;
    border: 2px solid transparent !important;
    font-weight: 600 !important;
    position: relative;
    transform: none !important;
    box-shadow: none !important;
}

.legal-tab-btn.active::before {
    opacity: 0 !important;
}

.legal-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ec3146;
    border-radius: 2px 2px 0 0;
}

.legal-tab-btn.active span {
    color: #ec3146 !important;
    font-weight: 600 !important;
}

/* Fallback active tab highlighting */
.legal-tabs .legal-tab-btn[class*="active"] {
    background-color: transparent !important;
    color: #ec3146 !important;
    border-color: transparent !important;
    font-weight: 600 !important;
}

/* Additional specificity for active state */
.legal-modal .legal-tabs .legal-tab-btn.active {
    background: transparent !important;
    color: #ec3146 !important;
    border: 2px solid transparent !important;
    font-weight: 600 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Maximum specificity override for active tabs */
.legal-modal .legal-tabs button.legal-tab-btn.active,
.legal-modal .legal-tabs .legal-tab-btn.active,
button.legal-tab-btn.active {
    background-color: transparent !important;
    color: #ec3146 !important;
    border: 2px solid transparent !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transform: none !important;
    position: relative;
}

/* Simple underline for active tabs */
.legal-modal .legal-tabs button.legal-tab-btn.active::after,
.legal-modal .legal-tabs .legal-tab-btn.active::after,
button.legal-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ec3146;
    border-radius: 2px 2px 0 0;
}

/* Ensure span inside active tab is also highlighted */
.legal-modal .legal-tabs button.legal-tab-btn.active span,
.legal-modal .legal-tabs .legal-tab-btn.active span,
button.legal-tab-btn.active span {
    color: #ec3146 !important;
    font-weight: 600 !important;
}

.legal-tab-content {
    height: 60vh;
    overflow-y: auto;
}

.legal-tab-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-tab-panel.active {
    display: block;
    opacity: 1;
}

.legal-tab-panel h3 {
    margin: 0 0 24px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ec3146;
}

.legal-content {
    padding: 12px 0;
}
.legal-content h4 {
    margin: 24px 0 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.legal-content p {
    margin: 0 0 16px 0;
    line-height: 1.6;
    color: #374151;
    font-size: 15px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

/* Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes tabActivate {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 2px 6px rgba(236, 49, 70, 0.1);
    }
    30% {
        transform: translateY(-4px) scale(1.03);
        box-shadow:
            0 6px 16px rgba(236, 49, 70, 0.3),
            0 2px 4px rgba(236, 49, 70, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    60% {
        transform: translateY(-3px) scale(1.01);
    }
    100% {
        transform: translateY(-3px) scale(1);
        box-shadow:
            0 4px 12px rgba(236, 49, 70, 0.25),
            0 2px 4px rgba(236, 49, 70, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}

.policy_section {
    width: 100%;
    padding: 125px 0 75px 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(236, 49, 70, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(252, 196, 28, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #fef2f2 0%, #fef7f0 30%, #fff5f5 70%, #fefce8 100%);
}

.accordion {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: fit-content;
}


.accordion-header {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5e8e0;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
}

.accordion-content {
    display: none;
    padding: 16px 0;
    color: #111827;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.accordion-header.active + .accordion-content {
    display: block;
}
.icon {
    transition: transform 0.3s ease;
}
.accordion-header.active .icon {
    transform: rotate(45deg);
}
p,
ul,
li {
    margin-bottom: 10px;
}
ul {
    margin-left: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .policy_section {
        padding: 98px 0 75px 0;
    }

    .legal-modal-header {
        padding: 20px 24px;
    }

    .legal-modal-header h2 {
        font-size: 1.3rem;
    }

    .legal-tab-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

 .accordion{
    padding: 20px;
 }

    .legal-tab-content {
        height: 50vh;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-header h2 {
        font-size: 2rem;
    }

    .feature-card,
    .benefit-card,
    .demo-card,
    .testimonial-card {
        padding: 14px;
        width: 100%;
    }

    .benefits-dashboard {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-form-wrapper {
        padding: 24px;
    }
}


/* ===================================
   intlTelInput Custom Styles
   =================================== */

.iti {
    width: 100%;
    display: block;
}

.iti__flag-container {
    padding: 0;
}

.iti__selected-flag {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-right: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.iti__selected-flag:hover {
    background: rgba(249, 250, 251, 1);
}

.iti__country-list {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    max-height: 250px;
    margin-top: 5px;
}

.iti__country {
    padding: 10px 16px;
    transition: background 0.2s ease;
}

.iti__country:hover {
    background: rgba(236, 49, 70, 0.05);
}

.iti__country.iti__highlight {
    background: rgba(236, 49, 70, 0.1);
}

.iti__selected-dial-code {
    color: #666;
    font-weight: 500;
    margin-left: 8px;
}

#phone {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    font-size: 1rem;
    transition: all 0.2s ease;
    padding-left: 90px;
}

#phone:focus {
    border-color: #ec3146;
    box-shadow: 0 0 0 3px rgba(236, 49, 70, 0.1);
    outline: none;
}

.iti--separate-dial-code .iti__selected-flag {
    background: transparent;
    border-right: none;
}

.iti--separate-dial-code #phone {
    padding-left: 100px;
}

/* Error state for phone input */
#phone.error {
    border-color: #DC2626;
}

.iti.error .iti__selected-flag {
    border-color: #DC2626;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .iti__country-list {
        max-height: 200px;
    }
    
    #phone {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
