/* Button Components */
.hover-border-gradient {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.hover-border-gradient.primary {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(192, 108, 255, 0.2), rgba(77, 159, 255, 0.2));
}

.hover-border-gradient.secondary {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.2), rgba(0, 212, 255, 0.2), rgba(77, 159, 255, 0.2));
}

.hover-border-gradient:hover {
    background: rgba(10, 10, 10, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.3);
}

.hover-border-gradient.secondary:hover {
    box-shadow: 0 10px 40px rgba(0, 245, 212, 0.3);
}

.hover-border-gradient .button-content {
    position: relative;
    z-index: 10;
    background: rgba(10, 10, 10, 0.8);
    color: white;
    padding: 16px 32px;
    border-radius: 49px;
    font-family: 'salis-mvb', sans-serif;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
    min-width: 200px;
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.hover-border-gradient .button-content:hover {
    background: rgba(10, 10, 10, 0.6);
    color: #ffffff;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease-in-out;
}

.gradient-inner {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 48px;
    background: rgba(10, 10, 10, 0.9);
    z-index: 2;
}

/* Card Components */
.glowing-card {
    position: relative;
    border-radius: 24px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.03);
}

.glowing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(
        from 236deg at 50% 50%,
        #ff6b9d 0%,
        #c06cff 25%,
        #4d9fff 50%,
        #00d4ff 75%,
        #ff6b9d 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 0;
}

.glowing-card.active::before {
    opacity: 1;
    transform: rotate(var(--rotation, 0deg));
    transition: transform 0.3s ease-in-out;
}

.glowing-card .feature-card {
    position: relative;
    z-index: 1;
    margin: 0;
    border: none;
    background: rgba(10, 10, 10, 0.9);
}

.feature-card {
    background: rgba(21, 21, 21, 0.5);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.3), transparent);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(192, 108, 255, 0.3);
    box-shadow: 0 25px 50px rgba(192, 108, 255, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff6b9d, #c06cff, #4d9fff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-title {
    font-family: 'dunbar-tall', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    letter-spacing: -0.02em;
}

.feature-description {
    font-family: 'salis-mvb', sans-serif;
    color: #a3a3a3;
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    margin-bottom: 12px;
    color: #d4d4d8;
    display: flex;
    align-items: center;
    font-family: 'salis-mvb', sans-serif;
    font-size: 16px;
}

.feature-list li::before {
    content: "✓";
    color: #4d9fff;
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
}

/* Form Components */
.email-input-container {
    width: 100%;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    height: 64px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    align-items: center;
}

.email-input-container.visible {
    animation: slideUpDelay 1s ease-out 0.6s forwards;
}

.email-input-container:focus-within {
    border-color: #4d9fff;
    box-shadow: 0 0 0 3px rgba(77, 159, 255, 0.2);
    transform: translateY(-2px);
}

.email-input-container:hover {
    border-color: rgba(77, 159, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.email-input-label {
    position: absolute;
    top: -30px;
    left: 20px;
    color: #a3a3a3;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
}

.email-input {
    width: 100%;
    position: relative;
    font-size: 18px;
    z-index: 50;
    border: none;
    color: white;
    background: transparent;
    height: 100%;
    border-radius: 32px;
    outline: none;
    padding: 0 80px 0 24px;
    font-family: inherit;
    font-weight: 500;
}

.email-input::placeholder {
    color: #a3a3a3;
    font-weight: 400;
}

.email-submit {
    position: absolute;
    right: 4px;
    top: 50%;
    z-index: 50;
    transform: translateY(-50%);
    height: 56px;
    width: 56px;
    border-radius: 28px;
    background: linear-gradient(135deg, #ff6b9d, #c06cff, #4d9fff);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(192, 108, 255, 0.4);
}

.email-submit:disabled {
    background: #404040;
    cursor: not-allowed;
    box-shadow: none;
}

.email-submit:not(:disabled):hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 32px rgba(192, 108, 255, 0.6);
}

.email-submit:not(:disabled):active {
    transform: translateY(-50%) scale(0.95);
}

/* Form Styles */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.form-input:focus {
    border-color: #4d9fff;
    box-shadow: 0 0 0 3px rgba(77, 159, 255, 0.2);
}

.form-input::placeholder {
    color: #a3a3a3;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff6b9d, #c06cff, #4d9fff);
    border: none;
    border-radius: 12px;
    color: white;
    font-family: 'salis-mvb', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(192, 108, 255, 0.4);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(192, 108, 255, 0.4);
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease-in-out;
}

.form-submit:hover::before {
    transform: translateX(100%);
}

/* Stats Card */
.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(21, 21, 21, 0.5);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease-in-out;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(192, 108, 255, 0.3);
    box-shadow: 0 20px 40px rgba(192, 108, 255, 0.1);
}

.stat-number {
    font-family: 'dunbar-tall', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #4d9fff;
    display: block;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: 'salis-mvb', sans-serif;
    color: #a3a3a3;
    font-size: 16px;
    font-weight: 400;
}

/* Process Card */
.process-card {
    background: rgba(21, 21, 21, 0.5);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: rgba(192, 108, 255, 0.3);
    box-shadow: 0 25px 50px rgba(192, 108, 255, 0.1);
}

.process-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ff6b9d, #c06cff, #4d9fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-family: 'dunbar-tall', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.process-title {
    font-family: 'dunbar-tall', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    letter-spacing: -0.02em;
}

.process-description {
    font-family: 'salis-mvb', sans-serif;
    color: #a3a3a3;
    font-size: 16px;
    line-height: 1.6;
}

/* Grid Layouts */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Automation Type Radio Buttons */
.automation-type-radios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.radio-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 16px;
    background: rgba(10, 10, 10, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.radio-card:hover {
    border-color: rgba(0, 245, 212, 0.3);
    background: rgba(0, 245, 212, 0.05);
    transform: translateY(-2px);
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card input[type="radio"]:checked + .radio-content {
    color: #00f5d4;
}

.radio-card input[type="radio"]:checked ~ .radio-content .radio-title {
    color: #00f5d4;
}

.radio-card:has(input[type="radio"]:checked) {
    border-color: #00f5d4;
    background: rgba(0, 245, 212, 0.1);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}

.radio-card input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 20px;
    height: 20px;
    background: #00f5d4;
    border-radius: 50%;
    border: 3px solid #0a0a0a;
    box-shadow: 0 0 0 2px #00f5d4;
}

.radio-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 8px;
}

.radio-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.3s ease-in-out;
}

.radio-desc {
    font-family: 'salis-mvb', sans-serif;
    font-size: 12px;
    color: #a3a3a3;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .automation-type-radios {
        grid-template-columns: 1fr;
    }
}