/* ===== GLOBAL STYLES ===== */
:root {
    --black: #121212;
    --dark-gray: #1e1e1e;
    --light-gray: #333333;
    --text-gray: #999999;
    --text-light: #f0f0f0;
    --red: #e63946;
    --dark-red: #c1121f;
    --dark-blue: #1d3557;
    --blue: #2a6f97;
    --light-blue: #457b9d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--black);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

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

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

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

section {
    padding: 80px 0;
}

.red-text {
    color: var(--red);
}

.blue-text {
    color: var(--light-blue);
}

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

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    border: none;
}

.btn-primary {
    background-color: var(--red);
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
    background-color: var(--light-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== HEADER ===== */
header {
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease;
}

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

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--red);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
    background-color: var(--red);
}

nav ul li a.btn-primary {
    padding: 12px 20px;
    border-radius: 50px;
    background-color: var(--red);
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul li a.btn-primary::after {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--black);
    padding-top: 100px;
}

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

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    margin-left: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    border-radius: 0;
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--dark-gray);
}

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

.service-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
}

/* ===== FEATURED BOTS SECTION ===== */
.featured-bots {
    background-color: var(--black);
}

.bot-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.bot-card {
    display: flex;
    gap: 50px;
    align-items: center;
}

.bot-card.reversed {
    flex-direction: row-reverse;
}

.bot-images {
    flex: 1;
}

.main-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.image-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.image-gallery img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.image-gallery img:hover {
    transform: scale(1.1);
}

.bot-info {
    flex: 1;
}

.bot-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.bot-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.bot-features span {
    background-color: var(--dark-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.bot-video {
    margin-top: 30px;
}

.bot-video h4 {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.video-container {
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    transition: filter 0.3s ease;
}

.video-container:hover .video-placeholder {
    filter: brightness(0.7);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--red);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    font-size: 1.5rem;
    color: white;
}

.video-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--dark-red);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background-color: var(--dark-gray);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 30px;
    width: 2px;
    height: calc(100% - 30px);
    background-color: var(--light-gray);
}

.step-number {
    background-color: var(--red);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 30px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.step-content {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-gray);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--black);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-gray);
    margin-bottom: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--red);
    transform: scale(1.2);
}

/* ===== CTA SECTION ===== */
.cta {
    background-color: var(--dark-blue);
    overflow: hidden;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 0;
}

.form-group:nth-child(3) {
    grid-column: 1 / span 2;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    grid-column: 1 / span 2;
    width: 200px;
    margin: 20px auto 0;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-gray);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--text-gray);
}

.footer-links {
    display: flex;
    gap: 50px;
}

.link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.link-group h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--red);
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: var(--text-gray);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.link-group ul li a:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

.footer-bottom p {
    margin-bottom: 0;
    color: var(--text-gray);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--red);
    transform: translateY(-5px);
}

.social-icons i {
    font-size: 1.2rem;
    color: white;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .bot-card {
        flex-direction: column;
    }
    
    .bot-card.reversed {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--black);
        z-index: 1001;
        transition: right 0.3s ease;
        padding: 80px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-image {
        margin-left: 0;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        padding-left: 20px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-child(3),
    .form-group:nth-child(4) {
        grid-column: 1;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .step {
        align-items: flex-start;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .step-content {
        padding: 20px;
    }
}