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

:root {
    /* Color Variables */
    --background: hsl(240, 50%, 5%);
    --foreground: hsl(180, 100%, 95%);
    --card: hsl(240, 45%, 8%);
    --card-foreground: hsl(180, 100%, 95%);
    --primary: hsl(270, 80%, 60%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(180, 100%, 50%);
    --secondary-foreground: hsl(240, 50%, 10%);
    --muted: hsl(240, 40%, 15%);
    --muted-foreground: hsl(180, 50%, 70%);
    --accent: hsl(180, 100%, 50%);
    --accent-foreground: hsl(240, 50%, 10%);
    --border: hsl(240, 40%, 20%);
    --input: hsl(240, 40%, 20%);
    --ring: hsl(180, 100%, 50%);
    --radius: 0.75rem;
    
    /* Custom quantum theme colors */
    --quantum-purple: hsl(270, 80%, 60%);
    --quantum-cyan: hsl(180, 100%, 50%);
    --quantum-indigo: hsl(240, 70%, 50%);
    --quantum-dark: hsl(240, 50%, 5%);
    --quantum-card: hsl(240, 45%, 8%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--quantum-indigo) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(15, 15, 23, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

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

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

.logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-shape {
    width: 1rem;
    height: 1rem;
    border: 2px solid white;
    border-radius: 2px;
    transform: rotate(45deg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

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

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    background: none;
    border: none;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--foreground);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--quantum-dark) 50%, var(--background) 100%);
}

.bg-orb {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(3rem);
    animation: float 3s ease-in-out infinite;
}

.bg-orb-1 {
    top: 25%;
    left: 25%;
    background: rgba(168, 85, 247, 0.2);
}

.bg-orb-2 {
    bottom: 25%;
    right: 25%;
    background: rgba(6, 182, 212, 0.2);
    animation-delay: 1s;
}

.hero-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .hero-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-container {
        padding: 0 2rem;
    }
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
    animation: fade-in 0.6s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: var(--card);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.hero-badge span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid rgba(168, 85, 247, 0.5);
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-outline:hover {
    background: rgba(168, 85, 247, 0.1);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 32rem;
    margin: 0 auto 3rem;
}

@media (min-width: 640px) {
    .hero-stats {
        gap: 2rem;
    }
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .stat-number {
        font-size: 2.25rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.scrolling-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(4px);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    overflow: hidden;
}

.banner-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.banner-dot {
    color: var(--accent);
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
    position: relative;
}

.section-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 41, 59, 0.2) 50%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fade-in 0.6s ease-out;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .solutions-grid {
        gap: 2rem;
    }
}

.solution-card {
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.solution-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
}

.solution-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.solution-description {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Approach Section */
.approach {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.approach-bg {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24rem;
    height: 24rem;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 50%;
    filter: blur(3rem);
    transform: translateX(-50%);
}

.approach-steps {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.step:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
}

.step-number {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.step-description {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    position: relative;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.3) 0%, transparent 100%);
}

.contact-content {
    max-width: 64rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-highlight {
    padding: 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.contact-text {
    color: var(--muted-foreground);
}

.contact-highlight .contact-text {
    font-size: 0.875rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: var(--foreground);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-submit {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit:hover {
    opacity: 0.9;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(4px);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

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

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--foreground);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    color: var(--foreground);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
