:root {
    --primary: #4f46e5;
    --secondary: #1e293b;
    --accent: #7c3aed;
    --light: #f1f5f9;
    --dark: #0f172a;
    --success: #10b981;
    --warning: #f59e0b;
    --gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #a78bfa;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%231e293b"/><path d="M0 50 Q 25 30, 50 50 T 100 50" stroke="%234f46e5" stroke-width="0.3" fill="none"/></svg>');
    background-size: 100px 100px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.1) 0%, rgba(15, 23, 42, 0) 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background: linear-gradient(to right, #a78bfa, #8b5cf6, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #cbd5e1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #94a3b8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 2rem;
}

/* Solutions Section */
.solutions {
    padding: 5rem 0;
    position: relative;
}

.solutions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0) 70%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #94a3b8;
}

.section-header::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    margin: 20px auto 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.solution-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.3);
}

.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.9));
    z-index: 1;
}

.solution-card img {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.solution-card:hover img {
    transform: scale(1.05);
}

.solution-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.solution-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #a78bfa;
}

.solution-card h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #8b5cf6;
    margin-bottom: 1.2rem;
}

.solution-card p {
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    flex-grow: 1;
}

.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.solution-card ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
    color: #cbd5e1;
}

.solution-card ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.1rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: #a78bfa;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #4338ca, #6d28d9);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.btn:hover::before {
    opacity: 1;
}

.btn i {
    margin-right: 8px;
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
}

/* X Integration Section */
.x-integration {
    padding: 4rem 0;
    background: rgba(15, 23, 42, 0.7);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.x-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.x-content {
    flex: 1;
}

.x-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #a78bfa, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.x-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.x-handle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #a78bfa;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.x-handle:hover {
    background: rgba(79, 70, 229, 0.2);
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-3px);
}

.x-handle i {
    color: #fff;
}

.x-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.x-visual::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.x-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 350px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.x-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.x-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.x-user {
    flex: 1;
}

.x-user h3 {
    font-size: 1.2rem;
    color: #e2e8f0;
}

.x-user p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.x-body {
    margin-bottom: 1.5rem;
}

.x-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.x-stats {
    display: flex;
    gap: 20px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.x-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #a78bfa;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-column p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: #8b5cf6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.8);
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
    
    .x-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 15px;
    }
}