:root {
    --primary-color: #e62e2e;
    --primary-hover: #ff5c5c;
    --secondary-color: #1a1a1a;
    --text-color: #ffffff;
    --text-secondary: #aaaaaa;
    --bg-dark: #0a0a0a;
    --bg-light: #1a1a1a;
    --border-color: #333333;
    --card-bg: #111111;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --shadow-hover: rgba(230, 46, 46, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    border-radius: 16px;
    width: 450px;
    height: 350px;
    filter: blur(0.5px);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading {
    color: var(--text-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.section-subheading {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--shadow-color);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    animation: shimmer 3s infinite;
    z-index: -1;
}

.btn:hover .btn-shine {
    animation: shimmer 1.5s infinite;
}

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

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

@keyframes wave {
    0% { transform: translateX(0) translateZ(0) scaleY(1); }
    50% { transform: translateX(-25%) translateZ(0) scaleY(1.2); }
    100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

@keyframes shimmer {
    0% { transform: rotate(45deg) translateX(-150%); }
    100% { transform: rotate(45deg) translateX(150%); }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes lineGrow {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        width: 100%;
        opacity: 0.6;
    }
    100% {
        width: 0;
        opacity: 0;
    }
}

@keyframes rotateAndScale {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}


/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.sim-hero {
    background-color: var(--bg-dark);
    position: relative;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-image {
    flex: 1;
    position: relative;
    min-width: 300px;
    max-width: 600px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(230, 46, 46, 0.2), transparent 60%),
                radial-gradient(circle at bottom left, rgba(230, 46, 46, 0.1), transparent 40%);
    z-index: 0;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(230, 46, 46, 0.1);
    border: 1px solid rgba(230, 46, 46, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.0rem;
    margin-bottom: 2rem;
    max-width: 550px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.signal-animation {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.signal-wave {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transform-origin: center;
}

@keyframes signalPulse {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.cell-tower {
    position: absolute;
    width: 40px;
    height: 120px;
    background: linear-gradient(to bottom, #444, #222);
    z-index: 1;
}

.tower-antenna {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 30px;
    background: #444;
}

.signal-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    filter: blur(1px);
}

.phone-device {
    position: absolute;
    width: 60px;
    height: 120px;
    background: #222;
    border-radius: 10px;
    border: 2px solid #444;
    z-index: 2;
}

.phone-screen {
    position: absolute;
    top: 10px;
    left: 5px;
    width: 50px;
    height: 90px;
    background: #111;
    border-radius: 2px;
}

.phone-button {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
}
/* 
.hero-img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
} */

/* .hero-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 46, 46, 0.1), transparent);
    z-index: 2;
    pointer-events: none;
} */

/* .hero-img-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(230, 46, 46, 0.2);
} */

/* .hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
} */
/* 
.hero-img-container:hover .hero-img {
    transform: scale(1.03);
} */

/* Features Section */
.features-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(230, 46, 46, 0.03) 0%, transparent 8%),
        radial-gradient(circle at 80% 60%, rgba(230, 46, 46, 0.03) 0%, transparent 8%);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    height: 100%;
    cursor: pointer;
    padding: 2rem 1.5rem;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(230, 46, 46, 0.3);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 1;
}

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

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(230, 46, 46, 0.1), rgba(255, 92, 92, 0.05));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(230, 46, 46, 0.1);
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, rgba(230, 46, 46, 0.15), rgba(255, 92, 92, 0.08));
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(230, 46, 46, 0.2);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(230, 46, 46, 0.2);
}

.feature-item:hover .feature-icon i {
    color: #ff5c5c;
    transform: scale(1.1);
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(230, 46, 46, 0.05);
    z-index: -1;
    animation: breathe 3s infinite ease-in-out;
}

.feature-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.feature-title {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-title {
    color: var(--primary-color);
}

.feature-desc {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

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

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.benefit-title {
    margin-bottom: 1rem;
}

.benefit-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.cta-container {
    background: var(--bg-light);
    padding: 4rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 46, 46, 0.1) 0%, transparent 100%);
    z-index: -1;
}

.cta-content {
    flex: 1;
    max-width: 60%;
    text-align: left;
}

.cta-title {
    margin-bottom: 1.5rem;
}

.cta-desc {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 40%;
}

.cta-image-visual {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.cta-image-container:hover .cta-image-visual {
    transform: translateY(-5px) scale(1.02);
}

/* Responsive Design */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-content, .hero-image {
        max-width: 500px;
    }
    
    .feature-visual {
        min-height: 250px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
        width: 100%;
    }
    
    .hero-content {
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .badge-container {
        display: flex;
        justify-content: center;
    }
    
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-container {
        padding: 3rem 2rem;
        flex-direction: column;
    }
    
    .cta-content {
        max-width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-image-container {
        max-width: 70%;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .feature-visual {
        min-height: 220px;
    }
    
    .tracking-dashboard {
        height: 300px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .feature-visual {
        height: 200px;
    }
    
    .cta-image-container {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .btn-outline {
        margin-top: 0.5rem;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-visual {
        min-height: 200px;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-desc {
        font-size: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* SVG container styling (if still needed elsewhere) */
.svg-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.svg-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.svg-loader.loaded {
    opacity: 1;
}
