* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        Segoe UI,
        Roboto,
        sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #0f1419;
    overflow-x: hidden;
}
:root {
    --primary-color: #0084d1;
    --primary-dark: #006bb3;
    --primary-light: #339de6;
    --bg-primary: #0f1419;
    --bg-secondary: #1a202c;
    --bg-tertiary: #2d3748;
    --text-primary: #e2e8f0;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --border-color: #374151;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --shadow-glow: 0 0 20px rgba(0, 132, 209, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-primary {
    color: var(--primary-color);
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes glow {
    0%,
    to {
        box-shadow: 0 0 20px rgba(0, 132, 209, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 132, 209, 0.6);
    }
}
@keyframes float {
    0%,
    to {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}
.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.nav-menu {
    display: flex;
    gap: 2rem;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    outline: none;
}
.nav-link:focus {
    outline: none !important;
    box-shadow: none !important;
}
.nav-link:hover {
    color: var(--primary-color) !important;
}
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(0, 132, 209, 0.1) 0, transparent 70%);
}
#cosmicCanvas,
.hero-background {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
#cosmicCanvas {
    display: block;
    position: absolute;
}
.floating-elements {
    position: relative;
    z-index: 1;
}
.hero-background {
    overflow: hidden;
    z-index: -1;
}
.floating-elements,
.hero-background {
    position: absolute;
    inset: 0;
}
.floating-element {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 132, 209, 0.1) 0, transparent 70%);
    animation: float 6s ease-in-out infinite;
}
.floating-element:first-child {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}
.floating-element:nth-child(2) {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}
.floating-element:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.btn,
.hero-buttons {
    justify-content: center;
}
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.btn:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.btn-primary,
.btn:before {
    background: var(--gradient-primary);
}
.btn-primary {
    color: #fff;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 132, 209, 0.5);
    animation: glow 2s infinite;
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}
.btn-secondary:before {
    background: rgba(0, 132, 209, 0.1);
}
.btn-secondary:hover:before {
    opacity: 1;
}
.btn-full {
    width: 100%;
}
.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.feature-card:hover:before {
    transform: scaleX(1);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}
.feature-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}
.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}
.contact-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.contact-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-input,
.form-label {
    color: var(--text-primary);
}
.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-tertiary);
    font-size: 1rem;
    transition: var(--transition);
}
.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 132, 209, 0.1);
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}
.form-error {
    display: block;
    margin-top: 0.5rem;
    color: #ef4444;
    font-size: 0.875rem;
}
.success-message {
    display: none;
    text-align: center;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}
.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}
.success-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 auto 1.5rem;
    animation: glow 2s infinite;
}
.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.success-message p {
    color: var(--text-secondary);
}
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}
.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 1rem;
}
.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}
.footer-link:focus {
    outline: none !important;
    box-shadow: none !important;
}
.footer-link:hover {
    color: var(--primary-color);
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}
.social-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-glow);
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 0 25px rgba(0, 132, 209, 0.6);
}
.how-it-works {
    max-width: 750px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.how-it-works-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}
.steps-container {
    position: relative;
    padding-left: 48px;
}
.steps-line {
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #42a5f5 0, #1976d2);
    border-radius: 2px;
    z-index: 0;
}
.steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.step-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}
.step-circle {
    z-index: 1;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: #fff;
    border: 4px solid #1976d2;
    color: #1976d2;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.1);
}
.step-content {
    background: #f7faff;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    min-width: 0;
    box-shadow: 0 1px 4px rgba(66, 165, 245, 0.08);
}
.step-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}
.step-description {
    margin: 0;
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}
@media (max-width: 600px) {
    .steps-container {
        padding-left: 0;
    }
    .steps-line {
        left: 18px;
    }
    .step-item {
        margin-bottom: 2rem;
    }
    .step-content {
        padding: 0.75rem 1rem;
    }
}
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    .nav-menu {
        gap: 1rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.125rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 280px;
    }
    .section-title {
        font-size: 2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .feature-card {
        padding: 2rem;
    }
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .floating-element {
        width: 200px;
        height: 200px;
    }
}
@media (prefers-contrast: high) {
    :root {
        --text-primary: #fff;
        --text-secondary: #e2e8f0;
        --border-color: #4a5568;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .floating-element {
        animation: none;
    }
}
