/* Variables */
:root {
    --primary: #e53935;
    --secondary: #d81b60;
    --accent: #ff9100;
    --dark: #212121;
    --light: #f5f5f5;
    --gray: #757575;
    --background: #fafafa;
    --section-bg: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 4px;
    --container-width: 1140px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

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

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient);
    margin-top: 0.8rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.1rem;
}

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 100;
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
}

.logo-icon {
    transition: var(--transition);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

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

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

.cta {
    background: var(--gradient);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    margin-left: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: white;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 102;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    position: absolute;
    transition: var(--transition);
}

.menu-toggle span:first-child {
    top: 0;
}

.menu-toggle span:last-child {
    bottom: 0;
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

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

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

.hero-content h1 {
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.highlight {
    color: var(--primary);
}

.hero-visual {
    width: 45%;
    z-index: 1;
}

.hexagon-grid {
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 0px 10px rgba(216, 27, 96, 0.2));
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Button Styles */
.button {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(229, 57, 53, 0.2);
    color: white;
}

.button-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

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

.features h2 {
    text-align: center;
}

.features h2:after {
    margin: 0.8rem auto 0;
}

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

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    background-color: rgba(229, 57, 53, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-box h3 {
    margin-bottom: 1rem;
}

/* Technology Section */
.technology {
    padding: 6rem 0;
}

.tech-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.tech-text {
    width: 50%;
}

.tech-text h2:after {
    margin-left: 0;
}

.tech-stats {
    display: flex;
    justify-content: space-between;
    margin: 2.5rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-visual {
    width: 45%;
}

.waveform {
    width: 100%;
    height: auto;
    animation: wave 8s infinite linear;
}

@keyframes wave {
    0% {
        transform: scaleY(1);
    }
    25% {
        transform: scaleY(1.1);
    }
    50% {
        transform: scaleY(0.9);
    }
    75% {
        transform: scaleY(1.2);
    }
    100% {
        transform: scaleY(1);
    }
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-section h2:after {
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0.8rem auto 0;
}

.cta-section .button {
    background: white;
    color: var(--primary);
}

.cta-section .button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 0.2rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-content h2:after {
        margin: 0.8rem auto 0;
    }
    
    .hero-visual {
        width: 80%;
    }
    
    .tech-content {
        flex-direction: column;
    }
    
    .tech-text {
        width: 100%;
        text-align: center;
        order: 1;
    }
    
    .tech-text h2:after {
        margin: 0.8rem auto 0;
    }
    
    .tech-visual {
        width: 80%;
        order: 0;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 101;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .cta {
        margin: 1.5rem 0 0;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
