/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E53935; /* Red - unique for this site */
    --secondary: #8E24AA; /* Purple - unique for this site */
    --light: #FFFFFF;
    --dark: #212121;
    --gray: #F9F9F9;
    --gradient: linear-gradient(to right, var(--primary), var(--secondary));
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'), local('Roboto-Regular'),
         url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Roboto Bold'), local('Roboto-Bold'),
         url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
}

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

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

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

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

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

h1 {
    font-size: 2.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.3rem;
    color: var(--dark);
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50%;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.accent {
    color: var(--secondary);
}

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

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.section-header h2::after {
    left: 25%;
    width: 50%;
}

.section-icon {
    margin: 0 auto 1rem;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(229, 57, 53, 0.05);
    border-radius: 50%;
    padding: 10px;
}

/* Header styles */
header {
    background-color: var(--light);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

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

.logo-svg {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-cta {
    background: var(--primary);
    color: var(--light) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
}

.nav-cta:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(142, 36, 170, 0.3);
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 35px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.menu-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.03) 0%, rgba(142, 36, 170, 0.03) 100%);
    padding: 160px 0 100px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='none' stroke='%23E53935' stroke-opacity='0.05' stroke-width='1' d='M50,0 L50,100 M0,50 L100,50'/%3E%3C/svg%3E");
    opacity: 0.5;
}

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

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
}

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

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.btn-primary:hover {
    background: var(--secondary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(142, 36, 170, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(229, 57, 53, 0.1);
    color: var(--primary);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(229, 57, 53, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
    }
}

/* Features section */
.features {
    padding: 100px 0;
    background-color: var(--light);
}

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

.feature-card {
    padding: 2rem;
    border-radius: 15px;
    background-color: var(--gray);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 5px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-top: 5px solid var(--primary);
}

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

.feature-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* How it works section */
.how-it-works {
    padding: 100px 0;
    background-color: rgba(229, 57, 53, 0.02);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(142, 36, 170, 0.1) 0%, rgba(142, 36, 170, 0) 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.how-it-works::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.1) 0%, rgba(229, 57, 53, 0) 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
}

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

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 4rem;
}

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

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--light);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.step-content {
    background-color: var(--light);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    flex: 1;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.step-content:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--secondary);
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* FAQ section */
.faq {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.05) 0%, rgba(229, 57, 53, 0) 70%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    background: var(--gray);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 3px solid var(--primary);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--secondary);
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.faq-item h3::before {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: 25px;
    height: 25px;
    background: var(--primary);
    color: var(--light);
    border-radius: 50%;
    font-size: 0.9rem;
}

/* Footer styles */
footer {
    background-color: var(--dark);
    color: var(--light);
}

.footer-top {
    padding: 4rem 0;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-links h4, .footer-tags h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    display: inline-block;
}

.footer-links h4::after, .footer-tags h4::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--gradient);
    left: 0;
    bottom: 0;
    border-radius: 5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

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

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags span {
    background-color: rgba(229, 57, 53, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tags span:hover {
    background-color: rgba(142, 36, 170, 0.3);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 1.5rem 0;
}

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

/* Responsive styles */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--light);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    #menu-toggle:checked ~ .nav-menu {
        left: 0;
    }
    
    #menu-toggle:checked ~ .menu-icon .menu-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    #menu-toggle:checked ~ .menu-icon .menu-line:nth-child(2) {
        opacity: 0;
    }
    
    #menu-toggle:checked ~ .menu-icon .menu-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
    }
    
    .step {
        padding-left: 3.5rem;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .features, .how-it-works, .faq {
        padding: 70px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand, .footer-links, .footer-tags {
        text-align: center;
    }
    
    .footer-links h4::after, .footer-tags h4::after {
        left: 25%;
        width: 50%;
    }
    
    .tags {
        justify-content: center;
    }
}
