/* Base Styles and Variables */
:root {
    --primary-color: #7209b7;
    --secondary-color: #f72585;
    --accent-color: #4cc9f0;
    --dark-color: #1b1b3a;
    --light-color: #f8f9fa;
    --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fafafa;
}

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

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

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

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

h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-bg);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    width: 140px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

.logo-text {
    fill: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

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

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.05), rgba(247, 37, 133, 0.05));
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
}

.hero-svg {
    width: 100%;
    height: auto;
}

.device-frame {
    fill: #ffffff;
    stroke: var(--primary-color);
    stroke-width: 2px;
}

.ai-circle {
    fill: rgba(76, 201, 240, 0.1);
    stroke: var(--accent-color);
    stroke-width: 2px;
}

.ai-path {
    fill: none;
    stroke: var(--secondary-color);
    stroke-width: 3px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--gradient-bg);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(114, 9, 183, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(114, 9, 183, 0.4);
    color: white;
}

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

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

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

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #fff;
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.feature-circle, .feature-shape {
    fill: rgba(114, 9, 183, 0.1);
    stroke: var(--primary-color);
    stroke-width: 2px;
}

.feature-path {
    stroke: var(--secondary-color);
}

.feature-inner {
    fill: rgba(76, 201, 240, 0.2);
    stroke: var(--accent-color);
    stroke-width: 2px;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.05), rgba(247, 37, 133, 0.05));
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 3rem 0;
}

.step {
    flex: 1;
    min-width: 220px;
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 2rem;
    right: 0;
    width: 50%;
    height: 2px;
    background: var(--accent-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-visual {
    flex: 1;
    text-align: center;
}

.about-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.about-circle {
    fill: rgba(114, 9, 183, 0.05);
    stroke: var(--primary-color);
    stroke-width: 2px;
}

.about-wave {
    fill: none;
    stroke: var(--secondary-color);
    stroke-width: 3px;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1 1 300px;
}

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

.footer-logo .logo-text {
    fill: white;
}

.footer-links,
.footer-legal {
    flex: 1 1 200px;
}

footer h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

footer ul {
    list-style: none;
}

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

footer ul li a {
    color: rgba(255, 255, 255, 0.8);
}

footer ul li a:hover {
    color: var(--accent-color);
}

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

.footer-favicon {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.footer-icon {
    width: 50px;
    height: 50px;
}

.favicon-circle {
    fill: rgba(76, 201, 240, 0.1);
    stroke: var(--accent-color);
    stroke-width: 2px;
}

.favicon-path {
    fill: none;
    stroke: var(--secondary-color);
    stroke-width: 2px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        text-align: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 2rem;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links, 
    .footer-legal {
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 7rem 0 3rem;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0.5rem 0.75rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
