:root {
    --tech-cyan: hsl(180, 100%, 50%);
    --tech-purple: hsl(280, 100%, 60%);
    --tech-magenta: hsl(320, 100%, 60%);
    --tech-blue: hsl(220, 100%, 60%);
    --background: hsl(240, 10%, 3.9%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(240, 10%, 10%);
    --muted-foreground: hsl(240, 5%, 64.9%);
    --border: hsl(240, 3.7%, 15.9%);
}

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

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

.page-container {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, hsl(280, 100%, 20%), transparent),
                radial-gradient(ellipse 80% 50% at 50% 120%, hsl(180, 100%, 20%), transparent),
                hsl(240, 10%, 3.9%);
}

.background-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite, pulse-glow 4s ease-in-out infinite;
}

.orb-1 {
    top: 0;
    left: 25%;
    width: 600px;
    height: 600px;
    background: hsla(180, 100%, 50%, 0.2);
    animation-delay: 0s;
}

.orb-2 {
    bottom: 0;
    right: 25%;
    width: 500px;
    height: 500px;
    background: hsla(280, 100%, 60%, 0.2);
    animation-delay: 2s;
}

.orb-3 {
    top: 50%;
    left: 50%;
    width: 550px;
    height: 550px;
    background: hsla(320, 100%, 60%, 0.15);
    animation-delay: 4s;
}

.orb-4 {
    top: 33%;
    right: 33%;
    width: 400px;
    height: 400px;
    background: hsla(220, 100%, 60%, 0.15);
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    position: relative;
    z-index: 10;
}

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

/* Hero Section */
.hero-section {
    padding: 3rem 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    animation: slide-in 0.6s ease-out;
}

.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.logo {
    height: 16rem;
    flex-shrink: 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-purple), var(--tech-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 768px;
    margin: 0 auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-purple), var(--tech-magenta));
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 hsla(280, 100%, 60%, 0.4);
}

.cta-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px hsla(280, 100%, 60%, 0.6);
}

/* About Section */
.about-section {
    padding: 3rem 0;
}

.about-content {
    max-width: 768px;
    margin: 0 auto;
    text-align: center;
    animation: slide-in 0.6s ease-out 0.2s backwards;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: hsla(180, 100%, 50%, 0.2);
    border: 1px solid hsla(180, 100%, 50%, 0.3);
    margin-bottom: 1rem;
}

.badge span {
    color: var(--tech-cyan);
    font-weight: 600;
}

.about-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    animation: slide-in 0.6s ease-out 0.3s backwards;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    background: hsla(240, 10%, 10%, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid hsla(240, 3.7%, 15.9%, 0.5);
    transition: all 0.5s ease;
    animation: slide-in 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.4s; }
.feature-card:nth-child(2) { animation-delay: 0.5s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }
.feature-card:nth-child(4) { animation-delay: 0.7s; }
.feature-card:nth-child(5) { animation-delay: 0.8s; }
.feature-card:nth-child(6) { animation-delay: 0.9s; }

.feature-card:hover {
    transform: translateY(-8px);
    border-color: hsla(180, 100%, 50%, 0.5);
    box-shadow: 0 8px 30px hsla(180, 100%, 50%, 0.2);
}

.card-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-purple), var(--tech-magenta));
    opacity: 0;
    border-radius: 1rem;
    transition: opacity 0.5s ease;
}

.feature-card:hover .card-gradient-overlay {
    opacity: 0.1;
}

.card-content {
    position: relative;
    z-index: 10;
}

.icon-wrapper {
    display: inline-block;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-purple), var(--tech-magenta));
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.icon {
    width: 24px;
    height: 24px;
    color: white;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.feature-card:hover .card-title {
    color: var(--tech-cyan);
}

.card-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Form Section */
.form-section {
    padding: 4rem 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 1rem;
    background: hsla(240, 60%, 10%, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid hsla(280, 100%, 60%, 0.3);
    box-shadow: 0 8px 30px hsla(0, 0%, 0%, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-description {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.form-input {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: hsla(240, 10%, 5%, 0.5);
    border: 1px solid hsla(280, 100%, 60%, 0.2);
    color: var(--foreground);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--tech-purple);
    box-shadow: 0 0 0 3px hsla(280, 100%, 60%, 0.1);
}

.form-input::placeholder {
    color: var(--muted-foreground);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    display: none;
}

.submit-button {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--tech-purple), var(--tech-magenta));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 0 20px hsla(280, 100%, 60%, 0.5);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--muted-foreground);
    border-top: 1px solid hsla(240, 3.7%, 15.9%, 0.3);
}

.footer-text {
    font-size: 0.875rem;
}

/* Thank You Page */
.thankyou-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, hsl(280, 100%, 20%), transparent),
                radial-gradient(ellipse 80% 50% at 50% 120%, hsl(180, 100%, 20%), transparent),
                hsl(240, 10%, 3.9%);
    padding: 2rem;
}

.thankyou-content {
    max-width: 600px;
    width: 100%;
}

.thankyou-card {
    background: hsla(240, 60%, 10%, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid hsla(280, 100%, 60%, 0.3);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px hsla(0, 0%, 0%, 0.3);
    animation: slide-in 0.6s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.thankyou-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thankyou-text {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.back-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--tech-purple), var(--tech-magenta));
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px hsla(280, 100%, 60%, 0.5);
}

/* Responsive */
@media (min-width: 768px) {
    .hero-header {
        flex-direction: row;
    }
    
    .hero-title {
        text-align: left;
        font-size: 3.5rem;
    }
    
    .logo {
        height: 20rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .logo {
        height: 24rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
