/* 
    Richmo SMS Gateway - Design System
    Theme: Premium Dark / Futuristic
*/

:root {
    /* Colors */
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.7);
    --primary: #991B1B; /* Premium Maroon */
    --primary-glow: rgba(153, 27, 27, 0.4);
    --secondary: #D4AF37; /* Gold accent for premium feel */
    --secondary-glow: rgba(212, 175, 55, 0.4);
    --text-main: #FFFFFF;
    --text-dim: #A1A1AA;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-dark);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 500; /* Increased body weight for clarity */
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: 0.2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800; /* Much bolder for titles */
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Layout Utils --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section {
    padding: var(--section-padding);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 24px;
    will-change: backdrop-filter;
}

@media (max-width: 768px) {
    .glass-card { backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
    header.scrolled { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 5%;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 15px 5%;
    will-change: backdrop-filter;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 45px;
    transition: 0.3s;
}

header.scrolled .logo img {
    height: 38px;
}

.nav-links {
    display: flex;
    gap: 35px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Dropdown Menu --- */
.nav-links li {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 15px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
    margin-bottom: 5px;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text-dim);
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid transparent;
}

.dropdown-menu li a:hover {
    background: rgba(153, 27, 27, 0.1);
    color: white;
    border-color: rgba(153, 27, 27, 0.2);
    padding-left: 25px;
}

.dropdown-menu li a::after {
    display: none;
}

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

.login-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-primary {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), #600000);
    color: white;
    border-radius: 12px;
    font-size: 0.95rem;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--primary-glow);
}

/* --- Hero Section Slider --- */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: var(--bg-dark);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: 0;
}

#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below content, above blobs */
    opacity: 0.6;
    pointer-events: none;
}

/* Background Animation Blobs */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.15;
    animation: move 20s infinite alternate;
}

.hero::before {
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: -5s;
}

.hero::after {
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 50px) scale(1.1); }
    100% { transform: translate(-50px, 100px) scale(1); }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10; /* Definitely above canvas */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    visibility: hidden;
    transform: scale(1.05); /* Slight zoom-out effect */
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    width: 50%;
    z-index: 2;
}

.hero-content h1,
.hero-content .hero-badge,
.hero-content p,
.hero-content .hero-btns {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.slide.active .hero-content .hero-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.slide.active .hero-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.slide.active .hero-content .hero-btns {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.hero-visual {
    width: 45%;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(50px) scale(0.9);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .hero-visual {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition-delay: 0.5s;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 500px;
}

.highlight-text {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--secondary) !important;
    margin-bottom: 15px !important;
    display: inline-block;
    padding: 5px 0;
    border-bottom: 2px solid var(--secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background-color: #10B981;
    opacity: 0.5;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

.hero-visual {
    position: relative;
    width: 50%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transform: scale(0.8);
    transition: 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .hero-visual {
    transform: scale(1);
}

.hero-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 50px var(--primary-glow));
    animation: float 6s ease-in-out infinite;
}

/* Slider Dots */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    width: 30px;
    border-radius: 10px;
}

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

/* --- Stats Section --- */
.stats-grid {
    perspective: 1000px;
}

.stat-card {
    padding: 20px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.9;
    display: inline-block;
    animation: float-icon 4s ease-in-out infinite;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.category-badge {
    display: inline-block;
    background: rgba(153, 27, 27, 0.1);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    border: 1px solid rgba(153, 27, 27, 0.2);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 20px auto 0;
    border-radius: 10px;
}

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

.feature-card {
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(153, 27, 27, 0.1), transparent);
    opacity: 0;
    transition: 0.5s;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(153, 27, 27, 0.3);
}

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

.feature-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    z-index: -1;
    font-family: var(--font-heading);
    transition: 0.5s;
}

.feature-card:hover .feature-number {
    color: rgba(212, 175, 55, 0.25);
    transform: scale(1.1);
}

/* Disable hover effect for Coming Soon cards */
.feature-card:has(.badge-soon):hover .feature-number {
    color: rgba(255, 255, 255, 0.08);
    transform: none;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #600000);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
    transform: rotate(-5deg);
    transition: 0.5s;
}

.feature-card:hover .feature-icon {
    transform: rotate(0deg) scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 25px;
}

.learn-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.learn-more i {
    transition: 0.3s;
}

.learn-more:hover i {
    transform: translateX(5px);
}

.badge-soon {
    position: absolute;
    top: 25px;
    right: -40px;
    background: linear-gradient(135deg, var(--secondary), #B8860B);
    color: #000;
    width: 150px;
    text-align: center;
    padding: 6px 0;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* --- Pricing Section --- */
.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--glass);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(30px); }

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

.pricing-card {
    padding: 50px 40px;
    text-align: center;
    position: relative;
}

.pricing-card.popular {
    border: 1px solid var(--primary);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, rgba(5, 5, 5, 0) 100%);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-dim);
}

/* --- Footer --- */
footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(153, 27, 27, 0.08) 100%);
    padding: 120px 0 40px;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: 'RICHMO';
    position: absolute;
    bottom: -50px;
    right: -20px;
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    line-height: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.footer-info .footer-logo {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.footer-info p {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.footer-links h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-contact-info {
    margin-top: 30px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary);
    width: 16px;
}

.footer-newsletter h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    padding: 12px 18px;
    border-radius: 10px;
    color: white;
    flex: 1;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 12px 20px;
    min-width: 50px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    opacity: 0.5;
    filter: grayscale(1);
    transition: 0.3s;
}

.payment-methods:hover {
    opacity: 1;
    filter: grayscale(0);
}

.payment-icon {
    height: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) rotate(8deg);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(153, 27, 27, 0.3);
}

.copyright {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* --- Developer Section --- */
.code-window {
    background: #0D0D0D;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.code-header {
    background: #1A1A1A;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.code-dots {
    display: flex;
    gap: 8px;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #FF5F56; }
.code-dots span:nth-child(2) { background: #FFBD2E; }
.code-dots span:nth-child(3) { background: #27C93F; }

.code-tabs {
    display: flex;
    gap: 15px;
}

.code-tab {
    background: transparent;
    color: var(--text-dim);
    font-size: 0.85rem;
    padding: 4px 0;
    position: relative;
}

.code-tab.active {
    color: var(--text-main);
}

.code-tab.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.code-body {
    padding: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-x: auto;
    min-height: 280px; /* Fixed height to prevent layout shift */
    display: flex;
    flex-direction: column;
}

.code-keyword { color: #C678DD; }
.code-string { color: #98C379; }
.code-comment { color: #5C6370; }

@media (max-width: 992px) {
    .dev-flex { flex-direction: column; gap: 50px; }
    .dev-content { text-align: center; }
    .dev-features { justify-content: center; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .footer-content { grid-template-columns: 1fr; }
}

/* Benefit Cards */
.benefit-card {
    background: rgba(153, 27, 27, 0.03);
    border: 1px solid rgba(153, 27, 27, 0.1);
    padding: 35px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 20px;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(153, 27, 27, 0.1), transparent);
    opacity: 0;
    transition: 0.4s;
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(153, 27, 27, 0.06);
    border-color: rgba(153, 27, 27, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(153, 27, 27, 0.1);
}

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

.benefit-icon {
    min-width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), #600000);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(153, 27, 27, 0.2);
    transition: 0.4s;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(-5deg);
}

.benefit-content h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.benefit-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .benefit-card { flex-direction: column; text-align: center; align-items: center; }
}

/* Professional Work Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.process-step {
    position: relative;
    padding: 60px 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(153, 27, 27, 0.08) 0%, transparent 100%);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.step-number-bg {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 0;
    font-family: var(--font-heading);
    pointer-events: none;
}

.process-step:hover .step-number-bg {
    color: rgba(153, 27, 27, 0.1);
}

.step-icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(153, 27, 27, 0.3);
}

@media (max-width: 992px) {
    .process-grid { grid-template-columns: 1fr; gap: 60px; }
    .process-step::after { display: none; }
}


/* Flowing Dashed Line Animation */
.process-connector {
    position: absolute;
    top: 50px;
    left: 100px;
    width: calc(100% - 200px);
    height: 2px;
    border-top: 2px dashed var(--primary);
    opacity: 0.3;
    z-index: -1;
}

.process-connector::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 20px;
    height: 4px;
    background: var(--primary);
    filter: blur(2px);
    animation: flowLine 3s linear infinite;
}

@keyframes flowLine {
    0% { left: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.step-node {
    position: relative;
    z-index: 2;
}

.step-node::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: nodePulse 2s infinite;
}

@keyframes nodePulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}


/* Pricing Card Styles */
.pricing-card {
    opacity: 1;
    transform: none;
    transition: all 0.3s ease;
}

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



.pricing-card:hover {
    box-shadow: 0 20px 40px rgba(153, 27, 27, 0.2);
}

.pricing-card.popular:hover {
    box-shadow: 0 20px 40px rgba(153, 27, 27, 0.4);
}


/* Compact Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
}


/* Detailed Pricing Styles */
.card-title {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.price-details {
    margin: 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.feature-list {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    font-size: 0.9rem;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.feature-list i {
    color: var(--primary); /* Maroon */
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-card.popular {
    border: 1px solid var(--primary);
    background: rgba(153, 27, 27, 0.08);
    box-shadow: 0 15px 40px rgba(153, 27, 27, 0.2);
}

.pricing-card.popular .btn-primary {
    background: var(--primary);
    color: white;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.pricing-card .price {
    color: var(--secondary); /* Gold */
}


/* Server Monitoring Animation */
.monitor-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 20px;
    margin: 0 auto;
}

.monitor-bars span {
    width: 3px;
    height: 100%;
    background: #10B981;
    border-radius: 10px;
    opacity: 0.3;
    animation: monitorPulse 1.5s ease-in-out infinite;
}

.monitor-bars span:nth-child(2n) { animation-delay: 0.2s; height: 60%; }
.monitor-bars span:nth-child(3n) { animation-delay: 0.4s; height: 80%; }
.monitor-bars span:nth-child(4n) { animation-delay: 0.1s; height: 40%; }
.monitor-bars span:nth-child(5n) { animation-delay: 0.5s; height: 90%; }

@keyframes monitorPulse {
    0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; background: var(--secondary); }
}


/* Floating Tech Clouds */
.tech-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.cloud {
    position: absolute;
    color: rgba(0, 212, 255, 0.15);
    filter: blur(2px);
    animation: floatCloud 20s linear infinite;
}

.cloud svg { width: 100px; height: 100px; }

.cloud-1 { top: 15%; left: -10%; animation-duration: 35s; }
.cloud-2 { top: 40%; left: -15%; animation-duration: 45s; animation-delay: -10s; }
.cloud-3 { top: 70%; left: -10%; animation-duration: 30s; animation-delay: -5s; }

@keyframes floatCloud {
    from { transform: translateX(-100px); }
    to { transform: translateX(calc(100vw + 100px)); }
}




/* Creative Tech Clouds */
.creative-cloud {
    position: absolute;
    width: 200px;
    height: 120px;
    filter: blur(40px);
    opacity: 0.15;
    animation: floatCloud 30s linear infinite;
}

.cloud-layer {
    position: absolute;
    background: radial-gradient(circle, #00D4FF, #991B1B);
    border-radius: 50%;
    mix-blend-mode: screen;
}

.layer-1 { width: 100px; height: 100px; top: 0; left: 0; }
.layer-2 { width: 80px; height: 80px; bottom: 0; right: 0; }
.layer-3 { width: 120px; height: 80px; top: 20px; left: 40px; }

.cloud-1 { top: 10%; left: -20%; scale: 1.5; animation-duration: 40s; }
.cloud-2 { top: 50%; left: -30%; scale: 2; animation-duration: 55s; animation-delay: -15s; }
.cloud-3 { top: 80%; left: -20%; scale: 1.2; animation-duration: 35s; animation-delay: -5s; }

/* Pulse animation for clouds */
.creative-cloud {
    animation: floatCloud 30s linear infinite, cloudPulse 8s ease-in-out infinite;
}

@keyframes cloudPulse {
    0%, 100% { opacity: 0.1; scale: 1; }
    50% { opacity: 0.2; scale: 1.1; }
}







/* Floating Message Bubbles (text.lk Style) */
.phone-mockup-wrapper {
    position: relative;
    display: inline-block;
}

.floating-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.95); /* Much darker for contrast */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    z-index: 50;
    animation: bubbleFloat 6s ease-in-out infinite;
}

.bubble-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}

.bubble-time {
    font-size: 0.75rem;
    color: var(--secondary); /* Using Gold for better visibility */
    font-weight: 600;
}

.bubble-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #600000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}



@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

/* Sequential Pop-in Animation */
.floating-bubble {
    opacity: 0;
    animation: bubblePopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, bubbleFloat 6s ease-in-out infinite 0.6s;
}

@keyframes bubblePopIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.bubble-1 { top: 10%; left: -80px; animation-delay: 0.5s; }
.bubble-2 { top: 40%; right: -100px; animation-delay: 1.2s; }
.bubble-3 { bottom: 20%; left: -60px; animation-delay: 1.9s; }
.bubble-4 { bottom: 5%; right: -50px; animation-delay: 2.6s; }


/* High-Fidelity CSS Chat Phone Mockup */
.chat-phone-frame {
    width: 300px;
    height: 550px;
    background: #f8f9fa;
    border-radius: 35px;
    border: 8px solid #2d3436;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eee;
    z-index: 10;
}

.header-back i { width: 18px; color: #636e72; }
.header-title { flex: 1; font-weight: 700; color: #2d3436; font-size: 1rem; text-align: center; }
.header-avatar img { width: 35px; height: 35px; border-radius: 50%; object-fit: crop; }

.chat-content {
    flex: 1;
    padding: 20px;
    position: relative;
    background: #f0f2f5;
    overflow: hidden;
}

.chat-message-group {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.sender-icon img { width: 40px; height: 40px; border-radius: 50%; }
.message-details { display: flex; flex-direction: column; gap: 4px; }
.sender-name { font-size: 0.8rem; font-weight: 700; color: #2d3436; }
.sender-name span { font-weight: 400; color: #b2bec3; margin-left: 5px; }

.message-bubble-main {
    background: white;
    padding: 15px;
    border-radius: 0 18px 18px 18px;
    color: #2d3436;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 200px;
}

.chat-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.toptal.com/designers/subtlepatterns/patterns/double_lined.png');
    opacity: 0.05;
    z-index: 1;
}

/* Adjust floating bubbles to fit the new mockup */
.phone-mockup-wrapper {
    margin-right: 40px;
}


/* iPhone Pro Style Mockup */
.chat-phone-frame {
    border: 12px solid #1a1a1a;
    border-radius: 50px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.6), 0 0 0 2px #333;
    padding-top: 0;
}

/* Dynamic Island */
.chat-phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 100;
}

/* iOS Status Bar */
.ios-status-bar {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 25px 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    background: white;
}

.status-right {
    display: flex;
    gap: 5px;
}

/* Side Buttons */
.chat-phone-frame::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 100px;
    width: 3px;
    height: 60px;
    background: #1a1a1a;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 80px 0 #1a1a1a, 0 140px 0 #1a1a1a; /* Volume buttons */
}





/* Stat Section Icons Enhancement */
.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(153, 27, 27, 0.1);
    border: 1px solid rgba(153, 27, 27, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary); /* Gold */
    box-shadow: 0 0 20px rgba(153, 27, 27, 0.2);
    transition: all 0.3s ease;
}

.stat-icon i {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 5px var(--secondary));
}

.stat-card:hover .stat-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(153, 27, 27, 0.5);
    border-color: transparent;
}


/* FAQ Accordion Styles */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 25px 25px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--primary);
    background: rgba(153, 27, 27, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust based on content */
}

.faq-item.active .faq-question {
    color: var(--secondary);
}

.faq-item.active i {
    transform: rotate(180deg);
    color: var(--primary);
}

