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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #f1f5f9;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(71, 85, 105, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(51, 65, 85, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header Styles */
.header {
    text-align: center;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: fadeInUp 0.8s ease-out;
}

.logo-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.tagline {
    font-size: 1.3rem;
    color: #64748b;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(51, 65, 85, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 2.1rem;
    font-weight: 400;
    color: #f1f5f9;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.3rem;
    color: #f1f5f9;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 0.02em;
}

.tag-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.tag-pill:hover::before {
    left: 100%;
}

.tag-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Form Section */
.form-section {
    padding: 4rem 0;
    background: rgba(15, 23, 42, 0.95);
    margin: 3rem 0;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(51, 65, 85, 0.3);
    border: 1px solid rgba(51, 65, 85, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #334155, #475569, #334155);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.form-description {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hubspot-form {
    background: rgba(30, 41, 59, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(51, 65, 85, 0.3);
    margin: 2rem 0;
    border: 1px solid rgba(51, 65, 85, 0.4);
    backdrop-filter: blur(10px);
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.9s; }
.feature-card:nth-child(2) { animation-delay: 1.1s; }
.feature-card:nth-child(3) { animation-delay: 1.3s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #22c55e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(59, 130, 246, 0.5);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

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

.feature-card h4 {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f8fafc 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 1rem;
}


/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: #64748b;
    border-top: 1px solid rgba(51, 65, 85, 0.4);
    margin-top: 2rem;
}

/* HubSpot Form Customization */
.hubspot-form .hs-form {
    background: transparent !important;
}

.hubspot-form .hs-form-field label {
    color: #f8fafc !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.hubspot-form .hs-form-field input,
.hubspot-form .hs-form-field textarea,
.hubspot-form .hs-form-field select {
    border: 2px solid rgba(51, 65, 85, 0.4) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
    background: rgba(30, 41, 59, 0.8) !important;
    color: #f1f5f9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.hubspot-form .hs-form-field input:focus,
.hubspot-form .hs-form-field textarea:focus,
.hubspot-form .hs-form-field select:focus {
    border-color: #475569 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.3) !important;
}

.hubspot-form .hs-form-field input::placeholder,
.hubspot-form .hs-form-field textarea::placeholder {
    color: #94a3b8 !important;
    opacity: 0.8 !important;
}

.hubspot-form .hs-form-field .hs-error-msg {
    color: #ef4444 !important;
    font-size: 14px !important;
    margin-top: 0.5rem !important;
}

.hubspot-form .hs-form-field .hs-error-msg label {
    color: #ef4444 !important;
}

.hubspot-form .hs-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
}

.hubspot-form .hs-button:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4) !important;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%) !important;
}

.hubspot-form .hs-form-field .hs-form-required {
    color: #ef4444 !important;
}

.hubspot-form .hs-form-field .hs-form-required::after {
    content: " *" !important;
    color: #ef4444 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-text {
        text-align: center;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        color: #1e293b !important;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        color: #1e293b !important;
    }
    
    .hero-description {
        font-size: 1.1rem;
        color: #1e293b !important;
    }
    
    .hero-tags {
        gap: 1rem;
    }
    
    .tag-pill {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.9) !important;
        color: #1e293b !important;
        border: 1px solid rgba(226, 232, 240, 0.6) !important;
    }
    
    .form-container {
        padding: 0 1rem;
    }
    
    .hubspot-form {
        padding: 1.5rem;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
}
